govuk_admin_template 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/CSS.md +50 -15
- data/app/assets/stylesheets/govuk_admin_template.scss +1 -0
- data/app/assets/stylesheets/govuk_admin_template/bootstrap-ie7.scss +810 -0
- data/app/assets/stylesheets/govuk_admin_template/input_helpers.css.scss +66 -0
- data/app/assets/stylesheets/govuk_admin_template/mixins.css.scss +4 -0
- data/app/assets/stylesheets/govuk_admin_template/navbar.css.scss +4 -2
- data/app/views/govuk_admin_template/style_guide/index.html.erb +38 -0
- data/app/views/layouts/govuk_admin_template.html.erb +8 -1
- data/lib/govuk_admin_template/engine.rb +1 -1
- data/lib/govuk_admin_template/version.rb +1 -1
- metadata +6 -4
data/CHANGELOG.md
CHANGED
data/CSS.md
CHANGED
@@ -27,26 +27,61 @@ Class | Purpose
|
|
27
27
|
|
28
28
|
### Margin helpers
|
29
29
|
|
30
|
-
Rather than creating a class purely to remove or add margins (many Bootstrap styled elements come with margins), use these helpers which come bundled with the default margins necessary to keep a consistent vertical rhythm. This also avoids a specificity nightmare. (These classes use `!important` so that they’ll _almost_ always work)
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
30
|
+
Rather than creating a class purely to remove or add margins (many Bootstrap styled elements come with margins), use these helpers which come bundled with the default margins necessary to keep a consistent vertical rhythm. This also avoids a specificity nightmare. (These classes use `!important` so that they’ll _almost_ always work).
|
31
|
+
|
32
|
+
```html
|
33
|
+
<h3 class="add-top-margin"></h3>
|
34
|
+
```
|
35
|
+
|
36
|
+
The mixins don’t include `!important` by default, but can be added as a parameter:
|
37
|
+
|
38
|
+
```sass
|
39
|
+
.class {
|
40
|
+
@include add-top-margin;
|
41
|
+
@include add-top-margin('!important');
|
42
|
+
}
|
43
|
+
```
|
44
|
+
|
45
|
+
Class | Mixin | Purpose
|
46
|
+
------ | ----- | --------
|
47
|
+
`add-top-margin` | `@include add-top-margin;` | Add _default vertical margin_ to top of element
|
48
|
+
`add-bottom-margin` | `@include add-bottom-margin;` | Add _default vertical margin_ to bottom of element
|
49
|
+
`add-label-margin` | `@include add-label-margin;` | Simulates the vertical spacing between a Bootstrap label and an input element (5px)
|
50
|
+
`add-vertical-margins` | `@include add-vertical-margins;` | Add _default vertical margin_ to top and bottom
|
51
|
+
`remove-top-margin` || Remove all margins from top of element
|
52
|
+
`remove-bottom-margin` || Remove all margins from bottom of element
|
53
|
+
`add-right-margin` | `@include add-right-margin;` | Add margin to the right of element
|
54
|
+
`add-left-margin` | `@include add-left-margin;` | Add margin to the left of element
|
42
55
|
|
43
56
|
### Padding helpers
|
44
57
|
|
58
|
+
Like the margin helpers, the padding classes include `!important` so they’ll always work. The mixins default to not using `!important`, but this can be added with a parameter.
|
59
|
+
|
60
|
+
```html
|
61
|
+
<h3 class="add-bottom-padding"></h3>
|
62
|
+
```
|
63
|
+
|
64
|
+
```sass
|
65
|
+
.class {
|
66
|
+
@include add-top-padding;
|
67
|
+
@include add-top-padding('!important');
|
68
|
+
}
|
69
|
+
```
|
70
|
+
|
71
|
+
Class | Mixin | Purpose
|
72
|
+
------ |------ | -------
|
73
|
+
`add-top-padding` |`@include add-top-padding;`| Add _default vertical padding_ to top of element
|
74
|
+
`add-bottom-padding` |`@include add-bottom-padding;`| Add _default vertical padding_ to bottom of element
|
75
|
+
`add-vertical-padding` |`@include add-vertical-padding;`| Add _default vertical padding_ to top and bottom
|
76
|
+
`remove-padding` || Remove all padding from element
|
77
|
+
`remove-top-padding` || Remove top padding
|
78
|
+
`remove-bottom-padding` || Remove bottom padding
|
79
|
+
|
80
|
+
### Input helpers
|
81
|
+
|
45
82
|
Class | Purpose
|
46
83
|
------ |--------
|
47
|
-
`
|
48
|
-
`remove-top-padding` | Remove top padding
|
49
|
-
`remove-bottom-padding` | Remove bottom padding
|
84
|
+
`input-md-x` | Restrict the width of an input to a column size
|
50
85
|
|
51
86
|
### Icon helpers
|
52
87
|
|
@@ -0,0 +1,810 @@
|
|
1
|
+
/*
|
2
|
+
IE7 Bootstrap 3 fixes
|
3
|
+
via https://github.com/coliff/bootstrap-ie7
|
4
|
+
|
5
|
+
* Linearises grid
|
6
|
+
* Doesn't fix IE6, but it helps.
|
7
|
+
* Fixes glyphicon font
|
8
|
+
* Fixes small layout issues mostly by applying hasLayout
|
9
|
+
*/
|
10
|
+
|
11
|
+
.col-xs-1,
|
12
|
+
.col-xs-2,
|
13
|
+
.col-xs-3,
|
14
|
+
.col-xs-4,
|
15
|
+
.col-xs-5,
|
16
|
+
.col-xs-6,
|
17
|
+
.col-xs-7,
|
18
|
+
.col-xs-8,
|
19
|
+
.col-xs-9,
|
20
|
+
.col-xs-10,
|
21
|
+
.col-xs-11,
|
22
|
+
.col-xs-12,
|
23
|
+
.col-sm-1,
|
24
|
+
.col-sm-2,
|
25
|
+
.col-sm-3,
|
26
|
+
.col-sm-4,
|
27
|
+
.col-sm-5,
|
28
|
+
.col-sm-6,
|
29
|
+
.col-sm-7,
|
30
|
+
.col-sm-8,
|
31
|
+
.col-sm-9,
|
32
|
+
.col-sm-10,
|
33
|
+
.col-sm-11,
|
34
|
+
.col-sm-12,
|
35
|
+
.col-md-1,
|
36
|
+
.col-md-2,
|
37
|
+
.col-md-3,
|
38
|
+
.col-md-4,
|
39
|
+
.col-md-5,
|
40
|
+
.col-md-6,
|
41
|
+
.col-md-7,
|
42
|
+
.col-md-8,
|
43
|
+
.col-md-9,
|
44
|
+
.col-md-10,
|
45
|
+
.col-md-11,
|
46
|
+
.col-md-12,
|
47
|
+
.row {
|
48
|
+
padding-left: 0;
|
49
|
+
padding-right: 0;
|
50
|
+
width: 100% !important;
|
51
|
+
float: none !important;
|
52
|
+
}
|
53
|
+
|
54
|
+
.row {
|
55
|
+
margin-left: 0;
|
56
|
+
margin-right: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
audio,
|
60
|
+
canvas,
|
61
|
+
video {
|
62
|
+
display: inline;
|
63
|
+
zoom: 1;
|
64
|
+
}
|
65
|
+
|
66
|
+
html {
|
67
|
+
font-size: 100%;
|
68
|
+
}
|
69
|
+
|
70
|
+
body {
|
71
|
+
margin: 0;
|
72
|
+
}
|
73
|
+
|
74
|
+
ul,
|
75
|
+
ol,
|
76
|
+
dl {
|
77
|
+
margin-left: 0;
|
78
|
+
margin-right: 0;
|
79
|
+
}
|
80
|
+
|
81
|
+
legend {
|
82
|
+
margin-left: -7px;
|
83
|
+
}
|
84
|
+
|
85
|
+
img {
|
86
|
+
width: auto;
|
87
|
+
height: auto;
|
88
|
+
border: 0;
|
89
|
+
-ms-interpolation-mode: bicubic;
|
90
|
+
}
|
91
|
+
|
92
|
+
/*
|
93
|
+
Remove inner spacing in IE 7 without affecting normal text inputs.
|
94
|
+
Reduce Bootstrap 3 button padding from 6px to 4px to keep buttons same height.
|
95
|
+
*/
|
96
|
+
button,
|
97
|
+
input[type="reset"],
|
98
|
+
input[type="submit"] {
|
99
|
+
overflow: visible;
|
100
|
+
padding-top: 4px;
|
101
|
+
padding-bottom: 4px;
|
102
|
+
}
|
103
|
+
|
104
|
+
/* Remove excess padding in IE 7 */
|
105
|
+
input[type="checkbox"],
|
106
|
+
input[type="radio"] {
|
107
|
+
margin-top: 5px;
|
108
|
+
margin-right: 10px;
|
109
|
+
height: 13px;
|
110
|
+
width: 13px;
|
111
|
+
}
|
112
|
+
|
113
|
+
/* Bootstrap 3 text inputs have height that doesn't include
|
114
|
+
12px of padding due to border-box. Reduce height from 34px
|
115
|
+
to 22px to account for padding in IE7 */
|
116
|
+
input[type="text"],
|
117
|
+
input[type="password"] {
|
118
|
+
height: 22px;
|
119
|
+
}
|
120
|
+
|
121
|
+
.container,
|
122
|
+
.container-fluid {
|
123
|
+
zoom: 1;
|
124
|
+
}
|
125
|
+
|
126
|
+
.row {
|
127
|
+
zoom: 1;
|
128
|
+
}
|
129
|
+
|
130
|
+
.dl-horizontal {
|
131
|
+
zoom: 1;
|
132
|
+
}
|
133
|
+
|
134
|
+
.help-block {
|
135
|
+
display: inline;
|
136
|
+
zoom: 1;
|
137
|
+
}
|
138
|
+
|
139
|
+
.form-horizontal .form-group {
|
140
|
+
zoom: 1;
|
141
|
+
}
|
142
|
+
|
143
|
+
.dropdown-toggle {
|
144
|
+
margin-bottom: -3px;
|
145
|
+
}
|
146
|
+
|
147
|
+
.dropdown-menu .divider {
|
148
|
+
width: 100%;
|
149
|
+
margin: -5px 0 5px;
|
150
|
+
}
|
151
|
+
|
152
|
+
.list-group {
|
153
|
+
margin-left: 0;
|
154
|
+
}
|
155
|
+
|
156
|
+
ul .list-group-item {
|
157
|
+
list-style: none;
|
158
|
+
}
|
159
|
+
|
160
|
+
.sr-only {
|
161
|
+
clip: rect(0 0 0 0);
|
162
|
+
}
|
163
|
+
|
164
|
+
.list-inline > li {
|
165
|
+
display: inline;
|
166
|
+
zoom: 1;
|
167
|
+
}
|
168
|
+
|
169
|
+
/* Cleanup navigation tabs
|
170
|
+
* Clear container
|
171
|
+
* Give selected tab more contrast and hide faulty border-top
|
172
|
+
*/
|
173
|
+
|
174
|
+
.nav-tabs {
|
175
|
+
overflow: hidden;
|
176
|
+
}
|
177
|
+
|
178
|
+
.nav-tabs li.active a {
|
179
|
+
background: #ddd;
|
180
|
+
border: 1px solid #ddd;
|
181
|
+
}
|
182
|
+
|
183
|
+
/*
|
184
|
+
Cleanup breadcrumb
|
185
|
+
* Remove default indent for unordered list
|
186
|
+
* Display breadcrumbs inline with some margin, generated
|
187
|
+
content doesn't appear, so there's no divider.
|
188
|
+
*/
|
189
|
+
|
190
|
+
.breadcrumb > li {
|
191
|
+
display: inline;
|
192
|
+
margin-right: 10px;
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
/*
|
197
|
+
Fix glyphicons via generated content fallback
|
198
|
+
Background on this fix: https://github.com/FortAwesome/Font-Awesome/issues/38
|
199
|
+
*/
|
200
|
+
|
201
|
+
.glyphicon {
|
202
|
+
text-decoration: inherit;
|
203
|
+
line-height: normal;
|
204
|
+
}
|
205
|
+
.glyphicon-adjust {
|
206
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
207
|
+
}
|
208
|
+
.glyphicon-align-center {
|
209
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
210
|
+
}
|
211
|
+
.glyphicon-align-justify {
|
212
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
213
|
+
}
|
214
|
+
.glyphicon-align-left {
|
215
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
216
|
+
}
|
217
|
+
.glyphicon-align-right {
|
218
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
219
|
+
}
|
220
|
+
.glyphicon-arrow-down {
|
221
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
222
|
+
}
|
223
|
+
.glyphicon-arrow-left {
|
224
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
225
|
+
}
|
226
|
+
.glyphicon-arrow-right {
|
227
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
228
|
+
}
|
229
|
+
.glyphicon-arrow-up {
|
230
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
231
|
+
}
|
232
|
+
.glyphicon-asterisk {
|
233
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='*');
|
234
|
+
}
|
235
|
+
.glyphicon-backward {
|
236
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
237
|
+
}
|
238
|
+
.glyphicon-ban-circle {
|
239
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
240
|
+
}
|
241
|
+
.glyphicon-barcode {
|
242
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
243
|
+
}
|
244
|
+
.glyphicon-bell {
|
245
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
246
|
+
}
|
247
|
+
.glyphicon-bold {
|
248
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
249
|
+
}
|
250
|
+
.glyphicon-book {
|
251
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
252
|
+
}
|
253
|
+
.glyphicon-bookmark {
|
254
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
255
|
+
}
|
256
|
+
.glyphicon-briefcase {
|
257
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
258
|
+
}
|
259
|
+
.glyphicon-bullhorn {
|
260
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
261
|
+
}
|
262
|
+
.glyphicon-calendar {
|
263
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
264
|
+
}
|
265
|
+
.glyphicon-camera {
|
266
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
267
|
+
}
|
268
|
+
.glyphicon-certificate {
|
269
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
270
|
+
}
|
271
|
+
.glyphicon-check {
|
272
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
273
|
+
}
|
274
|
+
.glyphicon-chevron-down {
|
275
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
276
|
+
}
|
277
|
+
.glyphicon-chevron-left {
|
278
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
279
|
+
}
|
280
|
+
.glyphicon-chevron-right {
|
281
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
282
|
+
}
|
283
|
+
.glyphicon-chevron-up {
|
284
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
285
|
+
}
|
286
|
+
.glyphicon-circle-arrow-down {
|
287
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
288
|
+
}
|
289
|
+
.glyphicon-circle-arrow-left {
|
290
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
291
|
+
}
|
292
|
+
.glyphicon-circle-arrow-right {
|
293
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
294
|
+
}
|
295
|
+
.glyphicon-circle-arrow-up {
|
296
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
297
|
+
}
|
298
|
+
.glyphicon-cloud {
|
299
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='☁');
|
300
|
+
}
|
301
|
+
.glyphicon-cloud-download {
|
302
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
303
|
+
}
|
304
|
+
.glyphicon-cloud-upload {
|
305
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
306
|
+
}
|
307
|
+
.glyphicon-cog {
|
308
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
309
|
+
}
|
310
|
+
.glyphicon-collapse {
|
311
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
312
|
+
}
|
313
|
+
.glyphicon-collapse-down {
|
314
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
315
|
+
}
|
316
|
+
.glyphicon-collapse-top {
|
317
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
318
|
+
}
|
319
|
+
.glyphicon-collapse-up {
|
320
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
321
|
+
}
|
322
|
+
.glyphicon-comment {
|
323
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
324
|
+
}
|
325
|
+
.glyphicon-compressed {
|
326
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
327
|
+
}
|
328
|
+
.glyphicon-copyright-mark {
|
329
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
330
|
+
}
|
331
|
+
.glyphicon-credit-card {
|
332
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
333
|
+
}
|
334
|
+
.glyphicon-cutlery {
|
335
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
336
|
+
}
|
337
|
+
.glyphicon-dashboard {
|
338
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
339
|
+
}
|
340
|
+
.glyphicon-download {
|
341
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
342
|
+
}
|
343
|
+
.glyphicon-download-alt {
|
344
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
345
|
+
}
|
346
|
+
.glyphicon-earphone {
|
347
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
348
|
+
}
|
349
|
+
.glyphicon-edit {
|
350
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
351
|
+
}
|
352
|
+
.glyphicon-eject {
|
353
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
354
|
+
}
|
355
|
+
.glyphicon-envelope {
|
356
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='✉');
|
357
|
+
}
|
358
|
+
.glyphicon-euro {
|
359
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='€');
|
360
|
+
}
|
361
|
+
.glyphicon-exclamation-sign {
|
362
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
363
|
+
}
|
364
|
+
.glyphicon-expand {
|
365
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
366
|
+
}
|
367
|
+
.glyphicon-export {
|
368
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
369
|
+
}
|
370
|
+
.glyphicon-eye-close {
|
371
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
372
|
+
}
|
373
|
+
.glyphicon-eye-open {
|
374
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
375
|
+
}
|
376
|
+
.glyphicon-facetime-video {
|
377
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
378
|
+
}
|
379
|
+
.glyphicon-fast-backward {
|
380
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
381
|
+
}
|
382
|
+
.glyphicon-fast-forward {
|
383
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
384
|
+
}
|
385
|
+
.glyphicon-file {
|
386
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
387
|
+
}
|
388
|
+
.glyphicon-film {
|
389
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
390
|
+
}
|
391
|
+
.glyphicon-filter {
|
392
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
393
|
+
}
|
394
|
+
.glyphicon-fire {
|
395
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
396
|
+
}
|
397
|
+
.glyphicon-flag {
|
398
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
399
|
+
}
|
400
|
+
.glyphicon-flash {
|
401
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
402
|
+
}
|
403
|
+
.glyphicon-floppy-disk {
|
404
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
405
|
+
}
|
406
|
+
.glyphicon-floppy-open {
|
407
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
408
|
+
}
|
409
|
+
.glyphicon-floppy-remove {
|
410
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
411
|
+
}
|
412
|
+
.glyphicon-floppy-save {
|
413
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
414
|
+
}
|
415
|
+
.glyphicon-floppy-saved {
|
416
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
417
|
+
}
|
418
|
+
.glyphicon-folder-close {
|
419
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
420
|
+
}
|
421
|
+
.glyphicon-folder-open {
|
422
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
423
|
+
}
|
424
|
+
.glyphicon-font {
|
425
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
426
|
+
}
|
427
|
+
.glyphicon-forward {
|
428
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
429
|
+
}
|
430
|
+
.glyphicon-fullscreen {
|
431
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
432
|
+
}
|
433
|
+
.glyphicon-gbp {
|
434
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
435
|
+
}
|
436
|
+
.glyphicon-gift {
|
437
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
438
|
+
}
|
439
|
+
.glyphicon-glass {
|
440
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
441
|
+
}
|
442
|
+
.glyphicon-globe {
|
443
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
444
|
+
}
|
445
|
+
.glyphicon-hand-down {
|
446
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
447
|
+
}
|
448
|
+
.glyphicon-hand-left {
|
449
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
450
|
+
}
|
451
|
+
.glyphicon-hand-right {
|
452
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
453
|
+
}
|
454
|
+
.glyphicon-hand-up {
|
455
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
456
|
+
}
|
457
|
+
.glyphicon-hdd {
|
458
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
459
|
+
}
|
460
|
+
.glyphicon-hd-video {
|
461
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
462
|
+
}
|
463
|
+
.glyphicon-header {
|
464
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
465
|
+
}
|
466
|
+
.glyphicon-headphones {
|
467
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
468
|
+
}
|
469
|
+
.glyphicon-heart {
|
470
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
471
|
+
}
|
472
|
+
.glyphicon-heart-empty {
|
473
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
474
|
+
}
|
475
|
+
.glyphicon-home {
|
476
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
477
|
+
}
|
478
|
+
.glyphicon-import {
|
479
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
480
|
+
}
|
481
|
+
.glyphicon-inbox {
|
482
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
483
|
+
}
|
484
|
+
.glyphicon-indent-left {
|
485
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
486
|
+
}
|
487
|
+
.glyphicon-indent-right {
|
488
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
489
|
+
}
|
490
|
+
.glyphicon-info-sign {
|
491
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
492
|
+
}
|
493
|
+
.glyphicon-italic {
|
494
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
495
|
+
}
|
496
|
+
.glyphicon-leaf {
|
497
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
498
|
+
}
|
499
|
+
.glyphicon-link {
|
500
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
501
|
+
}
|
502
|
+
.glyphicon-list {
|
503
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
504
|
+
}
|
505
|
+
.glyphicon-list-alt {
|
506
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
507
|
+
}
|
508
|
+
.glyphicon-lock {
|
509
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
510
|
+
}
|
511
|
+
.glyphicon-log-in {
|
512
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
513
|
+
}
|
514
|
+
.glyphicon-log-out {
|
515
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
516
|
+
}
|
517
|
+
.glyphicon-magnet {
|
518
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
519
|
+
}
|
520
|
+
.glyphicon-map-marker {
|
521
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
522
|
+
}
|
523
|
+
.glyphicon-minus {
|
524
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='−');
|
525
|
+
}
|
526
|
+
.glyphicon-minus-sign {
|
527
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
528
|
+
}
|
529
|
+
.glyphicon-move {
|
530
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
531
|
+
}
|
532
|
+
.glyphicon-music {
|
533
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
534
|
+
}
|
535
|
+
.glyphicon-new-window {
|
536
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
537
|
+
}
|
538
|
+
.glyphicon-off {
|
539
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
540
|
+
}
|
541
|
+
.glyphicon-ok {
|
542
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
543
|
+
}
|
544
|
+
.glyphicon-ok-circle {
|
545
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
546
|
+
}
|
547
|
+
.glyphicon-ok-sign {
|
548
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
549
|
+
}
|
550
|
+
.glyphicon-open {
|
551
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
552
|
+
}
|
553
|
+
.glyphicon-paperclip {
|
554
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
555
|
+
}
|
556
|
+
.glyphicon-pause {
|
557
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
558
|
+
}
|
559
|
+
.glyphicon-pencil {
|
560
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='✏');
|
561
|
+
}
|
562
|
+
.glyphicon-phone {
|
563
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
564
|
+
}
|
565
|
+
.glyphicon-phone-alt {
|
566
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
567
|
+
}
|
568
|
+
.glyphicon-picture {
|
569
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
570
|
+
}
|
571
|
+
.glyphicon-plane {
|
572
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
573
|
+
}
|
574
|
+
.glyphicon-play {
|
575
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
576
|
+
}
|
577
|
+
.glyphicon-play-circle {
|
578
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
579
|
+
}
|
580
|
+
.glyphicon-plus {
|
581
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='+');
|
582
|
+
}
|
583
|
+
.glyphicon-plus-sign {
|
584
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
585
|
+
}
|
586
|
+
.glyphicon-print {
|
587
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
588
|
+
}
|
589
|
+
.glyphicon-pushpin {
|
590
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
591
|
+
}
|
592
|
+
.glyphicon-qrcode {
|
593
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
594
|
+
}
|
595
|
+
.glyphicon-question-sign {
|
596
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
597
|
+
}
|
598
|
+
.glyphicon-random {
|
599
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
600
|
+
}
|
601
|
+
.glyphicon-record {
|
602
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
603
|
+
}
|
604
|
+
.glyphicon-refresh {
|
605
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
606
|
+
}
|
607
|
+
.glyphicon-registration-mark {
|
608
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
609
|
+
}
|
610
|
+
.glyphicon-remove {
|
611
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
612
|
+
}
|
613
|
+
.glyphicon-remove-circle {
|
614
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
615
|
+
}
|
616
|
+
.glyphicon-remove-sign {
|
617
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
618
|
+
}
|
619
|
+
.glyphicon-repeat {
|
620
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
621
|
+
}
|
622
|
+
.glyphicon-resize-full {
|
623
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
624
|
+
}
|
625
|
+
.glyphicon-resize-horizontal {
|
626
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
627
|
+
}
|
628
|
+
.glyphicon-resize-small {
|
629
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
630
|
+
}
|
631
|
+
.glyphicon-resize-vertical {
|
632
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
633
|
+
}
|
634
|
+
.glyphicon-retweet {
|
635
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
636
|
+
}
|
637
|
+
.glyphicon-road {
|
638
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
639
|
+
}
|
640
|
+
.glyphicon-save {
|
641
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
642
|
+
}
|
643
|
+
.glyphicon-saved {
|
644
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
645
|
+
}
|
646
|
+
.glyphicon-screenshot {
|
647
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
648
|
+
}
|
649
|
+
.glyphicon-sd-video {
|
650
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
651
|
+
}
|
652
|
+
.glyphicon-search {
|
653
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
654
|
+
}
|
655
|
+
.glyphicon-send {
|
656
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
657
|
+
}
|
658
|
+
.glyphicon-share {
|
659
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
660
|
+
}
|
661
|
+
.glyphicon-share-alt {
|
662
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
663
|
+
}
|
664
|
+
.glyphicon-shopping-cart {
|
665
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
666
|
+
}
|
667
|
+
.glyphicon-signal {
|
668
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
669
|
+
}
|
670
|
+
.glyphicon-sort {
|
671
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
672
|
+
}
|
673
|
+
.glyphicon-sort-by-alphabet {
|
674
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
675
|
+
}
|
676
|
+
.glyphicon-sort-by-alphabet-alt {
|
677
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
678
|
+
}
|
679
|
+
.glyphicon-sort-by-attributes {
|
680
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
681
|
+
}
|
682
|
+
.glyphicon-sort-by-attributes-alt {
|
683
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
684
|
+
}
|
685
|
+
.glyphicon-sort-by-order {
|
686
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
687
|
+
}
|
688
|
+
.glyphicon-sort-by-order-alt {
|
689
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
690
|
+
}
|
691
|
+
.glyphicon-sound-5-1 {
|
692
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
693
|
+
}
|
694
|
+
.glyphicon-sound-6-1 {
|
695
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
696
|
+
}
|
697
|
+
.glyphicon-sound-7-1 {
|
698
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
699
|
+
}
|
700
|
+
.glyphicon-sound-dolby {
|
701
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
702
|
+
}
|
703
|
+
.glyphicon-sound-stereo {
|
704
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
705
|
+
}
|
706
|
+
.glyphicon-star {
|
707
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
708
|
+
}
|
709
|
+
.glyphicon-star-empty {
|
710
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
711
|
+
}
|
712
|
+
.glyphicon-stats {
|
713
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
714
|
+
}
|
715
|
+
.glyphicon-step-backward {
|
716
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
717
|
+
}
|
718
|
+
.glyphicon-step-forward {
|
719
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
720
|
+
}
|
721
|
+
.glyphicon-stop {
|
722
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
723
|
+
}
|
724
|
+
.glyphicon-subtitles {
|
725
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
726
|
+
}
|
727
|
+
.glyphicon-tag {
|
728
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
729
|
+
}
|
730
|
+
.glyphicon-tags {
|
731
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
732
|
+
}
|
733
|
+
.glyphicon-tasks {
|
734
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
735
|
+
}
|
736
|
+
.glyphicon-text-height {
|
737
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
738
|
+
}
|
739
|
+
.glyphicon-text-width {
|
740
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
741
|
+
}
|
742
|
+
.glyphicon-th {
|
743
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
744
|
+
}
|
745
|
+
.glyphicon-th-large {
|
746
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
747
|
+
}
|
748
|
+
.glyphicon-th-list {
|
749
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
750
|
+
}
|
751
|
+
.glyphicon-thumbs-down {
|
752
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
753
|
+
}
|
754
|
+
.glyphicon-thumbs-up {
|
755
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
756
|
+
}
|
757
|
+
.glyphicon-time {
|
758
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
759
|
+
}
|
760
|
+
.glyphicon-tint {
|
761
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
762
|
+
}
|
763
|
+
.glyphicon-tower {
|
764
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
765
|
+
}
|
766
|
+
.glyphicon-transfer {
|
767
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
768
|
+
}
|
769
|
+
.glyphicon-trash {
|
770
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
771
|
+
}
|
772
|
+
.glyphicon-tree-conifer {
|
773
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
774
|
+
}
|
775
|
+
.glyphicon-tree-deciduous {
|
776
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
777
|
+
}
|
778
|
+
.glyphicon-unchecked {
|
779
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
780
|
+
}
|
781
|
+
.glyphicon-upload {
|
782
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
783
|
+
}
|
784
|
+
.glyphicon-usd {
|
785
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
786
|
+
}
|
787
|
+
.glyphicon-user {
|
788
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
789
|
+
}
|
790
|
+
.glyphicon-volume-down {
|
791
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
792
|
+
}
|
793
|
+
.glyphicon-volume-off {
|
794
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
795
|
+
}
|
796
|
+
.glyphicon-volume-up {
|
797
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
798
|
+
}
|
799
|
+
.glyphicon-warning-sign {
|
800
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
801
|
+
}
|
802
|
+
.glyphicon-wrench {
|
803
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
804
|
+
}
|
805
|
+
.glyphicon-zoom-in {
|
806
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
807
|
+
}
|
808
|
+
.glyphicon-zoom-out {
|
809
|
+
zoom: expression(this.runtimeStyle['zoom']='1',this.innerHTML='');
|
810
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
Input helpers
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
/* Input widths to match grid widths
|
6
|
+
========================================================================== */
|
7
|
+
|
8
|
+
.input-md-1 {
|
9
|
+
@include col-md-width(1);
|
10
|
+
}
|
11
|
+
|
12
|
+
.input-md-2 {
|
13
|
+
@include col-md-width(2);
|
14
|
+
}
|
15
|
+
|
16
|
+
.input-md-3 {
|
17
|
+
@include col-md-width(3);
|
18
|
+
}
|
19
|
+
|
20
|
+
.input-md-4 {
|
21
|
+
@include col-md-width(4);
|
22
|
+
}
|
23
|
+
|
24
|
+
.input-md-5 {
|
25
|
+
@include col-md-width(5);
|
26
|
+
}
|
27
|
+
|
28
|
+
.input-md-6 {
|
29
|
+
@include col-md-width(6);
|
30
|
+
}
|
31
|
+
|
32
|
+
.input-md-7 {
|
33
|
+
@include col-md-width(7);
|
34
|
+
}
|
35
|
+
|
36
|
+
.input-md-8 {
|
37
|
+
@include col-md-width(8);
|
38
|
+
}
|
39
|
+
|
40
|
+
.input-md-9 {
|
41
|
+
@include col-md-width(9);
|
42
|
+
}
|
43
|
+
|
44
|
+
.input-md-10 {
|
45
|
+
@include col-md-width(10);
|
46
|
+
}
|
47
|
+
|
48
|
+
.input-md-11 {
|
49
|
+
@include col-md-width(11);
|
50
|
+
}
|
51
|
+
|
52
|
+
.form-inline {
|
53
|
+
.input-md-1,
|
54
|
+
.input-md-2,
|
55
|
+
.input-md-3,
|
56
|
+
.input-md-4,
|
57
|
+
.input-md-5,
|
58
|
+
.input-md-6,
|
59
|
+
.input-md-7,
|
60
|
+
.input-md-8,
|
61
|
+
.input-md-9,
|
62
|
+
.input-md-10,
|
63
|
+
.input-md-11 {
|
64
|
+
width: 100%;
|
65
|
+
}
|
66
|
+
}
|
@@ -11,7 +11,8 @@
|
|
11
11
|
padding-left: 2.3em;
|
12
12
|
min-height: 37px;
|
13
13
|
|
14
|
-
.
|
14
|
+
.ie8 &,
|
15
|
+
.lte-ie7 & {
|
15
16
|
min-height: 20px;
|
16
17
|
}
|
17
18
|
}
|
@@ -46,7 +47,8 @@ header .navbar-header {
|
|
46
47
|
color: #fff;
|
47
48
|
}
|
48
49
|
|
49
|
-
.
|
50
|
+
.ie8 .navbar .container,
|
51
|
+
.lte-ie7 .navbar .container {
|
50
52
|
padding-left: 30px;
|
51
53
|
padding-right: 0;
|
52
54
|
}
|
@@ -20,6 +20,44 @@
|
|
20
20
|
</div>
|
21
21
|
<hr>
|
22
22
|
|
23
|
+
<h2>Input widths</h2>
|
24
|
+
<div class="row">
|
25
|
+
<div class="col-md-6 lead">
|
26
|
+
<p>Bootstrap 3 inputs always <a href="http://getbootstrap.com/css/#forms">extend to the size of their container</a>. The recommendation from Bootstrap is to wrap form elements with grid classes. Sometimes this isn’t suitable, for instance if a page isn’t using a grid.</p>
|
27
|
+
<p>The gem includes classes to restrict the width of inputs based on column sizes: <code>input-md-x</code> (1 — 11)</p>
|
28
|
+
</div>
|
29
|
+
<div class="col-md-6">
|
30
|
+
<div class="form-group">
|
31
|
+
<label>Default input</label>
|
32
|
+
<input class="form-control" />
|
33
|
+
</div>
|
34
|
+
<div class="form-group">
|
35
|
+
<label>A short input</label>
|
36
|
+
<input class="input-md-2 form-control" value="input-md-2" />
|
37
|
+
</div>
|
38
|
+
<div class="form-group">
|
39
|
+
<label>A longer input</label>
|
40
|
+
<input class="input-md-4 form-control" value="input-md-4" />
|
41
|
+
</div>
|
42
|
+
<div class="form-group">
|
43
|
+
<label>Inputs too long will collapse</label>
|
44
|
+
<input class="input-md-11 form-control" value="input-md-11" />
|
45
|
+
</div>
|
46
|
+
<div class="form-group">
|
47
|
+
<label>A short select</label>
|
48
|
+
<select class="input-md-2 form-control" value="input-md-11">
|
49
|
+
<option>Option</option>
|
50
|
+
</select>
|
51
|
+
</div>
|
52
|
+
<div class="form-group form-inline">
|
53
|
+
<label>Inline inputs</label><br />
|
54
|
+
<input class="input-md-3 form-control add-right-margin" value="input-md-3" />
|
55
|
+
<input class="input-md-2 form-control" value="input-md-2" />
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
<hr>
|
60
|
+
|
23
61
|
<h2>Buttons</h2>
|
24
62
|
<div class="row">
|
25
63
|
<p class="col-md-6 lead">Despite using bootstrap 3 apps use the classic bootstrap button styles — the buttons have better affordance and clearer focus and active states. The source to override the buttons with the originals is from <a href="https://gist.github.com/Erve1879/6167373">https://gist.github.com/Erve1879/6167373</a>.</p>
|
@@ -3,7 +3,8 @@
|
|
3
3
|
environment_label = GovukAdminTemplate.environment_label
|
4
4
|
%>
|
5
5
|
<!DOCTYPE html>
|
6
|
-
<!--[if
|
6
|
+
<!--[if lte IE 7]><html class="no-js lte-ie7" lang="en"><![endif]-->
|
7
|
+
<!--[if IE 8]><html class="no-js ie8" lang="en"><![endif]-->
|
7
8
|
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
|
8
9
|
<head>
|
9
10
|
<meta charset="utf-8">
|
@@ -21,6 +22,12 @@
|
|
21
22
|
%>
|
22
23
|
<% end %>
|
23
24
|
<%= yield :head %>
|
25
|
+
<%
|
26
|
+
# CSS resets and fixes for Bootstrap 3 in IE7
|
27
|
+
%>
|
28
|
+
<!--[if lte IE 7]>
|
29
|
+
<%= stylesheet_link_tag "govuk_admin_template/bootstrap-ie7" %>
|
30
|
+
<![endif]-->
|
24
31
|
<%
|
25
32
|
# HTML5 and bootstrap shims, for <= IE8 support of HTML5 elements
|
26
33
|
# respond.js must come after CSS (from :head) and media queries so
|
@@ -4,7 +4,7 @@ module GovukAdminTemplate
|
|
4
4
|
require 'jquery-rails'
|
5
5
|
|
6
6
|
initializer 'govuk_admin_template.assets.precompile' do |app|
|
7
|
-
app.config.assets.precompile += %w(lte-ie8.js govuk-admin-template.js)
|
7
|
+
app.config.assets.precompile += %w(lte-ie8.js govuk-admin-template.js govuk_admin_template/bootstrap-ie7.scss)
|
8
8
|
end
|
9
9
|
|
10
10
|
# User friendly GOV.UK date formats, based on:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_admin_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
12
|
+
date: 2014-07-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -152,12 +152,14 @@ files:
|
|
152
152
|
- app/assets/stylesheets/govuk_admin_template/nav_list.css.scss
|
153
153
|
- app/assets/stylesheets/govuk_admin_template/tables.css.scss
|
154
154
|
- app/assets/stylesheets/govuk_admin_template/bootstrap_overrides.css.scss
|
155
|
+
- app/assets/stylesheets/govuk_admin_template/bootstrap-ie7.scss
|
155
156
|
- app/assets/stylesheets/govuk_admin_template/style_guide.css.scss
|
156
157
|
- app/assets/stylesheets/govuk_admin_template/navbar.css.scss
|
157
158
|
- app/assets/stylesheets/govuk_admin_template/toggles.css.scss
|
158
159
|
- app/assets/stylesheets/govuk_admin_template/base.css.scss
|
159
160
|
- app/assets/stylesheets/govuk_admin_template/buttons.css.scss
|
160
161
|
- app/assets/stylesheets/govuk_admin_template/mixins.css.scss
|
162
|
+
- app/assets/stylesheets/govuk_admin_template/input_helpers.css.scss
|
161
163
|
- app/assets/stylesheets/govuk_admin_template.scss
|
162
164
|
- app/assets/images/govuk_admin_template/favicon-preview.png
|
163
165
|
- app/assets/images/govuk_admin_template/favicon.png
|
@@ -200,7 +202,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
202
|
version: '0'
|
201
203
|
segments:
|
202
204
|
- 0
|
203
|
-
hash:
|
205
|
+
hash: 592934291347505194
|
204
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
207
|
none: false
|
206
208
|
requirements:
|
@@ -209,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
211
|
version: '0'
|
210
212
|
segments:
|
211
213
|
- 0
|
212
|
-
hash:
|
214
|
+
hash: 592934291347505194
|
213
215
|
requirements: []
|
214
216
|
rubyforge_project:
|
215
217
|
rubygems_version: 1.8.23
|