compass_twitter_bootstrap 2.0.1.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +17 -0
- data/build/convert.rb +2 -12
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +2 -2
- data/stylesheets/_compass_twitter_bootstrap_awesome.scss +66 -0
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +14 -293
- data/stylesheets/compass_twitter_bootstrap/_accordion.scss +6 -1
- data/stylesheets/compass_twitter_bootstrap/_alerts.scss +3 -15
- data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +5 -3
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +82 -39
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +38 -30
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +5 -5
- data/stylesheets/compass_twitter_bootstrap/_close.scss +13 -2
- data/stylesheets/compass_twitter_bootstrap/_code.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +10 -8
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +62 -49
- data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +267 -0
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +141 -77
- data/stylesheets/compass_twitter_bootstrap/_grid.scss +2 -5
- data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +4 -2
- data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +63 -0
- data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -3
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +275 -255
- data/stylesheets/compass_twitter_bootstrap/_modals.scss +19 -12
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +146 -81
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +77 -52
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +8 -2
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +6 -5
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +41 -19
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +26 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +149 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +17 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +146 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +41 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +42 -9
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +60 -34
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +18 -6
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +7 -7
- data/stylesheets/compass_twitter_bootstrap/_type.scss +28 -11
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +107 -9
- data/stylesheets/compass_twitter_bootstrap/_wells.scss +13 -2
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -2
- data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +70 -0
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +13 -224
- data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +5 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +3 -14
- data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +5 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +73 -36
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +39 -28
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +12 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +10 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +57 -47
- data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +515 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +140 -76
- data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +2 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +85 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +277 -260
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +19 -12
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +138 -78
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +77 -51
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +8 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +6 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +9 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +44 -19
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +4 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +17 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +11 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +56 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +4 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +70 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +72 -34
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +15 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +7 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +27 -11
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +105 -8
- data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +11 -2
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome-webfont.svgz +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
- data/vendor/assets/javascripts/bootstrap-all.js +12 -0
- data/vendor/assets/javascripts/bootstrap-button.js +32 -34
- data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
- data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
- data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
- data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
- data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
- data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
- data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
- data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
- data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
- metadata +29 -9
- data/stylesheets/compass_twitter_bootstrap/_labels.scss +0 -32
- data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +0 -42
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
table {
|
|
11
11
|
max-width: 100%;
|
|
12
|
+
background-color: $tableBackground;
|
|
12
13
|
border-collapse: collapse;
|
|
13
14
|
border-spacing: 0;
|
|
14
15
|
}
|
|
@@ -26,7 +27,7 @@ table {
|
|
|
26
27
|
line-height: $baseLineHeight;
|
|
27
28
|
text-align: left;
|
|
28
29
|
vertical-align: top;
|
|
29
|
-
border-top: 1px solid
|
|
30
|
+
border-top: 1px solid $tableBorder;
|
|
30
31
|
}
|
|
31
32
|
th {
|
|
32
33
|
font-weight: bold;
|
|
@@ -36,13 +37,17 @@ table {
|
|
|
36
37
|
vertical-align: bottom;
|
|
37
38
|
}
|
|
38
39
|
// Remove top border from thead by default
|
|
39
|
-
thead:first-child
|
|
40
|
-
thead:first-child
|
|
40
|
+
caption + thead tr:first-child th,
|
|
41
|
+
caption + thead tr:first-child td,
|
|
42
|
+
colgroup + thead tr:first-child th,
|
|
43
|
+
colgroup + thead tr:first-child td,
|
|
44
|
+
thead:first-child tr:first-child th,
|
|
45
|
+
thead:first-child tr:first-child td {
|
|
41
46
|
border-top: 0;
|
|
42
47
|
}
|
|
43
48
|
// Account for multiple tbody instances
|
|
44
49
|
tbody + tbody {
|
|
45
|
-
border-top: 2px solid
|
|
50
|
+
border-top: 2px solid $tableBorder;
|
|
46
51
|
}
|
|
47
52
|
}
|
|
48
53
|
|
|
@@ -63,17 +68,22 @@ table {
|
|
|
63
68
|
// ----------------
|
|
64
69
|
|
|
65
70
|
.table-bordered {
|
|
66
|
-
border: 1px solid
|
|
71
|
+
border: 1px solid $tableBorder;
|
|
67
72
|
border-collapse: separate; // Done so we can round those corners!
|
|
68
73
|
*border-collapse: collapsed; // IE7 can't round corners anyway
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
border-left: 1px solid #ddd;
|
|
74
|
+
border-left: 0;
|
|
75
|
+
@include bootstrap-border-radius(4px);
|
|
76
|
+
th,
|
|
77
|
+
td {
|
|
78
|
+
border-left: 1px solid $tableBorder;
|
|
75
79
|
}
|
|
76
80
|
// Prevent a double border
|
|
81
|
+
caption + thead tr:first-child th,
|
|
82
|
+
caption + tbody tr:first-child th,
|
|
83
|
+
caption + tbody tr:first-child td,
|
|
84
|
+
colgroup + thead tr:first-child th,
|
|
85
|
+
colgroup + tbody tr:first-child th,
|
|
86
|
+
colgroup + tbody tr:first-child td,
|
|
77
87
|
thead:first-child tr:first-child th,
|
|
78
88
|
tbody:first-child tr:first-child th,
|
|
79
89
|
tbody:first-child tr:first-child td {
|
|
@@ -82,20 +92,29 @@ table {
|
|
|
82
92
|
// For first th or td in the first row in the first thead or tbody
|
|
83
93
|
thead:first-child tr:first-child th:first-child,
|
|
84
94
|
tbody:first-child tr:first-child td:first-child {
|
|
85
|
-
|
|
95
|
+
-webkit-border-top-left-radius: 4px;
|
|
96
|
+
border-top-left-radius: 4px;
|
|
97
|
+
-moz-border-radius-topleft: 4px;
|
|
86
98
|
}
|
|
87
99
|
thead:first-child tr:first-child th:last-child,
|
|
88
100
|
tbody:first-child tr:first-child td:last-child {
|
|
89
|
-
|
|
101
|
+
-webkit-border-top-right-radius: 4px;
|
|
102
|
+
border-top-right-radius: 4px;
|
|
103
|
+
-moz-border-radius-topright: 4px;
|
|
90
104
|
}
|
|
91
105
|
// For first th or td in the first row in the first thead or tbody
|
|
92
106
|
thead:last-child tr:last-child th:first-child,
|
|
93
107
|
tbody:last-child tr:last-child td:first-child {
|
|
94
|
-
@include border-radius(0 0 0 4px);
|
|
108
|
+
@include bootstrap-border-radius(0 0 0 4px);
|
|
109
|
+
-webkit-border-bottom-left-radius: 4px;
|
|
110
|
+
border-bottom-left-radius: 4px;
|
|
111
|
+
-moz-border-radius-bottomleft: 4px;
|
|
95
112
|
}
|
|
96
113
|
thead:last-child tr:last-child th:last-child,
|
|
97
114
|
tbody:last-child tr:last-child td:last-child {
|
|
98
|
-
|
|
115
|
+
-webkit-border-bottom-right-radius: 4px;
|
|
116
|
+
border-bottom-right-radius: 4px;
|
|
117
|
+
-moz-border-radius-bottomright: 4px;
|
|
99
118
|
}
|
|
100
119
|
}
|
|
101
120
|
|
|
@@ -108,7 +127,7 @@ table {
|
|
|
108
127
|
tbody {
|
|
109
128
|
tr:nth-child(odd) td,
|
|
110
129
|
tr:nth-child(odd) th {
|
|
111
|
-
background-color:
|
|
130
|
+
background-color: $tableBackgroundAccent;
|
|
112
131
|
}
|
|
113
132
|
}
|
|
114
133
|
}
|
|
@@ -120,7 +139,7 @@ table {
|
|
|
120
139
|
.table {
|
|
121
140
|
tbody tr:hover td,
|
|
122
141
|
tbody tr:hover th {
|
|
123
|
-
background-color:
|
|
142
|
+
background-color: $tableBackgroundHover;
|
|
124
143
|
}
|
|
125
144
|
}
|
|
126
145
|
|
|
@@ -129,22 +148,29 @@ table {
|
|
|
129
148
|
// -----------------
|
|
130
149
|
|
|
131
150
|
// Change the columns
|
|
132
|
-
@mixin tableColumns($columnSpan: 1) {
|
|
133
|
-
float: none;
|
|
134
|
-
width: (($gridColumnWidth) * $columnSpan) + ($gridGutterWidth * ($columnSpan - 1)) - 16;
|
|
135
|
-
margin-left: 0;
|
|
136
|
-
}
|
|
137
151
|
table {
|
|
138
|
-
.span1 { @include tableColumns(1); }
|
|
139
|
-
.span2 { @include tableColumns(2); }
|
|
140
|
-
.span3 { @include tableColumns(3); }
|
|
141
|
-
.span4 { @include tableColumns(4); }
|
|
142
|
-
.span5 { @include tableColumns(5); }
|
|
143
|
-
.span6 { @include tableColumns(6); }
|
|
144
|
-
.span7 { @include tableColumns(7); }
|
|
145
|
-
.span8 { @include tableColumns(8); }
|
|
146
|
-
.span9 { @include tableColumns(9); }
|
|
147
|
-
.span10 { @include tableColumns(10); }
|
|
148
|
-
.span11 { @include tableColumns(11); }
|
|
149
|
-
.span12 { @include tableColumns(12); }
|
|
152
|
+
.span1 { @include bootstrap-tableColumns(1); }
|
|
153
|
+
.span2 { @include bootstrap-tableColumns(2); }
|
|
154
|
+
.span3 { @include bootstrap-tableColumns(3); }
|
|
155
|
+
.span4 { @include bootstrap-tableColumns(4); }
|
|
156
|
+
.span5 { @include bootstrap-tableColumns(5); }
|
|
157
|
+
.span6 { @include bootstrap-tableColumns(6); }
|
|
158
|
+
.span7 { @include bootstrap-tableColumns(7); }
|
|
159
|
+
.span8 { @include bootstrap-tableColumns(8); }
|
|
160
|
+
.span9 { @include bootstrap-tableColumns(9); }
|
|
161
|
+
.span10 { @include bootstrap-tableColumns(10); }
|
|
162
|
+
.span11 { @include bootstrap-tableColumns(11); }
|
|
163
|
+
.span12 { @include bootstrap-tableColumns(12); }
|
|
164
|
+
.span13 { @include bootstrap-tableColumns(13); }
|
|
165
|
+
.span14 { @include bootstrap-tableColumns(14); }
|
|
166
|
+
.span15 { @include bootstrap-tableColumns(15); }
|
|
167
|
+
.span16 { @include bootstrap-tableColumns(16); }
|
|
168
|
+
.span17 { @include bootstrap-tableColumns(17); }
|
|
169
|
+
.span18 { @include bootstrap-tableColumns(18); }
|
|
170
|
+
.span19 { @include bootstrap-tableColumns(19); }
|
|
171
|
+
.span20 { @include bootstrap-tableColumns(20); }
|
|
172
|
+
.span21 { @include bootstrap-tableColumns(21); }
|
|
173
|
+
.span22 { @include bootstrap-tableColumns(22); }
|
|
174
|
+
.span23 { @include bootstrap-tableColumns(23); }
|
|
175
|
+
.span24 { @include bootstrap-tableColumns(24); }
|
|
150
176
|
}
|
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
// THUMBNAILS
|
|
2
2
|
// ----------
|
|
3
|
+
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
|
3
4
|
|
|
5
|
+
// Make wrapper ul behave like the grid
|
|
4
6
|
.thumbnails {
|
|
5
7
|
margin-left: -$gridGutterWidth;
|
|
6
8
|
list-style: none;
|
|
7
|
-
@include clearfix();
|
|
9
|
+
@include bootstrap-clearfix();
|
|
8
10
|
}
|
|
11
|
+
// Fluid rows have no left margin
|
|
12
|
+
.row-fluid .thumbnails {
|
|
13
|
+
margin-left: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Float li to make thumbnails appear in a row
|
|
9
17
|
.thumbnails > li {
|
|
10
|
-
float: left;
|
|
11
|
-
margin:
|
|
18
|
+
float: left; // Explicity set the float since we don't require .span* classes
|
|
19
|
+
margin-bottom: $baseLineHeight;
|
|
20
|
+
margin-left: $gridGutterWidth;
|
|
12
21
|
}
|
|
22
|
+
|
|
23
|
+
// The actual thumbnail (can be `a` or `div`)
|
|
13
24
|
.thumbnail {
|
|
14
25
|
display: block;
|
|
15
26
|
padding: 4px;
|
|
16
27
|
line-height: 1;
|
|
17
28
|
border: 1px solid #ddd;
|
|
18
|
-
@include border-radius(4px);
|
|
19
|
-
@include box-shadow(0 1px 1px rgba(0,0,0,.075));
|
|
29
|
+
@include bootstrap-border-radius(4px);
|
|
30
|
+
@include bootstrap-box-shadow(0 1px 1px rgba(0,0,0,.075));
|
|
20
31
|
}
|
|
21
32
|
// Add a hover state for linked versions only
|
|
22
33
|
a.thumbnail:hover {
|
|
23
34
|
border-color: $linkColor;
|
|
24
|
-
@include box-shadow(0 1px 4px rgba(0,105,214,.25));
|
|
35
|
+
@include bootstrap-box-shadow(0 1px 4px rgba(0,105,214,.25));
|
|
25
36
|
}
|
|
37
|
+
|
|
26
38
|
// Images and captions
|
|
27
39
|
.thumbnail > img {
|
|
28
40
|
display: block;
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
visibility: visible;
|
|
9
9
|
padding: 5px;
|
|
10
10
|
font-size: 11px;
|
|
11
|
-
@include opacity(0
|
|
12
|
-
&.in { @include opacity(
|
|
11
|
+
@include bootstrap-opacity(0);
|
|
12
|
+
&.in { @include bootstrap-opacity(80); }
|
|
13
13
|
&.top { margin-top: -2px; }
|
|
14
14
|
&.right { margin-left: 2px; }
|
|
15
15
|
&.bottom { margin-top: 2px; }
|
|
16
16
|
&.left { margin-left: -2px; }
|
|
17
|
-
&.top .tooltip-arrow { @include popoverArrow-top(); }
|
|
18
|
-
&.left .tooltip-arrow { @include popoverArrow-left(); }
|
|
19
|
-
&.bottom .tooltip-arrow { @include popoverArrow-bottom(); }
|
|
20
|
-
&.right .tooltip-arrow { @include popoverArrow-right(); }
|
|
17
|
+
&.top .tooltip-arrow { @include bootstrap-popoverArrow-top(); }
|
|
18
|
+
&.left .tooltip-arrow { @include bootstrap-popoverArrow-left(); }
|
|
19
|
+
&.bottom .tooltip-arrow { @include bootstrap-popoverArrow-bottom(); }
|
|
20
|
+
&.right .tooltip-arrow { @include bootstrap-popoverArrow-right(); }
|
|
21
21
|
}
|
|
22
22
|
.tooltip-inner {
|
|
23
23
|
max-width: 200px;
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
text-align: center;
|
|
27
27
|
text-decoration: none;
|
|
28
28
|
background-color: $black;
|
|
29
|
-
@include border-radius(4px);
|
|
29
|
+
@include bootstrap-border-radius(4px);
|
|
30
30
|
}
|
|
31
31
|
.tooltip-arrow {
|
|
32
32
|
position: absolute;
|
|
@@ -28,8 +28,9 @@ p {
|
|
|
28
28
|
|
|
29
29
|
h1, h2, h3, h4, h5, h6 {
|
|
30
30
|
margin: 0;
|
|
31
|
-
font-
|
|
32
|
-
|
|
31
|
+
font-family: $headingsFontFamily;
|
|
32
|
+
font-weight: $headingsFontWeight;
|
|
33
|
+
color: $headingsColor;
|
|
33
34
|
text-rendering: optimizelegibility; // Fix the character spacing for headings
|
|
34
35
|
small {
|
|
35
36
|
font-weight: normal;
|
|
@@ -51,8 +52,8 @@ h2 {
|
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
h3 {
|
|
54
|
-
line-height: $baseLineHeight * 1.5;
|
|
55
55
|
font-size: 18px;
|
|
56
|
+
line-height: $baseLineHeight * 1.5;
|
|
56
57
|
small {
|
|
57
58
|
font-size: 14px;
|
|
58
59
|
}
|
|
@@ -126,10 +127,24 @@ dd {
|
|
|
126
127
|
}
|
|
127
128
|
dt {
|
|
128
129
|
font-weight: bold;
|
|
130
|
+
line-height: $baseLineHeight - 1; // fix jank Helvetica Neue font bug
|
|
129
131
|
}
|
|
130
132
|
dd {
|
|
131
133
|
margin-left: $baseLineHeight / 2;
|
|
132
134
|
}
|
|
135
|
+
// Horizontal layout (like forms)
|
|
136
|
+
.dl-horizontal {
|
|
137
|
+
dt {
|
|
138
|
+
float: left;
|
|
139
|
+
width: 120px;
|
|
140
|
+
clear: left;
|
|
141
|
+
text-align: right;
|
|
142
|
+
@include bootstrap-text-overflow();
|
|
143
|
+
}
|
|
144
|
+
dd {
|
|
145
|
+
margin-left: 130px;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
133
148
|
|
|
134
149
|
// MISC
|
|
135
150
|
// ----
|
|
@@ -154,11 +169,13 @@ em {
|
|
|
154
169
|
}
|
|
155
170
|
|
|
156
171
|
// Abbreviations and acronyms
|
|
157
|
-
abbr {
|
|
172
|
+
abbr[title] {
|
|
173
|
+
cursor: help;
|
|
174
|
+
border-bottom: 1px dotted #ddd;
|
|
175
|
+
}
|
|
176
|
+
abbr.initialism {
|
|
158
177
|
font-size: 90%;
|
|
159
178
|
text-transform: uppercase;
|
|
160
|
-
border-bottom: 1px dotted #ddd;
|
|
161
|
-
cursor: help;
|
|
162
179
|
}
|
|
163
180
|
|
|
164
181
|
// Blockquotes
|
|
@@ -168,7 +185,7 @@ blockquote {
|
|
|
168
185
|
border-left: 5px solid $grayLighter;
|
|
169
186
|
p {
|
|
170
187
|
margin-bottom: 0;
|
|
171
|
-
@include font-shorthand(16px,300,$baseLineHeight * 1.25);
|
|
188
|
+
@include bootstrap-font-shorthand(16px,300,$baseLineHeight * 1.25);
|
|
172
189
|
}
|
|
173
190
|
small {
|
|
174
191
|
display: block;
|
|
@@ -182,10 +199,10 @@ blockquote {
|
|
|
182
199
|
// Float right with text-align: right
|
|
183
200
|
&.pull-right {
|
|
184
201
|
float: right;
|
|
185
|
-
padding-left: 0;
|
|
186
202
|
padding-right: 15px;
|
|
187
|
-
|
|
203
|
+
padding-left: 0;
|
|
188
204
|
border-right: 5px solid $grayLighter;
|
|
205
|
+
border-left: 0;
|
|
189
206
|
p,
|
|
190
207
|
small {
|
|
191
208
|
text-align: right;
|
|
@@ -196,7 +213,7 @@ blockquote {
|
|
|
196
213
|
// Quotes
|
|
197
214
|
q:before,
|
|
198
215
|
q:after,
|
|
199
|
-
blockquote:before,
|
|
216
|
+
blockquote:before,
|
|
200
217
|
blockquote:after {
|
|
201
218
|
content: "";
|
|
202
219
|
}
|
|
@@ -205,8 +222,8 @@ blockquote:after {
|
|
|
205
222
|
address {
|
|
206
223
|
display: block;
|
|
207
224
|
margin-bottom: $baseLineHeight;
|
|
208
|
-
line-height: $baseLineHeight;
|
|
209
225
|
font-style: normal;
|
|
226
|
+
line-height: $baseLineHeight;
|
|
210
227
|
}
|
|
211
228
|
|
|
212
229
|
// Misc
|
|
@@ -7,11 +7,9 @@
|
|
|
7
7
|
// GLOBAL VALUES
|
|
8
8
|
// --------------------------------------------------
|
|
9
9
|
|
|
10
|
-
// Links
|
|
11
|
-
$linkColor: #08c !default;
|
|
12
|
-
$linkColorHover: darken($linkColor, 15%) !default;
|
|
13
10
|
|
|
14
11
|
// Grays
|
|
12
|
+
// -------------------------
|
|
15
13
|
$black: #000 !default;
|
|
16
14
|
$grayDarker: #222 !default;
|
|
17
15
|
$grayDark: #333 !default;
|
|
@@ -20,7 +18,9 @@ $grayLight: #999 !default;
|
|
|
20
18
|
$grayLighter: #eee !default;
|
|
21
19
|
$white: #fff !default;
|
|
22
20
|
|
|
21
|
+
|
|
23
22
|
// Accent colors
|
|
23
|
+
// -------------------------
|
|
24
24
|
$blue: #049cdb !default;
|
|
25
25
|
$blueDark: #0064cd !default;
|
|
26
26
|
$green: #46a546 !default;
|
|
@@ -30,14 +30,84 @@ $orange: #f89406 !default;
|
|
|
30
30
|
$pink: #c3325f !default;
|
|
31
31
|
$purple: #7a43b6 !default;
|
|
32
32
|
|
|
33
|
+
|
|
34
|
+
// Scaffolding
|
|
35
|
+
// -------------------------
|
|
36
|
+
$bodyBackground: $white !default;
|
|
37
|
+
$textColor: $grayDark !default;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
// Links
|
|
41
|
+
// -------------------------
|
|
42
|
+
$linkColor: #08c !default;
|
|
43
|
+
$linkColorHover: darken($linkColor, 15%) !default;
|
|
44
|
+
|
|
45
|
+
|
|
33
46
|
// Typography
|
|
47
|
+
// -------------------------
|
|
48
|
+
$sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
|
49
|
+
$serifFontFamily: Georgia, "Times New Roman", Times, serif !default;
|
|
50
|
+
$monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
|
51
|
+
|
|
34
52
|
$baseFontSize: 13px !default;
|
|
35
|
-
$baseFontFamily:
|
|
53
|
+
$baseFontFamily: $sansFontFamily !default;
|
|
36
54
|
$baseLineHeight: 18px !default;
|
|
37
|
-
$
|
|
55
|
+
$altFontFamily: $serifFontFamily !default;
|
|
56
|
+
|
|
57
|
+
$headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
|
|
58
|
+
$headingsFontWeight: bold !default; // instead of browser default, bold
|
|
59
|
+
$headingsColor: inherit !default; // empty to use BS default, $textColor
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// Tables
|
|
63
|
+
// -------------------------
|
|
64
|
+
$tableBackground: transparent !default; // overall background-color
|
|
65
|
+
$tableBackgroundAccent: #f9f9f9 !default; // for striping
|
|
66
|
+
$tableBackgroundHover: #f5f5f5 !default; // for hover
|
|
67
|
+
$tableBorder: #ddd !default; // table and cell border
|
|
68
|
+
|
|
38
69
|
|
|
39
70
|
// Buttons
|
|
40
|
-
|
|
71
|
+
// -------------------------
|
|
72
|
+
$btnBackground: $white !default;
|
|
73
|
+
$btnBackgroundHighlight: darken($white, 10%) !default;
|
|
74
|
+
$btnBorder: #ccc !default;
|
|
75
|
+
|
|
76
|
+
$btnPrimaryBackground: $linkColor !default;
|
|
77
|
+
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%) !default;
|
|
78
|
+
|
|
79
|
+
$btnInfoBackground: #5bc0de !default;
|
|
80
|
+
$btnInfoBackgroundHighlight: #2f96b4 !default;
|
|
81
|
+
|
|
82
|
+
$btnSuccessBackground: #62c462 !default;
|
|
83
|
+
$btnSuccessBackgroundHighlight: #51a351 !default;
|
|
84
|
+
|
|
85
|
+
$btnWarningBackground: lighten($orange, 15%) !default;
|
|
86
|
+
$btnWarningBackgroundHighlight: $orange !default;
|
|
87
|
+
|
|
88
|
+
$btnDangerBackground: #ee5f5b !default;
|
|
89
|
+
$btnDangerBackgroundHighlight: #bd362f !default;
|
|
90
|
+
|
|
91
|
+
$btnInverseBackground: $gray !default;
|
|
92
|
+
$btnInverseBackgroundHighlight: $grayDarker !default;
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
// Forms
|
|
96
|
+
// -------------------------
|
|
97
|
+
$inputBackground: $white !default;
|
|
98
|
+
$inputBorder: #ccc !default;
|
|
99
|
+
$inputBorderRadius: 3px !default;
|
|
100
|
+
$inputDisabledBackground: $grayLighter !default;
|
|
101
|
+
$formActionsBackground: #f5f5f5 !default;
|
|
102
|
+
|
|
103
|
+
// Dropdowns
|
|
104
|
+
// -------------------------
|
|
105
|
+
$dropdownBackground: $white !default;
|
|
106
|
+
$dropdownBorder: rgba(0,0,0,.2) !default;
|
|
107
|
+
$dropdownLinkColor: $grayDark !default;
|
|
108
|
+
$dropdownLinkColorHover: $white !default;
|
|
109
|
+
$dropdownLinkBackgroundHover: $linkColor !default;
|
|
110
|
+
|
|
41
111
|
|
|
42
112
|
|
|
43
113
|
|
|
@@ -45,6 +115,7 @@ $primaryButtonBackground: $linkColor !default;
|
|
|
45
115
|
// --------------------------------------------------
|
|
46
116
|
|
|
47
117
|
// Z-index master list
|
|
118
|
+
// -------------------------
|
|
48
119
|
// Used for a bird's eye view of components dependent on the z-axis
|
|
49
120
|
// Try to avoid customizing these :)
|
|
50
121
|
$zindexDropdown: 1000 !default;
|
|
@@ -54,27 +125,52 @@ $zindexFixedNavbar: 1030 !default;
|
|
|
54
125
|
$zindexModalBackdrop: 1040 !default;
|
|
55
126
|
$zindexModal: 1050 !default;
|
|
56
127
|
|
|
128
|
+
|
|
57
129
|
// Sprite icons path
|
|
58
|
-
|
|
59
|
-
$
|
|
130
|
+
// -------------------------
|
|
131
|
+
$iconSpritePath: "../img/glyphicons-halflings.png" !default;
|
|
132
|
+
$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
|
|
133
|
+
|
|
60
134
|
|
|
61
135
|
// Input placeholder text color
|
|
136
|
+
// -------------------------
|
|
62
137
|
$placeholderText: $grayLight !default;
|
|
63
138
|
|
|
139
|
+
|
|
64
140
|
// Hr border color
|
|
141
|
+
// -------------------------
|
|
65
142
|
$hrBorder: $grayLighter !default;
|
|
66
143
|
|
|
144
|
+
|
|
67
145
|
// Navbar
|
|
146
|
+
// -------------------------
|
|
68
147
|
$navbarHeight: 40px !default;
|
|
69
148
|
$navbarBackground: $grayDarker !default;
|
|
70
149
|
$navbarBackgroundHighlight: $grayDark !default;
|
|
71
|
-
$navbarLinkBackgroundHover: transparent !default;
|
|
72
150
|
|
|
73
151
|
$navbarText: $grayLight !default;
|
|
74
152
|
$navbarLinkColor: $grayLight !default;
|
|
75
153
|
$navbarLinkColorHover: $white !default;
|
|
154
|
+
$navbarLinkColorActive: $navbarLinkColorHover !default;
|
|
155
|
+
$navbarLinkBackgroundHover: transparent !default;
|
|
156
|
+
$navbarLinkBackgroundActive: $navbarBackground !default;
|
|
157
|
+
|
|
158
|
+
$navbarSearchBackground: lighten($navbarBackground, 25%) !default;
|
|
159
|
+
$navbarSearchBackgroundFocus: $white !default;
|
|
160
|
+
$navbarSearchBorder: darken($navbarSearchBackground, 30%) !default;
|
|
161
|
+
$navbarSearchPlaceholderColor: #ccc !default;
|
|
162
|
+
$navbarBrandColor: $navbarLinkColor !default;
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
// Hero unit
|
|
166
|
+
// -------------------------
|
|
167
|
+
$heroUnitBackground: $grayLighter !default;
|
|
168
|
+
$heroUnitHeadingColor: inherit !default;
|
|
169
|
+
$heroUnitLeadColor: inherit !default;
|
|
170
|
+
|
|
76
171
|
|
|
77
172
|
// Form states and alerts
|
|
173
|
+
// -------------------------
|
|
78
174
|
$warningText: #c09853 !default;
|
|
79
175
|
$warningBackground: #fcf8e3 !default;
|
|
80
176
|
$warningBorder: darken(adjust-hue($warningBackground, -10), 3%) !default;
|
|
@@ -97,11 +193,13 @@ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%) !default;
|
|
|
97
193
|
// --------------------------------------------------
|
|
98
194
|
|
|
99
195
|
// Default 940px grid
|
|
196
|
+
// -------------------------
|
|
100
197
|
$gridColumns: 12 !default;
|
|
101
198
|
$gridColumnWidth: 60px !default;
|
|
102
199
|
$gridGutterWidth: 20px !default;
|
|
103
200
|
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1)) !default;
|
|
104
201
|
|
|
105
202
|
// Fluid grid
|
|
203
|
+
// -------------------------
|
|
106
204
|
$fluidGridColumnWidth: 6.382978723% !default;
|
|
107
205
|
$fluidGridGutterWidth: 2.127659574% !default;
|