smock 0.1.266 → 0.1.267

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smock (0.1.266)
4
+ smock (0.1.267)
5
5
  sass (= 3.2.19)
6
6
  thor (= 0.19.1)
7
7
 
@@ -0,0 +1,40 @@
1
+ .work-hours
2
+ -webkit-touch-callout: none
3
+ -webkit-user-select: none
4
+ -khtml-user-select: none
5
+ -moz-user-select: none
6
+ -ms-user-select: none
7
+ user-select: none
8
+
9
+ > thead
10
+ font-size: $small-font-size
11
+
12
+ > tr
13
+ > th
14
+ padding: 5px 0
15
+
16
+ > tbody
17
+ > tr
18
+ +space(height, 1)
19
+
20
+ td
21
+ border: 1px solid $gray-lightest
22
+
23
+ .work-hours__hours
24
+ width: 9%
25
+ padding: 0 10px
26
+ color: $gray
27
+ font-size: $small-font-size
28
+ text-align: right
29
+
30
+ .work-hours__cell
31
+ width: 13%
32
+
33
+ .work-hours__cell--selected
34
+ background-color: $blue
35
+
36
+ .work-hours__cell--selecting
37
+ background-color: lighten($green, 15%)
38
+
39
+ .work-hours__cell--deselecting
40
+ background-color: lighten($red, 15%)
@@ -70,6 +70,7 @@ button
70
70
  @import "modules/nav_tab"
71
71
  @import "modules/event"
72
72
  @import "modules/message"
73
+ @import "modules/work_hours"
73
74
 
74
75
  $typecsset-baseline-size: typecsset-strip-units($typecsset-magic-number)
75
76
 
@@ -0,0 +1,80 @@
1
+ <h2>Work Hours</h2>
2
+
3
+ <div class="example">
4
+ <table class="work-hours">
5
+ <thead>
6
+ <tr>
7
+ <th></th>
8
+ <th>Monday</th>
9
+ <th>Tuesday</th>
10
+ <th>Wednesday</th>
11
+ <th>Thursday</th>
12
+ <th>Friday</th>
13
+ <th>Saturday</th>
14
+ <th>Sunday</th>
15
+ </tr>
16
+ </thead>
17
+ <tbody>
18
+ <tr>
19
+ <td class="work-hours__hours">8 am</td>
20
+ <td class="work-hours__cell" data-cell-x="0" data-cell-y="0"></td>
21
+ <td class="work-hours__cell" data-cell-x="1" data-cell-y="0"></td>
22
+ <td class="work-hours__cell" data-cell-x="2" data-cell-y="0"></td>
23
+ <td class="work-hours__cell" data-cell-x="3" data-cell-y="0"></td>
24
+ <td class="work-hours__cell" data-cell-x="4" data-cell-y="0"></td>
25
+ <td class="work-hours__cell" data-cell-x="5" data-cell-y="0"></td>
26
+ <td class="work-hours__cell" data-cell-x="6" data-cell-y="0"></td>
27
+ </tr>
28
+ <tr>
29
+ <td class="work-hours__hours">9 am</td>
30
+ <td data-cell-x="0" data-cell-y="1"></td>
31
+ <td data-cell-x="1" data-cell-y="1"></td>
32
+ <td data-cell-x="2" data-cell-y="1"></td>
33
+ <td data-cell-x="3" data-cell-y="1"></td>
34
+ <td data-cell-x="4" data-cell-y="1"></td>
35
+ <td data-cell-x="5" data-cell-y="1"></td>
36
+ <td class="work-hours__cell--selected" data-cell-x="6" data-cell-y="1"></td>
37
+ </tr>
38
+ <tr>
39
+ <td class="work-hours__hours">10 am</td>
40
+ <td data-cell-x="0" data-cell-y="2"></td>
41
+ <td data-cell-x="1" data-cell-y="2"></td>
42
+ <td data-cell-x="2" data-cell-y="2"></td>
43
+ <td data-cell-x="3" data-cell-y="2"></td>
44
+ <td class="work-hours__cell--selecting" data-cell-x="4" data-cell-y="2"></td>
45
+ <td data-cell-x="5" data-cell-y="2"></td>
46
+ <td data-cell-x="6" data-cell-y="2"></td>
47
+ </tr>
48
+ <tr>
49
+ <td class="work-hours__hours">11 am</td>
50
+ <td data-cell-x="0" data-cell-y="3"></td>
51
+ <td data-cell-x="1" data-cell-y="3"></td>
52
+ <td class="work-hours__cell--deselecting" data-cell-x="2" data-cell-y="3"></td>
53
+ <td data-cell-x="3" data-cell-y="3"></td>
54
+ <td data-cell-x="4" data-cell-y="3"></td>
55
+ <td data-cell-x="5" data-cell-y="3"></td>
56
+ <td data-cell-x="6" data-cell-y="3"></td>
57
+ </tr>
58
+ <tr>
59
+ <td class="work-hours__hours">12 pm</td>
60
+ <td data-cell-x="0" data-cell-y="4"></td>
61
+ <td data-cell-x="1" data-cell-y="4"></td>
62
+ <td data-cell-x="2" data-cell-y="4"></td>
63
+ <td data-cell-x="3" data-cell-y="4"></td>
64
+ <td data-cell-x="4" data-cell-y="4"></td>
65
+ <td data-cell-x="5" data-cell-y="4"></td>
66
+ <td data-cell-x="6" data-cell-y="4"></td>
67
+ </tr>
68
+ <tr>
69
+ <td class="work-hours__hours">1 pm</td>
70
+ <td data-cell-x="0" data-cell-y="5"></td>
71
+ <td data-cell-x="1" data-cell-y="5"></td>
72
+ <td data-cell-x="2" data-cell-y="5"></td>
73
+ <td data-cell-x="3" data-cell-y="5"></td>
74
+ <td data-cell-x="4" data-cell-y="5"></td>
75
+ <td data-cell-x="5" data-cell-y="5"></td>
76
+ <td data-cell-x="6" data-cell-y="5"></td>
77
+ </tr>
78
+ </tbody>
79
+ </table>
80
+ </div>
data/index.html CHANGED
@@ -43,6 +43,7 @@
43
43
  <li><a href="#filters" rel="filters">Search Filters</a></li>
44
44
  <li><a href="#contests" rel="contests">Contests</a></li>
45
45
  <li><a href="#messages" rel="messages">Messages</a></li>
46
+ <li><a href="#work_hours" rel="work_hours">Work Hours</a></li>
46
47
  </ul>
47
48
  </div>
48
49
 
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.266
4
+ version: 0.1.267
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-04-17 00:00:00.000000000 Z
12
+ date: 2015-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -186,6 +186,7 @@ files:
186
186
  - app/assets/stylesheets/modules/_testimonials.sass
187
187
  - app/assets/stylesheets/modules/_tooltip.sass
188
188
  - app/assets/stylesheets/modules/_video.sass
189
+ - app/assets/stylesheets/modules/_work_hours.sass
189
190
  - app/assets/stylesheets/modules/form/_credit_card.sass
190
191
  - app/assets/stylesheets/modules/form/_payment_method.sass
191
192
  - app/assets/stylesheets/modules/header/_categories.sass
@@ -436,6 +437,7 @@ files:
436
437
  - examples/social.html
437
438
  - examples/testimonials.html
438
439
  - examples/typography.html
440
+ - examples/work_hours.html
439
441
  - guide.js
440
442
  - guide.sass
441
443
  - index.html
@@ -2378,7 +2380,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2378
2380
  version: '0'
2379
2381
  segments:
2380
2382
  - 0
2381
- hash: -4339955557288156109
2383
+ hash: 727518844338851550
2382
2384
  required_rubygems_version: !ruby/object:Gem::Requirement
2383
2385
  none: false
2384
2386
  requirements:
@@ -2387,7 +2389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2387
2389
  version: '0'
2388
2390
  segments:
2389
2391
  - 0
2390
- hash: -4339955557288156109
2392
+ hash: 727518844338851550
2391
2393
  requirements: []
2392
2394
  rubyforge_project: smock
2393
2395
  rubygems_version: 1.8.23.2