bootstrap-sass-rtl 2.3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/bootstrap-sass-rtl.gemspec +24 -0
- data/lib/bootstrap/sass/rtl.rb +10 -0
- data/lib/bootstrap/sass/rtl/version.rb +7 -0
- data/vendor/assets/stylesheets/bootstrap-responsive-rtl.scss +1 -0
- data/vendor/assets/stylesheets/bootstrap-rtl.scss +1 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_accordion.scss +34 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_alerts.scss +79 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_breadcrumbs.scss +24 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_button-groups.scss +229 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_buttons.scss +228 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_carousel.scss +158 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_close.scss +32 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_code.scss +61 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_component-animations.scss +22 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_dropdowns.scss +237 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_forms.scss +689 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_grid.scss +21 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_hero-unit.scss +25 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_labels-badges.scss +83 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_layouts.scss +16 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_media.scss +55 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_mixins.scss +690 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_modals.scss +95 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_navbar.scss +497 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_navs.scss +409 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_pager.scss +43 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_pagination.scss +123 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_popovers.scss +133 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_progress-bars.scss +122 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_reset.scss +216 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_responsive-1200px-min.scss +28 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_responsive-767px-max.scss +193 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_responsive-768px-979px.scss +19 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_responsive-navbar.scss +189 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_responsive-utilities.scss +74 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_scaffolding.scss +53 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_sprites.scss +197 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_tables.scss +235 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_thumbnails.scss +53 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_tooltip.scss +70 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_type.scss +247 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_utilities.scss +45 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_variables.scss +301 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/_wells.scss +29 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/bootstrap.scss +63 -0
- data/vendor/assets/stylesheets/bootstrap-rtl/responsive.scss +48 -0
- metadata +137 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: dc1194b70a7b20f95c2ea76dea0b4b28498363e9
|
4
|
+
data.tar.gz: 3b208bfe8bc072490c62fee660d6302984398c13
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 65fe7d26b0fe347e6d9711265a33da442db6bac19eaba768462777d64518b871c717b685e228de3488d2c129747a015722636d8210bf35a79d563498db60a33e
|
7
|
+
data.tar.gz: 0094080266ff32106f65c3c724292ce83d94b22ca05e8a66d36b2d658a3242c5e16f24c442e59848b974e7042dd934f39d72fcf718867af8672a75df5611ece6
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Alif Rachmawadi
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Bootstrap::Sass::Rtl
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'bootstrap-sass-rtl'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install bootstrap-sass-rtl
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'bootstrap/sass/rtl/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "bootstrap-sass-rtl"
|
8
|
+
spec.version = Bootstrap::Sass::Rtl::VERSION
|
9
|
+
spec.authors = ["Alif Rachmawadi"]
|
10
|
+
spec.email = ["subosito@gmail.com"]
|
11
|
+
spec.description = %q{RTL version of bootstrap-sass}
|
12
|
+
spec.summary = spec.description
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "bootstrap-sass", "~> 2.3.0"
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
23
|
+
spec.add_development_dependency "rake"
|
24
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "bootstrap-rtl/responsive";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "bootstrap-rtl/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
|
+
@include 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,79 @@
|
|
1
|
+
//
|
2
|
+
// Alerts
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base styles
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
.alert {
|
10
|
+
padding: 8px 14px 8px 35px;
|
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
|
+
@include 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
|
+
left: -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,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
|
+
@include border-radius($baseBorderRadius);
|
12
|
+
> li {
|
13
|
+
display: inline-block;
|
14
|
+
@include 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
|
+
@include 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
|
+
@include ie7-restore-right-whitespace();
|
15
|
+
}
|
16
|
+
|
17
|
+
// Space out series of button groups
|
18
|
+
.btn-group + .btn-group {
|
19
|
+
margin-right: 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-right: 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
|
+
@include border-radius(0);
|
38
|
+
}
|
39
|
+
.btn-group > .btn + .btn {
|
40
|
+
margin-right: -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-right: 0;
|
62
|
+
@include border-top-right-radius($baseBorderRadius);
|
63
|
+
@include border-bottom-right-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
|
+
@include border-top-left-radius($baseBorderRadius);
|
69
|
+
@include border-bottom-left-radius($baseBorderRadius);
|
70
|
+
}
|
71
|
+
// Reset corners for large buttons
|
72
|
+
.btn-group > .btn.large:first-child {
|
73
|
+
margin-right: 0;
|
74
|
+
@include border-top-right-radius($borderRadiusLarge);
|
75
|
+
@include border-bottom-right-radius($borderRadiusLarge);
|
76
|
+
}
|
77
|
+
.btn-group > .btn.large:last-child,
|
78
|
+
.btn-group > .large.dropdown-toggle {
|
79
|
+
@include border-top-left-radius($borderRadiusLarge);
|
80
|
+
@include border-bottom-left-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-right: 8px;
|
105
|
+
padding-left: 8px;
|
106
|
+
@include 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-right: 5px;
|
112
|
+
padding-left: 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-right: 12px;
|
122
|
+
padding-left: 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
|
+
@include 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-right: 0;
|
165
|
+
}
|
166
|
+
// Carets in other button sizes
|
167
|
+
.btn-large .caret {
|
168
|
+
margin-top: 6px;
|
169
|
+
}
|
170
|
+
.btn-large .caret {
|
171
|
+
border-right-width: 5px;
|
172
|
+
border-left-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
|
+
@include ie7-inline-block();
|
207
|
+
}
|
208
|
+
.btn-group-vertical > .btn {
|
209
|
+
display: block;
|
210
|
+
float: none;
|
211
|
+
max-width: 100%;
|
212
|
+
@include border-radius(0);
|
213
|
+
}
|
214
|
+
.btn-group-vertical > .btn + .btn {
|
215
|
+
margin-right: 0;
|
216
|
+
margin-top: -1px;
|
217
|
+
}
|
218
|
+
.btn-group-vertical > .btn:first-child {
|
219
|
+
@include border-radius($baseBorderRadius $baseBorderRadius 0 0);
|
220
|
+
}
|
221
|
+
.btn-group-vertical > .btn:last-child {
|
222
|
+
@include border-radius(0 0 $baseBorderRadius $baseBorderRadius);
|
223
|
+
}
|
224
|
+
.btn-group-vertical > .btn-large:first-child {
|
225
|
+
@include border-radius($borderRadiusLarge $borderRadiusLarge 0 0);
|
226
|
+
}
|
227
|
+
.btn-group-vertical > .btn-large:last-child {
|
228
|
+
@include border-radius(0 0 $borderRadiusLarge $borderRadiusLarge);
|
229
|
+
}
|