|
@@ -17,28 +17,22 @@
|
|
|
#toggle:focus ~ .toggle-container .button-toggle,
|
|
|
#toggle:checked ~ .toggle-container .button-toggle {
|
|
|
-webkit-box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
- -moz-box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
}
|
|
|
|
|
|
#toggle:checked ~ .toggle-container .button-toggle:hover,
|
|
|
#toggle:checked:focus ~ .toggle-container .button-toggle {
|
|
|
-webkit-box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1), 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
- -moz-box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1), 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1), 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
}
|
|
|
|
|
|
#toggle:checked ~ .toggle-container .button-toggle:before {
|
|
|
-webkit-transform: translateY(-50%) rotate(45deg) scale(1);
|
|
|
- -ms-transform: translateY(-50%) rotate(45deg) scale(1);
|
|
|
- -o-transform: translateY(-50%) rotate(45deg) scale(1);
|
|
|
transform: translateY(-50%) rotate(45deg) scale(1);
|
|
|
}
|
|
|
|
|
|
#toggle:checked ~ .toggle-container .button-toggle:after {
|
|
|
-webkit-transform: translateY(-50%) rotate(-45deg) scale(1);
|
|
|
- -ms-transform: translateY(-50%) rotate(-45deg) scale(1);
|
|
|
- -o-transform: translateY(-50%) rotate(-45deg) scale(1);
|
|
|
transform: translateY(-50%) rotate(-45deg) scale(1);
|
|
|
}
|
|
|
|
|
@@ -46,8 +40,6 @@
|
|
|
margin-bottom: 100px;
|
|
|
pointer-events: auto;
|
|
|
-webkit-transform: translate(0px, 50px);
|
|
|
- -ms-transform: translate(0px, 50px);
|
|
|
- -o-transform: translate(0px, 50px);
|
|
|
transform: translate(0px, 50px);
|
|
|
}
|
|
|
|
|
@@ -62,28 +54,20 @@
|
|
|
margin: 0;
|
|
|
opacity: 1;
|
|
|
-webkit-transform: scaleY(1);
|
|
|
- -ms-transform: scaleY(1);
|
|
|
- -o-transform: scaleY(1);
|
|
|
transform: scaleY(1);
|
|
|
-webkit-transition: .5s, opacity .1s;
|
|
|
- -moz-transition: .5s, opacity .1s;
|
|
|
- -o-transition: .5s, opacity .1s;
|
|
|
transition: .5s, opacity .1s;
|
|
|
}
|
|
|
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(1),
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(1):before {
|
|
|
-webkit-transition-delay: .15s;
|
|
|
- -moz-transition-delay: .15s;
|
|
|
- -o-transition-delay: .15s;
|
|
|
transition-delay: .15s;
|
|
|
}
|
|
|
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(2),
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(2):before {
|
|
|
-webkit-transition-delay: .01s;
|
|
|
- -moz-transition-delay: .01s;
|
|
|
- -o-transition-delay: .01s;
|
|
|
transition-delay: .01s;
|
|
|
}
|
|
|
|
|
@@ -91,16 +75,12 @@
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(3),
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(3):before {
|
|
|
-webkit-transition-delay: .05s;
|
|
|
- -moz-transition-delay: .05s;
|
|
|
- -o-transition-delay: .05s;
|
|
|
transition-delay: .05s;
|
|
|
}
|
|
|
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(4),
|
|
|
#toggle:checked ~ .nav .nav-item:nth-child(4):before {
|
|
|
-webkit-transition-delay: 0s;
|
|
|
- -moz-transition-delay: 0s;
|
|
|
- -o-transition-delay: 0s;
|
|
|
transition-delay: 0s;
|
|
|
}
|
|
|
|
|
@@ -117,14 +97,11 @@
|
|
|
height: 20px;
|
|
|
margin: 25px 0;
|
|
|
-webkit-box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
- -moz-box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
box-shadow: 0 0 0 8px rgba(0, 0, 0, .1), inset 0 0 0 8px rgba(0, 0, 0, .1);
|
|
|
border: none;
|
|
|
cursor: pointer;
|
|
|
border-radius: 100%;
|
|
|
-webkit-transition: .6s;
|
|
|
- -moz-transition: .6s;
|
|
|
- -o-transition: .6s;
|
|
|
transition: .6s;
|
|
|
}
|
|
|
/* button X container (toggled) */
|
|
@@ -139,22 +116,16 @@
|
|
|
background-color: black;
|
|
|
border-radius: 5px;
|
|
|
-webkit-transition: .5s;
|
|
|
- -moz-transition: .5s;
|
|
|
- -o-transition: .5s;
|
|
|
transition: .5s;
|
|
|
}
|
|
|
/* button \ container */
|
|
|
.button-toggle:before {
|
|
|
-webkit-transform: translateY(-50%) rotate(45deg) scale(0);
|
|
|
- -ms-transform: translateY(-50%) rotate(45deg) scale(0);
|
|
|
- -o-transform: translateY(-50%) rotate(45deg) scale(0);
|
|
|
transform: translateY(-50%) rotate(45deg) scale(0);
|
|
|
}
|
|
|
/* button / container */
|
|
|
.button-toggle:after {
|
|
|
-webkit-transform: translateY(-50%) rotate(-45deg) scale(0);
|
|
|
- -ms-transform: translateY(-50%) rotate(-45deg) scale(0);
|
|
|
- -o-transform: translateY(-50%) rotate(-45deg) scale(0);
|
|
|
transform: translateY(-50%) rotate(-45deg) scale(0);
|
|
|
}
|
|
|
|
|
@@ -164,8 +135,6 @@
|
|
|
margin: 25px 0;
|
|
|
pointer-events: none;
|
|
|
-webkit-transition: .5s;
|
|
|
- -moz-transition: .5s;
|
|
|
- -o-transition: .5s;
|
|
|
transition: .5s;
|
|
|
}
|
|
|
|
|
@@ -181,44 +150,32 @@
|
|
|
text-transform: uppercase;
|
|
|
white-space: nowrap;
|
|
|
-webkit-transform: scaleY(.2);
|
|
|
- -ms-transform: scaleY(.2);
|
|
|
- -o-transform: scaleY(.2);
|
|
|
transform: scaleY(.2);
|
|
|
-webkit-transition: .5s, opacity .1s;
|
|
|
- -moz-transition: .5s, opacity .1s;
|
|
|
- -o-transition: .5s, opacity .1s;
|
|
|
transition: .5s, opacity .1s;
|
|
|
}
|
|
|
|
|
|
.nav-item:nth-child(1),
|
|
|
.nav-item:nth-child(1):before {
|
|
|
-webkit-transition-delay: 0s;
|
|
|
- -moz-transition-delay: 0s;
|
|
|
- -o-transition-delay: 0s;
|
|
|
transition-delay: 0s;
|
|
|
}
|
|
|
|
|
|
.nav-item:nth-child(2),
|
|
|
.nav-item:nth-child(2):before {
|
|
|
-webkit-transition-delay: .05s;
|
|
|
- -moz-transition-delay: .05s;
|
|
|
- -o-transition-delay: .05s;
|
|
|
transition-delay: .05s;
|
|
|
}
|
|
|
|
|
|
.nav-item:nth-child(3),
|
|
|
.nav-item:nth-child(3):before {
|
|
|
-webkit-transition-delay: .1s;
|
|
|
- -moz-transition-delay: .1s;
|
|
|
- -o-transition-delay: .1s;
|
|
|
transition-delay: .1s;
|
|
|
}
|
|
|
|
|
|
.nav-item:nth-child(4),
|
|
|
.nav-item:nth-child(4):before {
|
|
|
-webkit-transition-delay: .15s;
|
|
|
- -moz-transition-delay: .15s;
|
|
|
- -o-transition-delay: .15s;
|
|
|
transition-delay: .15s;
|
|
|
}
|
|
|
|
|
@@ -244,12 +201,8 @@
|
|
|
height: 2px;
|
|
|
background-color: black;
|
|
|
-webkit-transform: translateY(-50%) scaleY(5);
|
|
|
- -ms-transform: translateY(-50%) scaleY(5);
|
|
|
- -o-transform: translateY(-50%) scaleY(5);
|
|
|
transform: translateY(-50%) scaleY(5);
|
|
|
-webkit-transition: .5s;
|
|
|
- -moz-transition: .5s;
|
|
|
- -o-transition: .5s;
|
|
|
transition: .5s;
|
|
|
}
|
|
|
/* .main-layout {
|