Commit 9dd5edfa by liwk

commit

1 parent 39bf218c
img{width:100%;height:100%;vertical-align:top}a{text-decoration:none}::-webkit-scrollbar-track-piece{background-color:#fff}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background-color:#c2c2c2;background-clip:padding-box;min-height:28px}::-webkit-scrollbar-thumb:hover{background-color:#a0a0a0}.flex-center{display:flex;align-items:center;justify-content:center}.wrapper{margin:0 auto}.header{width:100%;background-color:#202020;box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);color:#fff}.header .wrapper{height:80px;display:flex;justify-content:space-between}.header .wrapper .logo{font-size:30px;height:100%;display:flex;align-items:center;letter-spacing:-0.72px;padding-left:110px}.header .wrapper .control{display:flex;justify-content:flex-end;align-items:center;font-size:22px;margin-right:96px}.header .wrapper .control a{color:#fff}.header .wrapper .control .tabs{display:flex;align-items:center}.header .wrapper .control .tabs .tab{background:#008BF4}.header .wrapper .control .item{width:120px;height:40px;box-sizing:border-box;border:1px solid #008BF4}.header .wrapper .control-btn{margin-left:52px}.header .wrapper .control-btn a{color:#008BF4}.page{max-width:980px;padding:0 0 100px 40px}.page .title{padding:39px 0 20px 0;border-bottom:1px solid #999999;font-size:22px;color:#008BF4;letter-spacing:-0.53px;font-weight:700;position:sticky;top:0;z-index:99;background:#fff}.page .page-main{padding-top:30px}.page .page-main .sub-title{font-size:16px;color:#333333;margin:10px 0}.page .page-main .text{font-size:14px;color:#999999}.page .page-main pre{padding:30px 0;background:#F7F7F7;border-left:5px solid #D6D6D6;font-size:14px;color:#999999;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.page .page-main pre div{padding-left:30px}.page .page-main .table{width:100%;display:grid;box-sizing:border-box;border:1px solid #979797;grid-template-rows:40px 1fr}.page .page-main .table .thead,.page .page-main .table .tr{border-bottom:1px solid #979797}.page .page-main .table .tbody{display:grid}.page .page-main .table .tbody .tr:last-of-type{border-bottom:none}.page .page-main .table .tbody .td:last-of-type{padding:10px 20px}.page .page-main .table .thead,.page .page-main .table .tr{display:grid;height:100%}.page .page-main .table .td{display:flex;align-items:center;justify-content:center;border-right:1px solid #979797}.page .page-main .table .tr .td:last-of-type,.page .page-main .table .thead .td:last-of-type{border-right:none;justify-content:left;padding-left:20px}.page .page-main .row-1{grid-template-rows:repeat(1, minmax(40px, 1fr))}.page .page-main .row-2{grid-template-rows:repeat(2, minmax(40px, 1fr))}.page .page-main .row-3{grid-template-rows:repeat(3, minmax(40px, 1fr))}.page .page-main .row-4{grid-template-rows:repeat(4, minmax(40px, 1fr))}.page .page-main .row-5{grid-template-rows:repeat(5, minmax(40px, 1fr))}.page .page-main .row-6{grid-template-rows:repeat(6, minmax(40px, 1fr))}.page .page-main .row-7{grid-template-rows:repeat(7, minmax(40px, 1fr))}.page .page-main .row-8{grid-template-rows:repeat(8, minmax(40px, 1fr))}.page .page-main .row-9{grid-template-rows:repeat(9, minmax(40px, 1fr))}.page .page-main .row-10{grid-template-rows:repeat(10, minmax(40px, 1fr))}.page .page-main .row-11{grid-template-rows:repeat(11, minmax(40px, 1fr))}.page .page-main .row-12{grid-template-rows:repeat(12, minmax(40px, 1fr))}.page .page-main .row-13{grid-template-rows:repeat(13, minmax(40px, 1fr))}.page .page-main .row-14{grid-template-rows:repeat(14, minmax(40px, 1fr))}.page .page-main .row-15{grid-template-rows:repeat(15, minmax(40px, 1fr))}.page .page-main .row-16{grid-template-rows:repeat(16, minmax(40px, 1fr))}.page .page-main .row-17{grid-template-rows:repeat(17, minmax(40px, 1fr))}.page .page-main .row-18{grid-template-rows:repeat(18, minmax(40px, 1fr))}.page .page-main .row-19{grid-template-rows:repeat(19, minmax(40px, 1fr))}.thead-4,.thead-4 ~ .tbody .tr{grid-template-columns:100px 100px 100px 1fr}.thead-3,.thead-3 ~ .tbody .tr{grid-template-columns:100px 200px 1fr}
img{width:100%;height:100%;vertical-align:top}a{text-decoration:none}::-webkit-scrollbar-track-piece{background-color:#fff}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background-color:#c2c2c2;background-clip:padding-box;min-height:28px}::-webkit-scrollbar-thumb:hover{background-color:#a0a0a0}.flex-center{display:flex;align-items:center;justify-content:center}.wrapper{margin:0 auto}.header{width:100%;background-color:#F6F6F8;box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);color:#fff}.header .wrapper{height:42px;display:flex;justify-content:space-between}.header .wrapper .logo{display:flex;align-items:center;margin-left:85px}.header .wrapper .logo img{width:94px;height:22px}.header .wrapper .control{display:flex;justify-content:flex-end;align-items:center;font-size:12px;margin-right:85px}.header .wrapper .control a{color:#fff}.header .wrapper .control .tabs{display:flex;align-items:center}.header .wrapper .control .tabs .tab{background:#008BF4}.header .wrapper .control .item{width:72px;height:28px;box-sizing:border-box;border:1px solid #008BF4;border-radius:14px}.header .wrapper .control-btn{margin-left:24px}.header .wrapper .control-btn a{color:#008BF4}.page{max-width:980px;padding:0 0 100px 40px}.page .title{padding:39px 0 20px 0;border-bottom:1px solid #999999;font-size:22px;color:#008BF4;letter-spacing:-0.53px;font-weight:700;position:sticky;top:0;z-index:99;background:#fff}.page .page-main{padding-top:30px}.page .page-main .sub-title{font-size:16px;color:#333333;margin:10px 0}.page .page-main .text{font-size:14px;color:#999999}.page .page-main pre{padding:30px 0;background:#F7F7F7;border-left:5px solid #D6D6D6;font-size:14px;color:#999999;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.page .page-main pre div{padding-left:30px}.page .page-main .table{width:100%;display:grid;box-sizing:border-box;border:1px solid #979797;grid-template-rows:40px 1fr}.page .page-main .table .thead,.page .page-main .table .tr{border-bottom:1px solid #979797}.page .page-main .table .tbody{display:grid}.page .page-main .table .tbody .tr:last-of-type{border-bottom:none}.page .page-main .table .tbody .td:last-of-type{padding:10px 20px}.page .page-main .table .thead,.page .page-main .table .tr{display:grid;height:100%}.page .page-main .table .td{display:flex;align-items:center;justify-content:center;border-right:1px solid #979797}.page .page-main .table .tr .td:last-of-type,.page .page-main .table .thead .td:last-of-type{border-right:none;justify-content:left;padding-left:20px}.page .page-main .row-1{grid-template-rows:repeat(1, minmax(40px, 1fr))}.page .page-main .row-2{grid-template-rows:repeat(2, minmax(40px, 1fr))}.page .page-main .row-3{grid-template-rows:repeat(3, minmax(40px, 1fr))}.page .page-main .row-4{grid-template-rows:repeat(4, minmax(40px, 1fr))}.page .page-main .row-5{grid-template-rows:repeat(5, minmax(40px, 1fr))}.page .page-main .row-6{grid-template-rows:repeat(6, minmax(40px, 1fr))}.page .page-main .row-7{grid-template-rows:repeat(7, minmax(40px, 1fr))}.page .page-main .row-8{grid-template-rows:repeat(8, minmax(40px, 1fr))}.page .page-main .row-9{grid-template-rows:repeat(9, minmax(40px, 1fr))}.page .page-main .row-10{grid-template-rows:repeat(10, minmax(40px, 1fr))}.page .page-main .row-11{grid-template-rows:repeat(11, minmax(40px, 1fr))}.page .page-main .row-12{grid-template-rows:repeat(12, minmax(40px, 1fr))}.page .page-main .row-13{grid-template-rows:repeat(13, minmax(40px, 1fr))}.page .page-main .row-14{grid-template-rows:repeat(14, minmax(40px, 1fr))}.page .page-main .row-15{grid-template-rows:repeat(15, minmax(40px, 1fr))}.page .page-main .row-16{grid-template-rows:repeat(16, minmax(40px, 1fr))}.page .page-main .row-17{grid-template-rows:repeat(17, minmax(40px, 1fr))}.page .page-main .row-18{grid-template-rows:repeat(18, minmax(40px, 1fr))}.page .page-main .row-19{grid-template-rows:repeat(19, minmax(40px, 1fr))}.thead-4,.thead-4 ~ .tbody .tr{grid-template-columns:100px 100px 100px 1fr}.thead-3,.thead-3 ~ .tbody .tr{grid-template-columns:100px 200px 1fr}
$windowWidth :1220px;
$navHeight:80px;
$navHeight:42px;
img {
width: 100%;
height: 100%;
......@@ -42,7 +42,8 @@ a {
.header {
width: 100%;
background-color: #202020;
background-color: #F6F6F8;
;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
color: #fff;
.wrapper {
......@@ -50,19 +51,20 @@ a {
display: flex;
justify-content: space-between;
.logo {
font-size: 30px;
height: 100%;
display: flex;
align-items: center;
letter-spacing: -0.72px;
padding-left: 110px;
margin-left: 85px;
img {
width: 94px;
height: 22px;
}
}
.control {
display: flex;
justify-content: flex-end;
align-items: center;
font-size: 22px;
margin-right: 96px;
font-size: 12px;
margin-right: 85px;
a {
color: #fff;
}
......@@ -74,13 +76,14 @@ a {
}
}
.item {
width: 120px;
height: 40px;
width: 72px;
height: 28px;
box-sizing: border-box;
border: 1px solid #008BF4;
border-radius: 14px;
}
&-btn {
margin-left: 52px;
margin-left: 24px;
a {
color: #008BF4;
}
......
.main{display:grid;grid-template-columns:297px 1fr;height:calc(100vh - 80px)}.main .tabs{background:#202020;overflow-y:scroll;color:#fff;user-select:none}.main .tabs .title{border-bottom:1px solid #FDFEFF;height:49px;line-height:49px;text-indent:40px;font-size:22px}.main .tabs .tab-text{display:flex;align-items:center;padding-left:20px;height:50px;line-height:50px}.main .tabs .tab-text:hover{cursor:pointer}.main .tabs .tab-text .icon{width:7px;height:12px;margin-right:8px;transition:all .5s}.main .tabs .tab .item-list{display:none}.main .tabs .tab .on .icon{transform:rotate(90deg)}.main .tabs .tab .on ~ .item-list{display:block}.main .tabs .tab .item{height:50px;line-height:50px;padding-left:60px;font-size:14px}.main .tabs .tab .item:hover{cursor:pointer;background:#008BF4}.main .tabs .tab .active{background:#008BF4}.main .content{overflow-y:scroll}
.main{display:grid;grid-template-columns:minmax(330px, 22.9%) 1fr;height:calc(100vh - 42px)}.main .tabs{overflow-y:scroll;font-size:16px;color:#1F1F1F;user-select:none;background:#FFFFFF;border:1px solid #EEEEEE;box-sizing:border-box}.main .tabs-box{padding:0 20px 40px 84px}.main .tabs-box .tab-text{display:flex;align-items:center;padding-left:20px;height:40px;line-height:40px;color:#008BF4;font-weight:700}.main .tabs-box .tab-text:hover{cursor:pointer}.main .tabs-box .tab-text .icon{width:10px;height:28px;margin-right:8px;transition:all .5s}.main .tabs-box .tab .item-list{display:none}.main .tabs-box .tab .on .icon{transform:rotate(90deg)}.main .tabs-box .tab .on ~ .item-list{display:block}.main .tabs-box .tab .item{height:50px;line-height:50px;padding-left:40px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main .tabs-box .tab .item:hover{cursor:pointer;background:#EEEEEE;border-radius:20px}.main .tabs-box .tab .active{background:#EEEEEE;border-radius:20px}.main .content{overflow-y:scroll}
.main {
display: grid;
grid-template-columns: 297px 1fr;
height: calc(100vh - 80px);
grid-template-columns: minmax(330px, 22.9%) 1fr;
height: calc(100vh - 42px);
.tabs {
background: #202020;
overflow-y: scroll;
color: #fff;
font-size: 16px;
color: #1F1F1F;
user-select: none;
.title {
border-bottom: 1px solid #FDFEFF;
height: 49px;
line-height: 49px;
text-indent: 40px;
font-size: 22px;
}
.tab {
&-text {
display: flex;
align-items: center;
padding-left: 20px;
height: 50px;
line-height: 50px;
&:hover {
cursor: pointer;
background: #FFFFFF;
border: 1px solid #EEEEEE;
box-sizing: border-box;
&-box {
padding: 0 20px 40px 84px;
.tab {
&-text {
display: flex;
align-items: center;
padding-left: 20px;
height: 40px;
line-height: 40px;
color: #008BF4;
font-weight: 700;
&:hover {
cursor: pointer;
}
.icon {
width: 10px;
height: 28px;
margin-right: 8px;
transition: all .5s;
}
}
.icon {
width: 7px;
height: 12px;
margin-right: 8px;
transition: all .5s;
.item-list {
display: none;
}
}
.item-list {
display: none;
}
.on {
.icon {
transform: rotate(90deg);
.on {
.icon {
transform: rotate(90deg);
}
}
}
.on~.item-list {
display: block;
}
.item {
height: 50px;
line-height: 50px;
padding-left: 60px;
font-size: 14px;
&:hover {
cursor: pointer;
background: #008BF4;
.on~.item-list {
display: block;
}
.item {
height: 50px;
line-height: 50px;
padding-left: 40px;
font-size: 14px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
cursor: pointer;
background: #EEEEEE;
border-radius: 20px;
}
}
.active {
background: #EEEEEE;
border-radius: 20px;
}
}
.active {
background: #008BF4;
}
}
}
......

406 Bytes | W: | H:

290 Bytes | W: | H:

images/off_on.png
images/off_on.png
images/off_on.png
images/off_on.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -20,7 +20,7 @@
<div class="header">
<div class="wrapper">
<div class="logo">
轨交物联云
<img src="./images/logo.png" alt="车家物联">
</div>
<div class="control">
<div class="tabs">
......@@ -30,14 +30,13 @@
</div>
</div>
<div class="control-btn item flex-center ">
<a href="">控制台</a>
<a href="http://aiot.glsx.com.cn/AIoT-developer/#/login" target="_blank">控制台</a>
</div>
</div>
</div>
</div>
<div class="main">
<div class="tabs">
<div class="title">文档中心</div>
<ul class="tabs-box">
<li class="tab">
<div class="tab-text on">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!