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

161 lines
4.6 KiB
SCSS

@import "../theme/scss/variables";
.wrapper {
width: 100%;
height: 100%;
overflow: hidden;
.header-wrapper {
.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;
}
.navbar-nav{
background-color: rgb(38,51,68);
padding: 0 10px;
border-radius: 20px;
}
// .bg-dark{
// }
.nav-link{
display: flex;
align-items: center;
label{
margin: 0;
}
}
.nav-icon {
// padding: 0.1rem 0.75rem;
cursor: pointer;
display: block;
// font-size: 1.5rem;
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;
height: 14px;
width: 14px;
line-height: 14px;
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;
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 {
position: relative;
height: calc(100% - 66px);
margin-left: 235px;
}
.left-wrapper-o {
width: 235px;
}
.left-wrapper-c {
width: 0px;
display: none;
}
.right-wrapper-o {
margin-left: 235px;
}
.right-wrapper-c {
margin-left: 0px;
}
}
}
.page-loading{
width: 100%;
height: 100%;
// background-image: url('../../assets/images/page-loading.gif');
background-color: rgba(0, 0, 0, 0.5);
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
top: 0;
left: 0;
z-index: 999;
.snipping{
position: absolute;
top: calc(50% - 40px);
left: calc(50% - 120px);
margin-bottom: 25px;
width: 80px; height: 80px;
background: url('/assets/images/loading.png') no-repeat top center, linear-gradient(to top, transparent, transparent);
background-size: cover;
animation: spin 2s linear infinite;
};
p{
position: absolute;
top: calc(50% + 50px);
left: calc(50% - 125px);
font-size: 20px;
color: skyblue;
}
}