-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuttons.css
More file actions
74 lines (62 loc) · 1.4 KB
/
buttons.css
File metadata and controls
74 lines (62 loc) · 1.4 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
button {
background-color: #007acc;
border-color: #4d4d4d;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
label, button, input {
font-family: Consolas, 'Courier New', monospace, calibri;
font-size: 11pt;
}
/* https://iamkate.com/code/checkboxes-and-radio-buttons/ */
:root {
accent-color: #007acc;
}
label {
margin-top: auto;
margin-bottom: auto;
padding: 0px;
/* border: 1px solid green; */
}
input,
textarea,
select {
border : 1px solid #ddd;
border-radius : 2px;
background : #fff no-repeat center center;
color : #000;
}
input {
text-align: right;
}
:is(input, textarea, select):where(:active:not(:disabled), :focus) {
border-color : #696;
outline : none;
}
:is(input, textarea, select):disabled {
background : #eee;
color : #000;
}
input:where([type="checkbox"], [type="radio"]) {
-webkit-appearance : none;
appearance : none;
width : 22px;
height : 22px;
/* margin : calc(0.75em - 11px) 0.25rem 0 0; */
margin : 3px;
vertical-align : top;
}
input[type="radio"] {
border-radius : 50%;
margin-top: -1px;
vertical-align: middle;
}
input[type="checkbox"]:checked {
background-image : url('checkbox.svg');
}
input[type="radio"]:checked {
background-image : url('radio.svg');
}