bootstrap-sass-rails 3.0.3.0 → 3.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.md +24 -133
- data/app/assets/javascripts/twitter/bootstrap.js +1 -12
- data/app/assets/javascripts/twitter/bootstrap/affix.js +1 -126
- data/app/assets/javascripts/twitter/bootstrap/alert.js +1 -98
- data/app/assets/javascripts/twitter/bootstrap/button.js +1 -115
- data/app/assets/javascripts/twitter/bootstrap/carousel.js +1 -217
- data/app/assets/javascripts/twitter/bootstrap/collapse.js +1 -179
- data/app/assets/javascripts/twitter/bootstrap/dropdown.js +1 -154
- data/app/assets/javascripts/twitter/bootstrap/modal.js +1 -246
- data/app/assets/javascripts/twitter/bootstrap/popover.js +1 -117
- data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +1 -158
- data/app/assets/javascripts/twitter/bootstrap/tab.js +1 -135
- data/app/assets/javascripts/twitter/bootstrap/tooltip.js +1 -386
- data/app/assets/javascripts/twitter/bootstrap/transition.js +1 -56
- data/app/assets/stylesheets/twitter/bootstrap.css.scss +1 -49
- data/app/assets/stylesheets/twitter/bootstrap/_alerts.scss +1 -67
- data/app/assets/stylesheets/twitter/bootstrap/_badges.scss +1 -51
- data/app/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +1 -23
- data/app/assets/stylesheets/twitter/bootstrap/_button-groups.scss +1 -227
- data/app/assets/stylesheets/twitter/bootstrap/_buttons.scss +1 -155
- data/app/assets/stylesheets/twitter/bootstrap/_carousel.scss +1 -232
- data/app/assets/stylesheets/twitter/bootstrap/_close.scss +1 -34
- data/app/assets/stylesheets/twitter/bootstrap/_code.scss +1 -53
- data/app/assets/stylesheets/twitter/bootstrap/_component-animations.scss +1 -29
- data/app/assets/stylesheets/twitter/bootstrap/_dropdowns.scss +1 -187
- data/app/assets/stylesheets/twitter/bootstrap/_forms.scss +1 -373
- data/app/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +1 -237
- data/app/assets/stylesheets/twitter/bootstrap/_grid.scss +1 -78
- data/app/assets/stylesheets/twitter/bootstrap/_input-groups.scss +1 -136
- data/app/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +1 -46
- data/app/assets/stylesheets/twitter/bootstrap/_labels.scss +1 -64
- data/app/assets/stylesheets/twitter/bootstrap/_list-group.scss +1 -88
- data/app/assets/stylesheets/twitter/bootstrap/_media.scss +1 -56
- data/app/assets/stylesheets/twitter/bootstrap/_mixins.scss +1 -847
- data/app/assets/stylesheets/twitter/bootstrap/_modals.scss +1 -129
- data/app/assets/stylesheets/twitter/bootstrap/_navbar.scss +1 -616
- data/app/assets/stylesheets/twitter/bootstrap/_navs.scss +1 -242
- data/app/assets/stylesheets/twitter/bootstrap/_normalize.scss +1 -406
- data/app/assets/stylesheets/twitter/bootstrap/_pager.scss +1 -55
- data/app/assets/stylesheets/twitter/bootstrap/_pagination.scss +1 -85
- data/app/assets/stylesheets/twitter/bootstrap/_panels.scss +1 -182
- data/app/assets/stylesheets/twitter/bootstrap/_popovers.scss +1 -133
- data/app/assets/stylesheets/twitter/bootstrap/_print.scss +1 -105
- data/app/assets/stylesheets/twitter/bootstrap/_progress-bars.scss +1 -80
- data/app/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +1 -198
- data/app/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +1 -119
- data/app/assets/stylesheets/twitter/bootstrap/_tables.scss +1 -231
- data/app/assets/stylesheets/twitter/bootstrap/_theme.scss +1 -247
- data/app/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +1 -38
- data/app/assets/stylesheets/twitter/bootstrap/_tooltip.scss +1 -95
- data/app/assets/stylesheets/twitter/bootstrap/_type.scss +1 -281
- data/app/assets/stylesheets/twitter/bootstrap/_utilities.scss +1 -56
- data/app/assets/stylesheets/twitter/bootstrap/_variables.scss +1 -642
- data/app/assets/stylesheets/twitter/bootstrap/_wells.scss +1 -29
- data/lib/bootstrap-sass-rails.rb +1 -1
- data/lib/bootstrap/sass/rails/engine.rb +3 -8
- data/lib/bootstrap/sass/rails/version.rb +2 -1
- data/lib/generators/bootstrap/templates/USAGE +1 -1
- metadata +37 -17
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +0 -229
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/bootstrap/sass/extensions.rb +0 -5
- data/lib/bootstrap/sass/extensions/functions.rb +0 -15
@@ -1,56 +1 @@
|
|
1
|
-
|
2
|
-
* Bootstrap: transition.js v3.0.3
|
3
|
-
* http://getbootstrap.com/javascript/#transitions
|
4
|
-
* ========================================================================
|
5
|
-
* Copyright 2013 Twitter, Inc.
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
* ======================================================================== */
|
19
|
-
|
20
|
-
|
21
|
-
+function ($) { "use strict";
|
22
|
-
|
23
|
-
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
24
|
-
// ============================================================
|
25
|
-
|
26
|
-
function transitionEnd() {
|
27
|
-
var el = document.createElement('bootstrap')
|
28
|
-
|
29
|
-
var transEndEventNames = {
|
30
|
-
'WebkitTransition' : 'webkitTransitionEnd'
|
31
|
-
, 'MozTransition' : 'transitionend'
|
32
|
-
, 'OTransition' : 'oTransitionEnd otransitionend'
|
33
|
-
, 'transition' : 'transitionend'
|
34
|
-
}
|
35
|
-
|
36
|
-
for (var name in transEndEventNames) {
|
37
|
-
if (el.style[name] !== undefined) {
|
38
|
-
return { end: transEndEventNames[name] }
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
// http://blog.alexmaccaw.com/css-transitions
|
44
|
-
$.fn.emulateTransitionEnd = function (duration) {
|
45
|
-
var called = false, $el = this
|
46
|
-
$(this).one($.support.transition.end, function () { called = true })
|
47
|
-
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
|
48
|
-
setTimeout(callback, duration)
|
49
|
-
return this
|
50
|
-
}
|
51
|
-
|
52
|
-
$(function () {
|
53
|
-
$.support.transition = transitionEnd()
|
54
|
-
})
|
55
|
-
|
56
|
-
}(jQuery);
|
1
|
+
//= require bootstrap/transition
|
@@ -1,49 +1 @@
|
|
1
|
-
|
2
|
-
@import "twitter/bootstrap/variables";
|
3
|
-
@import "twitter/bootstrap/mixins";
|
4
|
-
|
5
|
-
// Reset
|
6
|
-
@import "twitter/bootstrap/normalize";
|
7
|
-
@import "twitter/bootstrap/print";
|
8
|
-
|
9
|
-
// Core CSS
|
10
|
-
@import "twitter/bootstrap/scaffolding";
|
11
|
-
@import "twitter/bootstrap/type";
|
12
|
-
@import "twitter/bootstrap/code";
|
13
|
-
@import "twitter/bootstrap/grid";
|
14
|
-
@import "twitter/bootstrap/tables";
|
15
|
-
@import "twitter/bootstrap/forms";
|
16
|
-
@import "twitter/bootstrap/buttons";
|
17
|
-
|
18
|
-
// Components
|
19
|
-
@import "twitter/bootstrap/component-animations";
|
20
|
-
@import "twitter/bootstrap/glyphicons";
|
21
|
-
@import "twitter/bootstrap/dropdowns";
|
22
|
-
@import "twitter/bootstrap/button-groups";
|
23
|
-
@import "twitter/bootstrap/input-groups";
|
24
|
-
@import "twitter/bootstrap/navs";
|
25
|
-
@import "twitter/bootstrap/navbar";
|
26
|
-
@import "twitter/bootstrap/breadcrumbs";
|
27
|
-
@import "twitter/bootstrap/pagination";
|
28
|
-
@import "twitter/bootstrap/pager";
|
29
|
-
@import "twitter/bootstrap/labels";
|
30
|
-
@import "twitter/bootstrap/badges";
|
31
|
-
@import "twitter/bootstrap/jumbotron";
|
32
|
-
@import "twitter/bootstrap/thumbnails";
|
33
|
-
@import "twitter/bootstrap/alerts";
|
34
|
-
@import "twitter/bootstrap/progress-bars";
|
35
|
-
@import "twitter/bootstrap/media";
|
36
|
-
@import "twitter/bootstrap/list-group";
|
37
|
-
@import "twitter/bootstrap/panels";
|
38
|
-
@import "twitter/bootstrap/wells";
|
39
|
-
@import "twitter/bootstrap/close";
|
40
|
-
|
41
|
-
// Components w/ JavaScript
|
42
|
-
@import "twitter/bootstrap/modals";
|
43
|
-
@import "twitter/bootstrap/tooltip";
|
44
|
-
@import "twitter/bootstrap/popovers";
|
45
|
-
@import "twitter/bootstrap/carousel";
|
46
|
-
|
47
|
-
// Utility classes
|
48
|
-
@import "twitter/bootstrap/utilities";
|
49
|
-
@import "twitter/bootstrap/responsive-utilities";
|
1
|
+
@import "bootstrap/bootstrap";
|
@@ -1,67 +1 @@
|
|
1
|
-
|
2
|
-
// Alerts
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Base styles
|
7
|
-
// -------------------------
|
8
|
-
|
9
|
-
.alert {
|
10
|
-
padding: $alert-padding;
|
11
|
-
margin-bottom: $line-height-computed;
|
12
|
-
border: 1px solid transparent;
|
13
|
-
border-radius: $alert-border-radius;
|
14
|
-
|
15
|
-
// Headings for larger alerts
|
16
|
-
h4 {
|
17
|
-
margin-top: 0;
|
18
|
-
// Specified for the h4 to prevent conflicts of changing $headings-color
|
19
|
-
color: inherit;
|
20
|
-
}
|
21
|
-
// Provide class for links that match alerts
|
22
|
-
.alert-link {
|
23
|
-
font-weight: $alert-link-font-weight;
|
24
|
-
}
|
25
|
-
|
26
|
-
// Improve alignment and spacing of inner content
|
27
|
-
> p,
|
28
|
-
> ul {
|
29
|
-
margin-bottom: 0;
|
30
|
-
}
|
31
|
-
> p + p {
|
32
|
-
margin-top: 5px;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
// Dismissable alerts
|
37
|
-
//
|
38
|
-
// Expand the right padding and account for the close button's positioning.
|
39
|
-
|
40
|
-
.alert-dismissable {
|
41
|
-
padding-right: ($alert-padding + 20);
|
42
|
-
|
43
|
-
// Adjust close link position
|
44
|
-
.close {
|
45
|
-
position: relative;
|
46
|
-
top: -2px;
|
47
|
-
right: -21px;
|
48
|
-
color: inherit;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
// Alternate styles
|
53
|
-
//
|
54
|
-
// Generate contextual modifier classes for colorizing the alert.
|
55
|
-
|
56
|
-
.alert-success {
|
57
|
-
@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
|
58
|
-
}
|
59
|
-
.alert-info {
|
60
|
-
@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
|
61
|
-
}
|
62
|
-
.alert-warning {
|
63
|
-
@include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
|
64
|
-
}
|
65
|
-
.alert-danger {
|
66
|
-
@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
|
67
|
-
}
|
1
|
+
@import "bootstrap/alerts";
|
@@ -1,51 +1 @@
|
|
1
|
-
|
2
|
-
// Badges
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Base classes
|
7
|
-
.badge {
|
8
|
-
display: inline-block;
|
9
|
-
min-width: 10px;
|
10
|
-
padding: 3px 7px;
|
11
|
-
font-size: $font-size-small;
|
12
|
-
font-weight: $badge-font-weight;
|
13
|
-
color: $badge-color;
|
14
|
-
line-height: $badge-line-height;
|
15
|
-
vertical-align: baseline;
|
16
|
-
white-space: nowrap;
|
17
|
-
text-align: center;
|
18
|
-
background-color: $badge-bg;
|
19
|
-
border-radius: $badge-border-radius;
|
20
|
-
|
21
|
-
// Empty badges collapse automatically (not available in IE8)
|
22
|
-
&:empty {
|
23
|
-
display: none;
|
24
|
-
}
|
25
|
-
|
26
|
-
// Quick fix for badges in buttons
|
27
|
-
.btn & {
|
28
|
-
position: relative;
|
29
|
-
top: -1px;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
// Hover state, but only for links
|
34
|
-
a.badge {
|
35
|
-
&:hover,
|
36
|
-
&:focus {
|
37
|
-
color: $badge-link-hover-color;
|
38
|
-
text-decoration: none;
|
39
|
-
cursor: pointer;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
// Account for counters in navs
|
44
|
-
a.list-group-item.active > .badge,
|
45
|
-
.nav-pills > .active > a > .badge {
|
46
|
-
color: $badge-active-color;
|
47
|
-
background-color: $badge-active-bg;
|
48
|
-
}
|
49
|
-
.nav-pills > li > a > .badge {
|
50
|
-
margin-left: 3px;
|
51
|
-
}
|
1
|
+
@import "bootstrap/badges";
|
@@ -1,23 +1 @@
|
|
1
|
-
|
2
|
-
// Breadcrumbs
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
.breadcrumb {
|
7
|
-
padding: 8px 15px;
|
8
|
-
margin-bottom: $line-height-computed;
|
9
|
-
list-style: none;
|
10
|
-
background-color: $breadcrumb-bg;
|
11
|
-
border-radius: $border-radius-base;
|
12
|
-
> li {
|
13
|
-
display: inline-block;
|
14
|
-
+ li:before {
|
15
|
-
content: "#{$breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
|
16
|
-
padding: 0 5px;
|
17
|
-
color: $breadcrumb-color;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
> .active {
|
21
|
-
color: $breadcrumb-active-color;
|
22
|
-
}
|
23
|
-
}
|
1
|
+
@import "bootstrap/breadcrumbs";
|
@@ -1,227 +1 @@
|
|
1
|
-
|
2
|
-
// Button groups
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Make the div behave like a button
|
6
|
-
.btn-group,
|
7
|
-
.btn-group-vertical {
|
8
|
-
position: relative;
|
9
|
-
display: inline-block;
|
10
|
-
vertical-align: middle; // match .btn alignment given font-size hack above
|
11
|
-
> .btn {
|
12
|
-
position: relative;
|
13
|
-
float: left;
|
14
|
-
// Bring the "active" button to the front
|
15
|
-
&:hover,
|
16
|
-
&:focus,
|
17
|
-
&:active,
|
18
|
-
&.active {
|
19
|
-
z-index: 2;
|
20
|
-
}
|
21
|
-
&:focus {
|
22
|
-
// Remove focus outline when dropdown JS adds it after closing the menu
|
23
|
-
outline: none;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
// Prevent double borders when buttons are next to each other
|
29
|
-
.btn-group {
|
30
|
-
.btn + .btn,
|
31
|
-
.btn + .btn-group,
|
32
|
-
.btn-group + .btn,
|
33
|
-
.btn-group + .btn-group {
|
34
|
-
margin-left: -1px;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
// Optional: Group multiple button groups together for a toolbar
|
39
|
-
.btn-toolbar {
|
40
|
-
@include clearfix();
|
41
|
-
|
42
|
-
.btn-group {
|
43
|
-
float: left;
|
44
|
-
}
|
45
|
-
// Space out series of button groups
|
46
|
-
> .btn,
|
47
|
-
> .btn-group {
|
48
|
-
+ .btn,
|
49
|
-
+ .btn-group {
|
50
|
-
margin-left: 5px;
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
56
|
-
border-radius: 0;
|
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
|
-
&:not(:last-child):not(.dropdown-toggle) {
|
63
|
-
@include border-right-radius(0);
|
64
|
-
}
|
65
|
-
}
|
66
|
-
// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
|
67
|
-
.btn-group > .btn:last-child:not(:first-child),
|
68
|
-
.btn-group > .dropdown-toggle:not(:first-child) {
|
69
|
-
@include border-left-radius(0);
|
70
|
-
}
|
71
|
-
|
72
|
-
// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
|
73
|
-
.btn-group > .btn-group {
|
74
|
-
float: left;
|
75
|
-
}
|
76
|
-
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
77
|
-
border-radius: 0;
|
78
|
-
}
|
79
|
-
.btn-group > .btn-group:first-child {
|
80
|
-
> .btn:last-child,
|
81
|
-
> .dropdown-toggle {
|
82
|
-
@include border-right-radius(0);
|
83
|
-
}
|
84
|
-
}
|
85
|
-
.btn-group > .btn-group:last-child > .btn:first-child {
|
86
|
-
@include border-left-radius(0);
|
87
|
-
}
|
88
|
-
|
89
|
-
// On active and open, don't show outline
|
90
|
-
.btn-group .dropdown-toggle:active,
|
91
|
-
.btn-group.open .dropdown-toggle {
|
92
|
-
outline: 0;
|
93
|
-
}
|
94
|
-
|
95
|
-
|
96
|
-
// Sizing
|
97
|
-
//
|
98
|
-
// Remix the default button sizing classes into new ones for easier manipulation.
|
99
|
-
|
100
|
-
.btn-group-xs > .btn { @extend .btn-xs; }
|
101
|
-
.btn-group-sm > .btn { @extend .btn-sm; }
|
102
|
-
.btn-group-lg > .btn { @extend .btn-lg; }
|
103
|
-
|
104
|
-
|
105
|
-
// Split button dropdowns
|
106
|
-
// ----------------------
|
107
|
-
|
108
|
-
// Give the line between buttons some depth
|
109
|
-
.btn-group > .btn + .dropdown-toggle {
|
110
|
-
padding-left: 8px;
|
111
|
-
padding-right: 8px;
|
112
|
-
}
|
113
|
-
.btn-group > .btn-lg + .dropdown-toggle {
|
114
|
-
padding-left: 12px;
|
115
|
-
padding-right: 12px;
|
116
|
-
}
|
117
|
-
|
118
|
-
// The clickable button for toggling the menu
|
119
|
-
// Remove the gradient and set the same inset shadow as the :active state
|
120
|
-
.btn-group.open .dropdown-toggle {
|
121
|
-
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
122
|
-
|
123
|
-
// Show no shadow for `.btn-link` since it has no other button styles.
|
124
|
-
&.btn-link {
|
125
|
-
@include box-shadow(none);
|
126
|
-
}
|
127
|
-
}
|
128
|
-
|
129
|
-
|
130
|
-
// Reposition the caret
|
131
|
-
.btn .caret {
|
132
|
-
margin-left: 0;
|
133
|
-
}
|
134
|
-
// Carets in other button sizes
|
135
|
-
.btn-lg .caret {
|
136
|
-
border-width: $caret-width-large $caret-width-large 0;
|
137
|
-
border-bottom-width: 0;
|
138
|
-
}
|
139
|
-
// Upside down carets for .dropup
|
140
|
-
.dropup .btn-lg .caret {
|
141
|
-
border-width: 0 $caret-width-large $caret-width-large;
|
142
|
-
}
|
143
|
-
|
144
|
-
|
145
|
-
// Vertical button groups
|
146
|
-
// ----------------------
|
147
|
-
|
148
|
-
.btn-group-vertical {
|
149
|
-
> .btn,
|
150
|
-
> .btn-group,
|
151
|
-
> .btn-group > .btn {
|
152
|
-
display: block;
|
153
|
-
float: none;
|
154
|
-
width: 100%;
|
155
|
-
max-width: 100%;
|
156
|
-
}
|
157
|
-
|
158
|
-
// Clear floats so dropdown menus can be properly placed
|
159
|
-
> .btn-group {
|
160
|
-
@include clearfix();
|
161
|
-
> .btn {
|
162
|
-
float: none;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
|
166
|
-
> .btn + .btn,
|
167
|
-
> .btn + .btn-group,
|
168
|
-
> .btn-group + .btn,
|
169
|
-
> .btn-group + .btn-group {
|
170
|
-
margin-top: -1px;
|
171
|
-
margin-left: 0;
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
.btn-group-vertical > .btn {
|
176
|
-
&:not(:first-child):not(:last-child) {
|
177
|
-
border-radius: 0;
|
178
|
-
}
|
179
|
-
&:first-child:not(:last-child) {
|
180
|
-
border-top-right-radius: $border-radius-base;
|
181
|
-
@include border-bottom-radius(0);
|
182
|
-
}
|
183
|
-
&:last-child:not(:first-child) {
|
184
|
-
border-bottom-left-radius: $border-radius-base;
|
185
|
-
@include border-top-radius(0);
|
186
|
-
}
|
187
|
-
}
|
188
|
-
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
189
|
-
border-radius: 0;
|
190
|
-
}
|
191
|
-
.btn-group-vertical > .btn-group:first-child {
|
192
|
-
> .btn:last-child,
|
193
|
-
> .dropdown-toggle {
|
194
|
-
@include border-bottom-radius(0);
|
195
|
-
}
|
196
|
-
}
|
197
|
-
.btn-group-vertical > .btn-group:last-child > .btn:first-child {
|
198
|
-
@include border-top-radius(0);
|
199
|
-
}
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
// Justified button groups
|
204
|
-
// ----------------------
|
205
|
-
|
206
|
-
.btn-group-justified {
|
207
|
-
display: table;
|
208
|
-
width: 100%;
|
209
|
-
table-layout: fixed;
|
210
|
-
border-collapse: separate;
|
211
|
-
> .btn,
|
212
|
-
> .btn-group {
|
213
|
-
float: none;
|
214
|
-
display: table-cell;
|
215
|
-
width: 1%;
|
216
|
-
}
|
217
|
-
> .btn-group .btn {
|
218
|
-
width: 100%;
|
219
|
-
}
|
220
|
-
}
|
221
|
-
|
222
|
-
|
223
|
-
// Checkbox and radio options
|
224
|
-
[data-toggle="buttons"] > .btn > input[type="radio"],
|
225
|
-
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
226
|
-
display: none;
|
227
|
-
}
|
1
|
+
@import "bootstrap/button-groups";
|