55 lines
865 B
Stylus
55 lines
865 B
Stylus
@require "common/variables.styl"
|
|
|
|
.page-template {
|
|
padding-top: $header-height;
|
|
position: relative;
|
|
|
|
|
|
.page-top {
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
height: $header-height;
|
|
z-index: $z-index-5;
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
.page-middle {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
.main-content {
|
|
width: $main-content-width;
|
|
height: 100%;
|
|
position: relative;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
|
|
.sidebar-tools {
|
|
position: fixed;
|
|
top: $header-height + 50px;
|
|
right: 5%;
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
}
|
|
|
|
.page-bottom {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.page-top-shrink {
|
|
padding-top: $header-shrink-height;
|
|
|
|
.page-top {
|
|
height: $header-shrink-height;
|
|
}
|
|
|
|
.sidebar-tools {
|
|
top: $header-shrink-height + 30px !important;
|
|
}
|
|
} |