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,242 +0,0 @@
1
- //
2
- // Navs
3
- // --------------------------------------------------
4
-
5
-
6
- // Base class
7
- // --------------------------------------------------
8
-
9
- .nav {
10
- margin-bottom: 0;
11
- padding-left: 0; // Override default ul/ol
12
- list-style: none;
13
- &:extend(.clearfix all);
14
-
15
- > li {
16
- position: relative;
17
- display: block;
18
-
19
- > a {
20
- position: relative;
21
- display: block;
22
- padding: @nav-link-padding;
23
- &:hover,
24
- &:focus {
25
- text-decoration: none;
26
- background-color: @nav-link-hover-bg;
27
- }
28
- }
29
-
30
- // Disabled state sets text to gray and nukes hover/tab effects
31
- &.disabled > a {
32
- color: @nav-disabled-link-color;
33
-
34
- &:hover,
35
- &:focus {
36
- color: @nav-disabled-link-hover-color;
37
- text-decoration: none;
38
- background-color: transparent;
39
- cursor: not-allowed;
40
- }
41
- }
42
- }
43
-
44
- // Open dropdowns
45
- .open > a {
46
- &,
47
- &:hover,
48
- &:focus {
49
- background-color: @nav-link-hover-bg;
50
- border-color: @link-color;
51
- }
52
- }
53
-
54
- // Nav dividers (deprecated with v3.0.1)
55
- //
56
- // This should have been removed in v3 with the dropping of `.nav-list`, but
57
- // we missed it. We don't currently support this anywhere, but in the interest
58
- // of maintaining backward compatibility in case you use it, it's deprecated.
59
- .nav-divider {
60
- .nav-divider();
61
- }
62
-
63
- // Prevent IE8 from misplacing imgs
64
- //
65
- // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
66
- > li > a > img {
67
- max-width: none;
68
- }
69
- }
70
-
71
-
72
- // Tabs
73
- // -------------------------
74
-
75
- // Give the tabs something to sit on
76
- .nav-tabs {
77
- border-bottom: 1px solid @nav-tabs-border-color;
78
- > li {
79
- float: left;
80
- // Make the list-items overlay the bottom border
81
- margin-bottom: -1px;
82
-
83
- // Actual tabs (as links)
84
- > a {
85
- margin-right: 2px;
86
- line-height: @line-height-base;
87
- border: 1px solid transparent;
88
- border-radius: @border-radius-base @border-radius-base 0 0;
89
- &:hover {
90
- border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
91
- }
92
- }
93
-
94
- // Active state, and its :hover to override normal :hover
95
- &.active > a {
96
- &,
97
- &:hover,
98
- &:focus {
99
- color: @nav-tabs-active-link-hover-color;
100
- background-color: @nav-tabs-active-link-hover-bg;
101
- border: 1px solid @nav-tabs-active-link-hover-border-color;
102
- border-bottom-color: transparent;
103
- cursor: default;
104
- }
105
- }
106
- }
107
- // pulling this in mainly for less shorthand
108
- &.nav-justified {
109
- .nav-justified();
110
- .nav-tabs-justified();
111
- }
112
- }
113
-
114
-
115
- // Pills
116
- // -------------------------
117
- .nav-pills {
118
- > li {
119
- float: left;
120
-
121
- // Links rendered as pills
122
- > a {
123
- border-radius: @nav-pills-border-radius;
124
- }
125
- + li {
126
- margin-left: 2px;
127
- }
128
-
129
- // Active state
130
- &.active > a {
131
- &,
132
- &:hover,
133
- &:focus {
134
- color: @nav-pills-active-link-hover-color;
135
- background-color: @nav-pills-active-link-hover-bg;
136
- }
137
- }
138
- }
139
- }
140
-
141
-
142
- // Stacked pills
143
- .nav-stacked {
144
- > li {
145
- float: none;
146
- + li {
147
- margin-top: 2px;
148
- margin-left: 0; // no need for this gap between nav items
149
- }
150
- }
151
- }
152
-
153
-
154
- // Nav variations
155
- // --------------------------------------------------
156
-
157
- // Justified nav links
158
- // -------------------------
159
-
160
- .nav-justified {
161
- width: 100%;
162
-
163
- > li {
164
- float: none;
165
- > a {
166
- text-align: center;
167
- margin-bottom: 5px;
168
- }
169
- }
170
-
171
- > .dropdown .dropdown-menu {
172
- top: auto;
173
- left: auto;
174
- }
175
-
176
- @media (min-width: @screen-sm-min) {
177
- > li {
178
- display: table-cell;
179
- width: 1%;
180
- > a {
181
- margin-bottom: 0;
182
- }
183
- }
184
- }
185
- }
186
-
187
- // Move borders to anchors instead of bottom of list
188
- //
189
- // Mixin for adding on top the shared `.nav-justified` styles for our tabs
190
- .nav-tabs-justified {
191
- border-bottom: 0;
192
-
193
- > li > a {
194
- // Override margin from .nav-tabs
195
- margin-right: 0;
196
- border-radius: @border-radius-base;
197
- }
198
-
199
- > .active > a,
200
- > .active > a:hover,
201
- > .active > a:focus {
202
- border: 1px solid @nav-tabs-justified-link-border-color;
203
- }
204
-
205
- @media (min-width: @screen-sm-min) {
206
- > li > a {
207
- border-bottom: 1px solid @nav-tabs-justified-link-border-color;
208
- border-radius: @border-radius-base @border-radius-base 0 0;
209
- }
210
- > .active > a,
211
- > .active > a:hover,
212
- > .active > a:focus {
213
- border-bottom-color: @nav-tabs-justified-active-link-border-color;
214
- }
215
- }
216
- }
217
-
218
-
219
- // Tabbable tabs
220
- // -------------------------
221
-
222
- // Hide tabbable panes to start, show them when `.active`
223
- .tab-content {
224
- > .tab-pane {
225
- display: none;
226
- }
227
- > .active {
228
- display: block;
229
- }
230
- }
231
-
232
-
233
- // Dropdowns
234
- // -------------------------
235
-
236
- // Specific dropdowns
237
- .nav-tabs .dropdown-menu {
238
- // make dropdown border overlap tab border
239
- margin-top: -1px;
240
- // Remove the top rounded corners here since there is a hard edge above the menu
241
- .border-top-radius(0);
242
- }
@@ -1,423 +0,0 @@
1
- /*! normalize.css v3.0.0 | MIT License | git.io/normalize */
2
-
3
- //
4
- // 1. Set default font family to sans-serif.
5
- // 2. Prevent iOS text size adjust after orientation change, without disabling
6
- // user zoom.
7
- //
8
-
9
- html {
10
- font-family: sans-serif; // 1
11
- -ms-text-size-adjust: 100%; // 2
12
- -webkit-text-size-adjust: 100%; // 2
13
- }
14
-
15
- //
16
- // Remove default margin.
17
- //
18
-
19
- body {
20
- margin: 0;
21
- }
22
-
23
- // HTML5 display definitions
24
- // ==========================================================================
25
-
26
- //
27
- // Correct `block` display not defined in IE 8/9.
28
- //
29
-
30
- article,
31
- aside,
32
- details,
33
- figcaption,
34
- figure,
35
- footer,
36
- header,
37
- hgroup,
38
- main,
39
- nav,
40
- section,
41
- summary {
42
- display: block;
43
- }
44
-
45
- //
46
- // 1. Correct `inline-block` display not defined in IE 8/9.
47
- // 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
48
- //
49
-
50
- audio,
51
- canvas,
52
- progress,
53
- video {
54
- display: inline-block; // 1
55
- vertical-align: baseline; // 2
56
- }
57
-
58
- //
59
- // Prevent modern browsers from displaying `audio` without controls.
60
- // Remove excess height in iOS 5 devices.
61
- //
62
-
63
- audio:not([controls]) {
64
- display: none;
65
- height: 0;
66
- }
67
-
68
- //
69
- // Address `[hidden]` styling not present in IE 8/9.
70
- // Hide the `template` element in IE, Safari, and Firefox < 22.
71
- //
72
-
73
- [hidden],
74
- template {
75
- display: none;
76
- }
77
-
78
- // Links
79
- // ==========================================================================
80
-
81
- //
82
- // Remove the gray background color from active links in IE 10.
83
- //
84
-
85
- a {
86
- background: transparent;
87
- }
88
-
89
- //
90
- // Improve readability when focused and also mouse hovered in all browsers.
91
- //
92
-
93
- a:active,
94
- a:hover {
95
- outline: 0;
96
- }
97
-
98
- // Text-level semantics
99
- // ==========================================================================
100
-
101
- //
102
- // Address styling not present in IE 8/9, Safari 5, and Chrome.
103
- //
104
-
105
- abbr[title] {
106
- border-bottom: 1px dotted;
107
- }
108
-
109
- //
110
- // Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
111
- //
112
-
113
- b,
114
- strong {
115
- font-weight: bold;
116
- }
117
-
118
- //
119
- // Address styling not present in Safari 5 and Chrome.
120
- //
121
-
122
- dfn {
123
- font-style: italic;
124
- }
125
-
126
- //
127
- // Address variable `h1` font-size and margin within `section` and `article`
128
- // contexts in Firefox 4+, Safari 5, and Chrome.
129
- //
130
-
131
- h1 {
132
- font-size: 2em;
133
- margin: 0.67em 0;
134
- }
135
-
136
- //
137
- // Address styling not present in IE 8/9.
138
- //
139
-
140
- mark {
141
- background: #ff0;
142
- color: #000;
143
- }
144
-
145
- //
146
- // Address inconsistent and variable font size in all browsers.
147
- //
148
-
149
- small {
150
- font-size: 80%;
151
- }
152
-
153
- //
154
- // Prevent `sub` and `sup` affecting `line-height` in all browsers.
155
- //
156
-
157
- sub,
158
- sup {
159
- font-size: 75%;
160
- line-height: 0;
161
- position: relative;
162
- vertical-align: baseline;
163
- }
164
-
165
- sup {
166
- top: -0.5em;
167
- }
168
-
169
- sub {
170
- bottom: -0.25em;
171
- }
172
-
173
- // Embedded content
174
- // ==========================================================================
175
-
176
- //
177
- // Remove border when inside `a` element in IE 8/9.
178
- //
179
-
180
- img {
181
- border: 0;
182
- }
183
-
184
- //
185
- // Correct overflow displayed oddly in IE 9.
186
- //
187
-
188
- svg:not(:root) {
189
- overflow: hidden;
190
- }
191
-
192
- // Grouping content
193
- // ==========================================================================
194
-
195
- //
196
- // Address margin not present in IE 8/9 and Safari 5.
197
- //
198
-
199
- figure {
200
- margin: 1em 40px;
201
- }
202
-
203
- //
204
- // Address differences between Firefox and other browsers.
205
- //
206
-
207
- hr {
208
- -moz-box-sizing: content-box;
209
- box-sizing: content-box;
210
- height: 0;
211
- }
212
-
213
- //
214
- // Contain overflow in all browsers.
215
- //
216
-
217
- pre {
218
- overflow: auto;
219
- }
220
-
221
- //
222
- // Address odd `em`-unit font size rendering in all browsers.
223
- //
224
-
225
- code,
226
- kbd,
227
- pre,
228
- samp {
229
- font-family: monospace, monospace;
230
- font-size: 1em;
231
- }
232
-
233
- // Forms
234
- // ==========================================================================
235
-
236
- //
237
- // Known limitation: by default, Chrome and Safari on OS X allow very limited
238
- // styling of `select`, unless a `border` property is set.
239
- //
240
-
241
- //
242
- // 1. Correct color not being inherited.
243
- // Known issue: affects color of disabled elements.
244
- // 2. Correct font properties not being inherited.
245
- // 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
246
- //
247
-
248
- button,
249
- input,
250
- optgroup,
251
- select,
252
- textarea {
253
- color: inherit; // 1
254
- font: inherit; // 2
255
- margin: 0; // 3
256
- }
257
-
258
- //
259
- // Address `overflow` set to `hidden` in IE 8/9/10.
260
- //
261
-
262
- button {
263
- overflow: visible;
264
- }
265
-
266
- //
267
- // Address inconsistent `text-transform` inheritance for `button` and `select`.
268
- // All other form control elements do not inherit `text-transform` values.
269
- // Correct `button` style inheritance in Firefox, IE 8+, and Opera
270
- // Correct `select` style inheritance in Firefox.
271
- //
272
-
273
- button,
274
- select {
275
- text-transform: none;
276
- }
277
-
278
- //
279
- // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
280
- // and `video` controls.
281
- // 2. Correct inability to style clickable `input` types in iOS.
282
- // 3. Improve usability and consistency of cursor style between image-type
283
- // `input` and others.
284
- //
285
-
286
- button,
287
- html input[type="button"], // 1
288
- input[type="reset"],
289
- input[type="submit"] {
290
- -webkit-appearance: button; // 2
291
- cursor: pointer; // 3
292
- }
293
-
294
- //
295
- // Re-set default cursor for disabled elements.
296
- //
297
-
298
- button[disabled],
299
- html input[disabled] {
300
- cursor: default;
301
- }
302
-
303
- //
304
- // Remove inner padding and border in Firefox 4+.
305
- //
306
-
307
- button::-moz-focus-inner,
308
- input::-moz-focus-inner {
309
- border: 0;
310
- padding: 0;
311
- }
312
-
313
- //
314
- // Address Firefox 4+ setting `line-height` on `input` using `!important` in
315
- // the UA stylesheet.
316
- //
317
-
318
- input {
319
- line-height: normal;
320
- }
321
-
322
- //
323
- // It's recommended that you don't attempt to style these elements.
324
- // Firefox's implementation doesn't respect box-sizing, padding, or width.
325
- //
326
- // 1. Address box sizing set to `content-box` in IE 8/9/10.
327
- // 2. Remove excess padding in IE 8/9/10.
328
- //
329
-
330
- input[type="checkbox"],
331
- input[type="radio"] {
332
- box-sizing: border-box; // 1
333
- padding: 0; // 2
334
- }
335
-
336
- //
337
- // Fix the cursor style for Chrome's increment/decrement buttons. For certain
338
- // `font-size` values of the `input`, it causes the cursor style of the
339
- // decrement button to change from `default` to `text`.
340
- //
341
-
342
- input[type="number"]::-webkit-inner-spin-button,
343
- input[type="number"]::-webkit-outer-spin-button {
344
- height: auto;
345
- }
346
-
347
- //
348
- // 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
349
- // 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
350
- // (include `-moz` to future-proof).
351
- //
352
-
353
- input[type="search"] {
354
- -webkit-appearance: textfield; // 1
355
- -moz-box-sizing: content-box;
356
- -webkit-box-sizing: content-box; // 2
357
- box-sizing: content-box;
358
- }
359
-
360
- //
361
- // Remove inner padding and search cancel button in Safari and Chrome on OS X.
362
- // Safari (but not Chrome) clips the cancel button when the search input has
363
- // padding (and `textfield` appearance).
364
- //
365
-
366
- input[type="search"]::-webkit-search-cancel-button,
367
- input[type="search"]::-webkit-search-decoration {
368
- -webkit-appearance: none;
369
- }
370
-
371
- //
372
- // Define consistent border, margin, and padding.
373
- //
374
-
375
- fieldset {
376
- border: 1px solid #c0c0c0;
377
- margin: 0 2px;
378
- padding: 0.35em 0.625em 0.75em;
379
- }
380
-
381
- //
382
- // 1. Correct `color` not being inherited in IE 8/9.
383
- // 2. Remove padding so people aren't caught out if they zero out fieldsets.
384
- //
385
-
386
- legend {
387
- border: 0; // 1
388
- padding: 0; // 2
389
- }
390
-
391
- //
392
- // Remove default vertical scrollbar in IE 8/9.
393
- //
394
-
395
- textarea {
396
- overflow: auto;
397
- }
398
-
399
- //
400
- // Don't inherit the `font-weight` (applied by a rule above).
401
- // NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
402
- //
403
-
404
- optgroup {
405
- font-weight: bold;
406
- }
407
-
408
- // Tables
409
- // ==========================================================================
410
-
411
- //
412
- // Remove most spacing between table cells.
413
- //
414
-
415
- table {
416
- border-collapse: collapse;
417
- border-spacing: 0;
418
- }
419
-
420
- td,
421
- th {
422
- padding: 0;
423
- }
@@ -1,55 +0,0 @@
1
- //
2
- // Pager pagination
3
- // --------------------------------------------------
4
-
5
-
6
- .pager {
7
- padding-left: 0;
8
- margin: @line-height-computed 0;
9
- list-style: none;
10
- text-align: center;
11
- &:extend(.clearfix all);
12
- li {
13
- display: inline;
14
- > a,
15
- > span {
16
- display: inline-block;
17
- padding: 5px 14px;
18
- background-color: @pager-bg;
19
- border: 1px solid @pager-border;
20
- border-radius: @pager-border-radius;
21
- }
22
-
23
- > a:hover,
24
- > a:focus {
25
- text-decoration: none;
26
- background-color: @pager-hover-bg;
27
- }
28
- }
29
-
30
- .next {
31
- > a,
32
- > span {
33
- float: right;
34
- }
35
- }
36
-
37
- .previous {
38
- > a,
39
- > span {
40
- float: left;
41
- }
42
- }
43
-
44
- .disabled {
45
- > a,
46
- > a:hover,
47
- > a:focus,
48
- > span {
49
- color: @pager-disabled-color;
50
- background-color: @pager-bg;
51
- cursor: not-allowed;
52
- }
53
- }
54
-
55
- }