223 lines
3.1 KiB
CSS
223 lines
3.1 KiB
CSS
header {
|
|
position: fixed;
|
|
width: 100%;
|
|
transition: top 0.3s ease-in-out;
|
|
background-color: #5763AB;
|
|
width: 100%;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.saburly-menu {
|
|
z-index: 9999;
|
|
margin-left: 10%;
|
|
margin-right: 10%;
|
|
}
|
|
|
|
.side-menu {
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
width: 256px;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
background-color: #5763ab;
|
|
z-index: 9999;
|
|
display: none;
|
|
transition: transform 0.5s ease-out;
|
|
}
|
|
|
|
|
|
.slideout-open .side-menu {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.side-menu .social-icons {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 10001;
|
|
}
|
|
|
|
.menu_icon [class*='menu_bar-'] {
|
|
background: #ffffff;
|
|
transform: rotate(0deg);
|
|
transition: 0.2s ease all;
|
|
height: 0.18rem;
|
|
display: block;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
.menu_icon [class*='menu_bar-']:last-child {
|
|
margin-bottom: 0rem;
|
|
}
|
|
|
|
.menu_icon:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
.menu_bar-top {
|
|
width: 25px;
|
|
}
|
|
|
|
.menu_bar-mid {
|
|
width: 20px;
|
|
}
|
|
|
|
.menu_bar-bot {
|
|
width: 25px;
|
|
}
|
|
|
|
.side-toggle {
|
|
cursor: pointer;
|
|
z-index: 10001;
|
|
}
|
|
|
|
.side-toggle:hover {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.side-navigation li {
|
|
list-style: none;
|
|
}
|
|
|
|
.side-navigation a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer {
|
|
background-color: #5763AB;
|
|
width: 100%;
|
|
}
|
|
|
|
.saburly-footer {
|
|
padding-bottom: 1%;
|
|
}
|
|
|
|
.connect {
|
|
background-color: #4A5699;
|
|
}
|
|
|
|
.btn {
|
|
background-color: #5dcdd4;
|
|
}
|
|
|
|
.btn:hover {
|
|
background-color: #51b5bb;
|
|
}
|
|
|
|
.rqbtn:hover {
|
|
background-color: #51b5bb;
|
|
border: 1px solid #51b5bb;
|
|
}
|
|
|
|
.main-color {
|
|
background-color: #5763AB;
|
|
color: white;
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.side-menu {
|
|
display: none;
|
|
}
|
|
.saburly-footer,
|
|
.content {
|
|
margin-left: 10%;
|
|
margin-right: 10%;
|
|
}
|
|
.empty-menu{
|
|
display: block;
|
|
}
|
|
.empty-menu-small{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.side-menu {
|
|
display: block;
|
|
}
|
|
.saburly-footer{
|
|
margin-left: 10%;
|
|
margin-right: 10%;
|
|
}
|
|
.empty-menu{
|
|
display: none;
|
|
}
|
|
.empty-menu-small{
|
|
display: block;
|
|
}
|
|
.side-panel {
|
|
width: 100%;
|
|
}
|
|
.content {
|
|
width: 95%;
|
|
margin-left: 2.5%;
|
|
margin-right: 2.5%;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
.saburly-menu {
|
|
z-index: 9999;
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
}
|
|
.saburly-logo{
|
|
margin-right: 112px;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
|
|
.header-hidden {
|
|
transform: translateY(-100%);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.header-visible {
|
|
transform: translateY(0);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.side-menu {
|
|
display: none;
|
|
}
|
|
|
|
.side-menu.active {
|
|
display: block;
|
|
}
|
|
body.side-menu.active {
|
|
overflow: none;
|
|
}
|
|
|
|
|
|
.content:before {
|
|
content: '';
|
|
background-color: rgba(0, 0, 0, 0);
|
|
}
|
|
.content-open:before {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
z-index: 99;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.content-open{
|
|
margin-left: -256px;
|
|
transition: margin-left 0.1s;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header-move{
|
|
margin-left: -256px;
|
|
transition: margin-left 0.1s;
|
|
background-color: rgba(55, 65, 105, 1.0);
|
|
}
|
|
.block-scroll{
|
|
overflow: hidden;
|
|
}
|