2015-03-13 17:34:29 +00:00
|
|
|
//
|
|
|
|
// Utility classes
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// -------------------------
|
|
|
|
|
|
|
|
@mixin anti-alias() {
|
2015-03-17 03:06:55 +00:00
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2015-03-13 17:34:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin consul-gradient-bg() {
|
2015-03-17 03:06:55 +00:00
|
|
|
background: #694a9c; /* Old browsers */
|
|
|
|
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */
|
|
|
|
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */
|
|
|
|
background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */
|
|
|
|
background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */
|
|
|
|
background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */
|
|
|
|
background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */
|
2015-03-13 17:34:29 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin lato-light() {
|
|
|
|
font-family: $font-family-lato;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin open-light() {
|
|
|
|
font-family: $font-family-open-sans;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin open() {
|
|
|
|
font-family: $font-family-open-sans;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin open-bold() {
|
|
|
|
font-family: $font-family-open-sans;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin skewY($skew) {
|
2015-03-17 03:06:55 +00:00
|
|
|
-webkit-transform: skewY($skew);
|
2015-03-13 17:34:29 +00:00
|
|
|
-moz-transform: skewY($skew);
|
|
|
|
-ms-transform: skewY($skew);
|
|
|
|
-o-transform: skewY($skew);
|
|
|
|
transform: skewY($skew);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin v-nav-style{
|
|
|
|
margin: 0 15px;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 26px;
|
2015-03-17 00:17:10 +00:00
|
|
|
color: #2E2E2E;
|
2015-03-13 17:34:29 +00:00
|
|
|
font-size: 14px;
|
2015-03-17 00:17:10 +00:00
|
|
|
font-weight: 400;
|
|
|
|
@include transition( color 0.3s ease );
|
|
|
|
|
2015-03-13 17:34:29 +00:00
|
|
|
&:hover{
|
|
|
|
color: $blue;
|
|
|
|
@include transition( color 0.3s ease );
|
|
|
|
background-color: transparent;
|
2015-03-17 00:17:10 +00:00
|
|
|
}
|
2015-03-13 17:34:29 +00:00
|
|
|
}
|
2015-03-15 01:16:58 +00:00
|
|
|
|
|
|
|
@mixin bez-1-transition{
|
|
|
|
@include transition( all 300ms ease-in-out );
|
2015-03-16 21:21:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes press {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
2015-03-17 00:17:10 +00:00
|
|
|
}
|
2015-03-16 21:21:29 +00:00
|
|
|
50% {
|
|
|
|
opacity: .55
|
2015-03-17 00:17:10 +00:00
|
|
|
}
|
2015-03-16 21:21:29 +00:00
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes press {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
2015-03-17 00:17:10 +00:00
|
|
|
}
|
2015-03-16 21:21:29 +00:00
|
|
|
50% {
|
|
|
|
opacity: .55
|
2015-03-17 00:17:10 +00:00
|
|
|
}
|
2015-03-16 21:21:29 +00:00
|
|
|
100% {
|
|
|
|
opacity: 1;
|
2015-03-17 00:17:10 +00:00
|
|
|
}
|
|
|
|
}
|
2015-03-17 03:06:55 +00:00
|
|
|
|
2015-03-17 19:47:34 +00:00
|
|
|
#demo-app .loading-bar{
|
2015-03-17 03:06:55 +00:00
|
|
|
display: block;
|
2015-03-17 19:47:34 +00:00
|
|
|
-webkit-animation: shift-rightwards 2s ease-in-out infinite;
|
|
|
|
-moz-animation: shift-rightwards 2s ease-in-out infinite;
|
|
|
|
-ms-animation: shift-rightwards 2s ease-in-out infinite;
|
|
|
|
-o-animation: shift-rightwards 2s ease-in-out infinite;
|
|
|
|
animation: shift-rightwards 2s ease-in-out infinite;
|
2015-03-17 03:06:55 +00:00
|
|
|
-webkit-animation-delay: .4s;
|
|
|
|
-moz-animation-delay: .4s;
|
|
|
|
-o-animation-delay: .4s;
|
|
|
|
animation-delay: .4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-bar{
|
|
|
|
position: fixed;
|
|
|
|
display: none;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 2px;
|
|
|
|
z-index: 800;
|
|
|
|
background: $blue;
|
|
|
|
-webkit-transform: translateX(100%);
|
|
|
|
-moz-transform: translateX(100%);
|
|
|
|
-o-transform: translateX(100%);
|
|
|
|
transform: translateX(100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes shift-rightwards
|
|
|
|
{
|
|
|
|
0%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(-100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
40%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
60%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
100%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
@-moz-keyframes shift-rightwards
|
|
|
|
{
|
|
|
|
0%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(-100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
40%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
60%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
100%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
@-o-keyframes shift-rightwards
|
|
|
|
{
|
|
|
|
0%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(-100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
40%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
60%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
100%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
@keyframes shift-rightwards
|
|
|
|
{
|
|
|
|
0%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(-100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
40%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
60%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(0%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
100%
|
|
|
|
{
|
2015-03-17 04:48:50 +00:00
|
|
|
@include translate(100%, 0);
|
2015-03-17 03:06:55 +00:00
|
|
|
}
|
|
|
|
}
|