smock 0.1.254 → 0.1.255
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.
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/modules/_event.sass +18 -9
- data/examples/messages.html +11 -0
- data/index.html +0 -1
- metadata +4 -5
- data/examples/events.html +0 -36
data/Gemfile.lock
CHANGED
@@ -1,17 +1,26 @@
|
|
1
1
|
.event
|
2
|
+
position: relative
|
2
3
|
+font-size($first-font-size)
|
3
|
-
// box-shadow: 0 1px 0 0 $gray-light
|
4
4
|
+space(margin-bottom, 1)
|
5
|
-
|
5
|
+
z-index: 1
|
6
|
+
|
7
|
+
&:before
|
8
|
+
box-shadow: 0 -1px 0 0 $gray-light
|
9
|
+
content: ""
|
10
|
+
margin: 0 auto
|
11
|
+
position: absolute
|
12
|
+
top: 50%
|
13
|
+
left: 0
|
14
|
+
right: 0
|
15
|
+
bottom: 0
|
16
|
+
z-index: -1
|
17
|
+
|
18
|
+
.event__background
|
19
|
+
background-color: white
|
6
20
|
|
7
21
|
.event__state
|
8
|
-
+space(padding-right, 0.25)
|
9
22
|
font-weight: bold
|
10
23
|
|
11
24
|
.event__date
|
12
|
-
color: $gray
|
13
|
-
|
14
|
-
.event__state, .event__date
|
15
|
-
// padding: 0.45em 0.45em 0 0
|
16
|
-
// background-color: white
|
17
|
-
// float: left
|
25
|
+
color: $gray
|
26
|
+
+space(padding-right, 0.5)
|
data/examples/messages.html
CHANGED
@@ -1 +1,12 @@
|
|
1
1
|
<h2>Messages</h2>
|
2
|
+
|
3
|
+
<div class="example">
|
4
|
+
<ul class="messages">
|
5
|
+
<li class="event">
|
6
|
+
<span class="event__background">
|
7
|
+
<span class="event__state">Ordered</span>
|
8
|
+
<span class="event__date">Mar 12 2015, 8:11 am</span>
|
9
|
+
</span>
|
10
|
+
</li>
|
11
|
+
</ul>
|
12
|
+
</div>
|
data/index.html
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.255
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-03-
|
12
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -299,7 +299,6 @@ files:
|
|
299
299
|
- examples/buttons.html
|
300
300
|
- examples/colors.html
|
301
301
|
- examples/contests.html
|
302
|
-
- examples/events.html
|
303
302
|
- examples/filters.html
|
304
303
|
- examples/forms.html
|
305
304
|
- examples/helpers.html
|
@@ -2375,7 +2374,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2375
2374
|
version: '0'
|
2376
2375
|
segments:
|
2377
2376
|
- 0
|
2378
|
-
hash: -
|
2377
|
+
hash: -2477693632930409775
|
2379
2378
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2380
2379
|
none: false
|
2381
2380
|
requirements:
|
@@ -2384,7 +2383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2384
2383
|
version: '0'
|
2385
2384
|
segments:
|
2386
2385
|
- 0
|
2387
|
-
hash: -
|
2386
|
+
hash: -2477693632930409775
|
2388
2387
|
requirements: []
|
2389
2388
|
rubyforge_project: smock
|
2390
2389
|
rubygems_version: 1.8.23.2
|
data/examples/events.html
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
<h2>Events</h2>
|
2
|
-
|
3
|
-
<div class="example">
|
4
|
-
<div class="event">
|
5
|
-
<div class="event__state">Ordered</div>
|
6
|
-
<div class="event__date">Mar 12 2015, 8:11 am</div>
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class="example">
|
11
|
-
<div class="event">
|
12
|
-
<div class="event__state">Started</div>
|
13
|
-
<div class="event__date">Mar 12 2015, 8:11 am</div>
|
14
|
-
</div>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="example">
|
18
|
-
<div class="event">
|
19
|
-
<div class="event__state">Work Submitted</div>
|
20
|
-
<div class="event__date">Mar 12 2015, 8:11 am</div>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
|
24
|
-
<div class="example">
|
25
|
-
<div class="event">
|
26
|
-
<div class="event__state">Approved</div>
|
27
|
-
<div class="event__date">Mar 12 2015, 8:11 am</div>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
|
31
|
-
<div class="example">
|
32
|
-
<div class="event">
|
33
|
-
<div class="event__state">Reviewed</div>
|
34
|
-
<div class="event__date">Mar 12 2015, 8:11 am</div>
|
35
|
-
</div>
|
36
|
-
</div>
|