-
Notifications
You must be signed in to change notification settings - Fork 25
/
holo-base-widgets.css
186 lines (160 loc) · 4.4 KB
/
holo-base-widgets.css
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/* Base Holo styles for widgets
* Part of the Holo Web CSS library
*
* Copyright 2012-2015 Zachary Yaro
* Released under the MIT license
* http://holo.zmyaro.com/LICENSE.txt
*/
body {
padding-top: 46px;
padding-bottom: 46px;
}
.actionBar, .holo-actionBar { /* the top action bar should be a <header> element */
display: block;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
position: fixed;
top: 0px;
left: 0px;
right: 0px;
height: 48px;
border-style: solid none;
border-width: 1px 0 2px;
border-color: transparent;
font-size: 16px;
z-index: 1000;
}
footer.actionBar, footer.holo-actionBar { /* a bottom action bar must be a <footer> element */
top: auto;
bottom: 0px;
border-width: 1px 0 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.actionBar > *, .holo-actionBar > * {
margin: -1px 0 -2px;
}
.actionBar span, .holo-actionBar span { /* use this for text in action bars */
display: inline-block;
padding: 13px 0 14px;
}
.actionBar button, .holo-actionBar button,
.actionBar *[role="button"], .holo-actionBar *[role="button"] {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 100%;
margin: -1px 0 -2px 0;
padding: 1px 10px 2px;
vertical-align: top;
background-color: transparent;
background-image: none;
border-style: none;
border-width: 0px;
outline-style: solid;
outline-width: 2px;
outline-color: transparent;
outline-offset: -2px;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
font-size: 75%;
text-transform: uppercase;
font-weight: bold;
}
footer.actionBar button, footer.holo-actionBar button,
footer.actionBar *[role="button"], footer.holo-actionBar *[role="button"] {
margin-bottom: 0;
padding-bottom: 0;
}
.actionBar button:focus, .holo-actionBar button:focus,
.actionBar *[role="button"]:focus, .holo-actionBar *[role="button"]:focus {
background-color: rgba(51, 181, 229, 0.3);
outline-color: #32A5CF;
outline-color: rgba(51, 181, 229, 0.9);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.actionBar button:enabled:active, .holo-actionBar button:enabled:active,
.actionBar *[role="button"]:active, .holo-actionBar *[role="button"]:active,
.actionBar button:enabled.active, .holo-actionBar button:enabled.active,
.actionBar *[role="button"].active, .holo-actionBar *[role="button"].active {
background-color: rgba(51, 181, 229, 0.75);
outline: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.actionBar .holo-title, .holo-actionBar .holo-title {
font-size: inherit;
font-weight: inherit;
text-transform: inherit;
height: auto;
padding: 13px 10px 14px 16px;
}
.actionBar .holo-title.holo-up, .holo-actionBar .holo-title.holo-up {
background-position: 0 16px;
background-repeat: no-repeat;
}
.actionBar img, .holo-actionBar img {
height: 32px;
padding: 8px 0;
vertical-align: top;
}
.actionBar button img, .holo-actionBar button img,
.actionBar *[role="button"] img, .holo-actionBar *[role="button"] img {
margin: -16px 0 -16px;
}
.actionBar span img, .actionBar .holo-title img, .holo-actionBar span img, .holo-actionBar .holo-title img {
margin: -13px 0 -14px;
}
.actionBar .holo-title img, .holo-actionBar .holo-title img {
margin-left: -4px;
}
.holo-list {
list-style-type: none;
margin: 0;
padding: 0;
}
.holo-list li {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 16px;
border-width: 1px 0 0;
border-style: solid;
}
.holo-list li:last-child {
border-bottom-width: 1px;
}
.holo-list li button,
.holo-list li *[role="button"] {
display: block;
margin: -16px;
padding: 16px;
font-family: inherit;
font-size: inherit;
text-align: left;
border: 0 none;
-wekbit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
background: transparent none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.holo-list li button:enabled:active,
.holo-list li *[role="button"]:active,
.holo-list li button:enabled.active,
.holo-list li *[role="button"].active {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}