-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.scss
57 lines (47 loc) · 1023 Bytes
/
test.scss
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
$var4: 4rem;
$var8: 8rem;
@import "foo.css";
$var15: 15rem;
$var16: 16rem;
a {
$var23: 23rem;
$var42: 42rem;
display: block;
}
@mixin button-base() {
@include typography($type: button);
@include ripple-surface;
@include ripple-radius-bounded;
position: relative;
display: inline-flex;
flex-wrap: wrap;
block-size: $button-height;
vertical-align: middle;
border: none;
@media (hover: hover) {
&:hover {
cursor: pointer;
}
}
&:disabled {
color: $mdc-button-disabled-ink-color;
pointer-events: none;
cursor: default;
}
}
@mixin breakpoint($name, $prefix: "max") {
@if not map.has-key($breakpoints, $name) {
@warn "Warning: `#{$name}` is not a valid breakpoint name.";
}
@if $prefix == "max" {
@media (max-width: map.get($breakpoints, $name)) {
@content;
}
} @else if $prefix == "min" {
@media (min-width: map.get($breakpoints, $name)) {
@content;
}
} @else {
@error "Available only 'max' or 'min' values";
}
}