Files
vuefilemanager/resources/sass/vue-file-manager/_mixins.scss
2021-02-01 17:02:47 +01:00

41 lines
730 B
SCSS
Executable File
Vendored

@mixin text($font: "Open Sans", $font-size: 16, $color: $text-primary) {
font-family: $font, sans-serif;
font-size:($font-size/16) + 0em;
color: $color;
}
@mixin font-size($size) {
font-size:($size/16) + 0em;
}
@mixin transition($time: 0.3s) {
transition: $time all ease;
}
@mixin transform($effect) {
-webkit-transform: $effect;
-moz-transform: $effect;
transform: $effect;
}
@mixin no-yellow {
&:-webkit-autofill {
-webkit-box-shadow: 0 0 0 30px white inset;
}
}
@mixin widget-card {
padding: 20px;
border-radius: 8px;
box-shadow: 0 10px 20px -10px rgba(25,54,60,.10);
}
@mixin blurred-image {
position: absolute;
left: 0;
top: 2px;
z-index: 0;
filter: blur(8px);
opacity: 0.5;
}