blob: 2f7b28b3ad5896fa0bb0caae167c7b80c8255042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Align element vertically inside
@mixin valo-vertical-align-guide ($to-align: (), $align: middle, $pseudo-element: after) {
&:#{$pseudo-element} {
content: "";
display: inline-block;
width: 0;
height: 100%;
vertical-align: middle;
}
@if length($to-align) > 0 {
@each $selector in $to-align {
& > #{$selector} {
vertical-align: $align;
}
}
}
}
@mixin valo-tappable {
@include user-select(none);
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-touch-callout: none;
cursor: pointer;
}
|