bootswatch-rails 3.2.0 → 3.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/HISTORY.md +5 -0
  3. data/README.md +2 -0
  4. data/Rakefile +2 -1
  5. data/lib/bootswatch-rails/version.rb +1 -1
  6. data/rearranges +4 -4
  7. data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +3 -3
  8. data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +30 -31
  9. data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +32 -16
  10. data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +36 -37
  11. data/vendor/assets/stylesheets/bootswatch/custom/_variables.scss +116 -116
  12. data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +2 -7
  13. data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +47 -48
  14. data/vendor/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +14 -10
  15. data/vendor/assets/stylesheets/bootswatch/darkly/_variables.scss +45 -46
  16. data/vendor/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +27 -17
  17. data/vendor/assets/stylesheets/bootswatch/flatly/_variables.scss +45 -48
  18. data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +1 -1
  19. data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +30 -32
  20. data/vendor/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +34 -24
  21. data/vendor/assets/stylesheets/bootswatch/lumen/_variables.scss +135 -138
  22. data/vendor/assets/stylesheets/bootswatch/paper/_bootswatch.scss +420 -0
  23. data/vendor/assets/stylesheets/bootswatch/paper/_variables.scss +845 -0
  24. data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +34 -23
  25. data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +45 -47
  26. data/vendor/assets/stylesheets/bootswatch/sandstone/_bootswatch.scss +200 -0
  27. data/vendor/assets/stylesheets/bootswatch/sandstone/_variables.scss +844 -0
  28. data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +6 -0
  29. data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +49 -51
  30. data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +13 -14
  31. data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +43 -46
  32. data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +3 -0
  33. data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +37 -39
  34. data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +4 -4
  35. data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +139 -143
  36. data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +30 -31
  37. data/vendor/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +36 -35
  38. data/vendor/assets/stylesheets/bootswatch/yeti/_variables.scss +28 -26
  39. metadata +6 -2
@@ -10,10 +10,16 @@
10
10
  font-family: $headings-font-family;
11
11
  }
12
12
 
13
+ .navbar-nav,
14
+ .navbar-form {
15
+ margin-left: 0;
16
+ margin-right: 0;
17
+ }
18
+
13
19
  .navbar-nav > li > a {
14
20
  padding: $padding-base-vertical $padding-base-horizontal;
15
21
  margin: 12px 6px;
16
- border: 1px solid hsla(0, 100%, 100%, 0);
22
+ border: 1px solid transparent;
17
23
  border-radius: $border-radius-base;
18
24
 
19
25
  &:hover {
@@ -35,11 +41,15 @@
35
41
  }
36
42
 
37
43
  .navbar-brand {
38
- margin-top: 6px;
44
+ padding-top: 20px;
39
45
  }
40
46
 
41
- .navbar-form {
42
- margin-top: 12px;
47
+ @media (max-width: $grid-float-breakpoint) {
48
+ .navbar {
49
+ .navbar-nav > li > a {
50
+ margin: 0;
51
+ }
52
+ }
43
53
  }
44
54
 
45
55
  // Buttons ====================================================================
@@ -73,6 +83,7 @@ legend {
73
83
  }
74
84
 
75
85
  .pagination {
86
+
76
87
  font-family: $headings-font-family;
77
88
  }
78
89
 
@@ -90,7 +101,7 @@ legend {
90
101
  }
91
102
 
92
103
  a:hover {
93
- border-color: hsla(0, 100%, 100%, 0);
104
+ border-color: transparent;
94
105
  color: #fff;
95
106
  }
96
107
 
@@ -101,22 +112,10 @@ legend {
101
112
 
102
113
  // Indicators =================================================================
103
114
 
104
- .alert {
105
- a,
106
- .alert-link {
107
- color: $alert-success-text;
108
- text-decoration: underline;
109
- }
110
-
111
- .close {
112
- text-decoration: none;
113
- }
114
- }
115
-
116
-
117
115
  .close {
118
116
  color: #fff;
119
117
  text-decoration: none;
118
+ text-shadow: none;
120
119
  opacity: 0.4;
121
120
 
122
121
  &:hover,
@@ -126,6 +125,13 @@ legend {
126
125
  }
127
126
  }
128
127
 
128
+ .alert {
129
+ .alert-link {
130
+ color: $alert-success-text;
131
+ text-decoration: underline;
132
+ }
133
+ }
134
+
129
135
  .label {
130
136
  font-family: $headings-font-family;
131
137
  font-weight: normal;
@@ -151,11 +157,10 @@ legend {
151
157
  @include box-shadow(none);
152
158
  }
153
159
 
154
- .panel-default .panel-heading,
155
- .panel-default .panel-footer {
156
- background-color: #fff;
157
- font-family: $headings-font-family;
158
- font-weight: bold;
160
+ .panel-default {
161
+ .close {
162
+ color: $text-color;
163
+ }
159
164
  }
160
165
 
161
166
  .panel-primary,
@@ -173,3 +178,9 @@ legend {
173
178
  border-radius: 0 0 $border-radius-base $border-radius-base;
174
179
  }
175
180
  }
181
+
182
+ .modal {
183
+ .close {
184
+ color: $text-color;
185
+ }
186
+ }
@@ -7,9 +7,9 @@
7
7
  //
8
8
  //## Gray and brand colors for use across Bootstrap.
9
9
 
10
+ $gray: lighten(#000, 33.5%) !default; // #555
10
11
  $gray-darker: lighten(#000, 13.5%) !default; // #222
11
12
  $gray-dark: lighten(#000, 20%) !default; // #333
12
- $gray: lighten(#000, 33.5%) !default; // #555
13
13
  $gray-light: lighten(#000, 70%) !default; // #999
14
14
  $gray-lighter: lighten(#000, 93.5%) !default; // #eee
15
15
 
@@ -79,32 +79,6 @@ $icon-font-name: "glyphicons-halflings-regular" !default;
79
79
  $icon-font-svg-id: "glyphicons_halflingsregular" !default;
80
80
 
81
81
 
82
- //== Type
83
- //
84
- //##
85
-
86
- //** Horizontal offset for forms and lists.
87
- $component-offset-horizontal: 180px !default;
88
- //** Text muted color
89
- $text-muted: $gray-light !default;
90
- //** Abbreviations and acronyms border color
91
- $abbr-border-color: $gray-light !default;
92
- //** Headings small color
93
- $headings-small-color: $gray-light !default;
94
- //** Blockquote small color
95
- $blockquote-small-color: $text-color !default;
96
- //** Blockquote font size
97
- $blockquote-font-size: ($font-size-base * 1.25) !default;
98
- //** Blockquote border color
99
- $blockquote-border-color: $brand-primary !default;
100
- //** Page header border color
101
- $page-header-border-color: $gray-lighter !default;
102
- //** Width of horizontal description list titles
103
- $dl-horizontal-offset: $component-offset-horizontal !default;
104
- //** Horizontal line color.
105
- $hr-border: $gray-lighter !default;
106
-
107
-
108
82
  //== Components
109
83
  //
110
84
  //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
@@ -149,7 +123,7 @@ $table-cell-padding: 8px !default;
149
123
  $table-condensed-cell-padding: 5px !default;
150
124
 
151
125
  //** Default background color used for all tables.
152
- $table-bg: hsla(0, 100%, 100%, 0) !default;
126
+ $table-bg: transparent !default;
153
127
  //** Background color used for `.table-striped`.
154
128
  $table-bg-accent: #f9f9f9 !default;
155
129
  //** Background color used for `.table-hover`.
@@ -229,6 +203,30 @@ $input-group-addon-bg: $gray-lighter !default;
229
203
  //** Border color for textual input addons
230
204
  $input-group-addon-border-color: $input-border !default;
231
205
 
206
+ //== Type
207
+ //
208
+ //##
209
+
210
+ //** Horizontal offset for forms and lists.
211
+ $component-offset-horizontal: 180px !default;
212
+ //** Text muted color
213
+ $text-muted: $gray-light !default;
214
+ //** Abbreviations and acronyms border color
215
+ $abbr-border-color: $gray-light !default;
216
+ //** Headings small color
217
+ $headings-small-color: $gray-light !default;
218
+ //** Blockquote small color
219
+ $blockquote-small-color: $text-color !default;
220
+ //** Blockquote font size
221
+ $blockquote-font-size: ($font-size-base * 1.25) !default;
222
+ //** Blockquote border color
223
+ $blockquote-border-color: $brand-primary !default;
224
+ //** Page header border color
225
+ $page-header-border-color: #ddd !default;
226
+ //** Width of horizontal description list titles
227
+ $dl-horizontal-offset: $component-offset-horizontal !default;
228
+ //** Horizontal line color.
229
+ $hr-border: $gray-lighter !default;
232
230
 
233
231
  //== Dropdowns
234
232
  //
@@ -243,12 +241,12 @@ $dropdown-fallback-border: #ccc !default;
243
241
  //** Divider color for between dropdown items.
244
242
  $dropdown-divider-bg: #e5e5e5 !default;
245
243
 
244
+ //** Active dropdown menu item background color.
245
+ $dropdown-link-active-bg: $component-active-bg !default;
246
246
  //** Dropdown link text color.
247
247
  $dropdown-link-color: $gray-dark !default;
248
248
  //** Hover color for dropdown links.
249
249
  $dropdown-link-hover-color: #fff !default;
250
- //** Active dropdown menu item background color.
251
- $dropdown-link-active-bg: $component-active-bg !default;
252
250
  //** Hover background for dropdown links.
253
251
  $dropdown-link-hover-bg: $dropdown-link-active-bg !default;
254
252
 
@@ -360,7 +358,7 @@ $container-lg: $container-large-desktop !default;
360
358
  //##
361
359
 
362
360
  // Basics of a navbar
363
- $navbar-height: 50px !default;
361
+ $navbar-height: 65px !default;
364
362
  $navbar-margin-bottom: $line-height-computed !default;
365
363
  $navbar-border-radius: $border-radius-base !default;
366
364
  $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
@@ -369,21 +367,21 @@ $navbar-collapse-max-height: 340px !default;
369
367
 
370
368
  $navbar-default-color: $text-color !default;
371
369
  $navbar-default-bg: $body-bg !default;
372
- $navbar-default-border: hsla(0, 100%, 100%, 0) !default;
370
+ $navbar-default-border: #ddd !default;
373
371
 
374
372
  // Navbar links
375
373
  $navbar-default-link-color: $link-color !default;
376
374
  $navbar-default-link-hover-color: $link-color !default;
377
- $navbar-default-link-hover-bg: hsla(0, 100%, 100%, 0) !default;
375
+ $navbar-default-link-hover-bg: transparent !default;
378
376
  $navbar-default-link-active-color: $navbar-default-link-color !default;
379
- $navbar-default-link-active-bg: hsla(0, 100%, 100%, 0) !default;
377
+ $navbar-default-link-active-bg: transparent !default;
380
378
  $navbar-default-link-disabled-color: #333 !default;
381
- $navbar-default-link-disabled-bg: hsla(0, 100%, 100%, 0) !default;
379
+ $navbar-default-link-disabled-bg: transparent !default;
382
380
 
383
381
  // Navbar brand label
384
382
  $navbar-default-brand-color: $navbar-default-link-color !default;
385
383
  $navbar-default-brand-hover-color: $navbar-default-link-hover-color !default;
386
- $navbar-default-brand-hover-bg: hsla(0, 100%, 100%, 0) !default;
384
+ $navbar-default-brand-hover-bg: transparent !default;
387
385
 
388
386
  // Navbar toggle
389
387
  $navbar-default-toggle-hover-bg: #ddd !default;
@@ -395,21 +393,21 @@ $navbar-default-toggle-border-color: #ddd !default;
395
393
  // Reset inverted navbar basics
396
394
  $navbar-inverse-color: $text-color !default;
397
395
  $navbar-inverse-bg: $body-bg !default;
398
- $navbar-inverse-border: hsla(0, 100%, 100%, 0) !default;
396
+ $navbar-inverse-border: #ddd !default;
399
397
 
400
398
  // Inverted navbar links
401
399
  $navbar-inverse-link-color: $text-color !default;
402
400
  $navbar-inverse-link-hover-color: $text-color !default;
403
- $navbar-inverse-link-hover-bg: hsla(0, 100%, 100%, 0) !default;
401
+ $navbar-inverse-link-hover-bg: transparent !default;
404
402
  $navbar-inverse-link-active-color: $text-color !default;
405
- $navbar-inverse-link-active-bg: hsla(0, 100%, 100%, 0) !default;
403
+ $navbar-inverse-link-active-bg: transparent !default;
406
404
  $navbar-inverse-link-disabled-color: #ccc !default;
407
- $navbar-inverse-link-disabled-bg: hsla(0, 100%, 100%, 0) !default;
405
+ $navbar-inverse-link-disabled-bg: transparent !default;
408
406
 
409
407
  // Inverted navbar brand label
410
408
  $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
411
409
  $navbar-inverse-brand-hover-color: $navbar-inverse-link-hover-color !default;
412
- $navbar-inverse-brand-hover-bg: hsla(0, 100%, 100%, 0) !default;
410
+ $navbar-inverse-brand-hover-bg: transparent !default;
413
411
 
414
412
  // Inverted navbar toggle
415
413
  $navbar-inverse-toggle-hover-bg: #ddd !default;
@@ -719,23 +717,23 @@ $panel-default-border: #ddd !default;
719
717
  $panel-default-heading-bg: #f5f5f5 !default;
720
718
 
721
719
  $panel-primary-text: #fff !default;
722
- $panel-primary-border: hsla(0, 100%, 100%, 0) !default;
720
+ $panel-primary-border: transparent !default;
723
721
  $panel-primary-heading-bg: $brand-primary !default;
724
722
 
725
723
  $panel-success-text: $state-success-text !default;
726
- $panel-success-border: hsla(0, 100%, 100%, 0) !default;
724
+ $panel-success-border: transparent !default;
727
725
  $panel-success-heading-bg: $state-success-border !default;
728
726
 
729
727
  $panel-info-text: $state-info-text !default;
730
- $panel-info-border: hsla(0, 100%, 100%, 0) !default;
728
+ $panel-info-border: transparent !default;
731
729
  $panel-info-heading-bg: $state-info-border !default;
732
730
 
733
731
  $panel-warning-text: $state-warning-text !default;
734
- $panel-warning-border: hsla(0, 100%, 100%, 0) !default;
732
+ $panel-warning-border: transparent !default;
735
733
  $panel-warning-heading-bg: $state-warning-border !default;
736
734
 
737
735
  $panel-danger-text: $state-danger-text !default;
738
- $panel-danger-border: hsla(0, 100%, 100%, 0) !default;
736
+ $panel-danger-border: transparent !default;
739
737
  $panel-danger-heading-bg: $state-danger-border !default;
740
738
 
741
739
 
@@ -823,7 +821,7 @@ $carousel-caption-color: #fff !default;
823
821
  //##
824
822
 
825
823
  $close-font-weight: bold !default;
826
- $close-color: #000 !default;
824
+ $close-color: #fff !default;
827
825
  $close-text-shadow: 0 1px 0 #fff !default;
828
826
 
829
827
 
@@ -0,0 +1,200 @@
1
+ // Sandstone 3.2.0
2
+ // Bootswatch
3
+ // -----------------------------------------------------
4
+
5
+ @import url("//fonts.googleapis.com/css?family=Roboto:400,500");
6
+
7
+ // Navbar =====================================================================
8
+
9
+ .sandstone {
10
+ font-size: 11px;
11
+ line-height: 22px;
12
+ font-weight: 500;
13
+ text-transform: uppercase;
14
+ }
15
+
16
+ @mixin sandstone() {
17
+ font-size: 11px;
18
+ line-height: 22px;
19
+ font-weight: 500;
20
+ text-transform: uppercase;
21
+ }
22
+
23
+ .navbar {
24
+ .nav > li > a {
25
+ @include sandstone();
26
+ }
27
+ }
28
+
29
+ .navbar-form input,
30
+ .navbar-form .form-control {
31
+ border: none;
32
+ }
33
+
34
+ // Buttons ====================================================================
35
+
36
+ .btn {
37
+ border: none;
38
+ @include sandstone();
39
+
40
+ &:hover {
41
+ border-color: transparent;
42
+ }
43
+ }
44
+
45
+ .btn-lg {
46
+ line-height: 26px;
47
+ }
48
+
49
+ .btn-default {
50
+ &:hover {
51
+ background-color: $navbar-default-link-active-bg;
52
+ }
53
+ }
54
+
55
+ // Typography =================================================================
56
+
57
+ // Tables =====================================================================
58
+
59
+ // Forms ======================================================================
60
+
61
+ input,
62
+ .form-control {
63
+ @include box-shadow(none);
64
+
65
+ &:focus {
66
+ border-color: $input-border;
67
+ @include box-shadow(none);
68
+ }
69
+ }
70
+
71
+ .input-sm {
72
+ padding: 15px 10px;
73
+ }
74
+
75
+ // Navs =======================================================================
76
+
77
+ .nav {
78
+ @include sandstone();
79
+
80
+ .open > a,
81
+ .open > a:hover,
82
+ .open > a:focus {
83
+ border-color: $gray-light;
84
+ }
85
+ }
86
+
87
+ .nav-tabs {
88
+
89
+ & > li > a {
90
+ background-color: $gray-lighter;
91
+ border-color: $nav-tabs-border-color;
92
+ color: $gray;
93
+ }
94
+
95
+ > li.disabled > a:hover {
96
+ background-color: $gray-lighter;
97
+ }
98
+ }
99
+
100
+ .nav-pills {
101
+ a {
102
+ color: $gray;
103
+ }
104
+
105
+ li > a {
106
+ border: 1px solid transparent;
107
+ }
108
+
109
+ li.active > a,
110
+ li > a:hover {
111
+ border-color: $gray-light;
112
+ }
113
+
114
+ li.disabled > a {
115
+ border-color: transparent;
116
+ }
117
+ }
118
+
119
+ .breadcrumb {
120
+ @include sandstone();
121
+
122
+ border: 1px solid $gray-light;
123
+
124
+ a {
125
+ color: $gray;
126
+ }
127
+ }
128
+
129
+ .pagination {
130
+ @include sandstone();
131
+ }
132
+
133
+ .pager {
134
+ @include sandstone();
135
+
136
+ li > a {
137
+ color: $gray;
138
+ }
139
+ }
140
+
141
+ .dropdown-menu {
142
+ & > li > a {
143
+ @include sandstone();
144
+ }
145
+ }
146
+
147
+ // Indicators =================================================================
148
+
149
+ .alert {
150
+
151
+ a,
152
+ .alert-link {
153
+ color: #fff;
154
+ }
155
+ }
156
+
157
+ .tooltip {
158
+ @include sandstone();
159
+ }
160
+
161
+ // Progress bars ==============================================================
162
+
163
+ .progress {
164
+ border-radius: 10px;
165
+ background-color: $gray-light;
166
+ @include box-shadow(none);
167
+ }
168
+
169
+ .progress-bar {
170
+ @include box-shadow(none);
171
+ }
172
+
173
+ // Containers =================================================================
174
+
175
+ .list-group-item {
176
+ padding: 16px 24px;
177
+ }
178
+
179
+ .well {
180
+ @include box-shadow(none);
181
+ }
182
+
183
+ .panel {
184
+ @include box-shadow(none);
185
+ }
186
+
187
+ .panel-heading,
188
+ .panel-title,
189
+ .panel-footer {
190
+ @include sandstone();
191
+ color: #fff;
192
+ }
193
+
194
+ .panel-default {
195
+ .panel-heading,
196
+ .panel-title,
197
+ .panel-footer {
198
+ color: $gray;
199
+ }
200
+ }