codefabrik-styleguide 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: b4a38bd9a57198bfcb7666e6ac457fea5281354ff0a12413fd0aec3c6dc11ca8
4
- data.tar.gz: 4616a98f1b703427ebfa884012a0a2d76d6ff08943a6b1765d8e1e4b528b34cf
3
+ metadata.gz: ef08d6667ef9556d0be71b5e3476aab8270c3366386a7f96e46004808441b026
4
+ data.tar.gz: 44d2aa3773c9e5b059fa757ed6fbbc803c4da957573cb81bf10e1b537e7fb745
5
5
  SHA512:
6
- metadata.gz: e18036508519f26901be6c131a7b3a2d2e6ef03582f60e90257f38ac8526d370553e011fba213476e16b41870e3f2ef257b525b063630ea8dab43a16a56a630c
7
- data.tar.gz: a1e410246186b0530c1887c296dcd80e891daf02da88d2d14995dfa643f3613f5537e7dc0be04f26be2fca45351e3408ac8fb7f406c7accbfb0dbdda8e4219fc
6
+ metadata.gz: 89de3b1ff8fe3297cff783d6984d34345245a79d76381cfd021ef36d8530fc8e07b023597ae4c62a54b75dd5dded07e364b40a5d022a13f1ee7f1b313d44e7c9
7
+ data.tar.gz: 78c9c4fd5a6665608af28a128700bc84df023704802690fd694858c8d47b44c69db72ae5b873f75fe8d19099918ce565752568f4cfdcc11a688762a02cec021a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codefabrik-styleguide (0.1.3)
4
+ codefabrik-styleguide (0.1.4)
5
5
  dartsass-rails (>= 0.4.0)
6
6
  rails (>= 6.0)
7
7
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Codefabrik
4
4
  module Styleguide
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
@@ -95,3 +95,7 @@ blockquote {
95
95
  background-color: $primary_color;
96
96
  color: $text_on_primary_color;
97
97
  }
98
+
99
+ ul {
100
+ margin-left: 1.2 * $default_distance;
101
+ }
@@ -3,7 +3,7 @@ form .input, form input[type=submit] {
3
3
  margin-bottom: $default_distance;
4
4
 
5
5
  &.hidden {
6
- margin: 0;
6
+ display: none;
7
7
  }
8
8
 
9
9
  input, select {
@@ -57,6 +57,7 @@ form {
57
57
  .nested-fields {
58
58
  border: 1px solid $primary_color;
59
59
  padding: 0.5 * $default_distance;
60
+ padding-bottom: 0;
60
61
  margin-bottom: 0.5 * $default_distance;
61
62
 
62
63
  .input:first-child {
@@ -85,6 +86,10 @@ form {
85
86
  content: '\1f6c8';
86
87
  }
87
88
  }
89
+
90
+ input[type=submit] {
91
+ margin-top: 0;
92
+ }
88
93
  }
89
94
 
90
95
  p + .btn, p + form.button_to, form + form.button_to {
@@ -0,0 +1,42 @@
1
+ .progress {
2
+ width: 100%;
3
+ border: 1px solid $primary_color;
4
+ }
5
+
6
+ .progress__inner {
7
+ background-color: $primary_color;
8
+ padding: 0.2em;
9
+ }
10
+
11
+ summary {
12
+ cursor: pointer;
13
+ margin-bottom: 0.5em;
14
+ }
15
+
16
+ .pagy-nav {
17
+ margin-top: $default_distance;
18
+
19
+ span {
20
+ display: inline-block;
21
+ background-color: $primary_color;
22
+ border: 1px solid $primary_color;
23
+
24
+ a {
25
+ display: inline-block;
26
+ padding: 1rem;
27
+ color: $text_on_primary_color;
28
+ text-decoration: none;
29
+ }
30
+
31
+ &.disabled {
32
+ padding: 1rem;
33
+ background-color: #DDD;
34
+ }
35
+
36
+ &.active {
37
+ padding: 1rem;
38
+ background-color: transparent;
39
+ border: 1px solid $text_on_primary_color;
40
+ }
41
+ }
42
+ }
@@ -19,3 +19,4 @@ $primary_color_light: lighten($primary_color, 10%);
19
19
  @import 'styleguide/05_buttons';
20
20
  @import 'styleguide/06_tables';
21
21
  @import 'styleguide/07_forms';
22
+ @import 'styleguide/08_components';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codefabrik-styleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas_Skywalker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-28 00:00:00.000000000 Z
11
+ date: 2023-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dartsass-rails
@@ -64,6 +64,7 @@ files:
64
64
  - vendor/assets/stylesheets/codefabrik/styleguide/05_buttons.scss
65
65
  - vendor/assets/stylesheets/codefabrik/styleguide/06_tables.scss
66
66
  - vendor/assets/stylesheets/codefabrik/styleguide/07_forms.scss
67
+ - vendor/assets/stylesheets/codefabrik/styleguide/08_components.scss
67
68
  homepage: https://code-fabrik.ch
68
69
  licenses:
69
70
  - MIT