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,232 +0,0 @@
1
- //
2
- // Carousel
3
- // --------------------------------------------------
4
-
5
-
6
- // Wrapper for the slide container and indicators
7
- .carousel {
8
- position: relative;
9
- }
10
-
11
- .carousel-inner {
12
- position: relative;
13
- overflow: hidden;
14
- width: 100%;
15
-
16
- > .item {
17
- display: none;
18
- position: relative;
19
- .transition(.6s ease-in-out left);
20
-
21
- // Account for jankitude on images
22
- > img,
23
- > a > img {
24
- &:extend(.img-responsive);
25
- line-height: 1;
26
- }
27
- }
28
-
29
- > .active,
30
- > .next,
31
- > .prev { display: block; }
32
-
33
- > .active {
34
- left: 0;
35
- }
36
-
37
- > .next,
38
- > .prev {
39
- position: absolute;
40
- top: 0;
41
- width: 100%;
42
- }
43
-
44
- > .next {
45
- left: 100%;
46
- }
47
- > .prev {
48
- left: -100%;
49
- }
50
- > .next.left,
51
- > .prev.right {
52
- left: 0;
53
- }
54
-
55
- > .active.left {
56
- left: -100%;
57
- }
58
- > .active.right {
59
- left: 100%;
60
- }
61
-
62
- }
63
-
64
- // Left/right controls for nav
65
- // ---------------------------
66
-
67
- .carousel-control {
68
- position: absolute;
69
- top: 0;
70
- left: 0;
71
- bottom: 0;
72
- width: @carousel-control-width;
73
- .opacity(@carousel-control-opacity);
74
- font-size: @carousel-control-font-size;
75
- color: @carousel-control-color;
76
- text-align: center;
77
- text-shadow: @carousel-text-shadow;
78
- // We can't have this transition here because WebKit cancels the carousel
79
- // animation if you trip this while in the middle of another animation.
80
-
81
- // Set gradients for backgrounds
82
- &.left {
83
- #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
84
- }
85
- &.right {
86
- left: auto;
87
- right: 0;
88
- #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
89
- }
90
-
91
- // Hover/focus state
92
- &:hover,
93
- &:focus {
94
- outline: none;
95
- color: @carousel-control-color;
96
- text-decoration: none;
97
- .opacity(.9);
98
- }
99
-
100
- // Toggles
101
- .icon-prev,
102
- .icon-next,
103
- .glyphicon-chevron-left,
104
- .glyphicon-chevron-right {
105
- position: absolute;
106
- top: 50%;
107
- z-index: 5;
108
- display: inline-block;
109
- }
110
- .icon-prev,
111
- .glyphicon-chevron-left {
112
- left: 50%;
113
- }
114
- .icon-next,
115
- .glyphicon-chevron-right {
116
- right: 50%;
117
- }
118
- .icon-prev,
119
- .icon-next {
120
- width: 20px;
121
- height: 20px;
122
- margin-top: -10px;
123
- margin-left: -10px;
124
- font-family: serif;
125
- }
126
-
127
- .icon-prev {
128
- &:before {
129
- content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
130
- }
131
- }
132
- .icon-next {
133
- &:before {
134
- content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
135
- }
136
- }
137
- }
138
-
139
- // Optional indicator pips
140
- //
141
- // Add an unordered list with the following class and add a list item for each
142
- // slide your carousel holds.
143
-
144
- .carousel-indicators {
145
- position: absolute;
146
- bottom: 10px;
147
- left: 50%;
148
- z-index: 15;
149
- width: 60%;
150
- margin-left: -30%;
151
- padding-left: 0;
152
- list-style: none;
153
- text-align: center;
154
-
155
- li {
156
- display: inline-block;
157
- width: 10px;
158
- height: 10px;
159
- margin: 1px;
160
- text-indent: -999px;
161
- border: 1px solid @carousel-indicator-border-color;
162
- border-radius: 10px;
163
- cursor: pointer;
164
-
165
- // IE8-9 hack for event handling
166
- //
167
- // Internet Explorer 8-9 does not support clicks on elements without a set
168
- // `background-color`. We cannot use `filter` since that's not viewed as a
169
- // background color by the browser. Thus, a hack is needed.
170
- //
171
- // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
172
- // set alpha transparency for the best results possible.
173
- background-color: #000 \9; // IE8
174
- background-color: rgba(0,0,0,0); // IE9
175
- }
176
- .active {
177
- margin: 0;
178
- width: 12px;
179
- height: 12px;
180
- background-color: @carousel-indicator-active-bg;
181
- }
182
- }
183
-
184
- // Optional captions
185
- // -----------------------------
186
- // Hidden by default for smaller viewports
187
- .carousel-caption {
188
- position: absolute;
189
- left: 15%;
190
- right: 15%;
191
- bottom: 20px;
192
- z-index: 10;
193
- padding-top: 20px;
194
- padding-bottom: 20px;
195
- color: @carousel-caption-color;
196
- text-align: center;
197
- text-shadow: @carousel-text-shadow;
198
- & .btn {
199
- text-shadow: none; // No shadow for button elements in carousel-caption
200
- }
201
- }
202
-
203
-
204
- // Scale up controls for tablets and up
205
- @media screen and (min-width: @screen-sm-min) {
206
-
207
- // Scale up the controls a smidge
208
- .carousel-control {
209
- .glyphicon-chevron-left,
210
- .glyphicon-chevron-right,
211
- .icon-prev,
212
- .icon-next {
213
- width: 30px;
214
- height: 30px;
215
- margin-top: -15px;
216
- margin-left: -15px;
217
- font-size: 30px;
218
- }
219
- }
220
-
221
- // Show and left align the captions
222
- .carousel-caption {
223
- left: 20%;
224
- right: 20%;
225
- padding-bottom: 30px;
226
- }
227
-
228
- // Move up the indicators
229
- .carousel-indicators {
230
- bottom: 20px;
231
- }
232
- }
@@ -1,33 +0,0 @@
1
- //
2
- // Close icons
3
- // --------------------------------------------------
4
-
5
-
6
- .close {
7
- float: right;
8
- font-size: (@font-size-base * 1.5);
9
- font-weight: @close-font-weight;
10
- line-height: 1;
11
- color: @close-color;
12
- text-shadow: @close-text-shadow;
13
- .opacity(.2);
14
-
15
- &:hover,
16
- &:focus {
17
- color: @close-color;
18
- text-decoration: none;
19
- cursor: pointer;
20
- .opacity(.5);
21
- }
22
-
23
- // Additional properties for button version
24
- // iOS requires the button element instead of an anchor tag.
25
- // If you want the anchor version, it requires `href="#"`.
26
- button& {
27
- padding: 0;
28
- cursor: pointer;
29
- background: transparent;
30
- border: 0;
31
- -webkit-appearance: none;
32
- }
33
- }
@@ -1,63 +0,0 @@
1
- //
2
- // Code (inline and block)
3
- // --------------------------------------------------
4
-
5
-
6
- // Inline and block code styles
7
- code,
8
- kbd,
9
- pre,
10
- samp {
11
- font-family: @font-family-monospace;
12
- }
13
-
14
- // Inline code
15
- code {
16
- padding: 2px 4px;
17
- font-size: 90%;
18
- color: @code-color;
19
- background-color: @code-bg;
20
- white-space: nowrap;
21
- border-radius: @border-radius-base;
22
- }
23
-
24
- // User input typically entered via keyboard
25
- kbd {
26
- padding: 2px 4px;
27
- font-size: 90%;
28
- color: @kbd-color;
29
- background-color: @kbd-bg;
30
- border-radius: @border-radius-small;
31
- box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
32
- }
33
-
34
- // Blocks of code
35
- pre {
36
- display: block;
37
- padding: ((@line-height-computed - 1) / 2);
38
- margin: 0 0 (@line-height-computed / 2);
39
- font-size: (@font-size-base - 1); // 14px to 13px
40
- line-height: @line-height-base;
41
- word-break: break-all;
42
- word-wrap: break-word;
43
- color: @pre-color;
44
- background-color: @pre-bg;
45
- border: 1px solid @pre-border-color;
46
- border-radius: @border-radius-base;
47
-
48
- // Account for some code outputs that place code tags in pre tags
49
- code {
50
- padding: 0;
51
- font-size: inherit;
52
- color: inherit;
53
- white-space: pre-wrap;
54
- background-color: transparent;
55
- border-radius: 0;
56
- }
57
- }
58
-
59
- // Enable scrollable blocks of code
60
- .pre-scrollable {
61
- max-height: @pre-scrollable-max-height;
62
- overflow-y: scroll;
63
- }
@@ -1,29 +0,0 @@
1
- //
2
- // Component animations
3
- // --------------------------------------------------
4
-
5
- // Heads up!
6
- //
7
- // We don't use the `.opacity()` mixin here since it causes a bug with text
8
- // fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
9
-
10
- .fade {
11
- opacity: 0;
12
- .transition(opacity .15s linear);
13
- &.in {
14
- opacity: 1;
15
- }
16
- }
17
-
18
- .collapse {
19
- display: none;
20
- &.in {
21
- display: block;
22
- }
23
- }
24
- .collapsing {
25
- position: relative;
26
- height: 0;
27
- overflow: hidden;
28
- .transition(height .35s ease);
29
- }
@@ -1,213 +0,0 @@
1
- //
2
- // Dropdown menus
3
- // --------------------------------------------------
4
-
5
-
6
- // Dropdown arrow/caret
7
- .caret {
8
- display: inline-block;
9
- width: 0;
10
- height: 0;
11
- margin-left: 2px;
12
- vertical-align: middle;
13
- border-top: @caret-width-base solid;
14
- border-right: @caret-width-base solid transparent;
15
- border-left: @caret-width-base solid transparent;
16
- }
17
-
18
- // The dropdown wrapper (div)
19
- .dropdown {
20
- position: relative;
21
- }
22
-
23
- // Prevent the focus on the dropdown toggle when closing dropdowns
24
- .dropdown-toggle:focus {
25
- outline: 0;
26
- }
27
-
28
- // The dropdown menu (ul)
29
- .dropdown-menu {
30
- position: absolute;
31
- top: 100%;
32
- left: 0;
33
- z-index: @zindex-dropdown;
34
- display: none; // none by default, but block on "open" of the menu
35
- float: left;
36
- min-width: 160px;
37
- padding: 5px 0;
38
- margin: 2px 0 0; // override default ul
39
- list-style: none;
40
- font-size: @font-size-base;
41
- background-color: @dropdown-bg;
42
- border: 1px solid @dropdown-fallback-border; // IE8 fallback
43
- border: 1px solid @dropdown-border;
44
- border-radius: @border-radius-base;
45
- .box-shadow(0 6px 12px rgba(0,0,0,.175));
46
- background-clip: padding-box;
47
-
48
- // Aligns the dropdown menu to right
49
- //
50
- // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
51
- &.pull-right {
52
- right: 0;
53
- left: auto;
54
- }
55
-
56
- // Dividers (basically an hr) within the dropdown
57
- .divider {
58
- .nav-divider(@dropdown-divider-bg);
59
- }
60
-
61
- // Links within the dropdown menu
62
- > li > a {
63
- display: block;
64
- padding: 3px 20px;
65
- clear: both;
66
- font-weight: normal;
67
- line-height: @line-height-base;
68
- color: @dropdown-link-color;
69
- white-space: nowrap; // prevent links from randomly breaking onto new lines
70
- }
71
- }
72
-
73
- // Hover/Focus state
74
- .dropdown-menu > li > a {
75
- &:hover,
76
- &:focus {
77
- text-decoration: none;
78
- color: @dropdown-link-hover-color;
79
- background-color: @dropdown-link-hover-bg;
80
- }
81
- }
82
-
83
- // Active state
84
- .dropdown-menu > .active > a {
85
- &,
86
- &:hover,
87
- &:focus {
88
- color: @dropdown-link-active-color;
89
- text-decoration: none;
90
- outline: 0;
91
- background-color: @dropdown-link-active-bg;
92
- }
93
- }
94
-
95
- // Disabled state
96
- //
97
- // Gray out text and ensure the hover/focus state remains gray
98
-
99
- .dropdown-menu > .disabled > a {
100
- &,
101
- &:hover,
102
- &:focus {
103
- color: @dropdown-link-disabled-color;
104
- }
105
- }
106
- // Nuke hover/focus effects
107
- .dropdown-menu > .disabled > a {
108
- &:hover,
109
- &:focus {
110
- text-decoration: none;
111
- background-color: transparent;
112
- background-image: none; // Remove CSS gradient
113
- .reset-filter();
114
- cursor: not-allowed;
115
- }
116
- }
117
-
118
- // Open state for the dropdown
119
- .open {
120
- // Show the menu
121
- > .dropdown-menu {
122
- display: block;
123
- }
124
-
125
- // Remove the outline when :focus is triggered
126
- > a {
127
- outline: 0;
128
- }
129
- }
130
-
131
- // Menu positioning
132
- //
133
- // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
134
- // menu with the parent.
135
- .dropdown-menu-right {
136
- left: auto; // Reset the default from `.dropdown-menu`
137
- right: 0;
138
- }
139
- // With v3, we enabled auto-flipping if you have a dropdown within a right
140
- // aligned nav component. To enable the undoing of that, we provide an override
141
- // to restore the default dropdown menu alignment.
142
- //
143
- // This is only for left-aligning a dropdown menu within a `.navbar-right` or
144
- // `.pull-right` nav component.
145
- .dropdown-menu-left {
146
- left: 0;
147
- right: auto;
148
- }
149
-
150
- // Dropdown section headers
151
- .dropdown-header {
152
- display: block;
153
- padding: 3px 20px;
154
- font-size: @font-size-small;
155
- line-height: @line-height-base;
156
- color: @dropdown-header-color;
157
- }
158
-
159
- // Backdrop to catch body clicks on mobile, etc.
160
- .dropdown-backdrop {
161
- position: fixed;
162
- left: 0;
163
- right: 0;
164
- bottom: 0;
165
- top: 0;
166
- z-index: (@zindex-dropdown - 10);
167
- }
168
-
169
- // Right aligned dropdowns
170
- .pull-right > .dropdown-menu {
171
- right: 0;
172
- left: auto;
173
- }
174
-
175
- // Allow for dropdowns to go bottom up (aka, dropup-menu)
176
- //
177
- // Just add .dropup after the standard .dropdown class and you're set, bro.
178
- // TODO: abstract this so that the navbar fixed styles are not placed here?
179
-
180
- .dropup,
181
- .navbar-fixed-bottom .dropdown {
182
- // Reverse the caret
183
- .caret {
184
- border-top: 0;
185
- border-bottom: @caret-width-base solid;
186
- content: "";
187
- }
188
- // Different positioning for bottom up menu
189
- .dropdown-menu {
190
- top: auto;
191
- bottom: 100%;
192
- margin-bottom: 1px;
193
- }
194
- }
195
-
196
-
197
- // Component alignment
198
- //
199
- // Reiterate per navbar.less and the modified component alignment there.
200
-
201
- @media (min-width: @grid-float-breakpoint) {
202
- .navbar-right {
203
- .dropdown-menu {
204
- .dropdown-menu-right();
205
- }
206
- // Necessary for overrides of the default right aligned menu.
207
- // Will remove come v4 in all likelihood.
208
- .dropdown-menu-left {
209
- .dropdown-menu-left();
210
- }
211
- }
212
- }
213
-