dvl-core 0.0.2 → 0.0.3

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: d11ef2bfb302fcfa94723873b612b9784af5955a
4
- data.tar.gz: c920115e75d3fed87ea769b3c086231a66d2bd05
3
+ metadata.gz: 80985cd1efd94694ea77912db8b906c7a6dbfc4e
4
+ data.tar.gz: e21f200cff904493c23208253b11e59d46570b21
5
5
  SHA512:
6
- metadata.gz: 72ea3141bdd8130324cd90de7b90c945f6b22ac674cce3ec794cc4c6bae4624f5b27f7ede2f073357c8c84fc42023d4c35d87243b7c75cb31e7b9cdc271ca04b
7
- data.tar.gz: 6378c5e5378d48133de7a7ea335231e291380bba2e194db90871a66ff6c8137fbe5d3b3d1e9a1c7822f5949b404dc47f36aebd9b6c100827ca5ae112e9103b76
6
+ metadata.gz: 5a61a459c89b6e62c776eb0f44a6e33d0c81aa7a6846365f6c80d3322e7dca75b5632282a95e2871599a919854b6933220b70937f9ee2bafd2b1d6ee8d644839
7
+ data.tar.gz: c24eb2160c50870a5e5848dee5df9ee089edb23f28985165dc61854a4e1394d888c7a14b15f51a27724037a49f43befb4b4f59c4b397c324230a3b6a0064f7d6
@@ -1,5 +1,5 @@
1
1
  module Dvl
2
2
  module Core
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
data/preview/app.rb CHANGED
@@ -60,6 +60,8 @@ class App < Sinatra::Base
60
60
  a.button.success 'Success'
61
61
  text ' '
62
62
  a.button.white 'White'
63
+ text ' '
64
+ a.button_uppercase 'Uppercase'
63
65
  end
64
66
 
65
67
  docs 'Code' do
@@ -91,6 +93,12 @@ class App < Sinatra::Base
91
93
  input type: 'checkbox'
92
94
  text 'Foo'
93
95
  }
96
+ div.input_sub {
97
+ label.checkbox {
98
+ input type: 'checkbox'
99
+ text 'This is a sub-option of foo.'
100
+ }
101
+ }
94
102
  div.form_actions {
95
103
  button.button.primary 'Submit'
96
104
  }
@@ -134,6 +134,18 @@
134
134
  }
135
135
  }
136
136
 
137
+ .button_uppercase {
138
+ text-transform: uppercase;
139
+ color: $darkGray;
140
+ font-weight: 600;
141
+ font-size: 0.85rem;
142
+ letter-spacing: 0.04rem;
143
+ &:hover {
144
+ text-decoration: none;
145
+ color: $darkerGray;
146
+ }
147
+ }
148
+
137
149
  // Link-styled buttons
138
150
 
139
151
  .button_link {
@@ -258,6 +258,10 @@ form {
258
258
  }
259
259
  }
260
260
 
261
+ .input_sub {
262
+ margin: 0.75rem 0 0 1.5rem;
263
+ }
264
+
261
265
  .form_actions {
262
266
  background-color: $lighterGray;
263
267
  padding: 1rem;
@@ -12,24 +12,4 @@
12
12
  // - Even better, create an issue where you can allocate
13
13
  // some time for it.
14
14
  //
15
- // App-specific hacks are located in app/stylesheets/shame.scss
16
-
17
-
18
- // Need to consolidate this with a.uppercase
19
- // and .caps within the next few weeks.
20
- //
21
- // See issue #700.
22
- //
23
- // —Josh
24
-
25
- button.uppercase {
26
- text-transform: uppercase;
27
- color: $darkGray;
28
- font-size: 0.85rem;
29
- font-weight: 600;
30
- letter-spacing: 0.04rem;
31
- &:hover {
32
- text-decoration: none;
33
- color: $darkerGray;
34
- }
35
- }
15
+ // App-specific hacks are located in app/stylesheets/shame.scss within their respective repo
@@ -108,9 +108,14 @@ h4 {
108
108
  }
109
109
 
110
110
  h5 {
111
- font-size: 1rem;
111
+ font-weight: 600;
112
+ text-transform: uppercase;
113
+ color: $darkerGray;
114
+ font-size: 0.9rem;
115
+ letter-spacing: 0.06rem;
112
116
  }
113
117
 
118
+
114
119
  h6 {
115
120
  font-size: 0.75rem;
116
121
  }
@@ -149,14 +154,6 @@ sub {
149
154
  bottom: -0.25em;
150
155
  }
151
156
 
152
- .caps {
153
- font-weight: 600;
154
- text-transform: uppercase;
155
- color: $darkerGray;
156
- font-size: 0.96rem;
157
- letter-spacing: 0.06rem;
158
- }
159
-
160
157
  .microcopy {
161
158
  background: #f7f7f7;
162
159
  font-size: 0.85rem;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dvl-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-13 00:00:00.000000000 Z
11
+ date: 2014-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport