billy_signup 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  $(document).ready(function() {
2
2
 
3
3
  // auto load
4
- if($('form input[name=email]').attr('value').length > 0) {
4
+ if($('form input[name=email]').val().length > 0) {
5
5
  processSignupAuthCheck();
6
6
  }
7
7
 
@@ -9,8 +9,8 @@ section.signup {
9
9
  background:#fff;
10
10
  width:75%;
11
11
  overflow:hidden;
12
- @include box-shadow(0,0,5px,rgba(0,0,0,0.3));
13
- @include border-radius(6px);
12
+ box-shadow: 0 0 5px rgba(0,0,0,0.3);
13
+ border-radius: 6px;
14
14
  .success {
15
15
  padding:40px 60px;
16
16
  text-align:center;
@@ -27,10 +27,11 @@ section.signup {
27
27
  h2.intro mark { background:#ffffde; font-weight:500;}
28
28
  h2.intro.heading { font-weight:bold; font-size:160%;}
29
29
  p.logo { margin-top:30px; padding-left:90px; }
30
- p.trial { background:#ccc; position:absolute;margin-top:-0; color:#666; margin-left:700px; padding:5px; @include border-radius(50px); width:75px; height:75px; text-align:center; font-size:95%; font-weight:500; -webkit-transform:rotate(20deg); -moz-transform:rotate(20deg); line-height:1.1; text-transform:uppercase;}
30
+ p.trial { background:#ccc; position:absolute;margin-top:-0; color:#666; margin-left:700px; padding:5px; border-radius: 50px; width:75px; height:75px; text-align:center; font-size:95%; font-weight:500; -webkit-transform:rotate(20deg); -moz-transform:rotate(20deg); line-height:1.1; text-transform:uppercase;}
31
31
  p.trial b { font-size:130%; font-weight:900;display:block; margin-top:23px; margin-bottom:0; color:#000;}
32
+ p.intro { font-size:140%; margin-left:90px; line-height:1.5; margin:25px 0 0 0; padding-left:90px; padding-right:35px; }
32
33
  p.text { font-size:120%; margin-left:90px; line-height:1.5; margin:25px 0; padding-left:90px; padding-right:35px;}
33
- p.text mark { background:#ffffdd; font-weight:500}
34
+ p.text mark, p.intro mark { background:#ffffdd; font-weight:500}
34
35
  p.text a { color:#000;}
35
36
  p.text.link { margin-bottom:35px;}
36
37
  p.text.link a { font-size:110%; padding:8px 15px; color:#fff;}
@@ -39,24 +40,24 @@ section.signup {
39
40
  color:red; font-weight:500; font-size:110%;
40
41
  line-height:1.5;
41
42
  padding:15px 60px 15px 90px;
42
- background:url(../images/signup/sad.png) #fff9f9 no-repeat 35px 15px;
43
+ background:url(image-path('billy_signup/sad.png')) #fff9f9 no-repeat 35px 15px;
43
44
  }
44
45
  fieldset {
45
46
  margin:0px 0;
46
47
  border-top:1px solid #efefef;
47
48
  padding:23px 35px;
48
49
  padding-left:90px;
49
- background:url(../images/signup/keys.png) no-repeat 35px 20px;
50
+ background:url(image-path('billy_signup/keys.png')) no-repeat 35px 20px;
50
51
  h3 { font-size:130%; font-weight:500; margin-bottom:15px; color:#111;}
51
52
  ul {
52
53
  height:70px;
53
54
  li {
54
55
  width:50%; float:left;
55
56
  p.label { font-size:120%; color:#555; margin-bottom:10px;}
56
- p.field input { font-size:170%; border:1px solid #e2e9eb; @include border-radius(4px); padding:8px; width:88%; background:#f8fafb;}
57
- p.field input:focus {border-color:#b8d2db; @include box-shadow(0,0,8px,#c6dde5);}
58
- p.field input.ok { background-image:url(../images/signup/tick.png); background-repeat:no-repeat; background-position:95% 10px;}
59
- p.field input.error { background-image:url(../images/signup/cross.png); background-repeat:no-repeat; background-position:95% 10px;}
57
+ p.field input { font-size:170%; border:1px solid #e2e9eb; border-radius: 4px; padding:8px; width:88%; background:#f8fafb;}
58
+ p.field input:focus {border-color:#b8d2db; box-shadow: 0 0 8px #c6dde5;}
59
+ p.field input.ok { background-image:url(image-path('billy_signup/tick.png')); background-repeat:no-repeat; background-position:95% 10px;}
60
+ p.field input.error { background-image:url(image-path('signup/cross.png')); background-repeat:no-repeat; background-position:95% 10px;}
60
61
  }
61
62
  li.email { width:65%;}
62
63
  li.password { width:35%;}
@@ -72,14 +73,14 @@ section.signup {
72
73
  a { color:#ff3c00;}
73
74
  }
74
75
  &.creds { border-top:0;}
75
- &.name { background-image:url(../images/signup/person.png);}
76
+ &.name { background-image:url(image-path('billy_signup/person.png'));}
76
77
  &.account {
77
- background-image:url(../images/signup/building.png);
78
+ background-image:url(image-path('billy_signup/building.png'));
78
79
  ul { height:50px;}
79
80
  }
80
- &.coupon { background-image:url(../images/signup/coupon.png); display:none;}
81
+ &.coupon { background-image:url(image-path('billy_signup/coupon.png')); display:none;}
81
82
  &.submit {
82
- background-image:url(../images/signup/accept.png);
83
+ background-image:url(image-path('billy_signup/accept.png'));
83
84
  p { font-size:110%; line-height:1.5; color:#666; margin-bottom:15px;}
84
85
  p a { color:#666;}
85
86
  p.submit { margin-top:25px;}
@@ -161,7 +162,7 @@ section.page.about.signup .area .content {
161
162
  fieldset dl dd { margin:6px 0;height:35px;}
162
163
  fieldset dl dd input.text { font-size:120%; width:288px; border:1px solid #ccc; padding:5px; border-right-color:#aaa; border-bottom-color:#aaa}
163
164
  fieldset dl dd input.name { width:136px;}
164
- fieldset dl dd.users b { font-weight:bold; margin-left:15px; font-size:120%; padding-top:2px; background:#333; color:#fff; padding:4px 5px; @include border-radius(3px); -moz-transform:rotate(3deg);-webkit-transform:rotate(3deg); display:inline-block; }
165
+ fieldset dl dd.users b { font-weight:bold; margin-left:15px; font-size:120%; padding-top:2px; background:#333; color:#fff; padding:4px 5px; border-radius: 3px; -moz-transform:rotate(3deg);-webkit-transform:rotate(3deg); display:inline-block; }
165
166
  fieldset dl dd.users b span { font-weight:bold;}
166
167
  fieldset.finish p { color:#333;}
167
168
  fieldset.finish p a { color:#333;}
@@ -11,7 +11,7 @@
11
11
  %div.area
12
12
  .form
13
13
  - if @package
14
- %p.text
14
+ %p.intro
15
15
  - if @package.amount > 0
16
16
  = t('.package_description_html', :name => @package.name, :amount => number_to_currency(@package.amount))
17
17
  - else
@@ -1,3 +1,3 @@
1
1
  module BillySignup
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billy_signup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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-05-07 00:00:00.000000000 Z
12
+ date: 2014-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails