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
@@ -0,0 +1,43 @@
|
|
1
|
+
//
|
2
|
+
// Thumbnails
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base classes
|
7
|
+
// For thumbnail block-level composite components and simple image styles
|
8
|
+
|
9
|
+
// The actual thumbnailed element
|
10
|
+
// Can be `a`, `div`, or `img`
|
11
|
+
.thumbnail,
|
12
|
+
.img-thumbnail {
|
13
|
+
padding: 4px;
|
14
|
+
line-height: $line-height-base;
|
15
|
+
background-color: $thumbnail-bg;
|
16
|
+
border: 1px solid $thumbnail-border;
|
17
|
+
border-radius: $thumbnail-border-radius;
|
18
|
+
@include transition(all .2s ease-in-out);
|
19
|
+
}
|
20
|
+
.thumbnail {
|
21
|
+
display: block;
|
22
|
+
}
|
23
|
+
.img-thumbnail {
|
24
|
+
display: inline-block;
|
25
|
+
}
|
26
|
+
|
27
|
+
// Add a hover state for linked versions only
|
28
|
+
a.thumbnail:hover,
|
29
|
+
a.thumbnail:focus {
|
30
|
+
border-color: $link-color;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Images and captions
|
34
|
+
.thumbnail > img {
|
35
|
+
display: block;
|
36
|
+
max-width: 100%;
|
37
|
+
margin-left: auto;
|
38
|
+
margin-right: auto;
|
39
|
+
}
|
40
|
+
.thumbnail .caption {
|
41
|
+
padding: 9px;
|
42
|
+
color: $thumbnail-caption-color;
|
43
|
+
}
|
@@ -6,13 +6,14 @@
|
|
6
6
|
// Base class
|
7
7
|
.tooltip {
|
8
8
|
position: absolute;
|
9
|
-
z-index: $
|
9
|
+
z-index: $zindex-tooltip;
|
10
10
|
display: block;
|
11
11
|
visibility: visible;
|
12
|
-
font-size:
|
12
|
+
font-size: $font-size-mini;
|
13
13
|
line-height: 1.4;
|
14
14
|
@include opacity(0);
|
15
|
-
|
15
|
+
|
16
|
+
&.in { @include opacity(1); }
|
16
17
|
&.top { margin-top: -3px; padding: 5px 0; }
|
17
18
|
&.right { margin-left: 3px; padding: 0 5px; }
|
18
19
|
&.bottom { margin-top: 3px; padding: 5px 0; }
|
@@ -22,12 +23,12 @@
|
|
22
23
|
// Wrapper for the tooltip content
|
23
24
|
.tooltip-inner {
|
24
25
|
max-width: 200px;
|
25
|
-
padding: 8px;
|
26
|
-
color: $
|
26
|
+
padding: 3px 8px;
|
27
|
+
color: $tooltip-color;
|
27
28
|
text-align: center;
|
28
29
|
text-decoration: none;
|
29
|
-
background-color: $
|
30
|
-
|
30
|
+
background-color: $tooltip-bg;
|
31
|
+
border-radius: $border-radius-base;
|
31
32
|
}
|
32
33
|
|
33
34
|
// Arrows
|
@@ -42,29 +43,29 @@
|
|
42
43
|
&.top .tooltip-arrow {
|
43
44
|
bottom: 0;
|
44
45
|
left: 50%;
|
45
|
-
margin-left: -$
|
46
|
-
border-width: $
|
47
|
-
border-top-color: $
|
46
|
+
margin-left: -$tooltip-arrow-width;
|
47
|
+
border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
|
48
|
+
border-top-color: $tooltip-arrow-color;
|
48
49
|
}
|
49
50
|
&.right .tooltip-arrow {
|
50
51
|
top: 50%;
|
51
52
|
left: 0;
|
52
|
-
margin-top: -$
|
53
|
-
border-width: $
|
54
|
-
border-right-color: $
|
53
|
+
margin-top: -$tooltip-arrow-width;
|
54
|
+
border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
|
55
|
+
border-right-color: $tooltip-arrow-color;
|
55
56
|
}
|
56
57
|
&.left .tooltip-arrow {
|
57
58
|
top: 50%;
|
58
59
|
right: 0;
|
59
|
-
margin-top: -$
|
60
|
-
border-width: $
|
61
|
-
border-left-color: $
|
60
|
+
margin-top: -$tooltip-arrow-width;
|
61
|
+
border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
|
62
|
+
border-left-color: $tooltip-arrow-color;
|
62
63
|
}
|
63
64
|
&.bottom .tooltip-arrow {
|
64
65
|
top: 0;
|
65
66
|
left: 50%;
|
66
|
-
margin-left: -$
|
67
|
-
border-width: 0 $
|
68
|
-
border-bottom-color: $
|
67
|
+
margin-left: -$tooltip-arrow-width;
|
68
|
+
border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
|
69
|
+
border-bottom-color: $tooltip-arrow-color;
|
69
70
|
}
|
70
71
|
}
|
@@ -0,0 +1,253 @@
|
|
1
|
+
//
|
2
|
+
// Typography
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Body text
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
p {
|
10
|
+
margin: 0 0 ($line-height-computed / 2);
|
11
|
+
}
|
12
|
+
.lead {
|
13
|
+
margin-bottom: $line-height-computed;
|
14
|
+
font-size: ($font-size-base * 1.5);
|
15
|
+
font-weight: 200;
|
16
|
+
line-height: 1.4;
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
// Emphasis & misc
|
21
|
+
// -------------------------
|
22
|
+
|
23
|
+
// Ex: 14px base font * 85% = about 12px
|
24
|
+
small { font-size: 85%; }
|
25
|
+
|
26
|
+
strong { font-weight: bold; }
|
27
|
+
em { font-style: italic; }
|
28
|
+
cite { font-style: normal; }
|
29
|
+
|
30
|
+
// Utility classes
|
31
|
+
.text-muted { color: $gray-light; }
|
32
|
+
a.text-muted:hover,
|
33
|
+
a.text-muted:focus { color: darken($gray-light, 10%); }
|
34
|
+
|
35
|
+
.text-warning { color: $state-warning-text; }
|
36
|
+
a.text-warning:hover,
|
37
|
+
a.text-warning:focus { color: darken($state-warning-text, 10%); }
|
38
|
+
|
39
|
+
.text-danger { color: $state-danger-text; }
|
40
|
+
a.text-danger:hover,
|
41
|
+
a.text-danger:focus { color: darken($state-danger-text, 10%); }
|
42
|
+
|
43
|
+
.text-success { color: $state-success-text; }
|
44
|
+
a.text-success:hover,
|
45
|
+
a.text-success:focus { color: darken($state-success-text, 10%); }
|
46
|
+
|
47
|
+
.text-left { text-align: left; }
|
48
|
+
.text-right { text-align: right; }
|
49
|
+
.text-center { text-align: center; }
|
50
|
+
|
51
|
+
|
52
|
+
// Headings
|
53
|
+
// -------------------------
|
54
|
+
|
55
|
+
h1, h2, h3, h4, h5, h6,
|
56
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
57
|
+
font-weight: $headings-font-weight;
|
58
|
+
line-height: $headings-line-height;
|
59
|
+
small {
|
60
|
+
font-weight: normal;
|
61
|
+
line-height: 1;
|
62
|
+
color: $gray-light;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
h1,
|
67
|
+
h2,
|
68
|
+
h3 {
|
69
|
+
margin-top: $line-height-computed;
|
70
|
+
margin-bottom: ($line-height-computed / 2);
|
71
|
+
}
|
72
|
+
h4,
|
73
|
+
h5,
|
74
|
+
h6 {
|
75
|
+
margin-top: ($line-height-computed / 2);
|
76
|
+
margin-bottom: ($line-height-computed / 2);
|
77
|
+
}
|
78
|
+
|
79
|
+
h1, .h1 { font-size: ceil($font-size-base * 2.70); } // ~38px
|
80
|
+
h2, .h2 { font-size: ceil($font-size-base * 2.25); } // ~32px
|
81
|
+
h3, .h3 { font-size: ceil($font-size-base * 1.70); } // ~24px
|
82
|
+
h4, .h4 { font-size: ceil($font-size-base * 1.25); } // ~18px
|
83
|
+
h5, .h5 { font-size: $font-size-base; }
|
84
|
+
h6, .h6 { font-size: ceil($font-size-base * 0.85); } // ~12px
|
85
|
+
|
86
|
+
h1 small, .h1 small { font-size: ceil($font-size-base * 1.70); } // ~24px
|
87
|
+
h2 small, .h2 small { font-size: ceil($font-size-base * 1.25); } // ~18px
|
88
|
+
h3 small, .h3 small,
|
89
|
+
h4 small, .h4 small { font-size: $font-size-base; }
|
90
|
+
|
91
|
+
|
92
|
+
// Page header
|
93
|
+
// -------------------------
|
94
|
+
|
95
|
+
.page-header {
|
96
|
+
padding-bottom: (($line-height-computed / 2) - 1);
|
97
|
+
margin: ($line-height-computed * 2) 0 $line-height-computed;
|
98
|
+
border-bottom: 1px solid $gray-lighter;
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
// Lists
|
104
|
+
// --------------------------------------------------
|
105
|
+
|
106
|
+
// Unordered and Ordered lists
|
107
|
+
ul,
|
108
|
+
ol {
|
109
|
+
padding: 0;
|
110
|
+
margin: 0 0 ($line-height-computed / 2) 25px;
|
111
|
+
}
|
112
|
+
ul ul,
|
113
|
+
ul ol,
|
114
|
+
ol ol,
|
115
|
+
ol ul {
|
116
|
+
margin-bottom: 0;
|
117
|
+
}
|
118
|
+
li {
|
119
|
+
line-height: $line-height-base;
|
120
|
+
}
|
121
|
+
|
122
|
+
// List options
|
123
|
+
|
124
|
+
// Unstyled keeps list items block level, just removes list-style
|
125
|
+
@mixin list-unstyled {
|
126
|
+
margin-left: 0;
|
127
|
+
list-style: none;
|
128
|
+
}
|
129
|
+
|
130
|
+
.list-unstyled { @include list-unstyled }
|
131
|
+
|
132
|
+
// Inline turns list items into inline-block
|
133
|
+
.list-inline {
|
134
|
+
@include list-unstyled();
|
135
|
+
> li {
|
136
|
+
display: inline-block;
|
137
|
+
padding-left: 5px;
|
138
|
+
padding-right: 5px;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
// Description Lists
|
143
|
+
dl {
|
144
|
+
margin-bottom: $line-height-computed;
|
145
|
+
}
|
146
|
+
dt,
|
147
|
+
dd {
|
148
|
+
line-height: $line-height-base;
|
149
|
+
}
|
150
|
+
dt {
|
151
|
+
font-weight: bold;
|
152
|
+
}
|
153
|
+
dd {
|
154
|
+
margin-left: ($line-height-computed / 2);
|
155
|
+
}
|
156
|
+
// Horizontal layout (like forms)
|
157
|
+
.dl-horizontal {
|
158
|
+
@include clearfix(); // Ensure dl clears floats if empty dd elements present
|
159
|
+
dt {
|
160
|
+
float: left;
|
161
|
+
width: ($component-offset-horizontal - 20);
|
162
|
+
clear: left;
|
163
|
+
text-align: right;
|
164
|
+
@include text-overflow();
|
165
|
+
}
|
166
|
+
dd {
|
167
|
+
margin-left: $component-offset-horizontal;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
// MISC
|
172
|
+
// ----
|
173
|
+
|
174
|
+
// Horizontal rules
|
175
|
+
hr {
|
176
|
+
margin: $line-height-computed 0;
|
177
|
+
border: 0;
|
178
|
+
border-top: 1px solid $hr-border;
|
179
|
+
border-bottom: 1px solid #fff;
|
180
|
+
border-bottom: 1px solid rgba(255,255,255,.5);
|
181
|
+
}
|
182
|
+
|
183
|
+
// Abbreviations and acronyms
|
184
|
+
abbr[title],
|
185
|
+
// Added data-* attribute to help out our tooltip plugin, per https://github.com/twitter/bootstrap/issues/5257
|
186
|
+
abbr[data-original-title] {
|
187
|
+
cursor: help;
|
188
|
+
border-bottom: 1px dotted $gray-light;
|
189
|
+
}
|
190
|
+
abbr.initialism {
|
191
|
+
font-size: 90%;
|
192
|
+
text-transform: uppercase;
|
193
|
+
}
|
194
|
+
|
195
|
+
// Blockquotes
|
196
|
+
blockquote {
|
197
|
+
padding: ($line-height-computed / 2) $line-height-computed;
|
198
|
+
margin: 0 0 $line-height-computed;
|
199
|
+
border-left: 5px solid $gray-lighter;
|
200
|
+
p {
|
201
|
+
font-size: ($font-size-base * 1.25);
|
202
|
+
font-weight: 300;
|
203
|
+
line-height: 1.25;
|
204
|
+
}
|
205
|
+
p:last-child {
|
206
|
+
margin-bottom: 0;
|
207
|
+
}
|
208
|
+
small {
|
209
|
+
display: block;
|
210
|
+
line-height: $line-height-base;
|
211
|
+
color: $gray-light;
|
212
|
+
&:before {
|
213
|
+
content: '\2014 \00A0';
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
// Float right with text-align: right
|
218
|
+
&.pull-right {
|
219
|
+
float: right;
|
220
|
+
padding-right: 15px;
|
221
|
+
padding-left: 0;
|
222
|
+
border-right: 5px solid $gray-lighter;
|
223
|
+
border-left: 0;
|
224
|
+
p,
|
225
|
+
small {
|
226
|
+
text-align: right;
|
227
|
+
}
|
228
|
+
small {
|
229
|
+
&:before {
|
230
|
+
content: '';
|
231
|
+
}
|
232
|
+
&:after {
|
233
|
+
content: '\00A0 \2014';
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
// Quotes
|
240
|
+
q:before,
|
241
|
+
q:after,
|
242
|
+
blockquote:before,
|
243
|
+
blockquote:after {
|
244
|
+
content: "";
|
245
|
+
}
|
246
|
+
|
247
|
+
// Addresses
|
248
|
+
address {
|
249
|
+
display: block;
|
250
|
+
margin-bottom: $line-height-computed;
|
251
|
+
font-style: normal;
|
252
|
+
line-height: $line-height-base;
|
253
|
+
}
|
@@ -3,7 +3,12 @@
|
|
3
3
|
// --------------------------------------------------
|
4
4
|
|
5
5
|
|
6
|
-
//
|
6
|
+
// Floats
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
.clearfix {
|
10
|
+
@include clearfix();
|
11
|
+
}
|
7
12
|
.pull-right {
|
8
13
|
float: right;
|
9
14
|
}
|
@@ -11,20 +16,27 @@
|
|
11
16
|
float: left;
|
12
17
|
}
|
13
18
|
|
19
|
+
|
14
20
|
// Toggling content
|
21
|
+
// -------------------------
|
22
|
+
|
15
23
|
.hide {
|
16
|
-
display: none;
|
24
|
+
display: none !important;
|
17
25
|
}
|
18
26
|
.show {
|
19
|
-
display: block;
|
27
|
+
display: block !important;
|
20
28
|
}
|
21
|
-
|
22
|
-
// Visibility
|
23
29
|
.invisible {
|
24
30
|
visibility: hidden;
|
25
31
|
}
|
32
|
+
.text-hide {
|
33
|
+
@include hide-text();
|
34
|
+
}
|
35
|
+
|
26
36
|
|
27
37
|
// For Affix plugin
|
38
|
+
// -------------------------
|
39
|
+
|
28
40
|
.affix {
|
29
41
|
position: fixed;
|
30
42
|
}
|
@@ -0,0 +1,416 @@
|
|
1
|
+
//
|
2
|
+
// Variables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Global values
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
|
10
|
+
// Grays
|
11
|
+
// -------------------------
|
12
|
+
|
13
|
+
$gray-darker: lighten(#000, 13.5%) !default; // #222
|
14
|
+
$gray-dark: lighten(#000, 20%) !default; // #333
|
15
|
+
$gray: lighten(#000, 33.5%) !default; // #555
|
16
|
+
$gray-light: lighten(#000, 60%) !default; // #999
|
17
|
+
$gray-lighter: lighten(#000, 93.5%) !default; // #eee
|
18
|
+
|
19
|
+
// Brand colors
|
20
|
+
// -------------------------
|
21
|
+
|
22
|
+
$brand-primary: #428bca !default;
|
23
|
+
$brand-success: #5cb85c !default;
|
24
|
+
$brand-warning: #f0ad4e !default;
|
25
|
+
$brand-danger: #d9534f !default;
|
26
|
+
$brand-info: #5bc0de !default;
|
27
|
+
|
28
|
+
// Scaffolding
|
29
|
+
// -------------------------
|
30
|
+
|
31
|
+
$body-bg: #fff !default;
|
32
|
+
$text-color: $gray-dark !default;
|
33
|
+
|
34
|
+
// Links
|
35
|
+
// -------------------------
|
36
|
+
|
37
|
+
$link-color: $brand-primary !default;
|
38
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
39
|
+
|
40
|
+
// Typography
|
41
|
+
// -------------------------
|
42
|
+
|
43
|
+
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
44
|
+
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
|
45
|
+
$font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace !default;
|
46
|
+
$font-family-base: $font-family-sans-serif !default;
|
47
|
+
|
48
|
+
$font-size-base: 14px !default;
|
49
|
+
$font-size-large: ceil($font-size-base * 1.25) !default; // ~18px
|
50
|
+
$font-size-small: ceil($font-size-base * 0.85) !default; // ~12px
|
51
|
+
$font-size-mini: ceil($font-size-base * 0.75) !default; // ~11px
|
52
|
+
|
53
|
+
$line-height-base: 1.428571429 !default; // 20/14
|
54
|
+
$line-height-computed: floor($font-size-base * $line-height-base) !default; // ~20px
|
55
|
+
|
56
|
+
$headings-font-weight: 500 !default;
|
57
|
+
$headings-line-height: 1.1 !default;
|
58
|
+
|
59
|
+
|
60
|
+
// Components
|
61
|
+
// -------------------------
|
62
|
+
// Based on 14px font-size and 1.428 line-height (~20px to start)
|
63
|
+
|
64
|
+
$padding-base-vertical: 8px !default;
|
65
|
+
$padding-base-horizontal: 12px !default;
|
66
|
+
|
67
|
+
$padding-large-vertical: 14px !default;
|
68
|
+
$padding-large-horizontal: 16px !default;
|
69
|
+
|
70
|
+
$padding-small-vertical: 5px !default;
|
71
|
+
$padding-small-horizontal: 10px !default;
|
72
|
+
|
73
|
+
$border-radius-base: 4px !default;
|
74
|
+
$border-radius-large: 6px !default;
|
75
|
+
$border-radius-small: 3px !default;
|
76
|
+
|
77
|
+
$component-active-bg: $brand-primary !default;
|
78
|
+
|
79
|
+
|
80
|
+
// Tables
|
81
|
+
// -------------------------
|
82
|
+
|
83
|
+
$table-bg: transparent !default; // overall background-color
|
84
|
+
$table-bg-accent: #f9f9f9 !default; // for striping
|
85
|
+
$table-bg-hover: #f5f5f5 !default; // for hover
|
86
|
+
|
87
|
+
$table-border-color: #ddd !default; // table and cell border
|
88
|
+
|
89
|
+
|
90
|
+
// Buttons
|
91
|
+
// -------------------------
|
92
|
+
|
93
|
+
$btn-default-color: #fff !default;
|
94
|
+
$btn-default-bg: #a7a9aa !default;
|
95
|
+
$btn-default-border: $btn-default-bg !default;
|
96
|
+
|
97
|
+
$btn-primary-color: $btn-default-color !default;
|
98
|
+
$btn-primary-bg: $brand-primary !default;
|
99
|
+
$btn-primary-border: $btn-primary-bg !default;
|
100
|
+
|
101
|
+
$btn-success-color: $btn-default-color !default;
|
102
|
+
$btn-success-bg: $brand-success !default;
|
103
|
+
$btn-success-border: $btn-success-bg !default;
|
104
|
+
|
105
|
+
$btn-warning-color: $btn-default-color !default;
|
106
|
+
$btn-warning-bg: $brand-warning !default;
|
107
|
+
$btn-warning-border: $btn-warning-bg !default;
|
108
|
+
|
109
|
+
$btn-danger-color: $btn-default-color !default;
|
110
|
+
$btn-danger-bg: $brand-danger !default;
|
111
|
+
$btn-danger-border: $btn-danger-bg !default;
|
112
|
+
|
113
|
+
$btn-info-color: $btn-default-color !default;
|
114
|
+
$btn-info-bg: $brand-info !default;
|
115
|
+
$btn-info-border: $btn-info-bg !default;
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
// Forms
|
120
|
+
// -------------------------
|
121
|
+
|
122
|
+
$input-bg: #fff !default;
|
123
|
+
$input-bg-disabled: $gray-lighter !default;
|
124
|
+
|
125
|
+
$input-border: #ccc !default;
|
126
|
+
$input-border-radius: $border-radius-base !default;
|
127
|
+
|
128
|
+
$input-color-placeholder: $gray-light !default;
|
129
|
+
|
130
|
+
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2)) !default;
|
131
|
+
$input-height-large: ($line-height-computed + ($padding-large-vertical * 2)) !default;
|
132
|
+
$input-height-small: ($line-height-computed + ($padding-small-vertical * 2)) !default;
|
133
|
+
|
134
|
+
$form-actions-bg: #f5f5f5 !default;
|
135
|
+
|
136
|
+
|
137
|
+
// Dropdowns
|
138
|
+
// -------------------------
|
139
|
+
|
140
|
+
$dropdown-bg: #fff !default;
|
141
|
+
$dropdown-border: rgba(0,0,0,.15) !default;
|
142
|
+
$dropdown-divider-top: #e5e5e5 !default;
|
143
|
+
$dropdown-divider-bottom: #fff !default;
|
144
|
+
|
145
|
+
$dropdown-link-active-color: #fff !default;
|
146
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
147
|
+
|
148
|
+
$dropdown-link-color: $gray-dark !default;
|
149
|
+
$dropdown-link-hover-color: #fff !default;
|
150
|
+
$dropdown-link-hover-bg: $dropdown-link-active-bg !default;
|
151
|
+
|
152
|
+
|
153
|
+
// COMPONENT VARIABLES
|
154
|
+
// --------------------------------------------------
|
155
|
+
|
156
|
+
|
157
|
+
// Z-index master list
|
158
|
+
// -------------------------
|
159
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
160
|
+
// Try to avoid customizing these :)
|
161
|
+
|
162
|
+
$zindex-dropdown: 1000 !default;
|
163
|
+
$zindex-popover: 1010 !default;
|
164
|
+
$zindex-tooltip: 1030 !default;
|
165
|
+
$zindex-navbar-fixed: 1030 !default;
|
166
|
+
$zindex-modal-background: 1040 !default;
|
167
|
+
$zindex-modal: 1050 !default;
|
168
|
+
|
169
|
+
|
170
|
+
// Glyphicons font path
|
171
|
+
// -------------------------
|
172
|
+
$glyphicons-font-path: "twitter" !default;
|
173
|
+
|
174
|
+
|
175
|
+
// Navbar
|
176
|
+
// -------------------------
|
177
|
+
|
178
|
+
// Basics of a navbar
|
179
|
+
$navbar-height: 50px !default;
|
180
|
+
$navbar-color: #777 !default;
|
181
|
+
$navbar-bg: #eee !default;
|
182
|
+
|
183
|
+
// Navbar links
|
184
|
+
$navbar-link-color: #777 !default;
|
185
|
+
$navbar-link-hover-color: #333 !default;
|
186
|
+
$navbar-link-hover-bg: transparent !default;
|
187
|
+
$navbar-link-active-color: #555 !default;
|
188
|
+
$navbar-link-active-bg: darken($navbar-bg, 10%) !default;
|
189
|
+
$navbar-link-disabled-color: #ccc !default;
|
190
|
+
$navbar-link-disabled-bg: transparent !default;
|
191
|
+
|
192
|
+
// Navbar brand label
|
193
|
+
$navbar-brand-color: $navbar-link-color !default;
|
194
|
+
$navbar-brand-hover-color: darken($navbar-link-color, 10%) !default;
|
195
|
+
$navbar-brand-hover-bg: transparent !default;
|
196
|
+
|
197
|
+
// Inverted navbar
|
198
|
+
$navbar-inverse-color: $gray-light !default;
|
199
|
+
$navbar-inverse-bg: #222 !default;
|
200
|
+
|
201
|
+
// Inverted navbar links
|
202
|
+
$navbar-inverse-link-color: $gray-light !default;
|
203
|
+
$navbar-inverse-link-hover-color: #fff !default;
|
204
|
+
$navbar-inverse-link-hover-bg: transparent !default;
|
205
|
+
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
|
206
|
+
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
|
207
|
+
$navbar-inverse-link-disabled-color: #444 !default;
|
208
|
+
$navbar-inverse-link-disabled-bg: transparent !default;
|
209
|
+
|
210
|
+
// Inverted navbar brand label
|
211
|
+
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;
|
212
|
+
$navbar-inverse-brand-hover-color: #fff !default;
|
213
|
+
$navbar-inverse-brand-hover-bg: transparent !default;
|
214
|
+
|
215
|
+
// Inverted navbar search
|
216
|
+
// Normal navbar needs no special styles or vars
|
217
|
+
$navbar-inverse-search-bg: lighten($navbar-inverse-bg, 25%) !default;
|
218
|
+
$navbar-inverse-search-bg-focus: #fff !default;
|
219
|
+
$navbar-inverse-search-border: $navbar-inverse-bg !default;
|
220
|
+
$navbar-inverse-search-placeholder-color: #ccc !default;
|
221
|
+
|
222
|
+
|
223
|
+
// Pagination
|
224
|
+
// -------------------------
|
225
|
+
|
226
|
+
$pagination-bg: #fff !default;
|
227
|
+
$pagination-border: #ddd !default;
|
228
|
+
$pagination-active-bg: #f5f5f5 !default;
|
229
|
+
|
230
|
+
|
231
|
+
// Jumbotron
|
232
|
+
// -------------------------
|
233
|
+
|
234
|
+
$jumbotron-bg: $gray-lighter !default;
|
235
|
+
$jumbotron-heading-color: inherit !default;
|
236
|
+
$jumbotron-lead-color: inherit !default;
|
237
|
+
|
238
|
+
|
239
|
+
// Form states and alerts
|
240
|
+
// -------------------------
|
241
|
+
|
242
|
+
$state-warning-text: #c09853 !default;
|
243
|
+
$state-warning-bg: #fcf8e3 !default;
|
244
|
+
$state-warning-border: darken(adjust-hue($state-warning-bg, -10%), 3%) !default;
|
245
|
+
|
246
|
+
$state-danger-text: #b94a48 !default;
|
247
|
+
$state-danger-bg: #f2dede !default;
|
248
|
+
$state-danger-border: darken(adjust-hue($state-danger-bg, -10%), 3%) !default;
|
249
|
+
|
250
|
+
$state-success-text: #468847 !default;
|
251
|
+
$state-success-bg: #dff0d8 !default;
|
252
|
+
$state-success-border: darken(adjust-hue($state-success-bg, -10%), 5%) !default;
|
253
|
+
|
254
|
+
$state-info-text: #3a87ad !default;
|
255
|
+
$state-info-bg: #d9edf7 !default;
|
256
|
+
$state-info-border: darken(adjust-hue($state-info-bg, -10%), 7%) !default;
|
257
|
+
|
258
|
+
|
259
|
+
// Tooltips and popovers
|
260
|
+
// -------------------------
|
261
|
+
$tooltip-color: #fff !default;
|
262
|
+
$tooltip-bg: rgba(0,0,0,.9) !default;
|
263
|
+
$tooltip-arrow-width: 5px !default;
|
264
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
265
|
+
|
266
|
+
$popover-bg: #fff !default;
|
267
|
+
$popover-arrow-width: 10px !default;
|
268
|
+
$popover-arrow-color: #fff !default;
|
269
|
+
$popover-title-bg: darken($popover-bg, 3%) !default;
|
270
|
+
|
271
|
+
// Special enhancement for popovers
|
272
|
+
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
|
273
|
+
$popover-arrow-outer-color: rgba(0,0,0,.25) !default;
|
274
|
+
|
275
|
+
|
276
|
+
// Labels
|
277
|
+
// -------------------------
|
278
|
+
$label-success-bg: $brand-success !default;
|
279
|
+
$label-info-bg: $brand-info !default;
|
280
|
+
$label-warning-bg: $brand-warning !default;
|
281
|
+
$label-danger-bg: $brand-danger !default;
|
282
|
+
|
283
|
+
|
284
|
+
// Modals
|
285
|
+
// -------------------------
|
286
|
+
$modal-inner-padding: 20px !default;
|
287
|
+
|
288
|
+
$modal-title-padding: 15px !default;
|
289
|
+
$modal-title-line-height: $line-height-base !default;
|
290
|
+
|
291
|
+
// Alerts
|
292
|
+
// -------------------------
|
293
|
+
$alert-bg: $state-warning-bg !default;
|
294
|
+
$alert-text: $state-warning-text !default;
|
295
|
+
$alert-border: $state-warning-border !default;
|
296
|
+
$alert-border-radius: $border-radius-base !default;
|
297
|
+
|
298
|
+
$alert-success-bg: $state-success-bg !default;
|
299
|
+
$alert-success-text: $state-success-text !default;
|
300
|
+
$alert-success-border: $state-success-border !default;
|
301
|
+
|
302
|
+
$alert-danger-bg: $state-danger-bg !default;
|
303
|
+
$alert-danger-text: $state-danger-text !default;
|
304
|
+
$alert-danger-border: $state-danger-border !default;
|
305
|
+
|
306
|
+
$alert-info-bg: $state-info-bg !default;
|
307
|
+
$alert-info-text: $state-info-text !default;
|
308
|
+
$alert-info-border: $state-info-border !default;
|
309
|
+
|
310
|
+
|
311
|
+
// Progress bars
|
312
|
+
// -------------------------
|
313
|
+
$progress-bg: #f5f5f5 !default;
|
314
|
+
$progress-bar-bg: $brand-primary !default;
|
315
|
+
$progress-bar-success-bg: $brand-success !default;
|
316
|
+
$progress-bar-warning-bg: $brand-warning !default;
|
317
|
+
$progress-bar-danger-bg: $brand-danger !default;
|
318
|
+
$progress-bar-info-bg: $brand-info !default;
|
319
|
+
|
320
|
+
|
321
|
+
// List group
|
322
|
+
// -------------------------
|
323
|
+
$list-group-bg: #fff !default;
|
324
|
+
$list-group-border: #ddd !default;
|
325
|
+
$list-group-border-radius: $border-radius-base !default;
|
326
|
+
|
327
|
+
$list-group-hover-bg: #f5f5f5 !default;
|
328
|
+
$list-group-active-color: #fff !default;
|
329
|
+
$list-group-active-bg: $component-active-bg !default;
|
330
|
+
$list-group-active-border: $list-group-active-bg !default;
|
331
|
+
|
332
|
+
// Panels
|
333
|
+
// -------------------------
|
334
|
+
$panel-bg: #fff !default;
|
335
|
+
$panel-border: #ddd !default;
|
336
|
+
$panel-border-radius: $border-radius-base !default;
|
337
|
+
$panel-heading-bg: #f5f5f5 !default;
|
338
|
+
$panel-footer-bg: #f5f5f5 !default;
|
339
|
+
|
340
|
+
$panel-primary-text: #fff !default;
|
341
|
+
$panel-primary-border: $brand-primary !default;
|
342
|
+
$panel-primary-heading-bg: $brand-primary !default;
|
343
|
+
|
344
|
+
$panel-success-text: $state-success-text !default;
|
345
|
+
$panel-success-border: $state-success-border !default;
|
346
|
+
$panel-success-heading-bg: $state-success-bg !default;
|
347
|
+
|
348
|
+
$panel-warning-text: $state-warning-text !default;
|
349
|
+
$panel-warning-border: $state-warning-border !default;
|
350
|
+
$panel-warning-heading-bg: $state-warning-bg !default;
|
351
|
+
|
352
|
+
$panel-danger-text: $state-danger-text !default;
|
353
|
+
$panel-danger-border: $state-danger-border !default;
|
354
|
+
$panel-danger-heading-bg: $state-danger-bg !default;
|
355
|
+
|
356
|
+
$panel-info-text: $state-info-text !default;
|
357
|
+
$panel-info-border: $state-info-border !default;
|
358
|
+
$panel-info-heading-bg: $state-info-bg !default;
|
359
|
+
|
360
|
+
|
361
|
+
// Thumbnails
|
362
|
+
// -------------------------
|
363
|
+
$thumbnail-caption-color: $text-color !default;
|
364
|
+
$thumbnail-bg: $body-bg !default;
|
365
|
+
$thumbnail-border: #ddd !default;
|
366
|
+
$thumbnail-border-radius: $border-radius-base !default;
|
367
|
+
|
368
|
+
|
369
|
+
// Wells
|
370
|
+
// -------------------------
|
371
|
+
$well-bg: #f5f5f5 !default;
|
372
|
+
|
373
|
+
|
374
|
+
// Miscellaneous
|
375
|
+
// -------------------------
|
376
|
+
|
377
|
+
// Hr border color
|
378
|
+
$hr-border: $gray-lighter !default;
|
379
|
+
|
380
|
+
// Horizontal forms & lists
|
381
|
+
$component-offset-horizontal: 180px !default;
|
382
|
+
|
383
|
+
|
384
|
+
// Media queries breakpoints
|
385
|
+
// --------------------------------------------------
|
386
|
+
|
387
|
+
// Tiny screen / phone
|
388
|
+
$screen-tiny: 480px !default;
|
389
|
+
$screen-phone: $screen-tiny !default;
|
390
|
+
|
391
|
+
// Small screen / tablet
|
392
|
+
$screen-small: 768px !default;
|
393
|
+
$screen-tablet: $screen-small !default;
|
394
|
+
|
395
|
+
// Medium screen / desktop
|
396
|
+
$screen-medium: 992px !default;
|
397
|
+
$screen-desktop: $screen-medium !default;
|
398
|
+
|
399
|
+
// So media queries don't overlap when required, provide a maximum
|
400
|
+
$screen-small-max: ($screen-medium - 1) !default;
|
401
|
+
$screen-tablet-max: $screen-small-max !default;
|
402
|
+
|
403
|
+
// Large screen / wide desktop
|
404
|
+
$screen-large: 1200px !default;
|
405
|
+
$screen-large-desktop: $screen-large !default;
|
406
|
+
|
407
|
+
|
408
|
+
// Grid system
|
409
|
+
// --------------------------------------------------
|
410
|
+
|
411
|
+
// Number of columns in the grid system
|
412
|
+
$grid-columns: 12 !default;
|
413
|
+
// Padding, to be divided by two and applied to the left and right of all columns
|
414
|
+
$grid-gutter-width: 30px !default;
|
415
|
+
// Point at which the navbar stops collapsing
|
416
|
+
$grid-float-breakpoint: $screen-tablet !default;
|