bootswatch 4.2.1 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/cerulean/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/cosmo/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/cyborg/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/darkly/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/flatly/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/journal/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/journal/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/litera/_bootswatch.scss +1 -4
- data/assets/stylesheets/bootswatch/litera/_variables.scss +3 -1
- data/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +10 -5
- data/assets/stylesheets/bootswatch/lumen/_variables.scss +9 -1
- data/assets/stylesheets/bootswatch/lux/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/lux/_variables.scss +2 -2
- data/assets/stylesheets/bootswatch/materia/_bootswatch.scss +69 -2
- data/assets/stylesheets/bootswatch/materia/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/minty/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/minty/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/pulse/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/pulse/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/sandstone/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/sandstone/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/simplex/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/sketchy/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/sketchy/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/slate/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/slate/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/solar/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/solar/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +12 -77
- data/assets/stylesheets/bootswatch/spacelab/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/superhero/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/united/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/united/_variables.scss +1 -1
- data/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +1 -1
- data/assets/stylesheets/bootswatch/yeti/_variables.scss +1 -1
- data/lib/bootswatch/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfc246c0916c29f1e6224198a892949ca32b2dd663923fa14fc8b9b0ac4a28fd
|
4
|
+
data.tar.gz: 1af10fd28d58ed7f2b1c6d8e47acb0e082b9088ea1fed383a5a0111c32f0abf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbe57b5d7e29bfcfd9c4d7192053d67621ec0ef650745d277dae58821dfc9bad3e85f69fc3adc5ef4adf89d17dfd4b06664946c62e6c146f8a684b990d8d6e3a
|
7
|
+
data.tar.gz: bf7fd8a8df5cb37258e57b6aba057297ff2d9df95aff1d0fb185f4ff0a76ad2258f907bf86f29288b329cc29fb482f270e66f95fca767d84cf812a759707431a
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Bootswatch ruby gem [![Gem Version](https://badge.fury.io/rb/bootswatch.svg)](http://badge.fury.io/rb/bootswatch)
|
2
2
|
|
3
|
-
[Bootswatch](http://bootswatch.com
|
3
|
+
[Bootswatch](http://bootswatch.com) is a collection of free themes for [Bootstrap](v4-alpha.getbootstrap.com).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -1,12 +1,9 @@
|
|
1
|
-
// Litera 4.
|
1
|
+
// Litera 4.3.1
|
2
2
|
// Bootswatch
|
3
3
|
|
4
4
|
|
5
5
|
// Variables ===================================================================
|
6
6
|
|
7
|
-
$web-font-path: "https://fonts.googleapis.com/css?family=Raleway:400,700" !default;
|
8
|
-
@import url($web-font-path);
|
9
|
-
|
10
7
|
$font-family-serif: Georgia, Cambria, "Times New Roman", Times, serif !default;
|
11
8
|
|
12
9
|
// Navbar ======================================================================
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Litera 4.
|
1
|
+
// Litera 4.3.1
|
2
2
|
// Bootswatch
|
3
3
|
|
4
4
|
//
|
@@ -37,6 +37,8 @@ $danger: $red !default;
|
|
37
37
|
$light: $gray-100 !default;
|
38
38
|
$dark: $gray-800 !default;
|
39
39
|
|
40
|
+
$yiq-contrasted-threshold: 190 !default;
|
41
|
+
|
40
42
|
// Body
|
41
43
|
|
42
44
|
$body-color: $gray-800 !default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Lumen 4.
|
1
|
+
// Lumen 4.3.1
|
2
2
|
// Bootswatch
|
3
3
|
|
4
4
|
|
@@ -35,8 +35,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400
|
|
35
35
|
|
36
36
|
.btn {
|
37
37
|
@include shadow();
|
38
|
-
font-size: 12px;
|
39
|
-
font-weight: bold;
|
40
38
|
text-transform: uppercase;
|
41
39
|
|
42
40
|
&:not(.disabled):hover {
|
@@ -70,7 +68,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400
|
|
70
68
|
|
71
69
|
&-info {
|
72
70
|
border-color: darken($info, 5%);
|
73
|
-
color: $white;
|
74
71
|
}
|
75
72
|
|
76
73
|
&-danger {
|
@@ -79,7 +76,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400
|
|
79
76
|
|
80
77
|
&-warning {
|
81
78
|
border-color: darken($warning, 5%);
|
82
|
-
color: $white;
|
83
79
|
}
|
84
80
|
|
85
81
|
&-light {
|
@@ -246,6 +242,15 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400
|
|
246
242
|
box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.075);
|
247
243
|
}
|
248
244
|
|
245
|
+
.input-group-sm {
|
246
|
+
> .input-group-prepend,
|
247
|
+
> .input-group-append {
|
248
|
+
.btn {
|
249
|
+
font-size: $btn-font-size-sm;
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}
|
253
|
+
|
249
254
|
// Navs ========================================================================
|
250
255
|
|
251
256
|
.nav {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Lumen 4.
|
1
|
+
// Lumen 4.3.1
|
2
2
|
// Bootswatch
|
3
3
|
|
4
4
|
//
|
@@ -45,6 +45,14 @@ $font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFo
|
|
45
45
|
|
46
46
|
$font-size-base: 0.875rem !default;
|
47
47
|
|
48
|
+
// Buttons
|
49
|
+
|
50
|
+
$btn-font-size: 0.75rem !default;
|
51
|
+
|
52
|
+
$btn-font-size-sm: 0.625rem !default;
|
53
|
+
|
54
|
+
$btn-font-weight: bold !default;
|
55
|
+
|
48
56
|
// Dropdowns
|
49
57
|
|
50
58
|
$dropdown-link-color: rgba(0,0,0,.5) !default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Lux 4.
|
1
|
+
// Lux 4.3.1
|
2
2
|
// Bootswatch
|
3
3
|
|
4
4
|
//
|
@@ -90,7 +90,7 @@ $btn-font-weight: 600 !default;
|
|
90
90
|
|
91
91
|
// Forms
|
92
92
|
|
93
|
-
$input-line-height: 1.
|
93
|
+
$input-line-height: 1.5 !default;
|
94
94
|
|
95
95
|
$input-bg: $gray-200 !default;
|
96
96
|
$input-disabled-bg: $gray-300 !default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Materia 4.
|
1
|
+
// Materia 4.3.1
|
2
2
|
// Bootswatch
|
3
3
|
|
4
4
|
|
@@ -324,6 +324,10 @@ select.form-control {
|
|
324
324
|
}
|
325
325
|
}
|
326
326
|
|
327
|
+
.custom-control {
|
328
|
+
min-height: 1.5rem;
|
329
|
+
}
|
330
|
+
|
327
331
|
.custom-control-label {
|
328
332
|
&::before {
|
329
333
|
top: 0;
|
@@ -347,7 +351,7 @@ select.form-control {
|
|
347
351
|
.custom-radio .custom-control-input {
|
348
352
|
&:checked {
|
349
353
|
~ .custom-control-label::before {
|
350
|
-
background
|
354
|
+
background: $white;
|
351
355
|
}
|
352
356
|
~ .custom-control-label::after {
|
353
357
|
transform: scale(1.125);
|
@@ -361,6 +365,69 @@ select.form-control {
|
|
361
365
|
}
|
362
366
|
}
|
363
367
|
|
368
|
+
.custom-switch {
|
369
|
+
|
370
|
+
.custom-control-label::before {
|
371
|
+
top: 0.125rem;
|
372
|
+
height: 0.875rem;
|
373
|
+
background: $gray-500;
|
374
|
+
border: none;
|
375
|
+
}
|
376
|
+
|
377
|
+
.custom-control-input:disabled ~ .custom-control-label {
|
378
|
+
opacity: 0.7;
|
379
|
+
}
|
380
|
+
|
381
|
+
.custom-control-input:disabled ~ .custom-control-label::before {
|
382
|
+
background: $gray-500;
|
383
|
+
}
|
384
|
+
|
385
|
+
.custom-control-label::after {
|
386
|
+
background-color: #fff;
|
387
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.3);
|
388
|
+
}
|
389
|
+
|
390
|
+
.custom-control-input:checked ~ .custom-control-label::before {
|
391
|
+
opacity: 0.38;
|
392
|
+
}
|
393
|
+
|
394
|
+
.custom-control-input:checked ~ .custom-control-label::after {
|
395
|
+
background-color: $primary;
|
396
|
+
}
|
397
|
+
|
398
|
+
.custom-control-input:hover:not(:disabled) ~ .custom-control-label::after {
|
399
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 0 9px rgba(0,0,0,0.05);
|
400
|
+
}
|
401
|
+
|
402
|
+
.custom-control-input:focus:not(:disabled) ~ .custom-control-label::after {
|
403
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 0 9px rgba(0,0,0,0.09);
|
404
|
+
}
|
405
|
+
|
406
|
+
.custom-control-input:active:not(:disabled) ~ .custom-control-label::after {
|
407
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 0 9px rgba(0,0,0,0.16);
|
408
|
+
}
|
409
|
+
|
410
|
+
.custom-control-input:hover:checked:not(:disabled) ~ .custom-control-label::after {
|
411
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 0 9px rgba(33,150,243,0.05);
|
412
|
+
}
|
413
|
+
|
414
|
+
.custom-control-input:focus:checked:not(:disabled) ~ .custom-control-label::after {
|
415
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 0 9px rgba(33,150,243,0.09);
|
416
|
+
}
|
417
|
+
|
418
|
+
.custom-control-input:active:checked:not(:disabled) ~ .custom-control-label::after {
|
419
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.3), 0 0 0 9px rgba(33,150,243,0.16);
|
420
|
+
}
|
421
|
+
|
422
|
+
.custom-control-input:active:not(:checked) ~ .custom-control-label::before {
|
423
|
+
background-color: $gray-500;
|
424
|
+
}
|
425
|
+
|
426
|
+
.custom-control-input:active:not(:checked) ~ .custom-control-label::before {
|
427
|
+
background-color: $gray-500;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
|
364
431
|
.has-warning {
|
365
432
|
input:not([type=checkbox]),
|
366
433
|
.form-control,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
// Spacelab 4.
|
1
|
+
// Spacelab 4.3.1
|
2
2
|
// Bootswatch
|
3
3
|
|
4
4
|
|
@@ -24,15 +24,15 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:400italic,700
|
|
24
24
|
}
|
25
25
|
|
26
26
|
&.bg-primary {
|
27
|
-
@include btn-shadow($primary);
|
27
|
+
@include btn-shadow(map-get($theme-colors, "primary"));
|
28
28
|
}
|
29
29
|
|
30
30
|
&.bg-dark {
|
31
|
-
@include btn-shadow($secondary);
|
31
|
+
@include btn-shadow(map-get($theme-colors, "secondary"));
|
32
32
|
}
|
33
33
|
|
34
34
|
&.bg-light {
|
35
|
-
@include btn-shadow($light);
|
35
|
+
@include btn-shadow(map-get($theme-colors, "light"));
|
36
36
|
|
37
37
|
.nav-link,
|
38
38
|
.navbar-brand {
|
@@ -54,83 +54,18 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:400italic,700
|
|
54
54
|
.btn {
|
55
55
|
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1);
|
56
56
|
|
57
|
-
&-primary {
|
58
|
-
@include btn-shadow($primary);
|
59
|
-
|
60
|
-
&:not(.disabled):hover {
|
61
|
-
@include btn-shadow(darken($primary, 4%));
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
&-secondary {
|
66
|
-
@include btn-shadow($secondary);
|
67
|
-
color: $white;
|
68
|
-
|
69
|
-
&:not(.disabled):hover {
|
70
|
-
@include btn-shadow(darken($secondary, 4%));
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
&-success {
|
75
|
-
@include btn-shadow($success);
|
76
|
-
|
77
|
-
&:not(.disabled):hover {
|
78
|
-
@include btn-shadow(darken($success, 4%));
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
&-info {
|
83
|
-
@include btn-shadow($info);
|
84
|
-
|
85
|
-
&:not(.disabled):hover {
|
86
|
-
@include btn-shadow(darken($info, 4%));
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
&-warning {
|
91
|
-
@include btn-shadow($warning);
|
92
|
-
|
93
|
-
&:not(.disabled):hover {
|
94
|
-
@include btn-shadow(darken($warning, 4%));
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
&-danger {
|
99
|
-
@include btn-shadow($danger);
|
100
|
-
|
101
|
-
&:not(.disabled):hover {
|
102
|
-
@include btn-shadow(darken($danger, 4%));
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
&-dark {
|
107
|
-
@include btn-shadow($dark);
|
108
|
-
|
109
|
-
&:not(.disabled):hover {
|
110
|
-
@include btn-shadow(darken($dark, 4%));
|
111
|
-
}
|
112
|
-
}
|
113
|
-
|
114
|
-
&-light {
|
115
|
-
@include btn-shadow($light);
|
116
|
-
color: $navbar-light-color;
|
117
|
-
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
|
118
|
-
transition: color ease-in-out .2s;
|
119
|
-
|
120
|
-
&:not(.disabled):hover {
|
121
|
-
@include btn-shadow(darken($light, 4%));
|
122
|
-
color: $info;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
57
|
&-link {
|
127
58
|
text-shadow: none;
|
128
59
|
}
|
60
|
+
}
|
61
|
+
|
62
|
+
@each $color, $value in $theme-colors {
|
63
|
+
.btn-#{$color} {
|
64
|
+
@include btn-shadow($value);
|
65
|
+
}
|
129
66
|
|
130
|
-
|
131
|
-
|
132
|
-
background-image: none;
|
133
|
-
@include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
|
67
|
+
.btn-#{$color}:not(.disabled):hover {
|
68
|
+
@include btn-shadow(darken($value, 4%));
|
134
69
|
}
|
135
70
|
}
|
136
71
|
|
data/lib/bootswatch/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootswatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mkhairi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|
@@ -130,8 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
|
134
|
-
rubygems_version: 2.7.6
|
133
|
+
rubygems_version: 3.0.1
|
135
134
|
signing_key:
|
136
135
|
specification_version: 4
|
137
136
|
summary: Bootswatches sass for rails.
|