-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbreakout.css
78 lines (78 loc) · 1.47 KB
/
breakout.css
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.breakout {
position: relative;
width: 24em;
height: 12em;
border: 1px solid #617078;
padding: 0.1em;
background-color: #232627;
}
.breakout ul {
list-style-type: none;
height: 1em;
margin: 0;
padding: 0.1em 0;
line-height: 1;
}
.breakout li {
display: inline-block;
position: relative;
width: 2em;
height: 1em;
}
.breakout .breakout-red li {
background-color: #900818;
}
.breakout .breakout-orange li {
background-color: #974208;
}
.breakout .breakout-yellow li {
background-color: #977a08;
}
.breakout .breakout-green li {
background-color: #698e08;
}
.breakout li::before, .breakout li::after {
display: block;
position: absolute;
content: '';
width: 0.1em;
height: 1em;
background-color: #232627;
}
.breakout li::after {
right: 0;
}
.breakout .breakout-broken {
visibility: hidden;
}
.breakout .breakout-paddle {
position: absolute;
right: 0;
bottom: 0;
left: 0;
overflow: auto;
}
.breakout .breakout-paddle::-webkit-scrollbar {
-webkit-appearance: none;
}
.breakout .breakout-paddle::-webkit-scrollbar:horizontal {
height: 11px;
}
.breakout .breakout-paddle::-webkit-scrollbar-thumb {
border-radius: 8px;
border: 2px solid #232627;
background-color: rgba(255, 255, 255, .5);
}
.breakout .breakout-paddle::-webkit-scrollbar-track {
margin-right: 1px;
background-color: #232627;
}
.breakout .breakout-paddle span {
display: block;
width: 500%;
height: 1px;
}
.breakout input {
position: absolute;
margin: 0;
}