|
|
|
@ -158,6 +158,7 @@ input[type=search]:focus {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// |
|
|
|
|
// Badges |
|
|
|
|
// -------------------------------------------------- |
|
|
|
@ -169,3 +170,62 @@ input[type=search]:focus {
|
|
|
|
|
color: #fff; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// |
|
|
|
|
// Segmented controllers |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
.segmented-controller { |
|
|
|
|
background-color: transparent; |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
@include transition(background-color .1s linear); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// |
|
|
|
|
// Popovers |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
|
|
|
|
|
.popover { |
|
|
|
|
border-radius: 12px; |
|
|
|
|
@include transition(-webkit-transform 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// |
|
|
|
|
// Push styles |
|
|
|
|
// -------------------------------------------------- |
|
|
|
|
.content { |
|
|
|
|
|
|
|
|
|
// Fade animation |
|
|
|
|
&.fade { |
|
|
|
|
@include transition(opacity .2s ease-in-out); |
|
|
|
|
} |
|
|
|
|
// Slide animation |
|
|
|
|
&.slide { |
|
|
|
|
@include transition-timing-function ($timing-fuction); |
|
|
|
|
|
|
|
|
|
// Adding the overlay |
|
|
|
|
&.sliding-in, |
|
|
|
|
&.right:not([class*="sliding-in"]) { |
|
|
|
|
@include animation-name(fadeOverlay); |
|
|
|
|
@include animation-duration(.4s); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.right:not([class*="sliding-in"]) { |
|
|
|
|
@include animation-direction(reverse); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.left { |
|
|
|
|
@include transform(translate3d(-20%, 0, 0)); // Creates the parallax effect |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Overlay animation for the slide transition |
|
|
|
|
@-webkit-keyframes fadeOverlay { |
|
|
|
|
from { @include box-shadow(0 0 10px rgba(0,0,0,0), -320px 0 0 rgba(0,0,0,0)); } |
|
|
|
|
to { @include box-shadow(0 0 10px rgba(0,0,0,.3), -320px 0 0 rgba(0,0,0,.1)); } |
|
|
|
|
} |
|
|
|
|