2017-10-11 16:05:24 -04:00
|
|
|
@mixin sticky()
|
|
|
|
{
|
|
|
|
position: -moz-sticky;
|
|
|
|
position: -ms-sticky;
|
|
|
|
position: -o-sticky;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
}
|
2016-07-07 18:54:16 -07:00
|
|
|
|
|
|
|
@mixin border-radius($radius)
|
|
|
|
{
|
|
|
|
-webkit-border-radius: $radius;
|
|
|
|
-moz-border-radius: $radius;
|
|
|
|
border-radius: $radius;
|
|
|
|
}
|
|
|
|
|
2017-11-21 14:47:49 +00:00
|
|
|
@mixin border-radius-left($radius)
|
|
|
|
{
|
|
|
|
border-top-left-radius: $radius;
|
|
|
|
border-bottom-left-radius: $radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin border-radius-right($radius)
|
|
|
|
{
|
|
|
|
border-top-right-radius: $radius;
|
|
|
|
border-bottom-right-radius: $radius;
|
|
|
|
}
|
|
|
|
|
2018-05-23 12:37:21 +01:00
|
|
|
@mixin border-radius-top($radius)
|
|
|
|
{
|
|
|
|
border-top-left-radius: $radius;
|
|
|
|
border-top-right-radius: $radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin border-radius-bottom($radius)
|
|
|
|
{
|
|
|
|
border-bottom-left-radius: $radius;
|
|
|
|
border-bottom-right-radius: $radius;
|
|
|
|
}
|
|
|
|
|
2016-07-07 18:54:16 -07:00
|
|
|
@mixin ease-in()
|
|
|
|
{
|
|
|
|
-webkit-transition: all 0.30s ease-in-out;
|
|
|
|
-moz-transition: all 0.30s ease-in-out;
|
|
|
|
-ms-transition: all 0.30s ease-in-out;
|
|
|
|
-o-transition: all 0.30s ease-in-out;
|
|
|
|
transition: all 0.30s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2017-03-23 18:28:42 +00:00
|
|
|
@mixin content-container($pad-tb: 25px, $pad-lr: 50px) {
|
|
|
|
@include border-radius(2px);
|
|
|
|
padding: $pad-tb $pad-lr;
|
2018-12-04 17:26:57 +00:00
|
|
|
box-shadow: 0 0 0 0.75pt map-get($gray-shades, 200),0 0 3pt 0.75pt map-get($gray-shades, 200);
|
2017-03-23 18:28:42 +00:00
|
|
|
background-color: $color-white;
|
|
|
|
}
|
2017-11-17 11:31:54 +00:00
|
|
|
|
|
|
|
@mixin card() {
|
|
|
|
background-color: $color-card;
|
|
|
|
box-shadow: 1px 1px 3px 0px rgba(211,211,211,1);
|
|
|
|
|
|
|
|
&:hover {
|
2017-11-20 13:01:44 +00:00
|
|
|
background-color: darken($color-card, 5%);
|
2017-11-17 11:31:54 +00:00
|
|
|
color: $color-link;
|
|
|
|
}
|
|
|
|
}
|
2017-11-27 15:38:39 +00:00
|
|
|
|
2017-11-27 19:07:36 +00:00
|
|
|
|
|
|
|
@mixin shadow() {
|
|
|
|
box-shadow: 1px 1px 3px 0px rgba(211,211,211,1);
|
|
|
|
}
|