DziennikOcen/public/menu.css

121 lines
2.3 KiB
CSS
Raw Normal View History

2022-01-11 20:18:26 +01:00
body
{
background-color: #535b63;
}
.login-form {
width: 300px;
margin: 0 auto;
font-family: Tahoma, Geneva, sans-serif;
}
.login-form h1 {
text-align: center;
color: #4d4d4d;
font-size: 24px;
padding: 20px 0 20px 0;
}
.logout{
position: absolute;
top: 100px;
right: 100px;
}
.menu {
-ms-transition:left 0.3s,box-shadow ease 0.3s;
-moz-transition:left 0.3s,box-shadow ease 0.3s;
-o-transition:left 0.3s,box-shadow ease 0.3s;
-webkit-transition:left 0.3s,box-shadow ease 0.3s;
transition:left 0.3s,box-shadow ease 0.3s;
z-index:9999;
position:fixed;
top:0;
left:-250px;
background-color:#000000;
width:250px;
height:100%;
}
button{margin:0;border:0;padding:0;}
.show-menu{
-ms-transition:-ms-transform 0.5s ease-in-out;
-moz-transition:-moz-transform 0.5s ease-in-out;
-o-transition:-o-transform 0.5s ease-in-out;
-webkit-transition:-webkit-transform 0.5s ease-in-out;
transition:transform 0.5s ease-in-out;
display:block;
overflow:hidden;
z-index:9999;
position:absolute;
top:0;
right:-32px;
box-shadow:none;
background-color:#000000;
width:32px;
height:32px;
cursor:pointer;
}
.menu-bar {
-ms-transform:-ms-transform 0.4s ease-in-out;
-moz-transform:-moz-transform 0.4s ease-in-out;
-o-transform:-o-transform 0.4s ease-in-out;
-webkit-transform:-webkit-transform 0.4s ease-in-out;
transition:transform 0.4s ease-in-out;
display:block;
background-color:#ffffff;
margin:0 auto;
margin-bottom:6px;
width:20px;
height:2px;
}
.menu-bar-1 {margin-top:5px;}
.clicked {box-shadow:0 0 5px #181818;}
.clicked .menu-bar-1 {
-ms-transform:rotate(-45deg) translate(-6px, 6px);
-moz-transform:rotate(-45deg) translate(-6px, 6px);
-o-transform:rotate(-45deg) translate(-6px, 6px);
-webkit-transform:rotate(-45deg) translate(-6px, 6px);
transform:rotate(-45deg) translate(-6px, 6px);
}
.clicked .menu-bar-2{transform:translate(26px);}
.clicked .menu-bar-3 {
-ms-transform:rotate(45deg) translate(-5px, -5px);
-moz-transform:rotate(45deg) translate(-5px, -5px);
-o-transform:rotate(45deg) translate(-5px, -5px);
-webkit-transform:rotate(45deg) translate(-5px, -5px);
transform:rotate(45deg) translate(-5px, -5px);
}
.clicked .menu-bar {width:21px;}
.menu h3 {
text-align:center;
font-weight:bold;
font-size:18px;
color:#00aad4;
}
ul {list-style:none;}
.menu ul li a {font-size:15px;color:#00aad4;}