dvl-core 0.0.2 → 0.0.3
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 +4 -4
- data/lib/dvl/core/version.rb +1 -1
- data/preview/app.rb +8 -0
- data/vendor/assets/stylesheets/dvl/core/buttons.scss +12 -0
- data/vendor/assets/stylesheets/dvl/core/forms.scss +4 -0
- data/vendor/assets/stylesheets/dvl/core/shame.scss +1 -21
- data/vendor/assets/stylesheets/dvl/core/typography.scss +6 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 80985cd1efd94694ea77912db8b906c7a6dbfc4e
|
|
4
|
+
data.tar.gz: e21f200cff904493c23208253b11e59d46570b21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a61a459c89b6e62c776eb0f44a6e33d0c81aa7a6846365f6c80d3322e7dca75b5632282a95e2871599a919854b6933220b70937f9ee2bafd2b1d6ee8d644839
|
|
7
|
+
data.tar.gz: c24eb2160c50870a5e5848dee5df9ee089edb23f28985165dc61854a4e1394d888c7a14b15f51a27724037a49f43befb4b4f59c4b397c324230a3b6a0064f7d6
|
data/lib/dvl/core/version.rb
CHANGED
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 {
|
|
@@ -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-
|
|
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.
|
|
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-
|
|
11
|
+
date: 2014-11-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|