bootswatch-rails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/lib/bootswatch-rails/version.rb +1 -1
- data/vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss +13 -13
- data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +15 -15
- data/vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +9 -9
- data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +16 -16
- data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +592 -0
- data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +302 -0
- data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +16 -16
- data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +9 -9
- data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +1 -1
- data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +11 -11
- data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +1 -1
- data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +13 -13
- data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +1 -1
- data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +16 -16
- data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +26 -26
- data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +11 -11
- data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +4 -4
- data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +16 -16
- data/vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss +13 -13
- data/vendor/assets/stylesheets/bootswatch/spruce/_variables.scss +17 -17
- data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +39 -39
- data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +13 -13
- data/vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss +3 -3
- data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +17 -17
- metadata +12 -5
data/README.md
CHANGED
@@ -44,6 +44,7 @@ I'm converting/updating them as time permits. Here's what's included at this poi
|
|
44
44
|
|
45
45
|
* [Amelia](http://bootswatch.com/amelia/)
|
46
46
|
* [Cerulean](http://bootswatch.com/cerulean/)
|
47
|
+
* [Cosmo](http://bootswatch.com/cosmo/)
|
47
48
|
* [Cyborg](http://bootswatch.com/cyborg/)
|
48
49
|
* [Journal](http://bootswatch.com/journal/)
|
49
50
|
* [Readable](http://bootswatch.com/readable/)
|
@@ -29,7 +29,7 @@ h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
|
|
29
29
|
// -----------------------------------------------------
|
30
30
|
|
31
31
|
body {
|
32
|
-
@include gradient-radial(lighten(#0F8790,
|
32
|
+
@include gradient-radial(lighten(#0F8790, .07), #0F8790);
|
33
33
|
}
|
34
34
|
|
35
35
|
hr {
|
@@ -73,7 +73,7 @@ footer.footer {
|
|
73
73
|
}
|
74
74
|
|
75
75
|
.navbar-search .search-query {
|
76
|
-
border: 2px solid lighten($navbarBackground,
|
76
|
+
border: 2px solid lighten($navbarBackground, .1);
|
77
77
|
@include border-radius(0);
|
78
78
|
@include box-shadow(none);
|
79
79
|
|
@@ -143,12 +143,12 @@ div.subnav-fixed {
|
|
143
143
|
}
|
144
144
|
|
145
145
|
li > a:hover {
|
146
|
-
background-color: lighten($navbarBackground,
|
146
|
+
background-color: lighten($navbarBackground, .1);
|
147
147
|
}
|
148
148
|
|
149
149
|
.navbar-form, .navbar-search {
|
150
150
|
@include box-shadow(none);
|
151
|
-
border-color: lighten($navbarBackground,
|
151
|
+
border-color: lighten($navbarBackground, .1);
|
152
152
|
}
|
153
153
|
|
154
154
|
.navbar-search .search-query {
|
@@ -165,19 +165,19 @@ div.subnav-fixed {
|
|
165
165
|
border-color: transparent;
|
166
166
|
|
167
167
|
&:hover, &:active, &.active, &.disabled, &[disabled] {
|
168
|
-
background-color: darken($color,
|
168
|
+
background-color: darken($color, .05);
|
169
169
|
text-shadow: none;
|
170
170
|
}
|
171
171
|
|
172
172
|
&:active, &.active {
|
173
|
-
background-color: darken($color, 15
|
173
|
+
background-color: darken($color, .15);
|
174
174
|
@include box-shadow(none);
|
175
175
|
}
|
176
176
|
|
177
177
|
// IE 7 + 8 can't handle box-shadow to show active, so we darken a bit ourselves
|
178
178
|
&:active,
|
179
179
|
&.active {
|
180
|
-
background-color: darken($color, 15
|
180
|
+
background-color: darken($color, .15) e("\9");
|
181
181
|
}
|
182
182
|
}
|
183
183
|
|
@@ -309,17 +309,17 @@ input, textarea, .search-query, .uneditable-input,
|
|
309
309
|
|
310
310
|
.control-group.warning > label,
|
311
311
|
.control-group.warning .help-inline {
|
312
|
-
color: lighten($orange,
|
312
|
+
color: lighten($orange, .3);
|
313
313
|
}
|
314
314
|
|
315
315
|
.control-group.error > label,
|
316
316
|
.control-group.error .help-inline {
|
317
|
-
color: lighten($linkColor,
|
317
|
+
color: lighten($linkColor, .1);
|
318
318
|
}
|
319
319
|
|
320
320
|
.control-group.success > label,
|
321
321
|
.control-group.success .help-inline {
|
322
|
-
color: lighten($green,
|
322
|
+
color: lighten($green, .2);
|
323
323
|
}
|
324
324
|
|
325
325
|
.input-prepend .add-on, .input-append .add-on {
|
@@ -507,7 +507,7 @@ code, pre {
|
|
507
507
|
}
|
508
508
|
|
509
509
|
.label-important, .label-important:hover, .alert-error {
|
510
|
-
background-color: darken($yellow,
|
510
|
+
background-color: darken($yellow, .03);
|
511
511
|
color: $textColor;
|
512
512
|
}
|
513
513
|
|
@@ -568,10 +568,10 @@ code, pre {
|
|
568
568
|
|
569
569
|
blockquote {
|
570
570
|
|
571
|
-
border-left-color: lighten(#147E88, 12
|
571
|
+
border-left-color: lighten(#147E88, .12);
|
572
572
|
|
573
573
|
&.pull-right {
|
574
|
-
border-right-color: lighten(#147E88, 12
|
574
|
+
border-right-color: lighten(#147E88, .12);
|
575
575
|
}
|
576
576
|
|
577
577
|
small {
|
@@ -40,7 +40,7 @@ $textColor: rgba(255, 255, 255, 0.9);
|
|
40
40
|
|
41
41
|
// Links
|
42
42
|
// -------------------------
|
43
|
-
$linkColor: lighten($yellow, 15
|
43
|
+
$linkColor: lighten($yellow, .15);
|
44
44
|
$linkColorHover: $linkColor;
|
45
45
|
|
46
46
|
|
@@ -58,10 +58,10 @@ $headingsColor: inherit; // empty to use BS default, $textColor
|
|
58
58
|
|
59
59
|
// Tables
|
60
60
|
// -------------------------
|
61
|
-
$tableBackground: lighten(#147E88,
|
62
|
-
$tableBackgroundAccent: lighten(#147E88, 15
|
61
|
+
$tableBackground: lighten(#147E88, .1); // overall background-color
|
62
|
+
$tableBackgroundAccent: lighten(#147E88, .15); // for striping
|
63
63
|
$tableBackgroundHover: rgba(255, 255, 255, 0.4); // for hover
|
64
|
-
$tableBorder: lighten(#147E88, 12
|
64
|
+
$tableBorder: lighten(#147E88, .12); // table and cell border
|
65
65
|
|
66
66
|
|
67
67
|
// Forms
|
@@ -117,12 +117,12 @@ $navbarText: $white;
|
|
117
117
|
$navbarLinkColor: $white;
|
118
118
|
$navbarLinkColorHover: $white;
|
119
119
|
$navbarLinkColorActive: $navbarLinkColorHover;
|
120
|
-
$navbarLinkBackgroundHover: lighten($navbarBackground,
|
121
|
-
$navbarLinkBackgroundActive: lighten($navbarBackground,
|
120
|
+
$navbarLinkBackgroundHover: lighten($navbarBackground, .1);
|
121
|
+
$navbarLinkBackgroundActive: lighten($navbarBackground, .1);
|
122
122
|
|
123
123
|
$navbarSearchBackground: rgba(0, 0, 0, 0);
|
124
|
-
$navbarSearchBackgroundFocus: lighten($navbarBackground, 25
|
125
|
-
$navbarSearchBorder: darken($navbarSearchBackground,
|
124
|
+
$navbarSearchBackgroundFocus: lighten($navbarBackground, .25);
|
125
|
+
$navbarSearchBorder: darken($navbarSearchBackground, .3);
|
126
126
|
$navbarSearchPlaceholderColor: $textColor;
|
127
127
|
|
128
128
|
|
@@ -133,7 +133,7 @@ $btnBackgroundHighlight: $grayLighter;
|
|
133
133
|
$btnBorder: rgba(0, 0, 0, 0);
|
134
134
|
|
135
135
|
$btnPrimaryBackground: $navbarBackground;
|
136
|
-
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15
|
136
|
+
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, .15);
|
137
137
|
|
138
138
|
$btnInfoBackground: $purple;
|
139
139
|
$btnInfoBackgroundHighlight: $purple;
|
@@ -144,8 +144,8 @@ $btnSuccessBackgroundHighlight: $green;
|
|
144
144
|
$btnWarningBackground: $orange;
|
145
145
|
$btnWarningBackgroundHighlight: $orange;
|
146
146
|
|
147
|
-
$btnDangerBackground: darken($yellow,
|
148
|
-
$btnDangerBackgroundHighlight: darken($yellow,
|
147
|
+
$btnDangerBackground: darken($yellow, .03);
|
148
|
+
$btnDangerBackgroundHighlight: darken($yellow, .03);
|
149
149
|
|
150
150
|
$btnInverseBackground: #27666D;
|
151
151
|
$btnInverseBackgroundHighlight: #27666D;
|
@@ -162,19 +162,19 @@ $heroUnitLeadColor: inherit;
|
|
162
162
|
// -------------------------
|
163
163
|
$warningText: #c09853;
|
164
164
|
$warningBackground: #fcf8e3;
|
165
|
-
$warningBorder: darken(adjust-hue($warningBackground, -10),
|
165
|
+
$warningBorder: darken(adjust-hue($warningBackground, -10), .03);
|
166
166
|
|
167
167
|
$errorText: #b94a48;
|
168
168
|
$errorBackground: #f2dede;
|
169
|
-
$errorBorder: darken(adjust-hue($errorBackground, -10),
|
169
|
+
$errorBorder: darken(adjust-hue($errorBackground, -10), .03);
|
170
170
|
|
171
171
|
$successText: #468847;
|
172
172
|
$successBackground: #dff0d8;
|
173
|
-
$successBorder: darken(adjust-hue($successBackground, -10),
|
173
|
+
$successBorder: darken(adjust-hue($successBackground, -10), .05);
|
174
174
|
|
175
175
|
$infoText: #3a87ad;
|
176
176
|
$infoBackground: #d9edf7;
|
177
|
-
$infoBorder: darken(adjust-hue($infoBackground, -10),
|
177
|
+
$infoBorder: darken(adjust-hue($infoBackground, -10), .07);
|
178
178
|
|
179
179
|
|
180
180
|
|
@@ -25,7 +25,7 @@
|
|
25
25
|
}
|
26
26
|
|
27
27
|
.navbar .search-query {
|
28
|
-
border: 1px solid darken($linkColor,
|
28
|
+
border: 1px solid darken($linkColor, .1);
|
29
29
|
}
|
30
30
|
|
31
31
|
// responsive menu colors
|
@@ -47,14 +47,14 @@
|
|
47
47
|
}
|
48
48
|
|
49
49
|
.btn-navbar:hover {
|
50
|
-
background-color: darken($white,
|
50
|
+
background-color: darken($white, .2);
|
51
51
|
}
|
52
52
|
|
53
53
|
// BUTTONS
|
54
54
|
// -----------------------------------------------------
|
55
55
|
|
56
56
|
.btn {
|
57
|
-
@include gradient-vertical-three-colors($white, $white, .05, darken($white, 0
|
57
|
+
@include gradient-vertical-three-colors($white, $white, .05, darken($white, 0));
|
58
58
|
$shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
59
59
|
@include box-shadow($shadow);
|
60
60
|
|
@@ -64,27 +64,27 @@
|
|
64
64
|
}
|
65
65
|
|
66
66
|
.btn-primary {
|
67
|
-
@include buttonBackground(lighten($btnPrimaryBackground,
|
67
|
+
@include buttonBackground(lighten($btnPrimaryBackground, .05), $btnPrimaryBackground);
|
68
68
|
}
|
69
69
|
|
70
70
|
.btn-info {
|
71
|
-
@include buttonBackground(lighten($btnInfoBackground,
|
71
|
+
@include buttonBackground(lighten($btnInfoBackground, .05), $btnInfoBackground);
|
72
72
|
}
|
73
73
|
|
74
74
|
.btn-success {
|
75
|
-
@include buttonBackground(lighten($btnSuccessBackground,
|
75
|
+
@include buttonBackground(lighten($btnSuccessBackground, .05), $btnSuccessBackground);
|
76
76
|
}
|
77
77
|
|
78
78
|
.btn-warning {
|
79
|
-
@include buttonBackground(lighten($btnWarningBackground,
|
79
|
+
@include buttonBackground(lighten($btnWarningBackground, .05), $btnWarningBackground);
|
80
80
|
}
|
81
81
|
|
82
82
|
.btn-danger {
|
83
|
-
@include buttonBackground(lighten($btnDangerBackground,
|
83
|
+
@include buttonBackground(lighten($btnDangerBackground, .05), $btnDangerBackground);
|
84
84
|
}
|
85
85
|
|
86
86
|
.btn-inverse {
|
87
|
-
@include buttonBackground(lighten($btnInverseBackground,
|
87
|
+
@include buttonBackground(lighten($btnInverseBackground, .05), $btnInverseBackground);
|
88
88
|
}
|
89
89
|
|
90
90
|
// ICONS
|
@@ -41,7 +41,7 @@ $textColor: $gray;
|
|
41
41
|
// Links
|
42
42
|
// -------------------------
|
43
43
|
$linkColor: #369BD7;
|
44
|
-
$linkColorHover: darken($linkColor, 15
|
44
|
+
$linkColorHover: darken($linkColor, .15);
|
45
45
|
|
46
46
|
|
47
47
|
// Typography
|
@@ -67,11 +67,11 @@ $tableBorder: #ddd; // table and cell border
|
|
67
67
|
// Buttons
|
68
68
|
// -------------------------
|
69
69
|
$btnBackground: $white;
|
70
|
-
$btnBackgroundHighlight: darken($white,
|
71
|
-
$btnBorder: darken($white,
|
70
|
+
$btnBackgroundHighlight: darken($white, .1);
|
71
|
+
$btnBorder: darken($white, .2);
|
72
72
|
|
73
73
|
$btnPrimaryBackground: $linkColor;
|
74
|
-
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15
|
74
|
+
$btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, .15);
|
75
75
|
|
76
76
|
$btnInfoBackground: $purple;
|
77
77
|
$btnInfoBackgroundHighlight: #2f96b4;
|
@@ -136,7 +136,7 @@ $hrBorder: $grayLighter;
|
|
136
136
|
// -------------------------
|
137
137
|
$navbarHeight: 40px;
|
138
138
|
$navbarBackground: $linkColor;
|
139
|
-
$navbarBackgroundHighlight: lighten($linkColor,
|
139
|
+
$navbarBackgroundHighlight: lighten($linkColor, .1);
|
140
140
|
|
141
141
|
$navbarText: $grayLighter;
|
142
142
|
$navbarLinkColor: $grayLighter;
|
@@ -145,9 +145,9 @@ $navbarLinkColorActive: $navbarLinkColorHover;
|
|
145
145
|
$navbarLinkBackgroundHover: transparent;
|
146
146
|
$navbarLinkBackgroundActive: $navbarBackground;
|
147
147
|
|
148
|
-
$navbarSearchBackground: lighten($navbarBackground, 25
|
148
|
+
$navbarSearchBackground: lighten($navbarBackground, .25);
|
149
149
|
$navbarSearchBackgroundFocus: $white;
|
150
|
-
$navbarSearchBorder: darken($navbarSearchBackground,
|
150
|
+
$navbarSearchBorder: darken($navbarSearchBackground, .3);
|
151
151
|
$navbarSearchPlaceholderColor: $white;
|
152
152
|
|
153
153
|
|
@@ -160,21 +160,21 @@ $heroUnitLeadColor: inherit;
|
|
160
160
|
|
161
161
|
// Form states and alerts
|
162
162
|
// -------------------------
|
163
|
-
$warningText: darken($linkColor,
|
164
|
-
$warningBackground: lighten($linkColor,
|
165
|
-
$warningBorder: darken(adjust-hue($warningBackground, -10),
|
163
|
+
$warningText: darken($linkColor, .2);
|
164
|
+
$warningBackground: lighten($linkColor, .2);
|
165
|
+
$warningBorder: darken(adjust-hue($warningBackground, -10), .03);
|
166
166
|
|
167
|
-
$errorText: darken(#C45559,
|
167
|
+
$errorText: darken(#C45559, .05);
|
168
168
|
$errorBackground: #EDDBE3;
|
169
|
-
$errorBorder: darken(adjust-hue($errorBackground, -10),
|
169
|
+
$errorBorder: darken(adjust-hue($errorBackground, -10), .03);
|
170
170
|
|
171
|
-
$successText: darken($green,
|
171
|
+
$successText: darken($green, .05);
|
172
172
|
$successBackground: #CDB;
|
173
|
-
$successBorder: darken(adjust-hue($successBackground, -10),
|
173
|
+
$successBorder: darken(adjust-hue($successBackground, -10), .05);
|
174
174
|
|
175
|
-
$infoText: darken(#908A62,
|
175
|
+
$infoText: darken(#908A62, .05);
|
176
176
|
$infoBackground: #EDEBE1;
|
177
|
-
$infoBorder: darken(adjust-hue($infoBackground, -10),
|
177
|
+
$infoBorder: darken(adjust-hue($infoBackground, -10), .07);
|
178
178
|
|
179
179
|
|
180
180
|
|
@@ -0,0 +1,592 @@
|
|
1
|
+
// Swatch: Cosmo
|
2
|
+
// Version: 2.0.2
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// TYPOGRAPHY
|
7
|
+
// -----------------------------------------------------
|
8
|
+
|
9
|
+
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700');
|
10
|
+
|
11
|
+
body {
|
12
|
+
font-weight: 300;
|
13
|
+
}
|
14
|
+
|
15
|
+
h1 {
|
16
|
+
font-size: 50px;
|
17
|
+
}
|
18
|
+
|
19
|
+
h2, h3 {
|
20
|
+
font-size: 26px;
|
21
|
+
}
|
22
|
+
|
23
|
+
h4 {
|
24
|
+
font-size: 14px;
|
25
|
+
}
|
26
|
+
|
27
|
+
h5, h6 {
|
28
|
+
font-size: 11px;
|
29
|
+
}
|
30
|
+
|
31
|
+
blockquote {
|
32
|
+
|
33
|
+
padding: 10px 15px;
|
34
|
+
background-color: $grayLighter;
|
35
|
+
border-left-color: $gray;
|
36
|
+
|
37
|
+
&.pull-right {
|
38
|
+
padding: 10px 15px;
|
39
|
+
border-right-color: $gray;
|
40
|
+
}
|
41
|
+
|
42
|
+
small {
|
43
|
+
color: $gray;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.muted {
|
48
|
+
color: $gray;
|
49
|
+
}
|
50
|
+
|
51
|
+
// SCAFFOLDING
|
52
|
+
// -----------------------------------------------------
|
53
|
+
|
54
|
+
// NAVBAR
|
55
|
+
// -----------------------------------------------------
|
56
|
+
|
57
|
+
.navbar {
|
58
|
+
|
59
|
+
.navbar-inner {
|
60
|
+
background-image: none;
|
61
|
+
@include box-shadow(none);
|
62
|
+
@include border-radius(0);
|
63
|
+
}
|
64
|
+
|
65
|
+
.brand {
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
color: $navbarLinkColorHover;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.nav > .active > a,
|
73
|
+
.nav > .active > a:hover,
|
74
|
+
.nav > .active > a:focus {
|
75
|
+
@include box-shadow(none);
|
76
|
+
background-color: $navbarLinkBackgroundHover;
|
77
|
+
}
|
78
|
+
|
79
|
+
.nav li.dropdown.open > .dropdown-toggle,
|
80
|
+
.nav li.dropdown.active > .dropdown-toggle,
|
81
|
+
.nav li.dropdown.open.active > .dropdown-toggle {
|
82
|
+
color: $white;
|
83
|
+
|
84
|
+
&:hover {
|
85
|
+
color: $grayLighter;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.navbar-search .search-query {
|
90
|
+
line-height: normal;
|
91
|
+
}
|
92
|
+
|
93
|
+
.navbar-inverse {
|
94
|
+
|
95
|
+
.brand,
|
96
|
+
.nav > li > a {
|
97
|
+
text-shadow: none;
|
98
|
+
}
|
99
|
+
|
100
|
+
.brand:hover,
|
101
|
+
.nav > .active > a,
|
102
|
+
.nav > .active > a:hover,
|
103
|
+
.nav > .active > a:focus {
|
104
|
+
background-color: $navbarInverseLinkBackgroundHover;
|
105
|
+
@include box-shadow(none);
|
106
|
+
color: $white;
|
107
|
+
}
|
108
|
+
|
109
|
+
.navbar-search .search-query {
|
110
|
+
color: $grayDarker;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
div.subnav {
|
116
|
+
|
117
|
+
background-color: $grayLight;
|
118
|
+
background-image: none;
|
119
|
+
@include box-shadow(none);
|
120
|
+
border-color: transparent;
|
121
|
+
@include border-radius(0);
|
122
|
+
|
123
|
+
.nav {
|
124
|
+
background-color: transparent;
|
125
|
+
}
|
126
|
+
|
127
|
+
.nav > li > a {
|
128
|
+
border-color: transparent;
|
129
|
+
}
|
130
|
+
|
131
|
+
.nav > .active > a {
|
132
|
+
border-color: transparent;
|
133
|
+
background-color: transparent;
|
134
|
+
// border-left-width: 2px;
|
135
|
+
@include box-shadow(none);
|
136
|
+
color: $grayDarker;
|
137
|
+
|
138
|
+
&:hover {
|
139
|
+
background-color: $black;
|
140
|
+
color: $white;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
&.subnav-fixed {
|
145
|
+
top: $navbarHeight;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
// NAV
|
150
|
+
// -----------------------------------------------------
|
151
|
+
|
152
|
+
.nav {
|
153
|
+
|
154
|
+
.open .dropdown-toggle,
|
155
|
+
& > li.dropdown.open.active > a:hover {
|
156
|
+
color: $blue;
|
157
|
+
}
|
158
|
+
|
159
|
+
}
|
160
|
+
|
161
|
+
.nav-tabs {
|
162
|
+
|
163
|
+
& > li > a {
|
164
|
+
@include border-radius(0);
|
165
|
+
}
|
166
|
+
|
167
|
+
&.nav-stacked {
|
168
|
+
|
169
|
+
& > li > a:hover {
|
170
|
+
background-color: $blue;
|
171
|
+
color: $white;
|
172
|
+
}
|
173
|
+
|
174
|
+
& > .active > a,
|
175
|
+
& > .active > a:hover {
|
176
|
+
background-color: $white;
|
177
|
+
color: $gray;
|
178
|
+
}
|
179
|
+
|
180
|
+
& > li:first-child > a,
|
181
|
+
& > li:last-child > a {
|
182
|
+
@include border-radius(0);
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
.nav-pills {
|
188
|
+
|
189
|
+
& > li > a {
|
190
|
+
background-color: $grayLight;
|
191
|
+
@include border-radius(0);
|
192
|
+
color: $black;
|
193
|
+
|
194
|
+
&:hover {
|
195
|
+
background-color: $black;
|
196
|
+
color: $white;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
& > .disabled > a,
|
201
|
+
& > .disabled > a:hover {
|
202
|
+
background-color: $grayLighter;
|
203
|
+
color: $grayDark;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
.nav-list {
|
208
|
+
|
209
|
+
& > li > a {
|
210
|
+
color: $grayDarker;
|
211
|
+
|
212
|
+
&:hover {
|
213
|
+
background-color: $blue;
|
214
|
+
color: $white;
|
215
|
+
text-shadow: none;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
.nav-header {
|
220
|
+
color: $grayDarker;
|
221
|
+
}
|
222
|
+
|
223
|
+
.divider {
|
224
|
+
background-color: $gray;
|
225
|
+
border-bottom: none;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
.pagination {
|
230
|
+
|
231
|
+
ul {
|
232
|
+
|
233
|
+
@include box-shadow(none);
|
234
|
+
|
235
|
+
& > li > a,
|
236
|
+
& > li > span {
|
237
|
+
margin-right: 6px;
|
238
|
+
color: $grayDarker;
|
239
|
+
|
240
|
+
&:hover {
|
241
|
+
background-color: $grayDarker;
|
242
|
+
color: $white;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
& > li:last-child > a,
|
247
|
+
& > li:last-child > span {
|
248
|
+
margin-right: 0;
|
249
|
+
}
|
250
|
+
|
251
|
+
& > .active > a,
|
252
|
+
& > .active > span {
|
253
|
+
color: $white;
|
254
|
+
}
|
255
|
+
|
256
|
+
& > .disabled > span,
|
257
|
+
& > .disabled > a,
|
258
|
+
& > .disabled > a:hover {
|
259
|
+
background-color: $grayLighter;
|
260
|
+
color: $grayDark;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
|
265
|
+
.pager {
|
266
|
+
|
267
|
+
li > a,
|
268
|
+
li > span {
|
269
|
+
background-color: $grayLight;
|
270
|
+
border: none;
|
271
|
+
@include border-radius(0);
|
272
|
+
color: $grayDarker;
|
273
|
+
|
274
|
+
&:hover {
|
275
|
+
background-color: $grayDarker;
|
276
|
+
color: $white;
|
277
|
+
}
|
278
|
+
}
|
279
|
+
|
280
|
+
.disabled > a,
|
281
|
+
.disabled > a:hover,
|
282
|
+
.disabled > span {
|
283
|
+
background-color: $grayLighter;
|
284
|
+
color: $grayDark;
|
285
|
+
}
|
286
|
+
|
287
|
+
}
|
288
|
+
|
289
|
+
.breadcrumb {
|
290
|
+
background-color: $grayLight;
|
291
|
+
|
292
|
+
li {
|
293
|
+
text-shadow: none;
|
294
|
+
}
|
295
|
+
|
296
|
+
.divider,
|
297
|
+
.active {
|
298
|
+
color: $grayDarker;
|
299
|
+
text-shadow: none;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
|
303
|
+
// BUTTONS
|
304
|
+
// -----------------------------------------------------
|
305
|
+
|
306
|
+
.btn {
|
307
|
+
|
308
|
+
padding: 5px 12px;
|
309
|
+
background-image: none;
|
310
|
+
@include box-shadow(none);
|
311
|
+
border: none;
|
312
|
+
@include border-radius(0);
|
313
|
+
text-shadow: none;
|
314
|
+
|
315
|
+
&.disabled {
|
316
|
+
box-shadow: inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);
|
317
|
+
}
|
318
|
+
|
319
|
+
&.btn-large {
|
320
|
+
padding: 22px 30px;
|
321
|
+
}
|
322
|
+
|
323
|
+
&.btn-mini {
|
324
|
+
padding: 2px 6px;
|
325
|
+
}
|
326
|
+
}
|
327
|
+
|
328
|
+
.btn-group {
|
329
|
+
|
330
|
+
& > .btn:first-child,
|
331
|
+
& > .btn:last-child,
|
332
|
+
& > .dropdown-toggle {
|
333
|
+
@include border-radius(0);
|
334
|
+
}
|
335
|
+
|
336
|
+
& > .btn + .dropdown-toggle {
|
337
|
+
@include box-shadow(none);
|
338
|
+
}
|
339
|
+
}
|
340
|
+
|
341
|
+
// TABLES
|
342
|
+
// -----------------------------------------------------
|
343
|
+
|
344
|
+
.table {
|
345
|
+
|
346
|
+
tbody tr.success td {
|
347
|
+
color: $white;
|
348
|
+
}
|
349
|
+
|
350
|
+
tbody tr.error td {
|
351
|
+
color: $white;
|
352
|
+
}
|
353
|
+
|
354
|
+
tbody tr.info td {
|
355
|
+
color: $white;
|
356
|
+
}
|
357
|
+
|
358
|
+
&.table-bordered {
|
359
|
+
@include border-radius(0);
|
360
|
+
|
361
|
+
thead:first-child tr:first-child th:first-child,
|
362
|
+
tbody:first-child tr:first-child td:first-child {
|
363
|
+
@include border-radius(0);
|
364
|
+
}
|
365
|
+
|
366
|
+
thead:last-child tr:last-child th:first-child,
|
367
|
+
tbody:last-child tr:last-child td:first-child,
|
368
|
+
tfoot:last-child tr:last-child td:first-child {
|
369
|
+
@include border-radius(0);
|
370
|
+
}
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
// FORMS
|
375
|
+
// -----------------------------------------------------
|
376
|
+
|
377
|
+
select, textarea, input[type="text"], input[type="password"], input[type="datetime"],
|
378
|
+
input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"],
|
379
|
+
input[type="week"], input[type="number"], input[type="email"], input[type="url"],
|
380
|
+
input[type="search"], input[type="tel"], input[type="color"] {
|
381
|
+
color: $grayDarker;
|
382
|
+
}
|
383
|
+
|
384
|
+
.control-group {
|
385
|
+
|
386
|
+
&.warning {
|
387
|
+
|
388
|
+
& > label,
|
389
|
+
.help-block,
|
390
|
+
.help-inline {
|
391
|
+
color: $orange;
|
392
|
+
}
|
393
|
+
|
394
|
+
input,
|
395
|
+
select,
|
396
|
+
textarea {
|
397
|
+
border-color: $orange;
|
398
|
+
color: $grayDarker;
|
399
|
+
}
|
400
|
+
}
|
401
|
+
|
402
|
+
&.error {
|
403
|
+
|
404
|
+
& > label,
|
405
|
+
.help-block,
|
406
|
+
.help-inline {
|
407
|
+
color: $red;
|
408
|
+
}
|
409
|
+
|
410
|
+
input,
|
411
|
+
select,
|
412
|
+
textarea {
|
413
|
+
border-color: $red;
|
414
|
+
color: $grayDarker;
|
415
|
+
}
|
416
|
+
}
|
417
|
+
|
418
|
+
&.success {
|
419
|
+
|
420
|
+
& > label,
|
421
|
+
.help-block,
|
422
|
+
.help-inline {
|
423
|
+
color: $green;
|
424
|
+
}
|
425
|
+
|
426
|
+
input,
|
427
|
+
select,
|
428
|
+
textarea {
|
429
|
+
border-color: $green;
|
430
|
+
color: $grayDarker;
|
431
|
+
}
|
432
|
+
}
|
433
|
+
}
|
434
|
+
|
435
|
+
legend {
|
436
|
+
border-bottom: none;
|
437
|
+
color: $grayDarker;
|
438
|
+
}
|
439
|
+
|
440
|
+
.form-actions {
|
441
|
+
border-top: none;
|
442
|
+
background-color: $grayLighter;
|
443
|
+
}
|
444
|
+
|
445
|
+
// DROPDOWNS
|
446
|
+
// -----------------------------------------------------
|
447
|
+
|
448
|
+
.dropdown-menu {
|
449
|
+
@include border-radius(0);
|
450
|
+
}
|
451
|
+
|
452
|
+
// ALERTS, LABELS, BADGES
|
453
|
+
// -----------------------------------------------------
|
454
|
+
|
455
|
+
.alert {
|
456
|
+
@include border-radius(0);
|
457
|
+
text-shadow: none;
|
458
|
+
|
459
|
+
&.alert-heading, h1, h2, h3, h4, h5, h6 {
|
460
|
+
color: $white;
|
461
|
+
}
|
462
|
+
}
|
463
|
+
|
464
|
+
.label {
|
465
|
+
min-width: 80px;
|
466
|
+
min-height: 80px;
|
467
|
+
@include border-radius(0);
|
468
|
+
font-weight: 300;
|
469
|
+
text-shadow: none;
|
470
|
+
|
471
|
+
&.label-success {
|
472
|
+
background-color: $green;
|
473
|
+
}
|
474
|
+
|
475
|
+
&.label-important {
|
476
|
+
background-color: $red;
|
477
|
+
}
|
478
|
+
|
479
|
+
&.label-info {
|
480
|
+
background-color: $purple;
|
481
|
+
}
|
482
|
+
|
483
|
+
&.label-inverse {
|
484
|
+
background-color: $black;
|
485
|
+
}
|
486
|
+
}
|
487
|
+
|
488
|
+
.badge {
|
489
|
+
@include border-radius(0);
|
490
|
+
font-weight: 300;
|
491
|
+
text-shadow: none;
|
492
|
+
.badge-success {
|
493
|
+
background-color: $green;
|
494
|
+
}
|
495
|
+
|
496
|
+
.badge-important {
|
497
|
+
background-color: $red;
|
498
|
+
}
|
499
|
+
|
500
|
+
.badge-info {
|
501
|
+
background-color: $purple;
|
502
|
+
}
|
503
|
+
|
504
|
+
.badge-inverse {
|
505
|
+
background-color: $black;
|
506
|
+
}
|
507
|
+
}
|
508
|
+
|
509
|
+
// MISC
|
510
|
+
// -----------------------------------------------------
|
511
|
+
|
512
|
+
.hero-unit {
|
513
|
+
border: none;
|
514
|
+
@include border-radius(0);
|
515
|
+
@include box-shadow(none);
|
516
|
+
}
|
517
|
+
|
518
|
+
.well {
|
519
|
+
border: none;
|
520
|
+
@include border-radius(0);
|
521
|
+
@include box-shadow(none);
|
522
|
+
}
|
523
|
+
|
524
|
+
[class^="icon-"], [class*=" icon-"] {
|
525
|
+
margin: 0 2px;
|
526
|
+
vertical-align: -2px;
|
527
|
+
}
|
528
|
+
|
529
|
+
a.thumbnail {
|
530
|
+
background-color: $grayLight;
|
531
|
+
|
532
|
+
&:hover {
|
533
|
+
background-color: $gray;
|
534
|
+
border-color: transparent;
|
535
|
+
}
|
536
|
+
}
|
537
|
+
|
538
|
+
.progress {
|
539
|
+
height: 6px;
|
540
|
+
@include border-radius(0);
|
541
|
+
@include box-shadow(none);
|
542
|
+
background-color: $grayLighter;
|
543
|
+
background-image: none;
|
544
|
+
|
545
|
+
.bar {
|
546
|
+
background-color: $blue;
|
547
|
+
background-image: none;
|
548
|
+
}
|
549
|
+
|
550
|
+
&.progress-info {
|
551
|
+
background-color: $purple;
|
552
|
+
}
|
553
|
+
|
554
|
+
&.progress-success {
|
555
|
+
background-color: $green;
|
556
|
+
}
|
557
|
+
|
558
|
+
&.progress-warning {
|
559
|
+
background-color: $orange;
|
560
|
+
}
|
561
|
+
|
562
|
+
&.progress-danger {
|
563
|
+
background-color: $red;
|
564
|
+
}
|
565
|
+
}
|
566
|
+
|
567
|
+
.modal {
|
568
|
+
@include border-radius(0);
|
569
|
+
|
570
|
+
&.modal-header {
|
571
|
+
border-bottom: none;
|
572
|
+
}
|
573
|
+
|
574
|
+
&.modal-footer {
|
575
|
+
border-top: none;
|
576
|
+
background-color: transparent;
|
577
|
+
}
|
578
|
+
}
|
579
|
+
|
580
|
+
.popover {
|
581
|
+
@include border-radius(0);
|
582
|
+
color: $white;
|
583
|
+
|
584
|
+
&.popover-title {
|
585
|
+
border-bottom: none;
|
586
|
+
color: $white;
|
587
|
+
}
|
588
|
+
|
589
|
+
}
|
590
|
+
|
591
|
+
// MEDIA QUERIES
|
592
|
+
// -----------------------------------------------------
|