-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathcapo.css
More file actions
59 lines (57 loc) · 1.16 KB
/
capo.css
File metadata and controls
59 lines (57 loc) · 1.16 KB
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
58
59
body {
padding: 0;
margin: 0;
height: 60px;
background-color: #ccc;
}
.capo-container {
display: flex;
align-content: stretch;
width: 600px;
}
.capo-head-element {
content: '';
width: 100%;
height: 30px;
box-sizing: border-box;
}
.capo-head-element.invalid {
background-image: repeating-linear-gradient(
45deg,
rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0) 3px,
rgba(255, 0, 0, 0.3) 3px,
rgba(255, 0, 0, 0.3) 6px
);
}
.capo-head-element.invalid:is(
[data-weight="10"],
[data-weight="9"],
[data-weight="8"],
[data-weight="7"]
) {
background-image: repeating-linear-gradient(
45deg,
rgba(255, 255, 255, 0.3),
rgba(255, 255, 255, 0.3) 3px,
rgba(0, 0, 0, 0) 3px,
rgba(0, 0, 0, 0) 6px
);
}.capo-head-element.invalid:is(
[data-weight="2"],
[data-weight="1"]
) {
background-image: repeating-linear-gradient(
45deg,
rgba(255, 255, 255, 0.3),
rgba(255, 255, 255, 0.3) 3px,
rgba(255, 0, 0, 0.3) 3px,
rgba(255, 0, 0, 0.3) 6px
);
}
.capo-head-element:hover {
box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.1);
}
.capo-head-element.invalid:hover {
box-shadow: inset 0 0 0 9999px rgba(255, 0, 0, 0.1);
}