..
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
79 | /*
* inputs
*/
/* resets */
/* makes you want to click on */
label,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
cursor: pointer;
}
button[disabled],
input[type="submit"][disabled],
input[type="button"][disabled],
input[type="reset"][disabled] {
cursor: default;
pointer-events: none;
}
/* for field texts */
.label {
display: inline-block;
}
/* avoid dummy resize */
textarea {
resize: vertical;
cursor: auto; // fixes an issue on Chrome using CSS custom scroll
}
/* remove a Firefox difference on button tag */
button::-moz-focus-inner { border: 0; padding: 0; }
label,
button,
input,
select {
color: currentColor;
vertical-align: middle;
}
@if $use-reset-button == false {
/** fix typo inputs **/
input,
select,
textarea,
optgroup,
button {
font: inherit;
}
}
/*
* avoids dimensioning for radio, checkboxes and images
* and a different display on IE
*/
input[type="radio"],
input[type="checkbox"],
input[type="image"] {
background-color: transparent;
border: 0;
width: auto;
}
// for components that rely on checkboxes
input[type="radio"],
input[type="checkbox"] {
opacity: 0;
// this is a crazy fix for Firefox - for having ::after stuff working on it for mail conversations
// to have increased area around checkbox for clicking
/* autoprefixer: ignore next */
-moz-appearance: initial;
}
/* to cancel input sizing or other if needed */
.auto {
width: auto;
min-width: 0;
}
|
|