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,55 +1 @@
|
|
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
|
-
@include clearfix();
|
12
|
-
li {
|
13
|
-
display: inline;
|
14
|
-
> a,
|
15
|
-
> span {
|
16
|
-
display: inline-block;
|
17
|
-
padding: 5px 14px;
|
18
|
-
background-color: $pagination-bg;
|
19
|
-
border: 1px solid $pagination-border;
|
20
|
-
border-radius: $pager-border-radius;
|
21
|
-
}
|
22
|
-
|
23
|
-
> a:hover,
|
24
|
-
> a:focus {
|
25
|
-
text-decoration: none;
|
26
|
-
background-color: $pagination-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: $pagination-bg;
|
51
|
-
cursor: not-allowed;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
}
|
1
|
+
@import "bootstrap/pager";
|
@@ -1,85 +1 @@
|
|
1
|
-
|
2
|
-
// Pagination (multiple pages)
|
3
|
-
// --------------------------------------------------
|
4
|
-
.pagination {
|
5
|
-
display: inline-block;
|
6
|
-
padding-left: 0;
|
7
|
-
margin: $line-height-computed 0;
|
8
|
-
border-radius: $border-radius-base;
|
9
|
-
|
10
|
-
> li {
|
11
|
-
display: inline; // Remove list-style and block-level defaults
|
12
|
-
> a,
|
13
|
-
> span {
|
14
|
-
position: relative;
|
15
|
-
float: left; // Collapse white-space
|
16
|
-
padding: $padding-base-vertical $padding-base-horizontal;
|
17
|
-
line-height: $line-height-base;
|
18
|
-
text-decoration: none;
|
19
|
-
background-color: $pagination-bg;
|
20
|
-
border: 1px solid $pagination-border;
|
21
|
-
margin-left: -1px;
|
22
|
-
}
|
23
|
-
&:first-child {
|
24
|
-
> a,
|
25
|
-
> span {
|
26
|
-
margin-left: 0;
|
27
|
-
@include border-left-radius($border-radius-base);
|
28
|
-
}
|
29
|
-
}
|
30
|
-
&:last-child {
|
31
|
-
> a,
|
32
|
-
> span {
|
33
|
-
@include border-right-radius($border-radius-base);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
> li > a,
|
39
|
-
> li > span {
|
40
|
-
&:hover,
|
41
|
-
&:focus {
|
42
|
-
background-color: $pagination-hover-bg;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
> .active > a,
|
47
|
-
> .active > span {
|
48
|
-
&,
|
49
|
-
&:hover,
|
50
|
-
&:focus {
|
51
|
-
z-index: 2;
|
52
|
-
color: $pagination-active-color;
|
53
|
-
background-color: $pagination-active-bg;
|
54
|
-
border-color: $pagination-active-bg;
|
55
|
-
cursor: default;
|
56
|
-
}
|
57
|
-
}
|
58
|
-
|
59
|
-
> .disabled {
|
60
|
-
> span,
|
61
|
-
> span:hover,
|
62
|
-
> span:focus,
|
63
|
-
> a,
|
64
|
-
> a:hover,
|
65
|
-
> a:focus {
|
66
|
-
color: $pagination-disabled-color;
|
67
|
-
background-color: $pagination-bg;
|
68
|
-
border-color: $pagination-border;
|
69
|
-
cursor: not-allowed;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
// Sizing
|
75
|
-
// --------------------------------------------------
|
76
|
-
|
77
|
-
// Large
|
78
|
-
.pagination-lg {
|
79
|
-
@include pagination-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-large);
|
80
|
-
}
|
81
|
-
|
82
|
-
// Small
|
83
|
-
.pagination-sm {
|
84
|
-
@include pagination-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-small);
|
85
|
-
}
|
1
|
+
@import "bootstrap/pagination";
|
@@ -1,182 +1 @@
|
|
1
|
-
|
2
|
-
// Panels
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Base class
|
7
|
-
.panel {
|
8
|
-
margin-bottom: $line-height-computed;
|
9
|
-
background-color: $panel-bg;
|
10
|
-
border: 1px solid transparent;
|
11
|
-
border-radius: $panel-border-radius;
|
12
|
-
@include box-shadow(0 1px 1px rgba(0,0,0,.05));
|
13
|
-
}
|
14
|
-
|
15
|
-
// Panel contents
|
16
|
-
.panel-body {
|
17
|
-
padding: 15px;
|
18
|
-
@include clearfix();
|
19
|
-
}
|
20
|
-
|
21
|
-
|
22
|
-
// List groups in panels
|
23
|
-
//
|
24
|
-
// By default, space out list group content from panel headings to account for
|
25
|
-
// any kind of custom content between the two.
|
26
|
-
|
27
|
-
.panel {
|
28
|
-
> .list-group {
|
29
|
-
margin-bottom: 0;
|
30
|
-
|
31
|
-
.list-group-item {
|
32
|
-
border-width: 1px 0;
|
33
|
-
|
34
|
-
// Remove border radius for top one
|
35
|
-
&:first-child {
|
36
|
-
@include border-top-radius(0);
|
37
|
-
}
|
38
|
-
// But keep it for the last one
|
39
|
-
&:last-child {
|
40
|
-
border-bottom: 0;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
45
|
-
// Collapse space between when there's no additional content.
|
46
|
-
.panel-heading + .list-group {
|
47
|
-
.list-group-item:first-child {
|
48
|
-
border-top-width: 0;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
|
53
|
-
// Tables in panels
|
54
|
-
//
|
55
|
-
// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and
|
56
|
-
// watch it go full width.
|
57
|
-
|
58
|
-
.panel {
|
59
|
-
> .table,
|
60
|
-
> .table-responsive > .table {
|
61
|
-
margin-bottom: 0;
|
62
|
-
}
|
63
|
-
> .panel-body + .table,
|
64
|
-
> .panel-body + .table-responsive {
|
65
|
-
border-top: 1px solid $table-border-color;
|
66
|
-
}
|
67
|
-
> .table > tbody:first-child th,
|
68
|
-
> .table > tbody:first-child td {
|
69
|
-
border-top: 0;
|
70
|
-
}
|
71
|
-
> .table-bordered,
|
72
|
-
> .table-responsive > .table-bordered {
|
73
|
-
border: 0;
|
74
|
-
> thead,
|
75
|
-
> tbody,
|
76
|
-
> tfoot {
|
77
|
-
> tr {
|
78
|
-
> th:first-child,
|
79
|
-
> td:first-child {
|
80
|
-
border-left: 0;
|
81
|
-
}
|
82
|
-
> th:last-child,
|
83
|
-
> td:last-child {
|
84
|
-
border-right: 0;
|
85
|
-
}
|
86
|
-
|
87
|
-
&:last-child > th,
|
88
|
-
&:last-child > td {
|
89
|
-
border-bottom: 0;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
> .table-responsive {
|
95
|
-
border: 0;
|
96
|
-
margin-bottom: 0;
|
97
|
-
}
|
98
|
-
}
|
99
|
-
|
100
|
-
|
101
|
-
// Optional heading
|
102
|
-
.panel-heading {
|
103
|
-
padding: 10px 15px;
|
104
|
-
border-bottom: 1px solid transparent;
|
105
|
-
@include border-top-radius($panel-border-radius - 1);
|
106
|
-
|
107
|
-
> .dropdown .dropdown-toggle {
|
108
|
-
color: inherit;
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
|
-
// Within heading, strip any `h*` tag of it's default margins for spacing.
|
113
|
-
.panel-title {
|
114
|
-
margin-top: 0;
|
115
|
-
margin-bottom: 0;
|
116
|
-
font-size: ceil(($font-size-base * 1.125));
|
117
|
-
color: inherit;
|
118
|
-
|
119
|
-
> a {
|
120
|
-
color: inherit;
|
121
|
-
}
|
122
|
-
}
|
123
|
-
|
124
|
-
// Optional footer (stays gray in every modifier class)
|
125
|
-
.panel-footer {
|
126
|
-
padding: 10px 15px;
|
127
|
-
background-color: $panel-footer-bg;
|
128
|
-
border-top: 1px solid $panel-inner-border;
|
129
|
-
@include border-bottom-radius($panel-border-radius - 1);
|
130
|
-
}
|
131
|
-
|
132
|
-
|
133
|
-
// Collapsable panels (aka, accordion)
|
134
|
-
//
|
135
|
-
// Wrap a series of panels in `.panel-group` to turn them into an accordion with
|
136
|
-
// the help of our collapse JavaScript plugin.
|
137
|
-
|
138
|
-
.panel-group {
|
139
|
-
// Tighten up margin so it's only between panels
|
140
|
-
.panel {
|
141
|
-
margin-bottom: 0;
|
142
|
-
border-radius: $panel-border-radius;
|
143
|
-
overflow: hidden; // crop contents when collapsed
|
144
|
-
+ .panel {
|
145
|
-
margin-top: 5px;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
|
149
|
-
.panel-heading {
|
150
|
-
border-bottom: 0;
|
151
|
-
+ .panel-collapse .panel-body {
|
152
|
-
border-top: 1px solid $panel-inner-border;
|
153
|
-
}
|
154
|
-
}
|
155
|
-
.panel-footer {
|
156
|
-
border-top: 0;
|
157
|
-
+ .panel-collapse .panel-body {
|
158
|
-
border-bottom: 1px solid $panel-inner-border;
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
162
|
-
|
163
|
-
|
164
|
-
// Contextual variations
|
165
|
-
.panel-default {
|
166
|
-
@include panel-variant($panel-default-border, $panel-default-text, $panel-default-heading-bg, $panel-default-border);
|
167
|
-
}
|
168
|
-
.panel-primary {
|
169
|
-
@include panel-variant($panel-primary-border, $panel-primary-text, $panel-primary-heading-bg, $panel-primary-border);
|
170
|
-
}
|
171
|
-
.panel-success {
|
172
|
-
@include panel-variant($panel-success-border, $panel-success-text, $panel-success-heading-bg, $panel-success-border);
|
173
|
-
}
|
174
|
-
.panel-warning {
|
175
|
-
@include panel-variant($panel-warning-border, $panel-warning-text, $panel-warning-heading-bg, $panel-warning-border);
|
176
|
-
}
|
177
|
-
.panel-danger {
|
178
|
-
@include panel-variant($panel-danger-border, $panel-danger-text, $panel-danger-heading-bg, $panel-danger-border);
|
179
|
-
}
|
180
|
-
.panel-info {
|
181
|
-
@include panel-variant($panel-info-border, $panel-info-text, $panel-info-heading-bg, $panel-info-border);
|
182
|
-
}
|
1
|
+
@import "bootstrap/panels";
|
@@ -1,133 +1 @@
|
|
1
|
-
|
2
|
-
// Popovers
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
.popover {
|
7
|
-
position: absolute;
|
8
|
-
top: 0;
|
9
|
-
left: 0;
|
10
|
-
z-index: $zindex-popover;
|
11
|
-
display: none;
|
12
|
-
max-width: $popover-max-width;
|
13
|
-
padding: 1px;
|
14
|
-
text-align: left; // Reset given new insertion method
|
15
|
-
background-color: $popover-bg;
|
16
|
-
background-clip: padding-box;
|
17
|
-
border: 1px solid $popover-fallback-border-color;
|
18
|
-
border: 1px solid $popover-border-color;
|
19
|
-
border-radius: $border-radius-large;
|
20
|
-
@include box-shadow(0 5px 10px rgba(0,0,0,.2));
|
21
|
-
|
22
|
-
// Overrides for proper insertion
|
23
|
-
white-space: normal;
|
24
|
-
|
25
|
-
// Offset the popover to account for the popover arrow
|
26
|
-
&.top { margin-top: -10px; }
|
27
|
-
&.right { margin-left: 10px; }
|
28
|
-
&.bottom { margin-top: 10px; }
|
29
|
-
&.left { margin-left: -10px; }
|
30
|
-
}
|
31
|
-
|
32
|
-
.popover-title {
|
33
|
-
margin: 0; // reset heading margin
|
34
|
-
padding: 8px 14px;
|
35
|
-
font-size: $font-size-base;
|
36
|
-
font-weight: normal;
|
37
|
-
line-height: 18px;
|
38
|
-
background-color: $popover-title-bg;
|
39
|
-
border-bottom: 1px solid darken($popover-title-bg, 5%);
|
40
|
-
border-radius: 5px 5px 0 0;
|
41
|
-
}
|
42
|
-
|
43
|
-
.popover-content {
|
44
|
-
padding: 9px 14px;
|
45
|
-
}
|
46
|
-
|
47
|
-
// Arrows
|
48
|
-
//
|
49
|
-
// .arrow is outer, .arrow:after is inner
|
50
|
-
|
51
|
-
.popover .arrow {
|
52
|
-
&,
|
53
|
-
&:after {
|
54
|
-
position: absolute;
|
55
|
-
display: block;
|
56
|
-
width: 0;
|
57
|
-
height: 0;
|
58
|
-
border-color: transparent;
|
59
|
-
border-style: solid;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
.popover .arrow {
|
63
|
-
border-width: $popover-arrow-outer-width;
|
64
|
-
}
|
65
|
-
.popover .arrow:after {
|
66
|
-
border-width: $popover-arrow-width;
|
67
|
-
content: "";
|
68
|
-
}
|
69
|
-
|
70
|
-
.popover {
|
71
|
-
&.top .arrow {
|
72
|
-
left: 50%;
|
73
|
-
margin-left: -$popover-arrow-outer-width;
|
74
|
-
border-bottom-width: 0;
|
75
|
-
border-top-color: $popover-arrow-outer-fallback-color; // IE8 fallback
|
76
|
-
border-top-color: $popover-arrow-outer-color;
|
77
|
-
bottom: -$popover-arrow-outer-width;
|
78
|
-
&:after {
|
79
|
-
content: " ";
|
80
|
-
bottom: 1px;
|
81
|
-
margin-left: -$popover-arrow-width;
|
82
|
-
border-bottom-width: 0;
|
83
|
-
border-top-color: $popover-arrow-color;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
&.right .arrow {
|
87
|
-
top: 50%;
|
88
|
-
left: -$popover-arrow-outer-width;
|
89
|
-
margin-top: -$popover-arrow-outer-width;
|
90
|
-
border-left-width: 0;
|
91
|
-
border-right-color: $popover-arrow-outer-fallback-color; // IE8 fallback
|
92
|
-
border-right-color: $popover-arrow-outer-color;
|
93
|
-
&:after {
|
94
|
-
content: " ";
|
95
|
-
left: 1px;
|
96
|
-
bottom: -$popover-arrow-width;
|
97
|
-
border-left-width: 0;
|
98
|
-
border-right-color: $popover-arrow-color;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
&.bottom .arrow {
|
102
|
-
left: 50%;
|
103
|
-
margin-left: -$popover-arrow-outer-width;
|
104
|
-
border-top-width: 0;
|
105
|
-
border-bottom-color: $popover-arrow-outer-fallback-color; // IE8 fallback
|
106
|
-
border-bottom-color: $popover-arrow-outer-color;
|
107
|
-
top: -$popover-arrow-outer-width;
|
108
|
-
&:after {
|
109
|
-
content: " ";
|
110
|
-
top: 1px;
|
111
|
-
margin-left: -$popover-arrow-width;
|
112
|
-
border-top-width: 0;
|
113
|
-
border-bottom-color: $popover-arrow-color;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
|
117
|
-
&.left .arrow {
|
118
|
-
top: 50%;
|
119
|
-
right: -$popover-arrow-outer-width;
|
120
|
-
margin-top: -$popover-arrow-outer-width;
|
121
|
-
border-right-width: 0;
|
122
|
-
border-left-color: $popover-arrow-outer-fallback-color; // IE8 fallback
|
123
|
-
border-left-color: $popover-arrow-outer-color;
|
124
|
-
&:after {
|
125
|
-
content: " ";
|
126
|
-
right: 1px;
|
127
|
-
border-right-width: 0;
|
128
|
-
border-left-color: $popover-arrow-color;
|
129
|
-
bottom: -$popover-arrow-width;
|
130
|
-
}
|
131
|
-
}
|
132
|
-
|
133
|
-
}
|
1
|
+
@import "bootstrap/popovers";
|