1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/styles/_mixins.scss

24 lines
462 B
SCSS
Raw Normal View History

2020-05-03 20:45:14 -03:00
@mixin background-cover($position) {
background-position: $position;
background-repeat: no-repeat;
background-size: cover;
}
@mixin circle($size) {
@include square($size);
border-radius: 100%;
}
@mixin position($position, $top: null, $right: null, $bottom: null, $left: null) {
position: $position;
top: $top;
right: $right;
bottom: $bottom;
left: $left;
}
@mixin square($size) {
height: $size;
width: $size;
}