codefabrik-styleguide 0.1.7 → 0.1.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a9d95445eaf40ba88cc56793277b38624e37286f5dcbcd6348bbaa10358f857
4
- data.tar.gz: 302f92cc037abbaa4547d0794ae61ed087fb3bf1fcf71c17435bd3040aeea699
3
+ metadata.gz: 588da845319db52dc99a14e87d958849311cc83e338237f7eac7e8849d3f1e4d
4
+ data.tar.gz: 0f12577792a7e99a5d04735640a66e82d35bedc6b8e2c4793196051ca87ce585
5
5
  SHA512:
6
- metadata.gz: fbfd73e43ba81f835bf435ce3f84815e47d8b0dcbc0e636c03d4f68cca7e3b9be01106be7c2b40f6635ac39760a6a825d082e2071bdadfbb61a3a238e1d99cd8
7
- data.tar.gz: 01b23e5291836fdaabb2e8fd67252eecd73b6c077097d32cd19ac8e5e5ed5ab8685a8617d98009c6516d8833ef9331853f2a8346bce29862e272bc87054e0c0d
6
+ metadata.gz: 8d6d8241e9f6d7315c378997e7da027b76d593641e051f4167a1ec873447e488231f061a83c8debf3a6ffb7dee4a0e8a7c0e238464382b29dd153e03798c59f5
7
+ data.tar.gz: b5043d5d7dfea0eadf767dacc5c7f0c5fd8f2d1e0fc3868fbec4db66e330431a7b9262669e22dbf6d15e802a60e971354d87db7df7f7ab1362c58e045d5bacb5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codefabrik-styleguide (0.1.7)
4
+ codefabrik-styleguide (0.1.9)
5
5
  dartsass-rails (>= 0.4.0)
6
6
  rails (>= 6.0)
7
7
  sassc (>= 2.4.0)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Codefabrik
4
4
  module Styleguide
5
- VERSION = "0.1.7"
5
+ VERSION = "0.1.9"
6
6
  end
7
7
  end
@@ -76,7 +76,22 @@ main {
76
76
  margin-bottom: $default_distance;
77
77
 
78
78
  a {
79
- margin: 0;
79
+ display: block;
80
+ text-decoration: none;
81
+ color: $font_color;
82
+ padding: 1 * $default_distance 2 * $default_distance;
83
+ border-left: 0.25 * $default_distance solid transparent;
84
+ background-color: $background_color;
85
+
86
+ &.active {
87
+ border-left: 0.25 * $default_distance solid $primary_color;
88
+ border-bottom: none;
89
+ background-color: $primary_color_light;
90
+ }
91
+
92
+ &:hover {
93
+ background-color: $primary_color_light;
94
+ }
80
95
  }
81
96
  }
82
97
  }
@@ -15,7 +15,7 @@ $error_color: scale-color(red, $lightness: 50%);
15
15
  $warning_color: scale-color(orange, $lightness: 50%);
16
16
  $success_color: scale-color(green, $lightness: 20%);
17
17
 
18
- $primary_color_light: scale-color($primary_color, $lightness: 0%);
18
+ $primary_color_light: scale-color($primary_color, $lightness: 25%);
19
19
 
20
20
  @import 'styleguide/01_reset';
21
21
  @import 'styleguide/02_layout';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codefabrik-styleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas_Skywalker