ethosstyles 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/components/_list-groups.scss +12 -3
- data/app/views/buttons.html +4 -0
- data/app/views/list-groups.html +29 -18
- data/ethosstyles.gemspec +3 -3
- data/lib/ethosstyles/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fce6d48c0b1e84d48868e7fc3acf162c690cbcdfe19c305e45358869f63a10f1
|
4
|
+
data.tar.gz: 353b3934e32adeb483750fb900998a293bd9687d5785db0633aba5646894a4aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fdea4fc7b5152a5d023e5df70101e810df854ba8f8a9ec4c388e659430a0c1554769fe94486ff7158d942ef86f1c22e11615bf1f2c2b08096c3a835b969a772
|
7
|
+
data.tar.gz: 46ae3228d8549602f472c9641f69eebf47ca2a68fc01d99d74a6f3ecafc5f007759be99985772bc9465bde97f7edaa28e5e3d1361b7af547a83fbbd81b70fdcc
|
@@ -92,13 +92,22 @@ $list-padding-condensed: 10px;
|
|
92
92
|
border-left: 0;
|
93
93
|
}
|
94
94
|
|
95
|
-
> .rf-list-item:
|
95
|
+
> .rf-list-item:last-child {
|
96
|
+
border-radius: 0;
|
97
|
+
border-bottom-width: 0;
|
98
|
+
}
|
99
|
+
|
100
|
+
> .rf-list-item:nth-last-child(2) {
|
96
101
|
border-radius: 0;
|
97
102
|
border-bottom-width: 0;
|
98
103
|
}
|
99
104
|
|
100
105
|
&.rf-list-group--partial + .rf-list-group--partial {
|
101
106
|
|
107
|
+
> .rf-list-item:first-child {
|
108
|
+
border-top-width: 1px;
|
109
|
+
}
|
110
|
+
|
102
111
|
> .rf-list-item:last-child {
|
103
112
|
border-bottom-left-radius: 0;
|
104
113
|
border-bottom-right-radius: 0;
|
@@ -312,10 +321,10 @@ $list-padding-condensed: 10px;
|
|
312
321
|
// HAS TIMESTAMP
|
313
322
|
|
314
323
|
.rf-list-item--has-timestamp {
|
315
|
-
display:
|
316
|
-
justify-content: space-between;
|
324
|
+
display: block;
|
317
325
|
|
318
326
|
.rf-list-item__row:first-of-type {
|
327
|
+
display: flex;
|
319
328
|
justify-content: space-between;
|
320
329
|
}
|
321
330
|
|
data/app/views/buttons.html
CHANGED
data/app/views/list-groups.html
CHANGED
@@ -219,6 +219,10 @@
|
|
219
219
|
<section class="rf-section">
|
220
220
|
|
221
221
|
<h2>List Items with Timestamps</h2>
|
222
|
+
<p>Notes:</p>
|
223
|
+
<ul>
|
224
|
+
<li>Timestamp element must be within a <code>rf-list-item__row</code></li>
|
225
|
+
</ul>
|
222
226
|
|
223
227
|
<ul class="rf-list-group">
|
224
228
|
<li class="rf-list-item rf-list-item--error rf-list-item--has-trigger rf-list-item--has-timestamp">
|
@@ -252,28 +256,35 @@
|
|
252
256
|
</div>
|
253
257
|
</li>
|
254
258
|
<li class="rf-list-item rf-list-item--success rf-list-item--has-timestamp">
|
255
|
-
<
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
+
<div class="rf-list-item__row">
|
260
|
+
<h3 class="rf-list-item__title">
|
261
|
+
List Item with Title and Status and is a Trigger and Also Has a Timestamp and Even a <a href="#" class="rf-list-item__title__link">Link</a>
|
262
|
+
</h3>
|
263
|
+
<div class="rf-timestamp">2 days ago</div>
|
264
|
+
</div>
|
259
265
|
</li>
|
260
266
|
<li class="rf-list-item rf-list-item--success rf-list-item--has-timestamp">
|
261
|
-
<
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
<div
|
266
|
-
|
267
|
+
<div class="rf-list-item__row">
|
268
|
+
<h3 class="rf-list-item__title">
|
269
|
+
List Item with Title and Status and a Timestamp
|
270
|
+
</h3>
|
271
|
+
<div class="rf-list-item__info">
|
272
|
+
<div>This is some item info</div>
|
273
|
+
<div>Additional item info</div>
|
274
|
+
</div>
|
275
|
+
<div class="rf-timestamp">2 days ago</div>
|
267
276
|
</div>
|
268
|
-
<div class="rf-timestamp">2 days ago</div>
|
269
277
|
</li>
|
270
|
-
<li class="rf-list-item rf-list-item--success rf-list-item--condensed">
|
271
|
-
<
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
<div
|
276
|
-
|
278
|
+
<li class="rf-list-item rf-list-item--success rf-list-item--has-timestamp rf-list-item--condensed">
|
279
|
+
<div class="rf-list-item__row">
|
280
|
+
<h3 class="rf-list-item__title">
|
281
|
+
List Item with Title and Status and a Timestamp that is Condensed
|
282
|
+
</h3>
|
283
|
+
<div class="rf-list-item__info">
|
284
|
+
<div>This is some item info</div>
|
285
|
+
<div>Additional item info</div>
|
286
|
+
</div>
|
287
|
+
<div class="rf-timestamp">2 days ago</div>
|
277
288
|
</div>
|
278
289
|
</li>
|
279
290
|
</ul>
|
data/ethosstyles.gemspec
CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Ethos"]
|
10
10
|
s.email = ["mabell@adobe.com"]
|
11
|
-
s.homepage = "https://
|
12
|
-
s.summary = "Ethos
|
13
|
-
s.description = "Ethos
|
11
|
+
s.homepage = "https://git.corp.adobe.com/adobe-platform/stardust"
|
12
|
+
s.summary = "A design system for Ethos"
|
13
|
+
s.description = "A design system for Ethos"
|
14
14
|
|
15
15
|
s.rubyforge_project = "ethosstyles"
|
16
16
|
|
data/lib/ethosstyles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ethosstyles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: Ethos
|
69
|
+
description: A design system for Ethos
|
70
70
|
email:
|
71
71
|
- mabell@adobe.com
|
72
72
|
executables: []
|
@@ -112,7 +112,7 @@ files:
|
|
112
112
|
- lib/ethosstyles/engine.rb
|
113
113
|
- lib/ethosstyles/generator.rb
|
114
114
|
- lib/ethosstyles/version.rb
|
115
|
-
homepage: https://
|
115
|
+
homepage: https://git.corp.adobe.com/adobe-platform/stardust
|
116
116
|
licenses: []
|
117
117
|
metadata: {}
|
118
118
|
post_install_message:
|
@@ -134,5 +134,5 @@ rubyforge_project: ethosstyles
|
|
134
134
|
rubygems_version: 2.7.2
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
|
-
summary: Ethos
|
137
|
+
summary: A design system for Ethos
|
138
138
|
test_files: []
|