botascopia-webiste-static/assets/css/abstracts/_mixins.scss

54 lines
775 B
SCSS
Raw Normal View History

2026-02-11 10:39:01 +01:00
@mixin icon($size){
width: $size;
height: $size;
svg {
width: 100%;
height: 100%;
}
}
@mixin chart-edit($size){
width: $size;
height: $size;
svg {
width: 100%;
height: 100%;
circle{
fill: #cfcfcf;
}
.filled{
fill: lightgreen;
}
.verified{
fill: green;
}
}
2026-02-11 15:34:20 +01:00
}
@mixin fig-ratio($ratio){
width: 100%;
aspect-ratio: $ratio;
overflow: hidden;
flex-shrink: 0;
img{
width: 100%;
height: 100%;
object-fit: cover;
}
2026-02-12 18:56:14 +01:00
}
@mixin hide-scrollbar(){
scrollbar-width: none;
-ms-overflow-style: none;
&::-webkit-scrollbar {
display: none;
}
2026-02-11 10:39:01 +01:00
}