bootstrap-jasny 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +20 -0
  3. data/README.rdoc +27 -0
  4. data/lib/bootstrap-jasny.rb +51 -0
  5. data/lib/bootstrap-jasny/compass_functions.rb +24 -0
  6. data/lib/bootstrap-jasny/engine.rb +7 -0
  7. data/lib/bootstrap-jasny/less_functions.rb +14 -0
  8. data/vendor/assets/fonts/bootstrap/iconic/iconic_fill.eot +0 -0
  9. data/vendor/assets/fonts/bootstrap/iconic/iconic_fill.otf +0 -0
  10. data/vendor/assets/fonts/bootstrap/iconic/iconic_fill.svg +475 -0
  11. data/vendor/assets/fonts/bootstrap/iconic/iconic_fill.ttf +0 -0
  12. data/vendor/assets/fonts/bootstrap/iconic/iconic_fill.woff +0 -0
  13. data/vendor/assets/fonts/bootstrap/iconic/iconic_stroke.eot +0 -0
  14. data/vendor/assets/fonts/bootstrap/iconic/iconic_stroke.otf +0 -0
  15. data/vendor/assets/fonts/bootstrap/iconic/iconic_stroke.svg +492 -0
  16. data/vendor/assets/fonts/bootstrap/iconic/iconic_stroke.ttf +0 -0
  17. data/vendor/assets/fonts/bootstrap/iconic/iconic_stroke.woff +0 -0
  18. data/vendor/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
  19. data/vendor/assets/images/bootstrap/glyphicons-halflings.png +0 -0
  20. data/vendor/assets/javascripts/bootstrap-affix.js +117 -0
  21. data/vendor/assets/javascripts/bootstrap-alert.js +99 -0
  22. data/vendor/assets/javascripts/bootstrap-button.js +105 -0
  23. data/vendor/assets/javascripts/bootstrap-carousel.js +207 -0
  24. data/vendor/assets/javascripts/bootstrap-collapse.js +167 -0
  25. data/vendor/assets/javascripts/bootstrap-dropdown.js +165 -0
  26. data/vendor/assets/javascripts/bootstrap-fileupload.js +169 -0
  27. data/vendor/assets/javascripts/bootstrap-inputmask.js +355 -0
  28. data/vendor/assets/javascripts/bootstrap-modal.js +247 -0
  29. data/vendor/assets/javascripts/bootstrap-popover.js +114 -0
  30. data/vendor/assets/javascripts/bootstrap-rowlink.js +71 -0
  31. data/vendor/assets/javascripts/bootstrap-scrollspy.js +162 -0
  32. data/vendor/assets/javascripts/bootstrap-tab.js +144 -0
  33. data/vendor/assets/javascripts/bootstrap-tooltip.js +361 -0
  34. data/vendor/assets/javascripts/bootstrap-transition.js +60 -0
  35. data/vendor/assets/javascripts/bootstrap-typeahead.js +524 -0
  36. data/vendor/assets/javascripts/bootstrap.js +21 -0
  37. data/vendor/assets/stylesheets/bootstrap-responsive.less +1 -0
  38. data/vendor/assets/stylesheets/bootstrap.less +2 -0
  39. data/vendor/assets/stylesheets/bootstrap/accordion.less +34 -0
  40. data/vendor/assets/stylesheets/bootstrap/action-areas.less +14 -0
  41. data/vendor/assets/stylesheets/bootstrap/action-links.less +57 -0
  42. data/vendor/assets/stylesheets/bootstrap/alerts.less +79 -0
  43. data/vendor/assets/stylesheets/bootstrap/bootstrap.less +63 -0
  44. data/vendor/assets/stylesheets/bootstrap/breadcrumbs.less +24 -0
  45. data/vendor/assets/stylesheets/bootstrap/button-groups.less +229 -0
  46. data/vendor/assets/stylesheets/bootstrap/buttons.less +228 -0
  47. data/vendor/assets/stylesheets/bootstrap/carousel.less +158 -0
  48. data/vendor/assets/stylesheets/bootstrap/close.less +32 -0
  49. data/vendor/assets/stylesheets/bootstrap/code.less +61 -0
  50. data/vendor/assets/stylesheets/bootstrap/component-animations.less +22 -0
  51. data/vendor/assets/stylesheets/bootstrap/dropdowns.less +237 -0
  52. data/vendor/assets/stylesheets/bootstrap/fileupload.less +105 -0
  53. data/vendor/assets/stylesheets/bootstrap/forms-uneditable.less +159 -0
  54. data/vendor/assets/stylesheets/bootstrap/forms.less +690 -0
  55. data/vendor/assets/stylesheets/bootstrap/grid.less +21 -0
  56. data/vendor/assets/stylesheets/bootstrap/hero-unit.less +25 -0
  57. data/vendor/assets/stylesheets/bootstrap/iconic.less +209 -0
  58. data/vendor/assets/stylesheets/bootstrap/jasny-bootstrap.less +31 -0
  59. data/vendor/assets/stylesheets/bootstrap/jasny-forms.less +99 -0
  60. data/vendor/assets/stylesheets/bootstrap/jasny-forms.responsive-1200px-min.less +16 -0
  61. data/vendor/assets/stylesheets/bootstrap/jasny-forms.responsive-767px-max.less +17 -0
  62. data/vendor/assets/stylesheets/bootstrap/jasny-forms.responsive-768px-979px.less +36 -0
  63. data/vendor/assets/stylesheets/bootstrap/jasny-navs-tabbable.less +148 -0
  64. data/vendor/assets/stylesheets/bootstrap/jasny-responsive.less +27 -0
  65. data/vendor/assets/stylesheets/bootstrap/labels-badges.less +84 -0
  66. data/vendor/assets/stylesheets/bootstrap/layouts-semifluid.less +11 -0
  67. data/vendor/assets/stylesheets/bootstrap/layouts-semifluid.responsive-1200px-min.less +7 -0
  68. data/vendor/assets/stylesheets/bootstrap/layouts.less +16 -0
  69. data/vendor/assets/stylesheets/bootstrap/media.less +55 -0
  70. data/vendor/assets/stylesheets/bootstrap/mixins.less +702 -0
  71. data/vendor/assets/stylesheets/bootstrap/modals.less +95 -0
  72. data/vendor/assets/stylesheets/bootstrap/navbar.less +497 -0
  73. data/vendor/assets/stylesheets/bootstrap/navs.less +409 -0
  74. data/vendor/assets/stylesheets/bootstrap/page-alert.less +23 -0
  75. data/vendor/assets/stylesheets/bootstrap/page-alert.responsive-1200px-min.less +11 -0
  76. data/vendor/assets/stylesheets/bootstrap/page-alert.responsive-767px-max.less +20 -0
  77. data/vendor/assets/stylesheets/bootstrap/pager.less +43 -0
  78. data/vendor/assets/stylesheets/bootstrap/pagination.less +123 -0
  79. data/vendor/assets/stylesheets/bootstrap/popovers.less +133 -0
  80. data/vendor/assets/stylesheets/bootstrap/progress-bars.less +122 -0
  81. data/vendor/assets/stylesheets/bootstrap/reset.less +216 -0
  82. data/vendor/assets/stylesheets/bootstrap/responsive-1200px-min.less +28 -0
  83. data/vendor/assets/stylesheets/bootstrap/responsive-767px-max.less +193 -0
  84. data/vendor/assets/stylesheets/bootstrap/responsive-768px-979px.less +19 -0
  85. data/vendor/assets/stylesheets/bootstrap/responsive-navbar.less +189 -0
  86. data/vendor/assets/stylesheets/bootstrap/responsive-row-desktop.less +23 -0
  87. data/vendor/assets/stylesheets/bootstrap/responsive-tables.less +30 -0
  88. data/vendor/assets/stylesheets/bootstrap/responsive-utilities.less +59 -0
  89. data/vendor/assets/stylesheets/bootstrap/responsive.less +48 -0
  90. data/vendor/assets/stylesheets/bootstrap/rowlink.less +20 -0
  91. data/vendor/assets/stylesheets/bootstrap/scaffolding.less +53 -0
  92. data/vendor/assets/stylesheets/bootstrap/sprites.less +197 -0
  93. data/vendor/assets/stylesheets/bootstrap/tables.less +244 -0
  94. data/vendor/assets/stylesheets/bootstrap/thumbnails.less +53 -0
  95. data/vendor/assets/stylesheets/bootstrap/tooltip.less +70 -0
  96. data/vendor/assets/stylesheets/bootstrap/type.less +247 -0
  97. data/vendor/assets/stylesheets/bootstrap/utilities.less +30 -0
  98. data/vendor/assets/stylesheets/bootstrap/variables.less +302 -0
  99. data/vendor/assets/stylesheets/bootstrap/wells.less +29 -0
  100. metadata +241 -0
@@ -0,0 +1,21 @@
1
+ !function() {
2
+ var ts = document.getElementsByTagName("script")
3
+ var dir = ts[ ts.length - 1 ].src.replace(/\/[^\/]+$/, '')
4
+
5
+ document.write('<script src="'+dir+'/bootstrap-transition.js" type="text/javascript"></script>')
6
+ document.write('<script src="'+dir+'/bootstrap-alert.js" type="text/javascript"></script>')
7
+ document.write('<script src="'+dir+'/bootstrap-button.js" type="text/javascript"></script>')
8
+ document.write('<script src="'+dir+'/bootstrap-carousel.js" type="text/javascript"></script>')
9
+ document.write('<script src="'+dir+'/bootstrap-collapse.js" type="text/javascript"></script>')
10
+ document.write('<script src="'+dir+'/bootstrap-dropdown.js" type="text/javascript"></script>')
11
+ document.write('<script src="'+dir+'/bootstrap-modal.js" type="text/javascript"></script>')
12
+ document.write('<script src="'+dir+'/bootstrap-tooltip.js" type="text/javascript"></script>')
13
+ document.write('<script src="'+dir+'/bootstrap-popover.js" type="text/javascript"></script>')
14
+ document.write('<script src="'+dir+'/bootstrap-scrollspy.js" type="text/javascript"></script>')
15
+ document.write('<script src="'+dir+'/bootstrap-tab.js" type="text/javascript"></script>')
16
+ document.write('<script src="'+dir+'/bootstrap-typeahead.js" type="text/javascript"></script>')
17
+ document.write('<script src="'+dir+'/bootstrap-inputmask.js" type="text/javascript"></script>')
18
+ document.write('<script src="'+dir+'/bootstrap-rowlink.js" type="text/javascript"></script>')
19
+ document.write('<script src="'+dir+'/bootstrap-fileupload.js" type="text/javascript"></script>')
20
+ document.write('<script src="'+dir+'/bootstrap-affix.js" type="text/javascript"></script>')
21
+ }();
@@ -0,0 +1 @@
1
+ @import "bootstrap/jasny-responsive";
@@ -0,0 +1,2 @@
1
+ @import "bootstrap/bootstrap";
2
+ @import "bootstrap/jasny-bootstrap";
@@ -0,0 +1,34 @@
1
+ //
2
+ // Accordion
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Parent container
7
+ .accordion {
8
+ margin-bottom: @baseLineHeight;
9
+ }
10
+
11
+ // Group == heading + body
12
+ .accordion-group {
13
+ margin-bottom: 2px;
14
+ border: 1px solid #e5e5e5;
15
+ .border-radius(@baseBorderRadius);
16
+ }
17
+ .accordion-heading {
18
+ border-bottom: 0;
19
+ }
20
+ .accordion-heading .accordion-toggle {
21
+ display: block;
22
+ padding: 8px 15px;
23
+ }
24
+
25
+ // General toggle styles
26
+ .accordion-toggle {
27
+ cursor: pointer;
28
+ }
29
+
30
+ // Inner needs the styles because you can't animate properly with any styles on the element
31
+ .accordion-inner {
32
+ padding: 9px 15px;
33
+ border-top: 1px solid #e5e5e5;
34
+ }
@@ -0,0 +1,14 @@
1
+ // Action-areas.less
2
+ // -----------------
3
+
4
+ // Page header actions
5
+ .header-actions {
6
+ line-height: 36px;
7
+ padding: 0 20px;
8
+ }
9
+
10
+ // Table actions
11
+ .table-actions {
12
+ .clearfix();
13
+ padding-bottom: 20px;
14
+ }
@@ -0,0 +1,57 @@
1
+ // ACTION LINK STYLES
2
+ // ------------------
3
+
4
+ .act {
5
+ background: inherit;
6
+ border: none;
7
+ display: inline;
8
+ padding: 0;
9
+ color: #555555;
10
+ font-weight: bold;
11
+ .transition(text-shadow .1s linear);
12
+ &:hover {
13
+ color: #333333;
14
+ text-decoration: none;
15
+ text-shadow: 1px 1px 3px rgba(85, 85, 85, 0.5);
16
+ }
17
+ }
18
+
19
+ // Mixin for alternative styles
20
+ .act-style(@normal, @hover) {
21
+ color: @normal;
22
+ &:hover {
23
+ color: @hover;
24
+ text-shadow: 1px 1px 3px hsla(hue(@normal), saturation(@normal), lightness(@normal), 0.5);
25
+ }
26
+ }
27
+
28
+ // Alternative styles
29
+ .act-primary {
30
+ .act-style(#006DCC, #0044CC);
31
+ }
32
+ .act-info {
33
+ .act-style(#49AFCD, #2F96B4);
34
+ }
35
+ .act-success {
36
+ .act-style(#51A351, #468847);
37
+ }
38
+ .act-warning {
39
+ .act-style(#C09853, #F89406);
40
+ }
41
+ .act-danger {
42
+ .act-style(#B94A48, #BD362F);
43
+ }
44
+
45
+ .act.disabled,
46
+ .act[disabled] {
47
+ color: #AAAAAA;
48
+ cursor: not-allowed;
49
+ &:hover {
50
+ color: #AAAAAA;
51
+ text-shadow: none;
52
+ }
53
+ }
54
+
55
+ .form-actions .act {
56
+ line-height: 30px;
57
+ }
@@ -0,0 +1,79 @@
1
+ //
2
+ // Alerts
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // -------------------------
8
+
9
+ .alert {
10
+ padding: 8px 35px 8px 14px;
11
+ margin-bottom: @baseLineHeight;
12
+ text-shadow: 0 1px 0 rgba(255,255,255,.5);
13
+ background-color: @warningBackground;
14
+ border: 1px solid @warningBorder;
15
+ .border-radius(@baseBorderRadius);
16
+ }
17
+ .alert,
18
+ .alert h4 {
19
+ // Specified for the h4 to prevent conflicts of changing @headingsColor
20
+ color: @warningText;
21
+ }
22
+ .alert h4 {
23
+ margin: 0;
24
+ }
25
+
26
+ // Adjust close link position
27
+ .alert .close {
28
+ position: relative;
29
+ top: -2px;
30
+ right: -21px;
31
+ line-height: @baseLineHeight;
32
+ }
33
+
34
+
35
+ // Alternate styles
36
+ // -------------------------
37
+
38
+ .alert-success {
39
+ background-color: @successBackground;
40
+ border-color: @successBorder;
41
+ color: @successText;
42
+ }
43
+ .alert-success h4 {
44
+ color: @successText;
45
+ }
46
+ .alert-danger,
47
+ .alert-error {
48
+ background-color: @errorBackground;
49
+ border-color: @errorBorder;
50
+ color: @errorText;
51
+ }
52
+ .alert-danger h4,
53
+ .alert-error h4 {
54
+ color: @errorText;
55
+ }
56
+ .alert-info {
57
+ background-color: @infoBackground;
58
+ border-color: @infoBorder;
59
+ color: @infoText;
60
+ }
61
+ .alert-info h4 {
62
+ color: @infoText;
63
+ }
64
+
65
+
66
+ // Block alerts
67
+ // -------------------------
68
+
69
+ .alert-block {
70
+ padding-top: 14px;
71
+ padding-bottom: 14px;
72
+ }
73
+ .alert-block > p,
74
+ .alert-block > ul {
75
+ margin-bottom: 0;
76
+ }
77
+ .alert-block p + p {
78
+ margin-top: 5px;
79
+ }
@@ -0,0 +1,63 @@
1
+ /*!
2
+ * Bootstrap v2.3.1
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+
11
+ // Core variables and mixins
12
+ @import "variables.less"; // Modify this for custom colors, font-sizes, etc
13
+ @import "mixins.less";
14
+
15
+ // CSS Reset
16
+ @import "reset.less";
17
+
18
+ // Grid system and page structure
19
+ @import "scaffolding.less";
20
+ @import "grid.less";
21
+ @import "layouts.less";
22
+
23
+ // Base CSS
24
+ @import "type.less";
25
+ @import "code.less";
26
+ @import "forms.less";
27
+ @import "tables.less";
28
+
29
+ // Components: common
30
+ @import "sprites.less";
31
+ @import "dropdowns.less";
32
+ @import "wells.less";
33
+ @import "component-animations.less";
34
+ @import "close.less";
35
+
36
+ // Components: Buttons & Alerts
37
+ @import "buttons.less";
38
+ @import "button-groups.less";
39
+ @import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less
40
+
41
+ // Components: Nav
42
+ @import "navs.less";
43
+ @import "navbar.less";
44
+ @import "breadcrumbs.less";
45
+ @import "pagination.less";
46
+ @import "pager.less";
47
+
48
+ // Components: Popovers
49
+ @import "modals.less";
50
+ @import "tooltip.less";
51
+ @import "popovers.less";
52
+
53
+ // Components: Misc
54
+ @import "thumbnails.less";
55
+ @import "media.less";
56
+ @import "labels-badges.less";
57
+ @import "progress-bars.less";
58
+ @import "accordion.less";
59
+ @import "carousel.less";
60
+ @import "hero-unit.less";
61
+
62
+ // Utility classes
63
+ @import "utilities.less"; // Has to be last to override when necessary
@@ -0,0 +1,24 @@
1
+ //
2
+ // Breadcrumbs
3
+ // --------------------------------------------------
4
+
5
+
6
+ .breadcrumb {
7
+ padding: 8px 15px;
8
+ margin: 0 0 @baseLineHeight;
9
+ list-style: none;
10
+ background-color: #f5f5f5;
11
+ .border-radius(@baseBorderRadius);
12
+ > li {
13
+ display: inline-block;
14
+ .ie7-inline-block();
15
+ text-shadow: 0 1px 0 @white;
16
+ > .divider {
17
+ padding: 0 5px;
18
+ color: #ccc;
19
+ }
20
+ }
21
+ > .active {
22
+ color: @grayLight;
23
+ }
24
+ }
@@ -0,0 +1,229 @@
1
+ //
2
+ // Button groups
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Make the div behave like a button
7
+ .btn-group {
8
+ position: relative;
9
+ display: inline-block;
10
+ .ie7-inline-block();
11
+ font-size: 0; // remove as part 1 of font-size inline-block hack
12
+ vertical-align: middle; // match .btn alignment given font-size hack above
13
+ white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page)
14
+ .ie7-restore-left-whitespace();
15
+ }
16
+
17
+ // Space out series of button groups
18
+ .btn-group + .btn-group {
19
+ margin-left: 5px;
20
+ }
21
+
22
+ // Optional: Group multiple button groups together for a toolbar
23
+ .btn-toolbar {
24
+ font-size: 0; // Hack to remove whitespace that results from using inline-block
25
+ margin-top: @baseLineHeight / 2;
26
+ margin-bottom: @baseLineHeight / 2;
27
+ > .btn + .btn,
28
+ > .btn-group + .btn,
29
+ > .btn + .btn-group {
30
+ margin-left: 5px;
31
+ }
32
+ }
33
+
34
+ // Float them, remove border radius, then re-add to first and last elements
35
+ .btn-group > .btn {
36
+ position: relative;
37
+ .border-radius(0);
38
+ }
39
+ .btn-group > .btn + .btn {
40
+ margin-left: -1px;
41
+ }
42
+ .btn-group > .btn,
43
+ .btn-group > .dropdown-menu,
44
+ .btn-group > .popover {
45
+ font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack
46
+ }
47
+
48
+ // Reset fonts for other sizes
49
+ .btn-group > .btn-mini {
50
+ font-size: @fontSizeMini;
51
+ }
52
+ .btn-group > .btn-small {
53
+ font-size: @fontSizeSmall;
54
+ }
55
+ .btn-group > .btn-large {
56
+ font-size: @fontSizeLarge;
57
+ }
58
+
59
+ // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
60
+ .btn-group > .btn:first-child {
61
+ margin-left: 0;
62
+ .border-top-left-radius(@baseBorderRadius);
63
+ .border-bottom-left-radius(@baseBorderRadius);
64
+ }
65
+ // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
66
+ .btn-group > .btn:last-child,
67
+ .btn-group > .dropdown-toggle {
68
+ .border-top-right-radius(@baseBorderRadius);
69
+ .border-bottom-right-radius(@baseBorderRadius);
70
+ }
71
+ // Reset corners for large buttons
72
+ .btn-group > .btn.large:first-child {
73
+ margin-left: 0;
74
+ .border-top-left-radius(@borderRadiusLarge);
75
+ .border-bottom-left-radius(@borderRadiusLarge);
76
+ }
77
+ .btn-group > .btn.large:last-child,
78
+ .btn-group > .large.dropdown-toggle {
79
+ .border-top-right-radius(@borderRadiusLarge);
80
+ .border-bottom-right-radius(@borderRadiusLarge);
81
+ }
82
+
83
+ // On hover/focus/active, bring the proper btn to front
84
+ .btn-group > .btn:hover,
85
+ .btn-group > .btn:focus,
86
+ .btn-group > .btn:active,
87
+ .btn-group > .btn.active {
88
+ z-index: 2;
89
+ }
90
+
91
+ // On active and open, don't show outline
92
+ .btn-group .dropdown-toggle:active,
93
+ .btn-group.open .dropdown-toggle {
94
+ outline: 0;
95
+ }
96
+
97
+
98
+
99
+ // Split button dropdowns
100
+ // ----------------------
101
+
102
+ // Give the line between buttons some depth
103
+ .btn-group > .btn + .dropdown-toggle {
104
+ padding-left: 8px;
105
+ padding-right: 8px;
106
+ .box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
107
+ *padding-top: 5px;
108
+ *padding-bottom: 5px;
109
+ }
110
+ .btn-group > .btn-mini + .dropdown-toggle {
111
+ padding-left: 5px;
112
+ padding-right: 5px;
113
+ *padding-top: 2px;
114
+ *padding-bottom: 2px;
115
+ }
116
+ .btn-group > .btn-small + .dropdown-toggle {
117
+ *padding-top: 5px;
118
+ *padding-bottom: 4px;
119
+ }
120
+ .btn-group > .btn-large + .dropdown-toggle {
121
+ padding-left: 12px;
122
+ padding-right: 12px;
123
+ *padding-top: 7px;
124
+ *padding-bottom: 7px;
125
+ }
126
+
127
+ .btn-group.open {
128
+
129
+ // The clickable button for toggling the menu
130
+ // Remove the gradient and set the same inset shadow as the :active state
131
+ .dropdown-toggle {
132
+ background-image: none;
133
+ .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)");
134
+ }
135
+
136
+ // Keep the hover's background when dropdown is open
137
+ .btn.dropdown-toggle {
138
+ background-color: @btnBackgroundHighlight;
139
+ }
140
+ .btn-primary.dropdown-toggle {
141
+ background-color: @btnPrimaryBackgroundHighlight;
142
+ }
143
+ .btn-warning.dropdown-toggle {
144
+ background-color: @btnWarningBackgroundHighlight;
145
+ }
146
+ .btn-danger.dropdown-toggle {
147
+ background-color: @btnDangerBackgroundHighlight;
148
+ }
149
+ .btn-success.dropdown-toggle {
150
+ background-color: @btnSuccessBackgroundHighlight;
151
+ }
152
+ .btn-info.dropdown-toggle {
153
+ background-color: @btnInfoBackgroundHighlight;
154
+ }
155
+ .btn-inverse.dropdown-toggle {
156
+ background-color: @btnInverseBackgroundHighlight;
157
+ }
158
+ }
159
+
160
+
161
+ // Reposition the caret
162
+ .btn .caret {
163
+ margin-top: 8px;
164
+ margin-left: 0;
165
+ }
166
+ // Carets in other button sizes
167
+ .btn-large .caret {
168
+ margin-top: 6px;
169
+ }
170
+ .btn-large .caret {
171
+ border-left-width: 5px;
172
+ border-right-width: 5px;
173
+ border-top-width: 5px;
174
+ }
175
+ .btn-mini .caret,
176
+ .btn-small .caret {
177
+ margin-top: 8px;
178
+ }
179
+ // Upside down carets for .dropup
180
+ .dropup .btn-large .caret {
181
+ border-bottom-width: 5px;
182
+ }
183
+
184
+
185
+
186
+ // Account for other colors
187
+ .btn-primary,
188
+ .btn-warning,
189
+ .btn-danger,
190
+ .btn-info,
191
+ .btn-success,
192
+ .btn-inverse {
193
+ .caret {
194
+ border-top-color: @white;
195
+ border-bottom-color: @white;
196
+ }
197
+ }
198
+
199
+
200
+
201
+ // Vertical button groups
202
+ // ----------------------
203
+
204
+ .btn-group-vertical {
205
+ display: inline-block; // makes buttons only take up the width they need
206
+ .ie7-inline-block();
207
+ }
208
+ .btn-group-vertical > .btn {
209
+ display: block;
210
+ float: none;
211
+ max-width: 100%;
212
+ .border-radius(0);
213
+ }
214
+ .btn-group-vertical > .btn + .btn {
215
+ margin-left: 0;
216
+ margin-top: -1px;
217
+ }
218
+ .btn-group-vertical > .btn:first-child {
219
+ .border-radius(@baseBorderRadius @baseBorderRadius 0 0);
220
+ }
221
+ .btn-group-vertical > .btn:last-child {
222
+ .border-radius(0 0 @baseBorderRadius @baseBorderRadius);
223
+ }
224
+ .btn-group-vertical > .btn-large:first-child {
225
+ .border-radius(@borderRadiusLarge @borderRadiusLarge 0 0);
226
+ }
227
+ .btn-group-vertical > .btn-large:last-child {
228
+ .border-radius(0 0 @borderRadiusLarge @borderRadiusLarge);
229
+ }