Files
Iris/src/scss/global/_variables.scss

54 lines
958 B
SCSS
Raw Normal View History

$turquoise: #08d58f;
2016-10-31 16:49:42 +13:00
$faint_grey: #EEEEEE;
2016-10-25 21:36:33 +13:00
$light_grey: #DDDDDD;
2016-10-26 21:20:48 +13:00
$mid_grey: #AAAAAA;
2016-10-26 16:55:47 +13:00
$dark_grey: #333333;
2016-10-25 14:09:53 +13:00
$secondary_grey: #888888;
2016-10-26 21:20:48 +13:00
$red: #cf2d2d;
@mixin one_line_text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2016-10-25 14:09:53 +13:00
}
2016-10-25 21:36:33 +13:00
@mixin clearfix {
&::after {
content: '';
clear: both;
display: block;
}
2016-10-26 16:55:47 +13:00
}
2016-10-27 16:58:11 +13:00
@mixin animate( $duration: 0.2s, $easing: ease-in-out ){
-webkit-transition: all $duration $easing;
-moz-transition: all $duration $easing;
-o-transition: all $duration $easing;
transition: all $duration $easing;
}
@keyframes fill_from_left {
from { width: 0%; }
to { width: 100%; }
}
@mixin animate_timeout( $duration: 0.2s ){
animation-name: fill_from_left;
animation-duration: $duration;
animation-timing-function: linear;
2016-10-27 10:02:12 +13:00
}
@mixin blur( $size: 10px ) {
-webkit-filter: blur( $size );
filter: blur( $size );
}
@mixin responsive( $width ){
@media (max-width: $width){
@content;
}
}