bootswatch 4.0.0.beta2.1 → 4.0.0.beta3

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.
Files changed (49) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +3 -3
  3. data/{app/assets → assets}/stylesheets/bootswatch/cerulean/_bootswatch.scss +11 -0
  4. data/{app/assets → assets}/stylesheets/bootswatch/cerulean/_variables.scss +0 -0
  5. data/{app/assets → assets}/stylesheets/bootswatch/cosmo/_bootswatch.scss +0 -4
  6. data/{app/assets → assets}/stylesheets/bootswatch/cosmo/_variables.scss +8 -6
  7. data/{app/assets → assets}/stylesheets/bootswatch/cyborg/_bootswatch.scss +8 -32
  8. data/{app/assets → assets}/stylesheets/bootswatch/cyborg/_variables.scss +4 -4
  9. data/{app/assets → assets}/stylesheets/bootswatch/darkly/_bootswatch.scss +18 -23
  10. data/{app/assets → assets}/stylesheets/bootswatch/darkly/_variables.scss +11 -1
  11. data/{app/assets → assets}/stylesheets/bootswatch/flatly/_bootswatch.scss +19 -41
  12. data/{app/assets → assets}/stylesheets/bootswatch/flatly/_variables.scss +0 -0
  13. data/{app/assets → assets}/stylesheets/bootswatch/journal/_bootswatch.scss +0 -0
  14. data/{app/assets → assets}/stylesheets/bootswatch/journal/_variables.scss +0 -0
  15. data/{app/assets → assets}/stylesheets/bootswatch/litera/_bootswatch.scss +16 -34
  16. data/{app/assets → assets}/stylesheets/bootswatch/litera/_variables.scss +0 -0
  17. data/{app/assets → assets}/stylesheets/bootswatch/lumen/_bootswatch.scss +7 -2
  18. data/{app/assets → assets}/stylesheets/bootswatch/lumen/_variables.scss +4 -0
  19. data/{app/assets → assets}/stylesheets/bootswatch/lux/_bootswatch.scss +46 -6
  20. data/{app/assets → assets}/stylesheets/bootswatch/lux/_variables.scss +0 -0
  21. data/{app/assets → assets}/stylesheets/bootswatch/materia/_bootswatch.scss +33 -23
  22. data/{app/assets → assets}/stylesheets/bootswatch/materia/_variables.scss +14 -1
  23. data/{app/assets → assets}/stylesheets/bootswatch/minty/_bootswatch.scss +1 -6
  24. data/{app/assets → assets}/stylesheets/bootswatch/minty/_variables.scss +0 -0
  25. data/{app/assets → assets}/stylesheets/bootswatch/pulse/_bootswatch.scss +0 -6
  26. data/{app/assets → assets}/stylesheets/bootswatch/pulse/_variables.scss +4 -6
  27. data/{app/assets → assets}/stylesheets/bootswatch/sandstone/_bootswatch.scss +1 -1
  28. data/{app/assets → assets}/stylesheets/bootswatch/sandstone/_variables.scss +5 -3
  29. data/{app/assets → assets}/stylesheets/bootswatch/simplex/_bootswatch.scss +0 -0
  30. data/{app/assets → assets}/stylesheets/bootswatch/simplex/_variables.scss +0 -2
  31. data/{app/assets → assets}/stylesheets/bootswatch/sketchy/_bootswatch.scss +15 -7
  32. data/{app/assets → assets}/stylesheets/bootswatch/sketchy/_variables.scss +2 -3
  33. data/{app/assets → assets}/stylesheets/bootswatch/slate/_bootswatch.scss +4 -22
  34. data/{app/assets → assets}/stylesheets/bootswatch/slate/_variables.scss +0 -0
  35. data/{app/assets → assets}/stylesheets/bootswatch/solar/_bootswatch.scss +4 -22
  36. data/{app/assets → assets}/stylesheets/bootswatch/solar/_variables.scss +6 -4
  37. data/{app/assets → assets}/stylesheets/bootswatch/spacelab/_bootswatch.scss +7 -0
  38. data/{app/assets → assets}/stylesheets/bootswatch/spacelab/_variables.scss +0 -0
  39. data/{app/assets → assets}/stylesheets/bootswatch/superhero/_bootswatch.scss +4 -26
  40. data/{app/assets → assets}/stylesheets/bootswatch/superhero/_variables.scss +2 -1
  41. data/{app/assets → assets}/stylesheets/bootswatch/united/_bootswatch.scss +5 -5
  42. data/{app/assets → assets}/stylesheets/bootswatch/united/_variables.scss +0 -0
  43. data/{app/assets → assets}/stylesheets/bootswatch/yeti/_bootswatch.scss +0 -0
  44. data/{app/assets → assets}/stylesheets/bootswatch/yeti/_variables.scss +0 -0
  45. data/bootswatch.gemspec +3 -0
  46. data/lib/bootswatch.rb +67 -1
  47. data/lib/bootswatch/engine.rb +13 -0
  48. data/lib/bootswatch/version.rb +1 -1
  49. metadata +74 -45
@@ -294,13 +294,11 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400
294
294
  // Indicators ==================================================================
295
295
 
296
296
  .close {
297
- color: #fff;
298
297
  text-decoration: none;
299
298
  opacity: 0.4;
300
299
 
301
300
  &:hover,
302
301
  &:focus {
303
- color: #fff;
304
302
  opacity: 1;
305
303
  }
306
304
  }
@@ -394,3 +392,10 @@ a.list-group-item {
394
392
  border: 1px solid $gray-200;
395
393
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.05);
396
394
  }
395
+
396
+ .modal {
397
+
398
+ .close {
399
+ color: $black;
400
+ }
401
+ }
@@ -73,3 +73,7 @@ $jumbotron-bg: #fafafa !default;
73
73
  // Modals
74
74
 
75
75
  $modal-content-border-color: rgba($black,.1) !default;
76
+
77
+ // Close
78
+
79
+ $close-color: $white !default;
@@ -19,10 +19,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600" !d
19
19
  padding-top: .715rem;
20
20
  padding-bottom: .715rem;
21
21
  }
22
-
23
- .nav-item + .nav-item {
24
- margin-left: 3rem;
25
- }
26
22
  }
27
23
 
28
24
  &-brand {
@@ -46,6 +42,10 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600" !d
46
42
  }
47
43
  }
48
44
 
45
+ .nav-item {
46
+ margin-right: 3rem;
47
+ }
48
+
49
49
  // Buttons =====================================================================
50
50
 
51
51
  .btn {
@@ -55,14 +55,31 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600" !d
55
55
  &-sm {
56
56
  font-size: 10px;
57
57
  }
58
+
59
+ &-warning {
60
+ &,
61
+ &:hover,
62
+ &:not([disabled]):not(.disabled):active,
63
+ &:focus {
64
+ color: $white;
65
+ }
66
+ }
58
67
  }
59
68
 
60
69
  .btn-outline-secondary {
61
70
  border-color: $gray-600;
62
71
  color: $gray-600;
63
72
 
64
- &:hover {
65
- background-color: $gray-600;
73
+ &:not([disabled]):not(.disabled):hover,
74
+ &:not([disabled]):not(.disabled):focus,
75
+ &:not([disabled]):not(.disabled):active {
76
+ background-color: $gray-400;
77
+ border-color: $gray-400;
78
+ color: $white;
79
+ }
80
+
81
+ &:not([disabled]):not(.disabled):focus {
82
+ box-shadow: 0 0 0 0.2rem rgba($gray-400, 0.5);
66
83
  }
67
84
  }
68
85
 
@@ -70,6 +87,10 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Nunito+Sans:400,600" !d
70
87
  border-width: 2px;
71
88
  }
72
89
 
90
+ .border-secondary {
91
+ border: 1px solid $gray-400 !important;
92
+ }
93
+
73
94
  // Typography ==================================================================
74
95
 
75
96
  body {
@@ -82,6 +103,10 @@ h1, h2, h3, h4, h5, h6 {
82
103
  letter-spacing: 3px;
83
104
  }
84
105
 
106
+ .text-secondary {
107
+ color: $body-color !important;
108
+ }
109
+
85
110
  // Tables ======================================================================
86
111
 
87
112
  th {
@@ -109,3 +134,18 @@ th {
109
134
  // Progress bars ===============================================================
110
135
 
111
136
  // Containers ==================================================================
137
+
138
+ .list-group-item {
139
+ h1, h2, h3, h4, h5, h6,
140
+ .h1, .h2, .h3, .h4, .h5, .h6 {
141
+ color: inherit;
142
+ }
143
+ }
144
+
145
+ .card {
146
+
147
+ &-title,
148
+ &-header {
149
+ color: inherit;
150
+ }
151
+ }
@@ -116,7 +116,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
116
116
  .btn {
117
117
  text-transform: uppercase;
118
118
  border: none;
119
- box-shadow: 1px 1px 4px rgba(0,0,0,.4);
119
+ box-shadow: 0 1px 4px rgba(0,0,0,.4);
120
120
  transition: all 0.4s;
121
121
 
122
122
  &-link {
@@ -196,6 +196,10 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
196
196
  }
197
197
  }
198
198
 
199
+ .border-secondary {
200
+ border: 1px solid #dfdfdf !important;
201
+ }
202
+
199
203
  // Typography ==================================================================
200
204
 
201
205
  body,
@@ -585,28 +589,10 @@ input[type="checkbox"],
585
589
  color: #fff;
586
590
  }
587
591
 
588
- &-primary {
589
- background-color: $primary;
590
- }
591
-
592
- &-success {
593
- background-color: $success;
594
- }
595
-
596
- &-danger {
597
- background-color: $danger;
598
- }
599
-
600
- &-warning {
601
- background-color: $warning;
602
- }
603
-
604
- &-info {
605
- background-color: $info;
606
- }
607
-
608
- &-dark {
609
- background-color: $dark;
592
+ @each $color, $value in $theme-colors {
593
+ &-#{$color} {
594
+ background-color: $value;
595
+ }
610
596
  }
611
597
 
612
598
  a:not(.close):not(.btn),
@@ -630,6 +616,10 @@ input[type="checkbox"],
630
616
  &-light {
631
617
  background-color: $gray-200;
632
618
  }
619
+
620
+ &-warning {
621
+ color: $white;
622
+ }
633
623
  }
634
624
 
635
625
  .tag {
@@ -650,6 +640,21 @@ input[type="checkbox"],
650
640
  }
651
641
  }
652
642
 
643
+ .card {
644
+ box-shadow: 0 1px 4px rgba(0,0,0,.4);
645
+
646
+ &.border-primary,
647
+ &.border-secondary,
648
+ &.border-success,
649
+ &.border-info,
650
+ &.border-warning,
651
+ &.border-danger,
652
+ &.border-light,
653
+ &.border-dark {
654
+ border-width: 1px;
655
+ }
656
+ }
657
+
653
658
  .alert-dismissible {
654
659
  .close {
655
660
  padding: 0.5rem 0.75rem;
@@ -664,6 +669,11 @@ input[type="checkbox"],
664
669
  }
665
670
  }
666
671
 
672
+ .modal-content {
673
+ border-radius: 0.2rem;
674
+ box-shadow: 0 6px 36px rgba(0,0,0,.3);
675
+ }
676
+
667
677
  .popover {
668
678
  border: none;
669
679
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
@@ -83,6 +83,19 @@ $navbar-padding-y: 1rem !default;
83
83
  $navbar-dark-color: rgba($white,.75) !default;
84
84
  $navbar-dark-hover-color: $white !default;
85
85
 
86
+ // Cards
87
+
88
+ $card-border-width: 0;
89
+ $card-border-color: transparent;
90
+
91
+ // Tooltips
92
+
93
+ $tooltip-bg: $gray-700 !default;
94
+
95
+ // Modals
96
+
97
+ $modal-content-border-color: transparent !default;
98
+
86
99
  // Progress bars
87
100
 
88
101
  $progress-height: 6px !default;
@@ -90,5 +103,5 @@ $progress-border-radius: 0 !default;
90
103
 
91
104
  // Close
92
105
 
93
- $close-font-size: 34px !default;
106
+ $close-font-size: 2.125rem !default;
94
107
  $close-font-weight: 300 !default;
@@ -167,12 +167,6 @@ legend {
167
167
  }
168
168
  }
169
169
 
170
- .pagination {
171
- .page-link:hover {
172
- text-decoration: none;
173
- }
174
- }
175
-
176
170
  // Indicators ==================================================================
177
171
 
178
172
  .alert {
@@ -224,6 +218,7 @@ legend {
224
218
 
225
219
  // Containers ==================================================================
226
220
 
221
+ .card,
227
222
  .list-group-item {
228
223
  h1, h2, h3, h4, h5, h6 {
229
224
  color: inherit;
@@ -4,12 +4,6 @@
4
4
 
5
5
  // Variables ===================================================================
6
6
 
7
- // Navbar ======================================================================
8
-
9
- .bg-dark {
10
- // background-color: $gray-900 !important;
11
- }
12
-
13
7
  // Buttons =====================================================================
14
8
 
15
9
  .btn {
@@ -37,6 +37,10 @@ $danger: $red !default;
37
37
  $light: $gray-200 !default;
38
38
  $dark: $gray-900 !default;
39
39
 
40
+ // Options
41
+
42
+ $enable-rounded: false !default;
43
+
40
44
  // Body
41
45
 
42
46
  $body-color: $gray-700 !default;
@@ -45,12 +49,6 @@ $body-color: $gray-700 !default;
45
49
 
46
50
  $link-hover-color: $primary !default;
47
51
 
48
- // Components
49
-
50
- $border-radius: 0 !default;
51
- $border-radius-lg: 0 !default;
52
- $border-radius-sm: 0 !default;
53
-
54
52
  // Fonts
55
53
 
56
54
  $font-size-base: 0.875rem !default;
@@ -71,7 +71,6 @@ input,
71
71
  @include box-shadow(none);
72
72
 
73
73
  &:focus {
74
- // border-color: $input-border;
75
74
  @include box-shadow(none);
76
75
  }
77
76
  }
@@ -96,6 +95,7 @@ input,
96
95
  .nav-link.disabled:focus {
97
96
  background-color: $gray-200;
98
97
  border-color: $gray-300;
98
+ color: $nav-link-disabled-color;
99
99
  }
100
100
  }
101
101
 
@@ -59,7 +59,8 @@ $dropdown-link-color: $gray-600 !default;
59
59
  $dropdown-link-hover-color: $dropdown-link-color !default;
60
60
  $dropdown-link-hover-bg: $gray-200 !default;
61
61
 
62
- $dropdown-link-active-bg: $dropdown-link-hover-bg !default;
62
+ $dropdown-link-active-color: $dropdown-link-color !default;
63
+ $dropdown-link-active-bg: $dropdown-link-hover-bg !default;
63
64
 
64
65
  // Navs
65
66
 
@@ -67,6 +68,7 @@ $nav-link-padding-x: 0.9rem !default;
67
68
  $nav-link-disabled-color: $gray-300 !default;
68
69
 
69
70
  $nav-tabs-border-color: $gray-300 !default;
71
+ $nav-tabs-link-hover-border-color: $gray-300 !default;
70
72
  $nav-tabs-link-active-bg: $white !default;
71
73
 
72
74
  $nav-pills-link-active-color: $gray-600 !default;
@@ -97,8 +99,8 @@ $pagination-disabled-border-color: $pagination-border-color !default;
97
99
 
98
100
  // Cards
99
101
 
100
- $card-border-color: $gray-300 !default;
101
- $card-cap-bg: $gray-200 !default;
102
+ $card-border-color: rgba($gray-300, .75) !default;
103
+ $card-cap-bg: rgba($gray-200, .25) !default;
102
104
 
103
105
  // Popovers
104
106
 
@@ -47,8 +47,6 @@ $font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "S
47
47
 
48
48
  $font-size-base: 0.8125rem !default;
49
49
 
50
- $headings-color: $gray-700 !default;
51
-
52
50
  // Dropdowns
53
51
 
54
52
  $dropdown-link-hover-color: $white !default;
@@ -110,6 +110,17 @@ table {
110
110
  }
111
111
  }
112
112
 
113
+ .table-dark {
114
+ th,
115
+ td,
116
+ &.table-hover .table-active:hover > th,
117
+ &.table-hover .table-active:hover > td {
118
+ background-color: $gray-800;
119
+ }
120
+
121
+ }
122
+
123
+
113
124
  // Forms =======================================================================
114
125
 
115
126
  input,
@@ -144,9 +155,10 @@ select.form-control {
144
155
  &:checked:after {
145
156
  content: "x";
146
157
  position: absolute;
147
- left: 4px;
148
- top: -7px;
158
+ left: -0.64em;
159
+ top: -0.48em;
149
160
  font-size: 1.5rem;
161
+ line-height: 0.5;
150
162
  color: $gray-800;
151
163
  }
152
164
 
@@ -219,10 +231,6 @@ select.form-control {
219
231
  &:last-child {
220
232
  border-bottom: none;
221
233
  }
222
-
223
- &:hover .list-group-item-heading {
224
- color: $white;
225
- }
226
234
  }
227
235
  }
228
236
 
@@ -323,7 +331,6 @@ select.form-control {
323
331
  // Containers ==================================================================
324
332
 
325
333
  .card {
326
- border-color: transparent;
327
334
  border-radius: 5px 5px 5px 5px/25px 25px 25px 5px;
328
335
  overflow: hidden;
329
336
 
@@ -339,6 +346,7 @@ select.form-control {
339
346
 
340
347
  &-header {
341
348
  border-bottom-width: 2px;
349
+ border-color: inherit;
342
350
  }
343
351
 
344
352
  &-footer {
@@ -35,7 +35,7 @@ $info: $cyan !default;
35
35
  $warning: $yellow !default;
36
36
  $danger: $red !default;
37
37
  $light: $white !default;
38
- $dark: $gray-700;
38
+ $dark: $gray-700 !default;
39
39
 
40
40
  // Links
41
41
 
@@ -144,12 +144,11 @@ $progress-bar-bg: $gray-400 !default;
144
144
 
145
145
  $list-group-border-color: $gray-800 !default;
146
146
 
147
- $list-group-hover-bg: $gray-800 !default;
147
+ $list-group-hover-bg: $gray-300 !default;
148
148
  $list-group-active-color: $white !default;
149
149
  $list-group-active-bg: $gray-800 !default;
150
150
 
151
151
  $list-group-action-color: $gray-800 !default;
152
- $list-group-action-hover-color: $white !default;
153
152
 
154
153
  // Breadcrumbs
155
154