bastion 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -15
  3. data/app/assets/stylesheets/bastion/{animations.less → animations.scss} +0 -0
  4. data/app/assets/stylesheets/bastion/{bastion.less → bastion.scss} +8 -16
  5. data/app/assets/stylesheets/bastion/{details-page.less → details-page.scss} +0 -0
  6. data/app/assets/stylesheets/bastion/{forms.less → forms.scss} +1 -1
  7. data/app/assets/stylesheets/bastion/{helpers.less → helpers.scss} +0 -0
  8. data/app/assets/stylesheets/bastion/mixins.scss +15 -0
  9. data/app/assets/stylesheets/bastion/{nutupane.less → nutupane.scss} +11 -12
  10. data/app/assets/stylesheets/bastion/{overrides.less → overrides.scss} +4 -9
  11. data/app/assets/stylesheets/bastion/{path-selector.less → path-selector.scss} +21 -21
  12. data/app/assets/stylesheets/bastion/{typography.less → typography.scss} +0 -0
  13. data/app/assets/stylesheets/bastion/variables.scss +4 -0
  14. data/app/views/bastion/layouts/application.html.erb +1 -1
  15. data/bower.json +1 -17
  16. data/lib/bastion/engine.rb +5 -9
  17. data/lib/bastion/version.rb +1 -1
  18. data/lib/bastion.rb +0 -2
  19. metadata +34 -208
  20. data/app/assets/stylesheets/bastion/mixins.less +0 -15
  21. data/app/assets/stylesheets/bastion/variables.less +0 -4
  22. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.eot +0 -0
  23. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.svg +0 -229
  24. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  25. data/vendor/assets/fonts/bastion/bootstrap/glyphicons-halflings-regular.woff +0 -0
  26. data/vendor/assets/fonts/bastion/font-awesome/FontAwesome.otf +0 -0
  27. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.eot +0 -0
  28. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.svg +0 -504
  29. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.ttf +0 -0
  30. data/vendor/assets/fonts/bastion/font-awesome/fontawesome-webfont.woff +0 -0
  31. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.eot +0 -0
  32. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.svg +0 -1830
  33. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.ttf +0 -0
  34. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Bold-webfont.woff +0 -0
  35. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.eot +0 -0
  36. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.svg +0 -1830
  37. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.ttf +0 -0
  38. data/vendor/assets/fonts/bastion/patternfly/OpenSans-BoldItalic-webfont.woff +0 -0
  39. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.eot +0 -0
  40. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.svg +0 -1830
  41. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.ttf +0 -0
  42. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBold-webfont.woff +0 -0
  43. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
  44. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.svg +0 -1830
  45. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
  46. data/vendor/assets/fonts/bastion/patternfly/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
  47. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.eot +0 -0
  48. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.svg +0 -1830
  49. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.ttf +0 -0
  50. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Italic-webfont.woff +0 -0
  51. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.eot +0 -0
  52. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.svg +0 -1831
  53. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.ttf +0 -0
  54. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Light-webfont.woff +0 -0
  55. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.eot +0 -0
  56. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.svg +0 -1835
  57. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.ttf +0 -0
  58. data/vendor/assets/fonts/bastion/patternfly/OpenSans-LightItalic-webfont.woff +0 -0
  59. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.eot +0 -0
  60. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.svg +0 -1831
  61. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.ttf +0 -0
  62. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Regular-webfont.woff +0 -0
  63. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.eot +0 -0
  64. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.svg +0 -1830
  65. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.ttf +0 -0
  66. data/vendor/assets/fonts/bastion/patternfly/OpenSans-Semibold-webfont.woff +0 -0
  67. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.eot +0 -0
  68. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.svg +0 -1830
  69. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  70. data/vendor/assets/fonts/bastion/patternfly/OpenSans-SemiboldItalic-webfont.woff +0 -0
  71. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.eot +0 -0
  72. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.svg +0 -37
  73. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.ttf +0 -0
  74. data/vendor/assets/fonts/bastion/patternfly/PatternFlyIcons-webfont.woff +0 -0
  75. data/vendor/assets/stylesheets/bastion/bootstrap/alerts.less +0 -67
  76. data/vendor/assets/stylesheets/bastion/bootstrap/badges.less +0 -55
  77. data/vendor/assets/stylesheets/bastion/bootstrap/bootstrap.less +0 -49
  78. data/vendor/assets/stylesheets/bastion/bootstrap/breadcrumbs.less +0 -26
  79. data/vendor/assets/stylesheets/bastion/bootstrap/button-groups.less +0 -226
  80. data/vendor/assets/stylesheets/bastion/bootstrap/buttons.less +0 -159
  81. data/vendor/assets/stylesheets/bastion/bootstrap/carousel.less +0 -232
  82. data/vendor/assets/stylesheets/bastion/bootstrap/close.less +0 -33
  83. data/vendor/assets/stylesheets/bastion/bootstrap/code.less +0 -63
  84. data/vendor/assets/stylesheets/bastion/bootstrap/component-animations.less +0 -29
  85. data/vendor/assets/stylesheets/bastion/bootstrap/dropdowns.less +0 -213
  86. data/vendor/assets/stylesheets/bastion/bootstrap/forms.less +0 -438
  87. data/vendor/assets/stylesheets/bastion/bootstrap/glyphicons.less +0 -233
  88. data/vendor/assets/stylesheets/bastion/bootstrap/grid.less +0 -84
  89. data/vendor/assets/stylesheets/bastion/bootstrap/input-groups.less +0 -162
  90. data/vendor/assets/stylesheets/bastion/bootstrap/jumbotron.less +0 -44
  91. data/vendor/assets/stylesheets/bastion/bootstrap/labels.less +0 -64
  92. data/vendor/assets/stylesheets/bastion/bootstrap/list-group.less +0 -110
  93. data/vendor/assets/stylesheets/bastion/bootstrap/media.less +0 -56
  94. data/vendor/assets/stylesheets/bastion/bootstrap/mixins.less +0 -929
  95. data/vendor/assets/stylesheets/bastion/bootstrap/modals.less +0 -139
  96. data/vendor/assets/stylesheets/bastion/bootstrap/navbar.less +0 -616
  97. data/vendor/assets/stylesheets/bastion/bootstrap/navs.less +0 -242
  98. data/vendor/assets/stylesheets/bastion/bootstrap/normalize.less +0 -423
  99. data/vendor/assets/stylesheets/bastion/bootstrap/pager.less +0 -55
  100. data/vendor/assets/stylesheets/bastion/bootstrap/pagination.less +0 -88
  101. data/vendor/assets/stylesheets/bastion/bootstrap/panels.less +0 -241
  102. data/vendor/assets/stylesheets/bastion/bootstrap/popovers.less +0 -133
  103. data/vendor/assets/stylesheets/bastion/bootstrap/print.less +0 -101
  104. data/vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less +0 -80
  105. data/vendor/assets/stylesheets/bastion/bootstrap/responsive-utilities.less +0 -92
  106. data/vendor/assets/stylesheets/bastion/bootstrap/scaffolding.less +0 -134
  107. data/vendor/assets/stylesheets/bastion/bootstrap/tables.less +0 -233
  108. data/vendor/assets/stylesheets/bastion/bootstrap/theme.less +0 -247
  109. data/vendor/assets/stylesheets/bastion/bootstrap/thumbnails.less +0 -36
  110. data/vendor/assets/stylesheets/bastion/bootstrap/tooltip.less +0 -95
  111. data/vendor/assets/stylesheets/bastion/bootstrap/type.less +0 -293
  112. data/vendor/assets/stylesheets/bastion/bootstrap/utilities.less +0 -56
  113. data/vendor/assets/stylesheets/bastion/bootstrap/variables.less +0 -829
  114. data/vendor/assets/stylesheets/bastion/bootstrap/wells.less +0 -29
  115. data/vendor/assets/stylesheets/bastion/font-awesome/less/bootstrap.less +0 -84
  116. data/vendor/assets/stylesheets/bastion/font-awesome/less/bordered-pulled.less +0 -16
  117. data/vendor/assets/stylesheets/bastion/font-awesome/less/core.less +0 -11
  118. data/vendor/assets/stylesheets/bastion/font-awesome/less/extras.less +0 -2
  119. data/vendor/assets/stylesheets/bastion/font-awesome/less/fixed-width.less +0 -6
  120. data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome-ie7.less +0 -1953
  121. data/vendor/assets/stylesheets/bastion/font-awesome/less/font-awesome.less +0 -17
  122. data/vendor/assets/stylesheets/bastion/font-awesome/less/icons.less +0 -552
  123. data/vendor/assets/stylesheets/bastion/font-awesome/less/larger.less +0 -13
  124. data/vendor/assets/stylesheets/bastion/font-awesome/less/list.less +0 -19
  125. data/vendor/assets/stylesheets/bastion/font-awesome/less/mixins.less +0 -25
  126. data/vendor/assets/stylesheets/bastion/font-awesome/less/path.less +0 -14
  127. data/vendor/assets/stylesheets/bastion/font-awesome/less/rotated-flipped.less +0 -20
  128. data/vendor/assets/stylesheets/bastion/font-awesome/less/spinning.less +0 -29
  129. data/vendor/assets/stylesheets/bastion/font-awesome/less/stacked.less +0 -20
  130. data/vendor/assets/stylesheets/bastion/font-awesome/less/variables.less +0 -561
  131. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_bootstrap.scss +0 -84
  132. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_bordered-pulled.scss +0 -16
  133. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_core.scss +0 -11
  134. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_extras.scss +0 -44
  135. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_fixed-width.scss +0 -6
  136. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_icons.scss +0 -552
  137. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_larger.scss +0 -13
  138. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_list.scss +0 -19
  139. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_mixins.scss +0 -25
  140. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_path.scss +0 -14
  141. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_rotated-flipped.scss +0 -20
  142. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_spinning.scss +0 -29
  143. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_stacked.scss +0 -20
  144. data/vendor/assets/stylesheets/bastion/font-awesome/scss/_variables.scss +0 -561
  145. data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome-ie7.scss +0 -1953
  146. data/vendor/assets/stylesheets/bastion/font-awesome/scss/font-awesome.scss +0 -17
  147. data/vendor/assets/stylesheets/bastion/patternfly/alerts.less +0 -29
  148. data/vendor/assets/stylesheets/bastion/patternfly/badges.less +0 -11
  149. data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-combobox.less +0 -27
  150. data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-select.less +0 -67
  151. data/vendor/assets/stylesheets/bastion/patternfly/bootstrap-treeview.less +0 -37
  152. data/vendor/assets/stylesheets/bastion/patternfly/breadcrumbs.less +0 -20
  153. data/vendor/assets/stylesheets/bastion/patternfly/buttons.less +0 -48
  154. data/vendor/assets/stylesheets/bastion/patternfly/close.less +0 -13
  155. data/vendor/assets/stylesheets/bastion/patternfly/datatables.less +0 -221
  156. data/vendor/assets/stylesheets/bastion/patternfly/dropdowns.less +0 -145
  157. data/vendor/assets/stylesheets/bastion/patternfly/fonts.less +0 -54
  158. data/vendor/assets/stylesheets/bastion/patternfly/forms.less +0 -22
  159. data/vendor/assets/stylesheets/bastion/patternfly/icons.less +0 -130
  160. data/vendor/assets/stylesheets/bastion/patternfly/infotip.less +0 -149
  161. data/vendor/assets/stylesheets/bastion/patternfly/labels.less +0 -12
  162. data/vendor/assets/stylesheets/bastion/patternfly/list-group.less +0 -18
  163. data/vendor/assets/stylesheets/bastion/patternfly/login.less +0 -121
  164. data/vendor/assets/stylesheets/bastion/patternfly/mixins.less +0 -81
  165. data/vendor/assets/stylesheets/bastion/patternfly/modals.less +0 -38
  166. data/vendor/assets/stylesheets/bastion/patternfly/navbar.less +0 -501
  167. data/vendor/assets/stylesheets/bastion/patternfly/pager.less +0 -72
  168. data/vendor/assets/stylesheets/bastion/patternfly/pagination.less +0 -64
  169. data/vendor/assets/stylesheets/bastion/patternfly/panels.less +0 -57
  170. data/vendor/assets/stylesheets/bastion/patternfly/patternfly.less +0 -42
  171. data/vendor/assets/stylesheets/bastion/patternfly/popovers.less +0 -32
  172. data/vendor/assets/stylesheets/bastion/patternfly/progress-bars.less +0 -87
  173. data/vendor/assets/stylesheets/bastion/patternfly/search.less +0 -65
  174. data/vendor/assets/stylesheets/bastion/patternfly/sidebar.less +0 -174
  175. data/vendor/assets/stylesheets/bastion/patternfly/spinner.less +0 -62
  176. data/vendor/assets/stylesheets/bastion/patternfly/tables.less +0 -74
  177. data/vendor/assets/stylesheets/bastion/patternfly/tabs.less +0 -118
  178. data/vendor/assets/stylesheets/bastion/patternfly/tooltip.less +0 -16
  179. data/vendor/assets/stylesheets/bastion/patternfly/type.less +0 -24
  180. data/vendor/assets/stylesheets/bastion/patternfly/variables.less +0 -219
@@ -1,438 +0,0 @@
1
- //
2
- // Forms
3
- // --------------------------------------------------
4
-
5
-
6
- // Normalize non-controls
7
- //
8
- // Restyle and baseline non-control form elements.
9
-
10
- fieldset {
11
- padding: 0;
12
- margin: 0;
13
- border: 0;
14
- // Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets,
15
- // so we reset that to ensure it behaves more like a standard block element.
16
- // See https://github.com/twbs/bootstrap/issues/12359.
17
- min-width: 0;
18
- }
19
-
20
- legend {
21
- display: block;
22
- width: 100%;
23
- padding: 0;
24
- margin-bottom: @line-height-computed;
25
- font-size: (@font-size-base * 1.5);
26
- line-height: inherit;
27
- color: @legend-color;
28
- border: 0;
29
- border-bottom: 1px solid @legend-border-color;
30
- }
31
-
32
- label {
33
- display: inline-block;
34
- margin-bottom: 5px;
35
- font-weight: bold;
36
- }
37
-
38
-
39
- // Normalize form controls
40
- //
41
- // While most of our form styles require extra classes, some basic normalization
42
- // is required to ensure optimum display with or without those classes to better
43
- // address browser inconsistencies.
44
-
45
- // Override content-box in Normalize (* isn't specific enough)
46
- input[type="search"] {
47
- .box-sizing(border-box);
48
- }
49
-
50
- // Position radios and checkboxes better
51
- input[type="radio"],
52
- input[type="checkbox"] {
53
- margin: 4px 0 0;
54
- margin-top: 1px \9; /* IE8-9 */
55
- line-height: normal;
56
- }
57
-
58
- // Set the height of file controls to match text inputs
59
- input[type="file"] {
60
- display: block;
61
- }
62
-
63
- // Make range inputs behave like textual form controls
64
- input[type="range"] {
65
- display: block;
66
- width: 100%;
67
- }
68
-
69
- // Make multiple select elements height not fixed
70
- select[multiple],
71
- select[size] {
72
- height: auto;
73
- }
74
-
75
- // Focus for file, radio, and checkbox
76
- input[type="file"]:focus,
77
- input[type="radio"]:focus,
78
- input[type="checkbox"]:focus {
79
- .tab-focus();
80
- }
81
-
82
- // Adjust output element
83
- output {
84
- display: block;
85
- padding-top: (@padding-base-vertical + 1);
86
- font-size: @font-size-base;
87
- line-height: @line-height-base;
88
- color: @input-color;
89
- }
90
-
91
-
92
- // Common form controls
93
- //
94
- // Shared size and type resets for form controls. Apply `.form-control` to any
95
- // of the following form controls:
96
- //
97
- // select
98
- // textarea
99
- // input[type="text"]
100
- // input[type="password"]
101
- // input[type="datetime"]
102
- // input[type="datetime-local"]
103
- // input[type="date"]
104
- // input[type="month"]
105
- // input[type="time"]
106
- // input[type="week"]
107
- // input[type="number"]
108
- // input[type="email"]
109
- // input[type="url"]
110
- // input[type="search"]
111
- // input[type="tel"]
112
- // input[type="color"]
113
-
114
- .form-control {
115
- display: block;
116
- width: 100%;
117
- height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
118
- padding: @padding-base-vertical @padding-base-horizontal;
119
- font-size: @font-size-base;
120
- line-height: @line-height-base;
121
- color: @input-color;
122
- background-color: @input-bg;
123
- background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
124
- border: 1px solid @input-border;
125
- border-radius: @input-border-radius;
126
- .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
127
- .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
128
-
129
- // Customize the `:focus` state to imitate native WebKit styles.
130
- .form-control-focus();
131
-
132
- // Placeholder
133
- .placeholder();
134
-
135
- // Disabled and read-only inputs
136
- //
137
- // HTML5 says that controls under a fieldset > legend:first-child won't be
138
- // disabled if the fieldset is disabled. Due to implementation difficulty, we
139
- // don't honor that edge case; we style them as disabled anyway.
140
- &[disabled],
141
- &[readonly],
142
- fieldset[disabled] & {
143
- cursor: not-allowed;
144
- background-color: @input-bg-disabled;
145
- opacity: 1; // iOS fix for unreadable disabled content
146
- }
147
-
148
- // Reset height for `textarea`s
149
- textarea& {
150
- height: auto;
151
- }
152
- }
153
-
154
-
155
- // Search inputs in iOS
156
- //
157
- // This overrides the extra rounded corners on search inputs in iOS so that our
158
- // `.form-control` class can properly style them. Note that this cannot simply
159
- // be added to `.form-control` as it's not specific enough. For details, see
160
- // https://github.com/twbs/bootstrap/issues/11586.
161
-
162
- input[type="search"] {
163
- -webkit-appearance: none;
164
- }
165
-
166
-
167
- // Special styles for iOS date input
168
- //
169
- // In Mobile Safari, date inputs require a pixel line-height that matches the
170
- // given height of the input.
171
-
172
- input[type="date"] {
173
- line-height: @input-height-base;
174
- }
175
-
176
-
177
- // Form groups
178
- //
179
- // Designed to help with the organization and spacing of vertical forms. For
180
- // horizontal forms, use the predefined grid classes.
181
-
182
- .form-group {
183
- margin-bottom: 15px;
184
- }
185
-
186
-
187
- // Checkboxes and radios
188
- //
189
- // Indent the labels to position radios/checkboxes as hanging controls.
190
-
191
- .radio,
192
- .checkbox {
193
- display: block;
194
- min-height: @line-height-computed; // clear the floating input if there is no label text
195
- margin-top: 10px;
196
- margin-bottom: 10px;
197
- padding-left: 20px;
198
- label {
199
- display: inline;
200
- font-weight: normal;
201
- cursor: pointer;
202
- }
203
- }
204
- .radio input[type="radio"],
205
- .radio-inline input[type="radio"],
206
- .checkbox input[type="checkbox"],
207
- .checkbox-inline input[type="checkbox"] {
208
- float: left;
209
- margin-left: -20px;
210
- }
211
- .radio + .radio,
212
- .checkbox + .checkbox {
213
- margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
214
- }
215
-
216
- // Radios and checkboxes on same line
217
- .radio-inline,
218
- .checkbox-inline {
219
- display: inline-block;
220
- padding-left: 20px;
221
- margin-bottom: 0;
222
- vertical-align: middle;
223
- font-weight: normal;
224
- cursor: pointer;
225
- }
226
- .radio-inline + .radio-inline,
227
- .checkbox-inline + .checkbox-inline {
228
- margin-top: 0;
229
- margin-left: 10px; // space out consecutive inline controls
230
- }
231
-
232
- // Apply same disabled cursor tweak as for inputs
233
- //
234
- // Note: Neither radios nor checkboxes can be readonly.
235
- input[type="radio"],
236
- input[type="checkbox"],
237
- .radio,
238
- .radio-inline,
239
- .checkbox,
240
- .checkbox-inline {
241
- &[disabled],
242
- fieldset[disabled] & {
243
- cursor: not-allowed;
244
- }
245
- }
246
-
247
-
248
- // Form control sizing
249
- //
250
- // Build on `.form-control` with modifier classes to decrease or increase the
251
- // height and font-size of form controls.
252
-
253
- .input-sm {
254
- .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
255
- }
256
-
257
- .input-lg {
258
- .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
259
- }
260
-
261
-
262
- // Form control feedback states
263
- //
264
- // Apply contextual and semantic states to individual form controls.
265
-
266
- .has-feedback {
267
- // Enable absolute positioning
268
- position: relative;
269
-
270
- // Ensure icons don't overlap text
271
- .form-control {
272
- padding-right: (@input-height-base * 1.25);
273
- }
274
-
275
- // Feedback icon (requires .glyphicon classes)
276
- .form-control-feedback {
277
- position: absolute;
278
- top: (@line-height-computed + 5); // Height of the `label` and its margin
279
- right: 0;
280
- display: block;
281
- width: @input-height-base;
282
- height: @input-height-base;
283
- line-height: @input-height-base;
284
- text-align: center;
285
- }
286
- }
287
-
288
- // Feedback states
289
- .has-success {
290
- .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);
291
- }
292
- .has-warning {
293
- .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);
294
- }
295
- .has-error {
296
- .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);
297
- }
298
-
299
-
300
- // Static form control text
301
- //
302
- // Apply class to a `p` element to make any string of text align with labels in
303
- // a horizontal form layout.
304
-
305
- .form-control-static {
306
- margin-bottom: 0; // Remove default margin from `p`
307
- }
308
-
309
-
310
- // Help text
311
- //
312
- // Apply to any element you wish to create light text for placement immediately
313
- // below a form control. Use for general help, formatting, or instructional text.
314
-
315
- .help-block {
316
- display: block; // account for any element using help-block
317
- margin-top: 5px;
318
- margin-bottom: 10px;
319
- color: lighten(@text-color, 25%); // lighten the text some for contrast
320
- }
321
-
322
-
323
-
324
- // Inline forms
325
- //
326
- // Make forms appear inline(-block) by adding the `.form-inline` class. Inline
327
- // forms begin stacked on extra small (mobile) devices and then go inline when
328
- // viewports reach <768px.
329
- //
330
- // Requires wrapping inputs and labels with `.form-group` for proper display of
331
- // default HTML form controls and our custom form controls (e.g., input groups).
332
- //
333
- // Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
334
-
335
- .form-inline {
336
-
337
- // Kick in the inline
338
- @media (min-width: @screen-sm-min) {
339
- // Inline-block all the things for "inline"
340
- .form-group {
341
- display: inline-block;
342
- margin-bottom: 0;
343
- vertical-align: middle;
344
- }
345
-
346
- // In navbar-form, allow folks to *not* use `.form-group`
347
- .form-control {
348
- display: inline-block;
349
- width: auto; // Prevent labels from stacking above inputs in `.form-group`
350
- vertical-align: middle;
351
- }
352
- // Input groups need that 100% width though
353
- .input-group > .form-control {
354
- width: 100%;
355
- }
356
-
357
- .control-label {
358
- margin-bottom: 0;
359
- vertical-align: middle;
360
- }
361
-
362
- // Remove default margin on radios/checkboxes that were used for stacking, and
363
- // then undo the floating of radios and checkboxes to match (which also avoids
364
- // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
365
- .radio,
366
- .checkbox {
367
- display: inline-block;
368
- margin-top: 0;
369
- margin-bottom: 0;
370
- padding-left: 0;
371
- vertical-align: middle;
372
- }
373
- .radio input[type="radio"],
374
- .checkbox input[type="checkbox"] {
375
- float: none;
376
- margin-left: 0;
377
- }
378
-
379
- // Validation states
380
- //
381
- // Reposition the icon because it's now within a grid column and columns have
382
- // `position: relative;` on them. Also accounts for the grid gutter padding.
383
- .has-feedback .form-control-feedback {
384
- top: 0;
385
- }
386
- }
387
- }
388
-
389
-
390
- // Horizontal forms
391
- //
392
- // Horizontal forms are built on grid classes and allow you to create forms with
393
- // labels on the left and inputs on the right.
394
-
395
- .form-horizontal {
396
-
397
- // Consistent vertical alignment of labels, radios, and checkboxes
398
- .control-label,
399
- .radio,
400
- .checkbox,
401
- .radio-inline,
402
- .checkbox-inline {
403
- margin-top: 0;
404
- margin-bottom: 0;
405
- padding-top: (@padding-base-vertical + 1); // Default padding plus a border
406
- }
407
- // Account for padding we're adding to ensure the alignment and of help text
408
- // and other content below items
409
- .radio,
410
- .checkbox {
411
- min-height: (@line-height-computed + (@padding-base-vertical + 1));
412
- }
413
-
414
- // Make form groups behave like rows
415
- .form-group {
416
- .make-row();
417
- }
418
-
419
- .form-control-static {
420
- padding-top: (@padding-base-vertical + 1);
421
- }
422
-
423
- // Only right align form labels here when the columns stop stacking
424
- @media (min-width: @screen-sm-min) {
425
- .control-label {
426
- text-align: right;
427
- }
428
- }
429
-
430
- // Validation states
431
- //
432
- // Reposition the icon because it's now within a grid column and columns have
433
- // `position: relative;` on them. Also accounts for the grid gutter padding.
434
- .has-feedback .form-control-feedback {
435
- top: 0;
436
- right: (@grid-gutter-width / 2);
437
- }
438
- }
@@ -1,233 +0,0 @@
1
- //
2
- // Glyphicons for Bootstrap
3
- //
4
- // Since icons are fonts, they can be placed anywhere text is placed and are
5
- // thus automatically sized to match the surrounding child. To use, create an
6
- // inline element with the appropriate classes, like so:
7
- //
8
- // <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
9
-
10
- // Import the fonts
11
- @font-face {
12
- font-family: 'Glyphicons Halflings';
13
- src: ~"url('@{icon-font-path}@{icon-font-name}.eot')";
14
- src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')",
15
- ~"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')",
16
- ~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')",
17
- ~"url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg')";
18
- }
19
-
20
- // Catchall baseclass
21
- .glyphicon {
22
- position: relative;
23
- top: 1px;
24
- display: inline-block;
25
- font-family: 'Glyphicons Halflings';
26
- font-style: normal;
27
- font-weight: normal;
28
- line-height: 1;
29
- -webkit-font-smoothing: antialiased;
30
- -moz-osx-font-smoothing: grayscale;
31
- }
32
-
33
- // Individual icons
34
- .glyphicon-asterisk { &:before { content: "\2a"; } }
35
- .glyphicon-plus { &:before { content: "\2b"; } }
36
- .glyphicon-euro { &:before { content: "\20ac"; } }
37
- .glyphicon-minus { &:before { content: "\2212"; } }
38
- .glyphicon-cloud { &:before { content: "\2601"; } }
39
- .glyphicon-envelope { &:before { content: "\2709"; } }
40
- .glyphicon-pencil { &:before { content: "\270f"; } }
41
- .glyphicon-glass { &:before { content: "\e001"; } }
42
- .glyphicon-music { &:before { content: "\e002"; } }
43
- .glyphicon-search { &:before { content: "\e003"; } }
44
- .glyphicon-heart { &:before { content: "\e005"; } }
45
- .glyphicon-star { &:before { content: "\e006"; } }
46
- .glyphicon-star-empty { &:before { content: "\e007"; } }
47
- .glyphicon-user { &:before { content: "\e008"; } }
48
- .glyphicon-film { &:before { content: "\e009"; } }
49
- .glyphicon-th-large { &:before { content: "\e010"; } }
50
- .glyphicon-th { &:before { content: "\e011"; } }
51
- .glyphicon-th-list { &:before { content: "\e012"; } }
52
- .glyphicon-ok { &:before { content: "\e013"; } }
53
- .glyphicon-remove { &:before { content: "\e014"; } }
54
- .glyphicon-zoom-in { &:before { content: "\e015"; } }
55
- .glyphicon-zoom-out { &:before { content: "\e016"; } }
56
- .glyphicon-off { &:before { content: "\e017"; } }
57
- .glyphicon-signal { &:before { content: "\e018"; } }
58
- .glyphicon-cog { &:before { content: "\e019"; } }
59
- .glyphicon-trash { &:before { content: "\e020"; } }
60
- .glyphicon-home { &:before { content: "\e021"; } }
61
- .glyphicon-file { &:before { content: "\e022"; } }
62
- .glyphicon-time { &:before { content: "\e023"; } }
63
- .glyphicon-road { &:before { content: "\e024"; } }
64
- .glyphicon-download-alt { &:before { content: "\e025"; } }
65
- .glyphicon-download { &:before { content: "\e026"; } }
66
- .glyphicon-upload { &:before { content: "\e027"; } }
67
- .glyphicon-inbox { &:before { content: "\e028"; } }
68
- .glyphicon-play-circle { &:before { content: "\e029"; } }
69
- .glyphicon-repeat { &:before { content: "\e030"; } }
70
- .glyphicon-refresh { &:before { content: "\e031"; } }
71
- .glyphicon-list-alt { &:before { content: "\e032"; } }
72
- .glyphicon-lock { &:before { content: "\e033"; } }
73
- .glyphicon-flag { &:before { content: "\e034"; } }
74
- .glyphicon-headphones { &:before { content: "\e035"; } }
75
- .glyphicon-volume-off { &:before { content: "\e036"; } }
76
- .glyphicon-volume-down { &:before { content: "\e037"; } }
77
- .glyphicon-volume-up { &:before { content: "\e038"; } }
78
- .glyphicon-qrcode { &:before { content: "\e039"; } }
79
- .glyphicon-barcode { &:before { content: "\e040"; } }
80
- .glyphicon-tag { &:before { content: "\e041"; } }
81
- .glyphicon-tags { &:before { content: "\e042"; } }
82
- .glyphicon-book { &:before { content: "\e043"; } }
83
- .glyphicon-bookmark { &:before { content: "\e044"; } }
84
- .glyphicon-print { &:before { content: "\e045"; } }
85
- .glyphicon-camera { &:before { content: "\e046"; } }
86
- .glyphicon-font { &:before { content: "\e047"; } }
87
- .glyphicon-bold { &:before { content: "\e048"; } }
88
- .glyphicon-italic { &:before { content: "\e049"; } }
89
- .glyphicon-text-height { &:before { content: "\e050"; } }
90
- .glyphicon-text-width { &:before { content: "\e051"; } }
91
- .glyphicon-align-left { &:before { content: "\e052"; } }
92
- .glyphicon-align-center { &:before { content: "\e053"; } }
93
- .glyphicon-align-right { &:before { content: "\e054"; } }
94
- .glyphicon-align-justify { &:before { content: "\e055"; } }
95
- .glyphicon-list { &:before { content: "\e056"; } }
96
- .glyphicon-indent-left { &:before { content: "\e057"; } }
97
- .glyphicon-indent-right { &:before { content: "\e058"; } }
98
- .glyphicon-facetime-video { &:before { content: "\e059"; } }
99
- .glyphicon-picture { &:before { content: "\e060"; } }
100
- .glyphicon-map-marker { &:before { content: "\e062"; } }
101
- .glyphicon-adjust { &:before { content: "\e063"; } }
102
- .glyphicon-tint { &:before { content: "\e064"; } }
103
- .glyphicon-edit { &:before { content: "\e065"; } }
104
- .glyphicon-share { &:before { content: "\e066"; } }
105
- .glyphicon-check { &:before { content: "\e067"; } }
106
- .glyphicon-move { &:before { content: "\e068"; } }
107
- .glyphicon-step-backward { &:before { content: "\e069"; } }
108
- .glyphicon-fast-backward { &:before { content: "\e070"; } }
109
- .glyphicon-backward { &:before { content: "\e071"; } }
110
- .glyphicon-play { &:before { content: "\e072"; } }
111
- .glyphicon-pause { &:before { content: "\e073"; } }
112
- .glyphicon-stop { &:before { content: "\e074"; } }
113
- .glyphicon-forward { &:before { content: "\e075"; } }
114
- .glyphicon-fast-forward { &:before { content: "\e076"; } }
115
- .glyphicon-step-forward { &:before { content: "\e077"; } }
116
- .glyphicon-eject { &:before { content: "\e078"; } }
117
- .glyphicon-chevron-left { &:before { content: "\e079"; } }
118
- .glyphicon-chevron-right { &:before { content: "\e080"; } }
119
- .glyphicon-plus-sign { &:before { content: "\e081"; } }
120
- .glyphicon-minus-sign { &:before { content: "\e082"; } }
121
- .glyphicon-remove-sign { &:before { content: "\e083"; } }
122
- .glyphicon-ok-sign { &:before { content: "\e084"; } }
123
- .glyphicon-question-sign { &:before { content: "\e085"; } }
124
- .glyphicon-info-sign { &:before { content: "\e086"; } }
125
- .glyphicon-screenshot { &:before { content: "\e087"; } }
126
- .glyphicon-remove-circle { &:before { content: "\e088"; } }
127
- .glyphicon-ok-circle { &:before { content: "\e089"; } }
128
- .glyphicon-ban-circle { &:before { content: "\e090"; } }
129
- .glyphicon-arrow-left { &:before { content: "\e091"; } }
130
- .glyphicon-arrow-right { &:before { content: "\e092"; } }
131
- .glyphicon-arrow-up { &:before { content: "\e093"; } }
132
- .glyphicon-arrow-down { &:before { content: "\e094"; } }
133
- .glyphicon-share-alt { &:before { content: "\e095"; } }
134
- .glyphicon-resize-full { &:before { content: "\e096"; } }
135
- .glyphicon-resize-small { &:before { content: "\e097"; } }
136
- .glyphicon-exclamation-sign { &:before { content: "\e101"; } }
137
- .glyphicon-gift { &:before { content: "\e102"; } }
138
- .glyphicon-leaf { &:before { content: "\e103"; } }
139
- .glyphicon-fire { &:before { content: "\e104"; } }
140
- .glyphicon-eye-open { &:before { content: "\e105"; } }
141
- .glyphicon-eye-close { &:before { content: "\e106"; } }
142
- .glyphicon-warning-sign { &:before { content: "\e107"; } }
143
- .glyphicon-plane { &:before { content: "\e108"; } }
144
- .glyphicon-calendar { &:before { content: "\e109"; } }
145
- .glyphicon-random { &:before { content: "\e110"; } }
146
- .glyphicon-comment { &:before { content: "\e111"; } }
147
- .glyphicon-magnet { &:before { content: "\e112"; } }
148
- .glyphicon-chevron-up { &:before { content: "\e113"; } }
149
- .glyphicon-chevron-down { &:before { content: "\e114"; } }
150
- .glyphicon-retweet { &:before { content: "\e115"; } }
151
- .glyphicon-shopping-cart { &:before { content: "\e116"; } }
152
- .glyphicon-folder-close { &:before { content: "\e117"; } }
153
- .glyphicon-folder-open { &:before { content: "\e118"; } }
154
- .glyphicon-resize-vertical { &:before { content: "\e119"; } }
155
- .glyphicon-resize-horizontal { &:before { content: "\e120"; } }
156
- .glyphicon-hdd { &:before { content: "\e121"; } }
157
- .glyphicon-bullhorn { &:before { content: "\e122"; } }
158
- .glyphicon-bell { &:before { content: "\e123"; } }
159
- .glyphicon-certificate { &:before { content: "\e124"; } }
160
- .glyphicon-thumbs-up { &:before { content: "\e125"; } }
161
- .glyphicon-thumbs-down { &:before { content: "\e126"; } }
162
- .glyphicon-hand-right { &:before { content: "\e127"; } }
163
- .glyphicon-hand-left { &:before { content: "\e128"; } }
164
- .glyphicon-hand-up { &:before { content: "\e129"; } }
165
- .glyphicon-hand-down { &:before { content: "\e130"; } }
166
- .glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
167
- .glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
168
- .glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
169
- .glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
170
- .glyphicon-globe { &:before { content: "\e135"; } }
171
- .glyphicon-wrench { &:before { content: "\e136"; } }
172
- .glyphicon-tasks { &:before { content: "\e137"; } }
173
- .glyphicon-filter { &:before { content: "\e138"; } }
174
- .glyphicon-briefcase { &:before { content: "\e139"; } }
175
- .glyphicon-fullscreen { &:before { content: "\e140"; } }
176
- .glyphicon-dashboard { &:before { content: "\e141"; } }
177
- .glyphicon-paperclip { &:before { content: "\e142"; } }
178
- .glyphicon-heart-empty { &:before { content: "\e143"; } }
179
- .glyphicon-link { &:before { content: "\e144"; } }
180
- .glyphicon-phone { &:before { content: "\e145"; } }
181
- .glyphicon-pushpin { &:before { content: "\e146"; } }
182
- .glyphicon-usd { &:before { content: "\e148"; } }
183
- .glyphicon-gbp { &:before { content: "\e149"; } }
184
- .glyphicon-sort { &:before { content: "\e150"; } }
185
- .glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
186
- .glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
187
- .glyphicon-sort-by-order { &:before { content: "\e153"; } }
188
- .glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
189
- .glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
190
- .glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
191
- .glyphicon-unchecked { &:before { content: "\e157"; } }
192
- .glyphicon-expand { &:before { content: "\e158"; } }
193
- .glyphicon-collapse-down { &:before { content: "\e159"; } }
194
- .glyphicon-collapse-up { &:before { content: "\e160"; } }
195
- .glyphicon-log-in { &:before { content: "\e161"; } }
196
- .glyphicon-flash { &:before { content: "\e162"; } }
197
- .glyphicon-log-out { &:before { content: "\e163"; } }
198
- .glyphicon-new-window { &:before { content: "\e164"; } }
199
- .glyphicon-record { &:before { content: "\e165"; } }
200
- .glyphicon-save { &:before { content: "\e166"; } }
201
- .glyphicon-open { &:before { content: "\e167"; } }
202
- .glyphicon-saved { &:before { content: "\e168"; } }
203
- .glyphicon-import { &:before { content: "\e169"; } }
204
- .glyphicon-export { &:before { content: "\e170"; } }
205
- .glyphicon-send { &:before { content: "\e171"; } }
206
- .glyphicon-floppy-disk { &:before { content: "\e172"; } }
207
- .glyphicon-floppy-saved { &:before { content: "\e173"; } }
208
- .glyphicon-floppy-remove { &:before { content: "\e174"; } }
209
- .glyphicon-floppy-save { &:before { content: "\e175"; } }
210
- .glyphicon-floppy-open { &:before { content: "\e176"; } }
211
- .glyphicon-credit-card { &:before { content: "\e177"; } }
212
- .glyphicon-transfer { &:before { content: "\e178"; } }
213
- .glyphicon-cutlery { &:before { content: "\e179"; } }
214
- .glyphicon-header { &:before { content: "\e180"; } }
215
- .glyphicon-compressed { &:before { content: "\e181"; } }
216
- .glyphicon-earphone { &:before { content: "\e182"; } }
217
- .glyphicon-phone-alt { &:before { content: "\e183"; } }
218
- .glyphicon-tower { &:before { content: "\e184"; } }
219
- .glyphicon-stats { &:before { content: "\e185"; } }
220
- .glyphicon-sd-video { &:before { content: "\e186"; } }
221
- .glyphicon-hd-video { &:before { content: "\e187"; } }
222
- .glyphicon-subtitles { &:before { content: "\e188"; } }
223
- .glyphicon-sound-stereo { &:before { content: "\e189"; } }
224
- .glyphicon-sound-dolby { &:before { content: "\e190"; } }
225
- .glyphicon-sound-5-1 { &:before { content: "\e191"; } }
226
- .glyphicon-sound-6-1 { &:before { content: "\e192"; } }
227
- .glyphicon-sound-7-1 { &:before { content: "\e193"; } }
228
- .glyphicon-copyright-mark { &:before { content: "\e194"; } }
229
- .glyphicon-registration-mark { &:before { content: "\e195"; } }
230
- .glyphicon-cloud-download { &:before { content: "\e197"; } }
231
- .glyphicon-cloud-upload { &:before { content: "\e198"; } }
232
- .glyphicon-tree-conifer { &:before { content: "\e199"; } }
233
- .glyphicon-tree-deciduous { &:before { content: "\e200"; } }