Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ryan778
GitHub Repository: Ryan778/Ryan778.github.io
Path: blob/master/bkmusic/style.css
574 views
1
html{
2
background: #fafafa;
3
-webkit-user-select: none;
4
-moz-user-select: none;
5
user-select: none;
6
cursor: default;
7
font-family: "Open Sans", sans-serif;
8
text-align: center;
9
}
10
#f{
11
line-height: 1;
12
font-size: 12px;
13
}
14
#cl{
15
color: #5589ff;
16
cursor: pointer;
17
}
18
button{
19
background-color: rgba(255, 255, 255, 0.5);
20
border: 1px solid #bbb;
21
margin-right: 4px;
22
cursor: pointer;
23
font-size: 14px;
24
padding: 3px 5px;
25
border-radius: 2px;
26
transition: all 0.2s;
27
}
28
button:focus{
29
border-color: #888;
30
outline: none;
31
}
32
button:hover{
33
border-color: #888;
34
background-color: rgba(245, 245, 245, 0.5);
35
}
36
button:active{
37
border-color: #555;
38
background-color: rgba(220, 220, 220, 0.5);
39
}
40
button[disabled]{
41
color: #888;
42
cursor: default;
43
border: 1px solid #bbb;
44
background-color: rgba(255, 255, 255, 0.5);;
45
text-decoration: none;
46
}
47
a{
48
text-decoration: none
49
}
50
a:hover{
51
text-decoration: underline
52
}
53
#main{
54
width: 880px;
55
height: 560px;
56
margin-left: calc(50% - 440px);
57
background: white;
58
box-shadow: 2px 2px 4px gray;
59
}
60
#main h2{
61
line-height: 0;
62
padding-top: 25px;
63
}
64
#main h3 button{
65
vertical-align: bottom;
66
}
67
#main .selected{
68
cursor: default;
69
border: 1px solid #5eceff;
70
box-shadow: 0px 0px 4px #0080ff;
71
}
72
.selected p{
73
color: #c2f1ff;
74
}
75
.option{
76
display: inline-block;
77
cursor: pointer;
78
box-shadow: 1px 1px 2px gray;
79
border: 1px solid #aaa;
80
height: 200px;
81
width: 280px;
82
position: relative;
83
margin: 2px;
84
transition: all 0.2s;
85
}
86
.optname{
87
position: absolute;
88
width: 280px;
89
top: 40px;
90
color: white;
91
font-weight: 600;
92
font-size: 36px;
93
text-shadow: 2px 2px 4px black;
94
transition: all 0.2s;
95
}
96
#main .optname_long{
97
top: 15px;
98
}
99
100
.custom[type="checkbox"]:not(:checked),
101
.custom[type="checkbox"]:checked {
102
position: absolute;
103
left: -9999px;
104
}
105
.custom[type="checkbox"]:not(:checked) + label,
106
.custom[type="checkbox"]:checked + label {
107
position: relative;
108
padding-left: 27px;
109
cursor: pointer;
110
}
111
112
/* checkbox aspect */
113
.custom[type="checkbox"]:not(:checked) + label:before,
114
.custom[type="checkbox"]:checked + label:before {
115
content: '';
116
position: absolute;
117
left:0; top: 2px;
118
width: 14px; height: 14px;
119
border: 1px solid #aaa;
120
background: #f8f8f8;
121
border-radius: 3px;
122
box-shadow: inset 0 1px 3px rgba(0,0,0,.3)
123
}
124
/* checked mark aspect */
125
.custom[type="checkbox"]:not(:checked) + label:after,
126
.custom[type="checkbox"]:checked + label:after {
127
content: '✔';
128
font-weight: 700;
129
position: absolute;
130
top: 6px; left: 3px;
131
padding: 0;
132
font-size: 13px;
133
line-height: 0.8;
134
color: #0a6dd0;
135
transition: all .2s;
136
}
137
/* checked mark aspect changes */
138
.custom[type="checkbox"]:not(:checked) + label:after {
139
opacity: 0;
140
transform: scale(0);
141
}
142
.custom[type="checkbox"]:checked + label:after {
143
opacity: 1;
144
transform: scale(1);
145
}
146
/* disabled checkbox */
147
.custom[type="checkbox"]:disabled:not(:checked) + label:before,
148
.custom[type="checkbox"]:disabled:checked + label:before {
149
box-shadow: none;
150
border-color: #bbb;
151
background-color: #ddd;
152
}
153
.custom[type="checkbox"]:disabled:checked + label:after {
154
color: #999;
155
}
156
.custom[type="checkbox"]:disabled + label {
157
color: #aaa;
158
}
159
/* accessibility */
160
.custom[type="checkbox"]:checked:focus + label:before,
161
.custom[type="checkbox"]:not(:checked):focus + label:before {
162
border: 1px solid #0a367c;
163
}
164
165
.custom[type="checkbox"]:checked:hover + label:before,
166
.custom[type="checkbox"]:not(:checked):hover + label:before {
167
border: 1px solid #3c68bf;
168
}
169
170
/* hover style just for information */
171
.custom label:hover:before {
172
border: 1px solid #4778d9!important;
173
}
174
175
.clickable{
176
color: #3e3eff;
177
cursor: pointer;
178
}
179
180
.clickable:hover{
181
text-decoration: underline;
182
}
183
184
.clickable:active{
185
color: #ff0b56;
186
}
187
188
a, .clickable{
189
transition: all 0.1s;
190
}
191
192
.alertify .alert>*, .alertify .dialog>*{
193
width: 750px;
194
}
195