bootswatch 4.0.0.beta2 → 4.0.0.beta2.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 +9 -5
- data/Rakefile +1 -1
- data/app/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +12 -11
- data/app/assets/stylesheets/bootswatch/materia/_bootswatch.scss +2 -2
- data/app/assets/stylesheets/bootswatch/materia/_variables.scss +1 -1
- data/app/assets/stylesheets/bootswatch/minty/_variables.scss +1 -1
- data/app/assets/stylesheets/bootswatch/slate/_bootswatch.scss +27 -2
- data/lib/bootswatch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51a4d169bcf0660c2f9578212374cb9a3e8884ad
|
4
|
+
data.tar.gz: e193a18ed4d2134cc0096b94424f13b8fd644693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9730682da6b9d757f2451c1a314e7eeb368d70709440e97b6553d389d6fd541f909686057c865095e0e765bac18e2227977553be220f02faceecfd7cacc0a826
|
7
|
+
data.tar.gz: 3888e72be0ef80fc4dbb4aa2c346c0f78159c2a9535ae9d419fb72d483178f1ffad07e74d0524d1dd82060b1ea17e1871d0117c7b08bf4d331afc5efd9243b09
|
data/README.md
CHANGED
@@ -24,12 +24,16 @@ Or install it yourself as:
|
|
24
24
|
in your application.css.scss
|
25
25
|
```scss
|
26
26
|
// example override bootswatch variables
|
27
|
-
$
|
28
|
-
$
|
29
|
-
$
|
30
|
-
$
|
31
|
-
$
|
27
|
+
$primary: #FFCF06;
|
28
|
+
$secondary: #37474f;
|
29
|
+
$success: #28b62c;
|
30
|
+
$info: #03a9f4;
|
31
|
+
$warning: #fbe42c;
|
32
|
+
$danger: #ff4136;
|
33
|
+
$light: #eeeeee;
|
34
|
+
$dark: #444444;
|
32
35
|
// end example override
|
36
|
+
|
33
37
|
// import scss file
|
34
38
|
@import "bootswatch/materia/variables";
|
35
39
|
@import "bootstrap";
|
data/Rakefile
CHANGED
@@ -9,15 +9,20 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,700" !defaul
|
|
9
9
|
|
10
10
|
// Navbar ======================================================================
|
11
11
|
|
12
|
-
.
|
13
|
-
border: 1px solid $gray-700;
|
14
|
-
}
|
12
|
+
.navbar {
|
15
13
|
|
16
|
-
|
17
|
-
|
18
|
-
}
|
14
|
+
&.bg-primary {
|
15
|
+
border: 1px solid $gray-700;
|
16
|
+
}
|
19
17
|
|
20
|
-
|
18
|
+
&.bg-dark {
|
19
|
+
background-color: $body-bg !important;
|
20
|
+
border: 1px solid $gray-700;
|
21
|
+
}
|
22
|
+
|
23
|
+
&.bg-light {
|
24
|
+
background-color: $gray-500 !important;
|
25
|
+
}
|
21
26
|
|
22
27
|
&.fixed-top {
|
23
28
|
border-width: 0 0 1px 0;
|
@@ -27,10 +32,6 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,700" !defaul
|
|
27
32
|
border-width: 1px 0 0 0;
|
28
33
|
}
|
29
34
|
|
30
|
-
&.bg-light {
|
31
|
-
background-color: $body-bg !important;
|
32
|
-
}
|
33
|
-
|
34
35
|
}
|
35
36
|
|
36
37
|
// Buttons =====================================================================
|
@@ -373,7 +373,7 @@ input[type="radio"],
|
|
373
373
|
&:before {
|
374
374
|
position: absolute;
|
375
375
|
left: 0;
|
376
|
-
top: 2px;
|
376
|
+
top: -2px;
|
377
377
|
background-color: $primary;
|
378
378
|
transform: scale(0);
|
379
379
|
}
|
@@ -433,7 +433,7 @@ input[type="checkbox"],
|
|
433
433
|
&:checked:before {
|
434
434
|
content: "";
|
435
435
|
position: absolute;
|
436
|
-
top:
|
436
|
+
top: 2px;
|
437
437
|
left: 6px;
|
438
438
|
display: table;
|
439
439
|
width: 6px;
|
@@ -26,8 +26,6 @@
|
|
26
26
|
|
27
27
|
.navbar-toggler {
|
28
28
|
border-color: rgba(0, 0, 0, 0.6);
|
29
|
-
margin-top: 0.5rem;
|
30
|
-
margin-right: 0.5rem;
|
31
29
|
}
|
32
30
|
|
33
31
|
&-fixed-top {
|
@@ -78,6 +76,33 @@
|
|
78
76
|
}
|
79
77
|
}
|
80
78
|
|
79
|
+
@media (max-width: 576px) {
|
80
|
+
.navbar-expand-sm {
|
81
|
+
.navbar-brand,
|
82
|
+
.nav-link {
|
83
|
+
border: none !important;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
@media (max-width: 768px) {
|
89
|
+
.navbar-expand-md {
|
90
|
+
.navbar-brand,
|
91
|
+
.nav-link {
|
92
|
+
border: none !important;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
@media (max-width: 992px) {
|
98
|
+
.navbar-expand-lg {
|
99
|
+
.navbar-brand,
|
100
|
+
.nav-link {
|
101
|
+
border: none !important;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
81
106
|
// Buttons =====================================================================
|
82
107
|
|
83
108
|
.btn {
|
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.0.0.beta2
|
4
|
+
version: 4.0.0.beta2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mkhairi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|