1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00
documize/gui/app/styles/core/mixins.scss

49 lines
872 B
SCSS
Raw Normal View History

@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 card() {
background-color: $color-card;
box-shadow: 1px 1px 3px 0px rgba(211,211,211,1);
&:hover {
background-color: map-get($gray-shades, 100);
}
}
2016-07-07 18:54:16 -07:00
@mixin border-radius($radius)
{
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
border-radius: $radius;
}
@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;
}