-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmaterial.scss
More file actions
110 lines (86 loc) · 1.35 KB
/
material.scss
File metadata and controls
110 lines (86 loc) · 1.35 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*
* Generalisation: standard checkboxes and radio share similar properties, disabled elements etc
*/
.checkbox input, .radio {
-webkit-appearance: none;
border: 2px solid #000;
outline: none;
background-color: #fff;
transition: background-color .3s ease;
cursor: pointer;
}
.checkbox.medium, .radio.medium {
width: 20px;
height: 20px;
}
.checkbox.large, .radio.large {
width: 26px;
height: 26px;
}
.checkbox input:disabled,
.checkbox input:disabled ~ .tick,
.radio:disabled, button:disabled,
.pill-checkbox [type="checkbox"]:disabled,
.textfield-wrapper input:disabled,
.select:disabled {
opacity: .4;
cursor: not-allowed;
}
/*
* Standard checkboxes
*/
@import "components/checkbox";
/*
* Pill checkboxes
*/
@import "components/pill-checkbox";
/*
* Radio buttons
*/
@import "components/radio-button";
/*
* Select menus
*/
@import "components/select";
/*
* Buttons
*/
@import "components/button";
/*
* Labels
*/
@import "components/label";
/*
* Alerts
*/
@import "components/alert";
/*
* Text fields
*/
@import "components/textfield";
/*
* Style switching
*/
@import "style-switching";
/*
* Key frames
*/
@keyframes pulse {
0% {
height: 0%;
width: 0%;
}
100% {
height: 300%;
width: 300%;
opacity: .7;
}
}
@keyframes button-shine {
from {
left: -100%;
}
to {
left: 200%;
}
}