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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e132d026d981fdba50d20b066eea4a5297b739b8
4
- data.tar.gz: fe459cd9d41f5cdc0fc8a096fb31d76c1e574cba
3
+ metadata.gz: 51a4d169bcf0660c2f9578212374cb9a3e8884ad
4
+ data.tar.gz: e193a18ed4d2134cc0096b94424f13b8fd644693
5
5
  SHA512:
6
- metadata.gz: 02fcb93eb495809b3314a600e671308431e8b6ac708405337f31a79f5c0552e51ce1687b2356c67d845aaff8a28c028ed3c67b378894aec2de9a362269cfe194
7
- data.tar.gz: c0d856a822d3d1446ad5d016988a37a23d0c6588435e61e6ffd1f4584822d54105730e20f650ff5113fd15887a43f3f4e4e66545bfe165203e86c0f540daf103
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
- $brand-primary: #FFCF06;
28
- $navbar-inverse-link-color: #444444;
29
- $state-success-bg: #28b62c;
30
- $state-warning-bg: #fbe42c;
31
- $state-danger-bg: #ff4136;
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
@@ -24,7 +24,7 @@ THEMES = %w(
24
24
  yeti
25
25
  ).freeze
26
26
 
27
- source_dir = "bootswatch-src"
27
+ source_dir = "bootswatch-src/dist"
28
28
 
29
29
  namespace :stylesheets do
30
30
  desc "Cleaning stylesheets directory"
@@ -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
- .bg-primary {
13
- border: 1px solid $gray-700;
14
- }
12
+ .navbar {
15
13
 
16
- .bg-light {
17
- border: 1px solid $gray-700;
18
- }
14
+ &.bg-primary {
15
+ border: 1px solid $gray-700;
16
+ }
19
17
 
20
- .navbar {
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: 5px;
436
+ top: 2px;
437
437
  left: 6px;
438
438
  display: table;
439
439
  width: 6px;
@@ -78,7 +78,7 @@ $nav-tabs-border-color: transparent !default;
78
78
 
79
79
  // Navbar
80
80
 
81
- $navbar-padding-y: $spacer !default;
81
+ $navbar-padding-y: 1rem !default;
82
82
 
83
83
  $navbar-dark-color: rgba($white,.75) !default;
84
84
  $navbar-dark-hover-color: $white !default;
@@ -1,4 +1,4 @@
1
- -// Minty 4.0.0
1
+ // Minty 4.0.0
2
2
  // Bootswatch
3
3
 
4
4
  //
@@ -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 {
@@ -1,3 +1,3 @@
1
1
  module Bootswatch
2
- VERSION = '4.0.0.beta2'
2
+ VERSION = '4.0.0.beta2.1'
3
3
  end
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-03 00:00:00.000000000 Z
11
+ date: 2017-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler