Skip to content

Commit 7b0b820

Browse files
committed
actually add test files (oops)
1 parent 0a265f6 commit 7b0b820

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

test/fixtures/recursion-slippage.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.button {
2+
all: initial;
3+
cursor: pointer;
4+
font-size: 16px;
5+
padding: 10px 16px;
6+
border-radius: 2px;
7+
}
8+
9+
.button_state_disabled {
10+
cursor: default !important;
11+
}
12+
13+
.button:hover:not(.button_state_disabled) {
14+
@extend .button_state_hover;
15+
}
16+
17+
.button:focus:not(.button_state_disabled) {
18+
@extend .button_state_focus;
19+
}
20+
21+
.button:active:not(.button_state_disabled) {
22+
@extend .button_state_active;
23+
}
24+
25+
.button_state_hover {
26+
color: #FFF;
27+
}
28+
29+
.button_state_active {
30+
color: #FFF;
31+
}
32+
33+
.button_state_focus {
34+
35+
@extend .button_state_hover;
36+
}
37+
38+
.button_state_disabled {
39+
background-color: disabled(#FFF);
40+
}
41+
42+
.button_size_smaller {
43+
padding: 4px 16px;
44+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.button {
2+
all: initial;
3+
cursor: pointer;
4+
font-size: 16px;
5+
padding: 10px 16px;
6+
border-radius: 2px;
7+
}
8+
9+
.button_state_disabled {
10+
cursor: default !important;
11+
}
12+
13+
.button_state_hover, .button:hover:not(.button_state_disabled), .button_state_focus, .button:focus:not(.button_state_disabled) {
14+
color: #FFF;
15+
}
16+
17+
.button_state_active, .button:active:not(.button_state_disabled) {
18+
color: #FFF;
19+
}
20+
21+
.button_state_disabled {
22+
background-color: disabled(#FFF);
23+
}
24+
25+
.button_size_smaller {
26+
padding: 4px 16px;
27+
}

0 commit comments

Comments
 (0)