Files
airport-chengdu-web/src/app/pages/pages.component.scss
T

131 lines
3.7 KiB
SCSS
Raw Normal View History

2018-10-26 11:33:25 +08:00
@import "../theme/scss/variables";
.wrapper {
width: 100%;
height: 100%;
overflow: hidden;
.header-wrapper {
2018-10-26 11:33:25 +08:00
.navbar {
height: 66px;
background-color: rgb(46, 59, 76) !important;
.navbar-brand {
font-size: 24px;
padding: 3px 10px !important;
font-weight: normal !important;
color: rgba(255, 255, 255, 1);
cursor: pointer;
}
2018-11-27 18:16:25 +08:00
.navbar-nav{
background-color: rgb(38,51,68);
padding: 0 10px;
border-radius: 20px;
}
2018-10-26 11:33:25 +08:00
// .bg-dark{
2018-10-26 11:33:25 +08:00
// }
2018-11-27 18:16:25 +08:00
.nav-link{
display: flex;
align-items: center;
label{
margin: 0;
}
}
2018-10-26 11:33:25 +08:00
.nav-icon {
2018-11-27 18:16:25 +08:00
// padding: 0.1rem 0.75rem;
2018-10-26 11:33:25 +08:00
cursor: pointer;
display: block;
2018-11-27 18:16:25 +08:00
// font-size: 1.5rem;
2018-10-26 11:33:25 +08:00
transition: color 0.1s ease-in-out, color 0.1s ease-in-out;
&:hover {
color: $color-primary;
.icon-container {
> span {
top: -7px;
}
}
}
.icon-container {
position: relative;
> span {
background: $red;
box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.05);
border-radius: 50%;
display: block;
2018-11-27 18:16:25 +08:00
height: 14px;
width: 14px;
line-height: 14px;
2018-10-26 11:33:25 +08:00
position: absolute;
top: -4px;
right: -8px;
text-align: center;
transition: top 0.1s ease-out;
font-size: 0.675rem;
color: #fff;
}
}
}
.user-info {
cursor: pointer;
.user-container {
> img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-top: -15px;
margin-bottom: -10px;
}
}
}
}
}
.content-wrapper {
height: 100%;
.left-wrapper {
height: calc(100% - 66px);
width: 235px;
position: fixed;
top: 66px;
left: 0;
background-color: rgb(46, 59, 76);
padding-bottom: 30px;
2018-11-27 18:16:25 +08:00
overflow-y: auto;
.left-header {
height: 66px;
border-bottom: 1px solid $gray-900;
text-align: center;
line-height: 66px;
img {
width: 32px;
height: 32px;
vertical-align: middle;
margin-right: 12px;
}
h3 {
display: inline-block;
color: $white;
vertical-align: middle;
margin: 0;
}
}
}
.right-wrapper {
height: calc(100% - 66px);
margin-left: 235px;
}
2018-11-27 18:16:25 +08:00
.left-wrapper-o {
width: 235px;
}
.left-wrapper-c {
width: 0px;
display: none;
}
.right-wrapper-o {
margin-left: 235px;
}
.right-wrapper-c {
margin-left: 0px;
}
}
2018-10-26 11:33:25 +08:00
}