-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathbuttons.css
More file actions
60 lines (44 loc) · 888 Bytes
/
Copy pathbuttons.css
File metadata and controls
60 lines (44 loc) · 888 Bytes
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
@value colorRemove: rgb(202, 60, 60);
@value colorAdd: rgb(28, 184, 65);
@value colorWarn: rgb(223, 117, 20);
@value colorSecondary: rgb(66, 184, 221);
.button {
composes: global(pure-button);
background-color: #D8D8D8;
}
.color {
composes: button;
color: #FFF;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.primary {
composes: global(pure-button), global(pure-button-primary);
}
.add {
composes: color;
background: colorAdd;
}
.remove {
composes: color;
background: colorRemove;
}
.warn {
composes: color;
background: colorWarn;
}
.secondary {
composes: color;
background: colorSecondary;
}
/* Strip <button> styling */
.plain {
text-align: left;
background: none;
outline: none;
border: 0;
padding: 0;
}
/* Act like .pure-button */
.plain[disabled] {
cursor: not-allowed;
}