smock 0.1.56 → 0.1.57

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smock (0.1.56)
4
+ smock (0.1.57)
5
5
  sass (= 3.2.19)
6
6
  thor (= 0.19.1)
7
7
 
@@ -124,10 +124,30 @@
124
124
  background-color: lighten($background, 5%)
125
125
  text-decoration: none
126
126
 
127
+ @mixin secondary-button($border: $orange)
128
+ display: block
129
+ box-shadow: inset 0 0 0 0 transparent
130
+ border: solid 3px $border
131
+ background-color: $white
132
+ border-radius: 4px
133
+ text-align: center
134
+ text-decoration: none
135
+ color: $border
136
+ font-weight: bold
137
+ +space(line-height, 2)
138
+ &:hover
139
+ background-color: $white
140
+ border-color: lighten($border, 15%)
141
+ color: lighten($border, 15%)
142
+ text-decoration: none
143
+
127
144
  .button
128
145
  +button($orange)
129
146
 
130
147
  .button--muted
148
+ +secondary-button($orange)
149
+
150
+ .button:disabled
131
151
  +button($gray-light)
132
152
 
133
153
  .button--large
@@ -105,6 +105,7 @@
105
105
  <h3>Buttons</h3>
106
106
  <a href="#" class="button">Standard Button</a>
107
107
  <a href="#" class="button button--muted">Muted Button</a>
108
+ <button href="#" class="button" disabled>Disabled Button</button>
108
109
  </section>
109
110
 
110
111
  <section class="style-group">
@@ -108,12 +108,13 @@
108
108
  </span>
109
109
  </div>
110
110
 
111
- <div class="input string optional form_order_hosting_panel_details">
112
- <label class="string optional" for="form_order_hosting_panel_details">Card holder name</label>
113
- <input class="string optional" id="form_order_hosting_panel_details" name="form_order[hosting_panel_details]" type="text"/>
114
- </div>
115
111
 
116
112
  <div class="credit-card" data-panel="braintree">
113
+ <div class="form_order_hosting_panel_details">
114
+ <label class="string optional" for="cardname">Card holder name</label>
115
+ <input class="string optional" id="cardname" name="form_order[hosting_panel_details]" type="text"/>
116
+ </div>
117
+
117
118
  <div class="credit-card__numbers">
118
119
  <div class="input string optional form_order_card_number credit-card__numbers__card-number">
119
120
  <label class="string optional" for="form_order_card_number">Card number</label>
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.56
4
+ version: 0.1.57
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: 2014-09-17 00:00:00.000000000 Z
12
+ date: 2014-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -357,7 +357,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
357
357
  version: '0'
358
358
  segments:
359
359
  - 0
360
- hash: -3842732885305017158
360
+ hash: 2174132272955417391
361
361
  required_rubygems_version: !ruby/object:Gem::Requirement
362
362
  none: false
363
363
  requirements:
@@ -366,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
366
366
  version: '0'
367
367
  segments:
368
368
  - 0
369
- hash: -3842732885305017158
369
+ hash: 2174132272955417391
370
370
  requirements: []
371
371
  rubyforge_project: smock
372
372
  rubygems_version: 1.8.21