codefabrik-styleguide 0.1.11 → 0.1.12

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: 99d41333dcaaad9ed99923714ca75fa6610cf5f1030f1f82aa77369b1abca091
4
- data.tar.gz: 6714768761980866bf9b68eb07e6997aaf51a6a97350a268f3443ad794a9b8ae
3
+ metadata.gz: 527abcbd1a0f7088fc06d9a7f40476cfe2c17101d32c03f359086f168d1d5b77
4
+ data.tar.gz: fc39c46366415b96d4d16057bb3c710c0bdb807510e9b272e1be097014bb5fc5
5
5
  SHA512:
6
- metadata.gz: dfa48f0b7fc2dd8c4d5a4d7a596e1191900a78962d50e0b618622e7997eab34c114db227d8d9c6723ee0762a7cfcb2f239da66ebd87e37a6bf87c23d7615e018
7
- data.tar.gz: 9becc724c03d5d7237e811cecb231fed74071258f92e77dead51092996067adaf7a58b2191d37b2d447964c04ad29e14c51380b37bd8ef5db7eb54c36cfc4cec
6
+ metadata.gz: 3d17c3653859725c8d061336bc9bd1b2a9f0844f3803fb8d15507e74f19081fde7b008a2bce0ee7e6b3b44d50b14c272cfc8c86c3f8003d2cca215516f2fc945
7
+ data.tar.gz: 15ef64c77a682ae069e398d2aec5ef66e0a250655636a0abba2d35ade8c62633c97a02b04652d1503273390ee27bec12c7b8e2abc3f253e32408c434bda6c362
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codefabrik-styleguide (0.1.11)
4
+ codefabrik-styleguide (0.1.12)
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.11"
5
+ VERSION = "0.1.12"
6
6
  end
7
7
  end
@@ -1,5 +1,7 @@
1
- form .input, form input[type=submit] {
2
- margin-top: $default_distance;
1
+ form .input {
2
+ &:not(:first-child) {
3
+ margin-top: $default_distance;
4
+ }
3
5
  margin-bottom: $default_distance;
4
6
 
5
7
  &.hidden {
@@ -55,6 +57,15 @@ form .input, form input[type=submit] {
55
57
  }
56
58
  }
57
59
 
60
+ form input[type=submit] {
61
+ margin-top: 0;
62
+
63
+ // bottom margin except for last child
64
+ &:not(:last-child) {
65
+ margin-bottom: $default_distance;
66
+ }
67
+ }
68
+
58
69
  form {
59
70
  .links {
60
71
  margin-top: 0.5 * $default_distance;
@@ -101,10 +112,6 @@ form {
101
112
  content: '\1f6c8';
102
113
  }
103
114
  }
104
-
105
- input[type=submit] {
106
- margin-top: 0;
107
- }
108
115
  }
109
116
 
110
117
  p + .btn, p + form.button_to, form + form.button_to {
data/views/index.erb CHANGED
@@ -11,7 +11,7 @@
11
11
  <h1>Codefabrik Styleguide</h1>
12
12
  </header>
13
13
 
14
- <main>
14
+ <main class="wrapper">
15
15
  <div class="breadcrumbs mb-1">
16
16
  <a href="javascript:void(0)">Prüfungen</a><span class="separator">&#9654;</span>
17
17
  <a href="javascript:void(0)">Englisch L2</a><span class="separator">&#9654;</span>
@@ -30,7 +30,7 @@
30
30
  </div>
31
31
 
32
32
 
33
- <form>
33
+ <form class="mt-1 mb-1">
34
34
  <div class="input string required">
35
35
  <label class="string required" for="input1">String input</label>
36
36
  <input
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.11
4
+ version: 0.1.12
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-11-12 00:00:00.000000000 Z
11
+ date: 2023-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dartsass-rails