ama_css 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cbadd471e95f6e2f87553d4bf962429950284e2
4
- data.tar.gz: c1eefeb783d80ce86f2b8b4d9fc04da34d368f44
3
+ metadata.gz: 1451014d52934438962b5cf37b7d75a87e72fdb5
4
+ data.tar.gz: a964816379adf7da8af8a23586120a9d5592643d
5
5
  SHA512:
6
- metadata.gz: 30e3b01a7a0d4649ac03f0977332637366ac86a27c052f481caaa2aa99206309701c4a3bd4b4ef5d7c2e6f507504ad8d2921a27ac6444d4b8b8193370d2bf075
7
- data.tar.gz: 51172d2819d075c63cc58af45c1caa9b35ee3dfe924b086645b7c4f14415a0792eb0ce82a9c077f955bd1d687835818cb94770b4406abf50534f477d393055e2
6
+ metadata.gz: 6e9fe2ff5ce1687e60d3d2af3c331eb8e0ca1ad080045e93f1269d46446e0e4a949b7300a5a3ad0527ad128b3f9fbc32deefc4614f669711c532869f41f69d12
7
+ data.tar.gz: 783e29dbc18112676132988c749915234ef746149f5bcbee61485390feb4428a9a7db54525a9542815b12c66f30f3a62928772b9f1cf7fe4464bab6c5745a8a0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 2014-12-16
2
+
3
+ Bug fixes:
4
+
5
+ * Fixed the forms.scss. ([#7][], [@mvandenbeuken][])
6
+
1
7
  ## 2014-12-15
2
8
 
3
9
  Features:
@@ -6,4 +12,5 @@ Features:
6
12
 
7
13
  <!--- The following link definition list is generated by PimpMyChangelog --->
8
14
  [#6]: https://github.com/amaabca/ama_css/issues/6
15
+ [#7]: https://github.com/amaabca/ama_css/issues/7
9
16
  [@mvandenbeuken]: https://github.com/mvandenbeuken
@@ -3,34 +3,43 @@ label{
3
3
  }
4
4
 
5
5
  // our version of simpleform doesn't support per item (checkbox + label) css
6
- label.collection_radio_buttons, label.inline {
6
+ label.collection_radio,
7
+ label.inline,
8
+ label[for=primary_membership_automatic_credit_card_renewal],
9
+ label[for=primary_membership_electronic_billing],
10
+ label[for=promo_membership_automatic_credit_card_renewal],
11
+ label[for=promo_membership_electronic_billing],
12
+ label[for=renewal_electronic_billing],
13
+ label[for=renewal_automatic_credit_card_renewal] {
7
14
  display: inline;
8
15
  padding-left: 5px;
9
16
  }
17
+ section.upgrade-renewal-options label {
18
+ font-weight: normal;
19
+ display: inline;
20
+ }
21
+
22
+ .subscriptions label {
23
+ display: inline-block;
24
+ margin-left: $base-margin/4;
25
+ }
10
26
 
11
27
  .control{
12
28
  display:block;
13
29
  margin-bottom:$base-margin;
14
30
  }
15
31
 
32
+ .subscriptions {
33
+ display: block;
34
+ margin: 0;
35
+ }
36
+
16
37
  .actions{
17
38
  margin:$base-margin/2 0;
18
- a, input, button{
19
- display: inline-block;
20
- margin-right:$base-margin;
21
- &:last-child{
22
- margin-right:0;
23
- }
24
- @include media($mobile) {
25
- margin-bottom:$base-margin/2;
26
- }
27
- }
28
39
  }
29
-
30
40
  .action-link{
31
41
  margin-top:$base-margin/2;
32
42
  }
33
-
34
43
  .control.inline{
35
44
  @extend %clearfix;
36
45
  label{ display:inline-block;
@@ -71,9 +80,14 @@ label.collection_radio_buttons, label.inline {
71
80
  }
72
81
  }
73
82
  }
74
-
83
+ .automatic_credit_card_renewals #card_options{
84
+ display:block;
85
+ }
86
+ .automatic_credit_card_renewals #credit_card_renewal_form_toggle{
87
+ display:none;
88
+ }
75
89
  /* buttons */
76
- button, .button, .button-pill{
90
+ button, .button{
77
91
  @extend %boxRadius-small;
78
92
  border: 0;
79
93
  padding: $base-padding/2;
@@ -85,94 +99,67 @@ button, .button, .button-pill{
85
99
  width:100%;
86
100
  }
87
101
  }
88
-
89
- button:active, .button:active, .button-pill:active,
90
- button:focus, .button:focus, .button-pill:focus{
102
+ .button:active, .button:focus{
91
103
  background:#333;
92
104
  color:$color-white;
93
105
  @include media($mobile) {
94
106
  width:100%;
95
107
  }
96
108
  }
97
-
98
- a.button, a.button-pill{
99
- color:$color-white;
100
- text-decoration: none;
101
- }
102
-
103
- .button-pill{
104
- padding:$base-padding/5 $base-padding;
105
- }
106
-
107
109
  .button-danger{
108
110
  @extend %bg-red;
109
111
  @include button-coloring($color-red);
110
112
  }
111
-
112
113
  .button-neutral{
113
114
  @extend %bg-blue;
114
115
  @include button-coloring($color-blue);
115
116
  }
116
-
117
117
  .button-success{
118
118
  @extend %bg-green;
119
119
  @include button-coloring($color-green);
120
120
  }
121
-
122
121
  .button-theme{
123
122
  @extend .color-primary;
124
123
  @include button-coloring($color-primary);
125
124
  }
126
-
127
125
  .button-small{
128
126
  @extend %boxRadius-small;
129
127
  padding:$base-padding/5;
130
128
  font-size:.9em;
131
129
  }
132
-
133
- button a:link,
134
- button a:active,
135
- button a:visited,
136
- .button a:link,
137
- .button a:active,
138
- .button a:visited,
139
- .button li{
130
+ .button a, .button li{
140
131
  color: $color-white;
141
- text-decoration: none;
142
132
  }
143
133
 
144
134
  /* inputs/form elements */
145
- input.input-stretch{ width:100%; }
146
- input.input-large{ width:90%; }
147
- input.input-medium{ width:75%; }
148
- input.input-short{ width:40%; }
149
- input.input-small{ width:30px; }
150
- input.input-large, input.input-medium {
135
+ input.input-stretch{ width:100%;}
136
+ input.input-large{ width:90%}
137
+ input.input-medium{ width:75%;}
138
+ input.input-short{ width:40%;}
139
+ input.input-small{ width:30px;}
140
+ input.input-large, input.input-medium{
151
141
  @include media($mobile) {
152
142
  @include span-columns(6);
153
143
  width:100%;
154
144
  float:none;
155
145
  }
156
146
  }
157
-
158
147
  fieldset, .fieldset{
159
148
  @include clearfix();
160
149
  }
161
150
 
151
+ .associate .fieldset{
152
+ border:1px solid $color-border;
153
+ padding:$base-padding/2;
154
+ margin-bottom:$base-margin;
155
+ }
156
+
157
+ .associate_item{
158
+ border-bottom:1px $color-light dotted;
159
+ }
162
160
  .module_section {
163
161
  margin-top: $base-margin;
164
162
  border:1px solid $color-border;
165
163
  @extend %boxRadius-big;
166
164
  padding: $base-padding/2 $base-padding;
167
165
  }
168
-
169
- .form-row{
170
- margin:$base-margin 0;
171
- }
172
-
173
- .form-dialog{
174
- @extend .widget;
175
- @extend .centered;
176
- @extend .collapse;
177
- @extend .grid-4;
178
- }
@@ -1,3 +1,3 @@
1
1
  module AmaCss
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darko Dosenovic