anjlab-bootstrap-rails 2.3.1.2 → 3.0.0.0.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/Rakefile +42 -26
- data/lib/bootstrap-rails.rb +5 -6
- data/lib/bootstrap-rails/engine.rb +2 -9
- data/lib/bootstrap-rails/version.rb +1 -1
- data/test/test_helper.rb +2 -2
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.eot +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.otf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.svg +175 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.ttf +0 -0
- data/vendor/assets/fonts/twitter/glyphiconshalflings-regular.woff +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap.js +4 -5
- data/vendor/assets/javascripts/twitter/bootstrap/affix.js +50 -47
- data/vendor/assets/javascripts/twitter/bootstrap/alert.js +32 -35
- data/vendor/assets/javascripts/twitter/bootstrap/button.js +37 -37
- data/vendor/assets/javascripts/twitter/bootstrap/carousel.js +123 -127
- data/vendor/assets/javascripts/twitter/bootstrap/collapse.js +81 -95
- data/vendor/assets/javascripts/twitter/bootstrap/dropdown.js +61 -81
- data/vendor/assets/javascripts/twitter/bootstrap/modal.js +146 -151
- data/vendor/assets/javascripts/twitter/bootstrap/popover.js +53 -58
- data/vendor/assets/javascripts/twitter/bootstrap/scrollspy.js +99 -105
- data/vendor/assets/javascripts/twitter/bootstrap/tab.js +70 -81
- data/vendor/assets/javascripts/twitter/bootstrap/tooltip.js +246 -254
- data/vendor/assets/javascripts/twitter/bootstrap/transition.js +24 -37
- data/vendor/assets/stylesheets/twitter/bootstrap.scss +1 -1
- data/vendor/{frameworks/twitter/bootstrap/accordion.scss → assets/stylesheets/twitter/bootstrap/_accordion.scss} +2 -2
- data/vendor/assets/stylesheets/twitter/bootstrap/_alerts.scss +92 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_badges.scss +58 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_bootstrap.scss +64 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_breadcrumbs.scss +28 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_button-groups.scss +170 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_buttons.scss +160 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_carousel.scss +191 -0
- data/vendor/{frameworks/twitter/bootstrap/close.scss → assets/stylesheets/twitter/bootstrap/_close.scss} +7 -6
- data/vendor/{frameworks/twitter/bootstrap/code.scss → assets/stylesheets/twitter/bootstrap/_code.scss} +14 -14
- data/vendor/{frameworks/twitter/bootstrap/component-animations.scss → assets/stylesheets/twitter/bootstrap/_component-animations.scss} +1 -0
- data/vendor/{frameworks/twitter/bootstrap/dropdowns.scss → assets/stylesheets/twitter/bootstrap/_dropdowns.scss} +46 -57
- data/vendor/assets/stylesheets/twitter/bootstrap/_forms.scss +464 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_glyphicons.scss +200 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_grid.scss +65 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_jumbotron.scss +32 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_labels.scss +70 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_list-group.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/media.scss → assets/stylesheets/twitter/bootstrap/_media.scss} +0 -1
- data/vendor/assets/stylesheets/twitter/bootstrap/_mixins.scss +510 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_modals.scss +137 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navbar.scss +356 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_navs.scss +249 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_normalize.scss +396 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pager.scss +54 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_pagination.scss +87 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_panels.scss +96 -0
- data/vendor/{frameworks/twitter/bootstrap/popovers.scss → assets/stylesheets/twitter/bootstrap/_popovers.scss} +32 -32
- data/vendor/assets/stylesheets/twitter/bootstrap/_print.scss +74 -0
- data/vendor/{frameworks/twitter/bootstrap/progress-bars.scss → assets/stylesheets/twitter/bootstrap/_progress-bars.scss} +40 -44
- data/vendor/assets/stylesheets/twitter/bootstrap/_responsive-utilities.scss +77 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_scaffolding.scss +83 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_tables.scss +242 -0
- data/vendor/assets/stylesheets/twitter/bootstrap/_thumbnails.scss +43 -0
- data/vendor/{frameworks/twitter/bootstrap/tooltip.scss → assets/stylesheets/twitter/bootstrap/_tooltip.scss} +20 -19
- data/vendor/assets/stylesheets/twitter/bootstrap/_type.scss +253 -0
- data/vendor/{frameworks/twitter/bootstrap/utilities.scss → assets/stylesheets/twitter/bootstrap/_utilities.scss} +17 -5
- data/vendor/assets/stylesheets/twitter/bootstrap/_variables.scss +416 -0
- data/vendor/{frameworks/twitter/bootstrap/wells.scss → assets/stylesheets/twitter/bootstrap/_wells.scss} +5 -5
- metadata +49 -53
- data/lib/bootstrap-rails/ie_hex_str.rb +0 -16
- data/test/ie_hex_str_test.rb +0 -26
- data/vendor/assets/images/twitter/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/twitter/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/twitter/bootstrap/typeahead.js +0 -335
- data/vendor/assets/stylesheets/twitter/bootstrap-responsive.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap.scss +0 -1
- data/vendor/frameworks/twitter/bootstrap/alerts.scss +0 -79
- data/vendor/frameworks/twitter/bootstrap/bootstrap.scss +0 -63
- data/vendor/frameworks/twitter/bootstrap/breadcrumbs.scss +0 -24
- data/vendor/frameworks/twitter/bootstrap/button-groups.scss +0 -230
- data/vendor/frameworks/twitter/bootstrap/buttons.scss +0 -228
- data/vendor/frameworks/twitter/bootstrap/carousel.scss +0 -158
- data/vendor/frameworks/twitter/bootstrap/forms.scss +0 -690
- data/vendor/frameworks/twitter/bootstrap/grid.scss +0 -21
- data/vendor/frameworks/twitter/bootstrap/hero-unit.scss +0 -25
- data/vendor/frameworks/twitter/bootstrap/labels-badges.scss +0 -83
- data/vendor/frameworks/twitter/bootstrap/layouts.scss +0 -16
- data/vendor/frameworks/twitter/bootstrap/mixins.scss +0 -704
- data/vendor/frameworks/twitter/bootstrap/modals.scss +0 -95
- data/vendor/frameworks/twitter/bootstrap/navbar.scss +0 -496
- data/vendor/frameworks/twitter/bootstrap/navs.scss +0 -409
- data/vendor/frameworks/twitter/bootstrap/pager.scss +0 -43
- data/vendor/frameworks/twitter/bootstrap/pagination.scss +0 -123
- data/vendor/frameworks/twitter/bootstrap/reset.scss +0 -216
- data/vendor/frameworks/twitter/bootstrap/responsive-1200px-min.scss +0 -28
- data/vendor/frameworks/twitter/bootstrap/responsive-767px-max.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-768px-979px.scss +0 -19
- data/vendor/frameworks/twitter/bootstrap/responsive-navbar.scss +0 -189
- data/vendor/frameworks/twitter/bootstrap/responsive-utilities.scss +0 -59
- data/vendor/frameworks/twitter/bootstrap/responsive.scss +0 -48
- data/vendor/frameworks/twitter/bootstrap/scaffolding.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/sprites.scss +0 -197
- data/vendor/frameworks/twitter/bootstrap/tables.scss +0 -235
- data/vendor/frameworks/twitter/bootstrap/thumbnails.scss +0 -53
- data/vendor/frameworks/twitter/bootstrap/type.scss +0 -246
- data/vendor/frameworks/twitter/bootstrap/variables.scss +0 -295
@@ -1,123 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Pagination (multiple pages)
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Space out pagination from surrounding content
|
6
|
-
.pagination {
|
7
|
-
margin: $baseLineHeight 0;
|
8
|
-
}
|
9
|
-
|
10
|
-
.pagination ul {
|
11
|
-
// Allow for text-based alignment
|
12
|
-
display: inline-block;
|
13
|
-
@include ie7-inline-block();
|
14
|
-
// Reset default ul styles
|
15
|
-
margin-left: 0;
|
16
|
-
margin-bottom: 0;
|
17
|
-
// Visuals
|
18
|
-
@include border-radius($baseBorderRadius);
|
19
|
-
@include box-shadow(0 1px 2px rgba(0,0,0,.05));
|
20
|
-
}
|
21
|
-
.pagination ul > li {
|
22
|
-
display: inline; // Remove list-style and block-level defaults
|
23
|
-
}
|
24
|
-
.pagination ul > li > a,
|
25
|
-
.pagination ul > li > span {
|
26
|
-
float: left; // Collapse white-space
|
27
|
-
padding: 4px 12px;
|
28
|
-
line-height: $baseLineHeight;
|
29
|
-
text-decoration: none;
|
30
|
-
background-color: $paginationBackground;
|
31
|
-
border: 1px solid $paginationBorder;
|
32
|
-
border-left-width: 0;
|
33
|
-
}
|
34
|
-
.pagination ul > li > a:hover,
|
35
|
-
.pagination ul > li > a:focus,
|
36
|
-
.pagination ul > .active > a,
|
37
|
-
.pagination ul > .active > span {
|
38
|
-
background-color: $paginationActiveBackground;
|
39
|
-
}
|
40
|
-
.pagination ul > .active > a,
|
41
|
-
.pagination ul > .active > span {
|
42
|
-
color: $grayLight;
|
43
|
-
cursor: default;
|
44
|
-
}
|
45
|
-
.pagination ul > .disabled > span,
|
46
|
-
.pagination ul > .disabled > a,
|
47
|
-
.pagination ul > .disabled > a:hover,
|
48
|
-
.pagination ul > .disabled > a:focus {
|
49
|
-
color: $grayLight;
|
50
|
-
background-color: transparent;
|
51
|
-
cursor: default;
|
52
|
-
}
|
53
|
-
.pagination ul > li:first-child > a,
|
54
|
-
.pagination ul > li:first-child > span {
|
55
|
-
border-left-width: 1px;
|
56
|
-
@include border-left-radius($baseBorderRadius);
|
57
|
-
}
|
58
|
-
.pagination ul > li:last-child > a,
|
59
|
-
.pagination ul > li:last-child > span {
|
60
|
-
@include border-right-radius($baseBorderRadius);
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
// Alignment
|
65
|
-
// --------------------------------------------------
|
66
|
-
|
67
|
-
.pagination-centered {
|
68
|
-
text-align: center;
|
69
|
-
}
|
70
|
-
.pagination-right {
|
71
|
-
text-align: right;
|
72
|
-
}
|
73
|
-
|
74
|
-
|
75
|
-
// Sizing
|
76
|
-
// --------------------------------------------------
|
77
|
-
|
78
|
-
// Large
|
79
|
-
.pagination-large {
|
80
|
-
ul > li > a,
|
81
|
-
ul > li > span {
|
82
|
-
padding: $paddingLarge;
|
83
|
-
font-size: $fontSizeLarge;
|
84
|
-
}
|
85
|
-
ul > li:first-child > a,
|
86
|
-
ul > li:first-child > span {
|
87
|
-
@include border-left-radius($borderRadiusLarge);
|
88
|
-
}
|
89
|
-
ul > li:last-child > a,
|
90
|
-
ul > li:last-child > span {
|
91
|
-
@include border-right-radius($borderRadiusLarge);
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
// Small and mini
|
96
|
-
.pagination-mini,
|
97
|
-
.pagination-small {
|
98
|
-
ul > li:first-child > a,
|
99
|
-
ul > li:first-child > span {
|
100
|
-
@include border-left-radius($borderRadiusSmall);
|
101
|
-
}
|
102
|
-
ul > li:last-child > a,
|
103
|
-
ul > li:last-child > span {
|
104
|
-
@include border-right-radius($borderRadiusSmall);
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
// Small
|
109
|
-
.pagination-small {
|
110
|
-
ul > li > a,
|
111
|
-
ul > li > span {
|
112
|
-
padding: $paddingSmall;
|
113
|
-
font-size: $fontSizeSmall;
|
114
|
-
}
|
115
|
-
}
|
116
|
-
// Mini
|
117
|
-
.pagination-mini {
|
118
|
-
ul > li > a,
|
119
|
-
ul > li > span {
|
120
|
-
padding: $paddingMini;
|
121
|
-
font-size: $fontSizeMini;
|
122
|
-
}
|
123
|
-
}
|
@@ -1,216 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Reset CSS
|
3
|
-
// Adapted from http://github.com/necolas/normalize.css
|
4
|
-
// --------------------------------------------------
|
5
|
-
|
6
|
-
|
7
|
-
// Display in IE6-9 and FF3
|
8
|
-
// -------------------------
|
9
|
-
|
10
|
-
article,
|
11
|
-
aside,
|
12
|
-
details,
|
13
|
-
figcaption,
|
14
|
-
figure,
|
15
|
-
footer,
|
16
|
-
header,
|
17
|
-
hgroup,
|
18
|
-
nav,
|
19
|
-
section {
|
20
|
-
display: block;
|
21
|
-
}
|
22
|
-
|
23
|
-
// Display block in IE6-9 and FF3
|
24
|
-
// -------------------------
|
25
|
-
|
26
|
-
audio,
|
27
|
-
canvas,
|
28
|
-
video {
|
29
|
-
display: inline-block;
|
30
|
-
*display: inline;
|
31
|
-
*zoom: 1;
|
32
|
-
}
|
33
|
-
|
34
|
-
// Prevents modern browsers from displaying 'audio' without controls
|
35
|
-
// -------------------------
|
36
|
-
|
37
|
-
audio:not([controls]) {
|
38
|
-
display: none;
|
39
|
-
}
|
40
|
-
|
41
|
-
// Base settings
|
42
|
-
// -------------------------
|
43
|
-
|
44
|
-
html {
|
45
|
-
font-size: 100%;
|
46
|
-
-webkit-text-size-adjust: 100%;
|
47
|
-
-ms-text-size-adjust: 100%;
|
48
|
-
}
|
49
|
-
// Focus states
|
50
|
-
a:focus {
|
51
|
-
@include tab-focus();
|
52
|
-
}
|
53
|
-
// Hover & Active
|
54
|
-
a:hover,
|
55
|
-
a:active {
|
56
|
-
outline: 0;
|
57
|
-
}
|
58
|
-
|
59
|
-
// Prevents sub and sup affecting line-height in all browsers
|
60
|
-
// -------------------------
|
61
|
-
|
62
|
-
sub,
|
63
|
-
sup {
|
64
|
-
position: relative;
|
65
|
-
font-size: 75%;
|
66
|
-
line-height: 0;
|
67
|
-
vertical-align: baseline;
|
68
|
-
}
|
69
|
-
sup {
|
70
|
-
top: -0.5em;
|
71
|
-
}
|
72
|
-
sub {
|
73
|
-
bottom: -0.25em;
|
74
|
-
}
|
75
|
-
|
76
|
-
// Img border in a's and image quality
|
77
|
-
// -------------------------
|
78
|
-
|
79
|
-
img {
|
80
|
-
/* Responsive images (ensure images don't scale beyond their parents) */
|
81
|
-
max-width: 100%; /* Part 1: Set a maxium relative to the parent */
|
82
|
-
width: auto\9; /* IE7-8 need help adjusting responsive images */
|
83
|
-
height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
|
84
|
-
|
85
|
-
vertical-align: middle;
|
86
|
-
border: 0;
|
87
|
-
-ms-interpolation-mode: bicubic;
|
88
|
-
}
|
89
|
-
|
90
|
-
// Prevent max-width from affecting Google Maps
|
91
|
-
#map_canvas img,
|
92
|
-
.google-maps img {
|
93
|
-
max-width: none;
|
94
|
-
}
|
95
|
-
|
96
|
-
// Forms
|
97
|
-
// -------------------------
|
98
|
-
|
99
|
-
// Font size in all browsers, margin changes, misc consistency
|
100
|
-
button,
|
101
|
-
input,
|
102
|
-
select,
|
103
|
-
textarea {
|
104
|
-
margin: 0;
|
105
|
-
font-size: 100%;
|
106
|
-
vertical-align: middle;
|
107
|
-
}
|
108
|
-
button,
|
109
|
-
input {
|
110
|
-
*overflow: visible; // Inner spacing ie IE6/7
|
111
|
-
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
|
112
|
-
}
|
113
|
-
button::-moz-focus-inner,
|
114
|
-
input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
|
115
|
-
padding: 0;
|
116
|
-
border: 0;
|
117
|
-
}
|
118
|
-
button,
|
119
|
-
html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
|
120
|
-
input[type="reset"],
|
121
|
-
input[type="submit"] {
|
122
|
-
-webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
|
123
|
-
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
|
124
|
-
}
|
125
|
-
label,
|
126
|
-
select,
|
127
|
-
button,
|
128
|
-
input[type="button"],
|
129
|
-
input[type="reset"],
|
130
|
-
input[type="submit"],
|
131
|
-
input[type="radio"],
|
132
|
-
input[type="checkbox"] {
|
133
|
-
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
|
134
|
-
}
|
135
|
-
input[type="search"] { // Appearance in Safari/Chrome
|
136
|
-
@include box-sizing(content-box);
|
137
|
-
-webkit-appearance: textfield;
|
138
|
-
}
|
139
|
-
input[type="search"]::-webkit-search-decoration,
|
140
|
-
input[type="search"]::-webkit-search-cancel-button {
|
141
|
-
-webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
|
142
|
-
}
|
143
|
-
textarea {
|
144
|
-
overflow: auto; // Remove vertical scrollbar in IE6-9
|
145
|
-
vertical-align: top; // Readability and alignment cross-browser
|
146
|
-
}
|
147
|
-
|
148
|
-
|
149
|
-
// Printing
|
150
|
-
// -------------------------
|
151
|
-
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
|
152
|
-
|
153
|
-
@media print {
|
154
|
-
|
155
|
-
* {
|
156
|
-
text-shadow: none !important;
|
157
|
-
color: #000 !important; // Black prints faster: h5bp.com/s
|
158
|
-
background: transparent !important;
|
159
|
-
box-shadow: none !important;
|
160
|
-
}
|
161
|
-
|
162
|
-
a,
|
163
|
-
a:visited {
|
164
|
-
text-decoration: underline;
|
165
|
-
}
|
166
|
-
|
167
|
-
a[href]:after {
|
168
|
-
content: " (" attr(href) ")";
|
169
|
-
}
|
170
|
-
|
171
|
-
abbr[title]:after {
|
172
|
-
content: " (" attr(title) ")";
|
173
|
-
}
|
174
|
-
|
175
|
-
// Don't show links for images, or javascript/internal links
|
176
|
-
.ir a:after,
|
177
|
-
a[href^="javascript:"]:after,
|
178
|
-
a[href^="#"]:after {
|
179
|
-
content: "";
|
180
|
-
}
|
181
|
-
|
182
|
-
pre,
|
183
|
-
blockquote {
|
184
|
-
border: 1px solid #999;
|
185
|
-
page-break-inside: avoid;
|
186
|
-
}
|
187
|
-
|
188
|
-
thead {
|
189
|
-
display: table-header-group; // h5bp.com/t
|
190
|
-
}
|
191
|
-
|
192
|
-
tr,
|
193
|
-
img {
|
194
|
-
page-break-inside: avoid;
|
195
|
-
}
|
196
|
-
|
197
|
-
img {
|
198
|
-
max-width: 100% !important;
|
199
|
-
}
|
200
|
-
|
201
|
-
@page {
|
202
|
-
margin: 0.5cm;
|
203
|
-
}
|
204
|
-
|
205
|
-
p,
|
206
|
-
h2,
|
207
|
-
h3 {
|
208
|
-
orphans: 3;
|
209
|
-
widows: 3;
|
210
|
-
}
|
211
|
-
|
212
|
-
h2,
|
213
|
-
h3 {
|
214
|
-
page-break-after: avoid;
|
215
|
-
}
|
216
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Responsive: Large desktop and up
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
@media (min-width: 1200px) {
|
7
|
-
|
8
|
-
// Fixed grid
|
9
|
-
@include grid-core($gridColumnWidth1200, $gridGutterWidth1200);
|
10
|
-
|
11
|
-
// Fluid grid
|
12
|
-
@include grid-fluid($fluidGridColumnWidth1200, $fluidGridGutterWidth1200);
|
13
|
-
|
14
|
-
// Input grid
|
15
|
-
@include grid-input($gridColumnWidth1200, $gridGutterWidth1200);
|
16
|
-
|
17
|
-
// Thumbnails
|
18
|
-
.thumbnails {
|
19
|
-
margin-left: -$gridGutterWidth1200;
|
20
|
-
}
|
21
|
-
.thumbnails > li {
|
22
|
-
margin-left: $gridGutterWidth1200;
|
23
|
-
}
|
24
|
-
.row-fluid .thumbnails {
|
25
|
-
margin-left: 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
}
|
@@ -1,189 +0,0 @@
|
|
1
|
-
|
2
|
-
@media (max-width: 767px) {
|
3
|
-
|
4
|
-
// Padding to set content in a bit
|
5
|
-
body {
|
6
|
-
padding-left: 20px;
|
7
|
-
padding-right: 20px;
|
8
|
-
}
|
9
|
-
// Negative indent the now static "fixed" navbar
|
10
|
-
.navbar-fixed-top,
|
11
|
-
.navbar-fixed-bottom,
|
12
|
-
.navbar-static-top {
|
13
|
-
margin-left: -20px;
|
14
|
-
margin-right: -20px;
|
15
|
-
}
|
16
|
-
// Remove padding on container given explicit padding set on body
|
17
|
-
.container-fluid {
|
18
|
-
padding: 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
// TYPOGRAPHY
|
22
|
-
// ----------
|
23
|
-
// Reset horizontal dl
|
24
|
-
.dl-horizontal {
|
25
|
-
dt {
|
26
|
-
float: none;
|
27
|
-
clear: none;
|
28
|
-
width: auto;
|
29
|
-
text-align: left;
|
30
|
-
}
|
31
|
-
dd {
|
32
|
-
margin-left: 0;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
// GRID & CONTAINERS
|
37
|
-
// -----------------
|
38
|
-
// Remove width from containers
|
39
|
-
.container {
|
40
|
-
width: auto;
|
41
|
-
}
|
42
|
-
// Fluid rows
|
43
|
-
.row-fluid {
|
44
|
-
width: 100%;
|
45
|
-
}
|
46
|
-
// Undo negative margin on rows and thumbnails
|
47
|
-
.row,
|
48
|
-
.thumbnails {
|
49
|
-
margin-left: 0;
|
50
|
-
}
|
51
|
-
.thumbnails > li {
|
52
|
-
float: none;
|
53
|
-
margin-left: 0; // Reset the default margin for all li elements when no .span* classes are present
|
54
|
-
}
|
55
|
-
// Make all grid-sized elements block level again
|
56
|
-
[class*="span"],
|
57
|
-
.uneditable-input[class*="span"], // Makes uneditable inputs full-width when using grid sizing
|
58
|
-
.row-fluid [class*="span"] {
|
59
|
-
float: none;
|
60
|
-
display: block;
|
61
|
-
width: 100%;
|
62
|
-
margin-left: 0;
|
63
|
-
@include box-sizing(border-box);
|
64
|
-
}
|
65
|
-
.span12,
|
66
|
-
.row-fluid .span12 {
|
67
|
-
width: 100%;
|
68
|
-
@include box-sizing(border-box);
|
69
|
-
}
|
70
|
-
.row-fluid [class*="offset"]:first-child {
|
71
|
-
margin-left: 0;
|
72
|
-
}
|
73
|
-
|
74
|
-
// FORM FIELDS
|
75
|
-
// -----------
|
76
|
-
// Make span* classes full width
|
77
|
-
.input-large,
|
78
|
-
.input-xlarge,
|
79
|
-
.input-xxlarge,
|
80
|
-
input[class*="span"],
|
81
|
-
select[class*="span"],
|
82
|
-
textarea[class*="span"],
|
83
|
-
.uneditable-input {
|
84
|
-
@include input-block-level();
|
85
|
-
}
|
86
|
-
// But don't let it screw up prepend/append inputs
|
87
|
-
.input-prepend input,
|
88
|
-
.input-append input,
|
89
|
-
.input-prepend input[class*="span"],
|
90
|
-
.input-append input[class*="span"] {
|
91
|
-
display: inline-block; // redeclare so they don't wrap to new lines
|
92
|
-
width: auto;
|
93
|
-
}
|
94
|
-
.controls-row [class*="span"] + [class*="span"] {
|
95
|
-
margin-left: 0;
|
96
|
-
}
|
97
|
-
|
98
|
-
// Modals
|
99
|
-
.modal {
|
100
|
-
position: fixed;
|
101
|
-
top: 20px;
|
102
|
-
left: 20px;
|
103
|
-
right: 20px;
|
104
|
-
width: auto;
|
105
|
-
margin: 0;
|
106
|
-
&.fade { top: -100px; }
|
107
|
-
&.fade.in { top: 20px; }
|
108
|
-
}
|
109
|
-
|
110
|
-
}
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
// UP TO LANDSCAPE PHONE
|
115
|
-
// ---------------------
|
116
|
-
|
117
|
-
@media (max-width: 480px) {
|
118
|
-
|
119
|
-
// Smooth out the collapsing/expanding nav
|
120
|
-
.nav-collapse {
|
121
|
-
-webkit-transform: translate3d(0, 0, 0); // activate the GPU
|
122
|
-
}
|
123
|
-
|
124
|
-
// Block level the page header small tag for readability
|
125
|
-
.page-header h1 small {
|
126
|
-
display: block;
|
127
|
-
line-height: $baseLineHeight;
|
128
|
-
}
|
129
|
-
|
130
|
-
// Update checkboxes for iOS
|
131
|
-
input[type="checkbox"],
|
132
|
-
input[type="radio"] {
|
133
|
-
border: 1px solid #ccc;
|
134
|
-
}
|
135
|
-
|
136
|
-
// Remove the horizontal form styles
|
137
|
-
.form-horizontal {
|
138
|
-
.control-label {
|
139
|
-
float: none;
|
140
|
-
width: auto;
|
141
|
-
padding-top: 0;
|
142
|
-
text-align: left;
|
143
|
-
}
|
144
|
-
// Move over all input controls and content
|
145
|
-
.controls {
|
146
|
-
margin-left: 0;
|
147
|
-
}
|
148
|
-
// Move the options list down to align with labels
|
149
|
-
.control-list {
|
150
|
-
padding-top: 0; // has to be padding because margin collaspes
|
151
|
-
}
|
152
|
-
// Move over buttons in .form-actions to align with .controls
|
153
|
-
.form-actions {
|
154
|
-
padding-left: 10px;
|
155
|
-
padding-right: 10px;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
|
-
// Medias
|
160
|
-
// Reset float and spacing to stack
|
161
|
-
.media .pull-left,
|
162
|
-
.media .pull-right {
|
163
|
-
float: none;
|
164
|
-
display: block;
|
165
|
-
margin-bottom: 10px;
|
166
|
-
}
|
167
|
-
// Remove side margins since we stack instead of indent
|
168
|
-
.media-object {
|
169
|
-
margin-right: 0;
|
170
|
-
margin-left: 0;
|
171
|
-
}
|
172
|
-
|
173
|
-
// Modals
|
174
|
-
.modal {
|
175
|
-
top: 10px;
|
176
|
-
left: 10px;
|
177
|
-
right: 10px;
|
178
|
-
}
|
179
|
-
.modal-header .close {
|
180
|
-
padding: 10px;
|
181
|
-
margin: -10px;
|
182
|
-
}
|
183
|
-
|
184
|
-
// Carousel
|
185
|
-
.carousel-caption {
|
186
|
-
position: static;
|
187
|
-
}
|
188
|
-
|
189
|
-
}
|