papercss/src/utilities/_shadows.scss

36 lines
415 B
SCSS
Raw Permalink Normal View History

2017-12-23 09:43:23 +01:00
.shadow {
@include shadow();
&.shadow-large {
@include shadow(large);
}
&.shadow-small {
@include shadow(small);
}
2018-05-24 14:13:53 +02:00
2017-12-23 09:43:23 +01:00
&.shadow-hover {
&:hover {
@include shadow(hover);
}
}
}
2017-12-19 17:52:33 +01:00
.child-shadows > * {
2017-12-23 09:43:23 +01:00
@include shadow();
2017-12-19 17:52:33 +01:00
}
2017-12-19 17:52:52 +01:00
2021-01-16 06:26:51 +01:00
.child-shadows {
.shadow-none {
box-shadow: none;
}
}
2017-12-19 17:52:33 +01:00
.child-shadows-hover > * {
2017-12-23 09:43:23 +01:00
@include shadow();
2017-12-19 17:52:52 +01:00
&:hover {
2017-12-23 09:43:23 +01:00
@include shadow(hover);
2017-12-19 17:52:52 +01:00
}
2017-12-19 17:52:33 +01:00
}