carnival_devise_views 0.0.4 → 0.0.5

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2d546491d2073e64c479af8fcf4af8053dd2aafe
4
+ data.tar.gz: 145173421356cc939fab101051e05af37e7882d2
5
+ SHA512:
6
+ metadata.gz: 24b03334c926ce65c15a212aa5aa18923a2effdc9d0127cc99e6de87ae0f249ec5269c469263bfa8d5130308c542af5c124a5911a72b22d6e8ca54ce4861044e
7
+ data.tar.gz: 1298c181f0fb5df7cf4ee3ab3ccf8cf94113960d61943cdf1a6431d29a75a49b43bba41efba9777850e940e4c6e8f99b280234abc5ad2a6f90a34f4fdb334ca6
@@ -2,22 +2,22 @@
2
2
 
3
3
  @font-face {
4
4
  font-family: 'OpenSansRegular';
5
- src: url('fonts/opensans-regular-webfont.eot');
6
- src: url('fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
7
- url('fonts/opensans-regular-webfont.woff') format('woff'),
8
- url('fonts/opensans-regular-webfont.ttf') format('truetype'),
9
- url('fonts/opensans-regular-webfont.svg#OpenSansRegular') format('svg');
5
+ src: url('assets/carnival/opensans-regular-webfont.eot');
6
+ src: url('assets/carnival/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
7
+ url('assets/carnival/opensans-regular-webfont.woff') format('woff'),
8
+ url('assets/carnival/opensans-regular-webfont.ttf') format('truetype'),
9
+ url('assets/carnival/opensans-regular-webfont.svg#OpenSansRegular') format('svg');
10
10
  font-weight: normal;
11
11
  font-style: normal;
12
12
  }
13
13
 
14
14
  @font-face {
15
15
  font-family: 'OpenSansSemibold';
16
- src: url('fonts/opensans-semibold-webfont.eot');
17
- src: url('fonts/opensans-semibold-webfont.eot?#iefix') format('embedded-opentype'),
18
- url('fonts/opensans-semibold-webfont.woff') format('woff'),
19
- url('fonts/opensans-semibold-webfont.ttf') format('truetype'),
20
- url('fonts/opensans-semibold-webfont.svg#OpenSansSemibold') format('svg');
16
+ src: url('assets/carnival/opensans-semibold-webfont.eot');
17
+ src: url('assets/carnival/opensans-semibold-webfont.eot?#iefix') format('embedded-opentype'),
18
+ url('assets/carnival/opensans-semibold-webfont.woff') format('woff'),
19
+ url('assets/carnival/opensans-semibold-webfont.ttf') format('truetype'),
20
+ url('assets/carnival/opensans-semibold-webfont.svg#OpenSansSemibold') format('svg');
21
21
  font-weight: normal;
22
22
  font-style: normal;
23
23
  }
@@ -250,9 +250,9 @@ input::-webkit-inner-spin-button {
250
250
 
251
251
  .login-container .button:hover{
252
252
  background: #007ae1;
253
- color: #fff;
253
+ color: #fff;
254
254
  }
255
255
 
256
256
  .edit-user form{
257
- margin-top: -250px;
257
+ margin-top: -250px;
258
258
  }
@@ -0,0 +1,248 @@
1
+ * {
2
+ outline: none;
3
+ }
4
+
5
+ @font-face {
6
+ font-family: "OpenSansRegular";
7
+ src: font-path("carnival/opensans-regular-webfont.eot");
8
+ src: font-path("carnival/opensans-regular-webfont.eot?#iefix") format("embedded-opentype"), font-path("carnival/opensans-regular-webfont.woff") format("woff"), font-path("carnival/opensans-regular-webfont.ttf") format("truetype"), font-path("carnival/opensans-regular-webfont.svg#OpenSansRegular") format("svg");
9
+ font-weight: normal;
10
+ font-style: normal;
11
+ }
12
+
13
+
14
+ @font-face {
15
+ font-family: "OpenSansSemibold";
16
+ src: font-path("carnival/opensans-semibold-webfont.eot");
17
+ src: font-path("carnival/opensans-semibold-webfont.eot?#iefix") format("embedded-opentype"), font-path("carnival/opensans-semibold-webfont.woff") format("woff"), font-path("carnival/opensans-semibold-webfont.ttf") format("truetype"), font-path("carnival/opensans-semibold-webfont.svg#OpenSansSemibold") format("svg");
18
+ font-weight: normal;
19
+ font-style: normal;
20
+ }
21
+
22
+
23
+ input[type=number] {
24
+ &::-webkit-inner-spin-button, &::-webkit-outer-spin-button {
25
+ -webkit-appearance: none;
26
+ margin: 0;
27
+ }
28
+ }
29
+
30
+ body, html {
31
+ margin: 0;
32
+ padding: 0;
33
+ font-size: 14px;
34
+ line-height: 22px;
35
+ color: #666;
36
+ font-family: "OpenSansRegular", sans-serif;
37
+ overflow-y: auto !important;
38
+ height: 100%;
39
+ background-color: #eee;
40
+ }
41
+
42
+ .login-container {
43
+ float: left;
44
+ width: 100%;
45
+ height: 100%;
46
+ form {
47
+ background-color: #f7f7f7;
48
+ padding: 20px 25px 20px;
49
+ margin: (-200px) auto 25px;
50
+ width: 304px;
51
+ box-shadow: 0px 0px 150px rgba(0, 0, 0, 0.2);
52
+ position: relative;
53
+ top: 50%;
54
+ border-radius: 5px;
55
+ border: 1px solid #ccc;
56
+ }
57
+ h2 {
58
+ margin-bottom: 30px;
59
+ text-align: center;
60
+ }
61
+ }
62
+
63
+ .button {
64
+ -moz-appearance: none;
65
+ -webkit-appearance: none;
66
+ appearance: none;
67
+ display: inline-block;
68
+ height: 36px;
69
+ padding: 0 8px;
70
+ margin: 0;
71
+ -moz-box-sizing: border-box;
72
+ -webkit-box-sizing: border-box;
73
+ box-sizing: border-box;
74
+ -moz-border-radius: 1px;
75
+ -webkit-border-radius: 1px;
76
+ border-radius: 1px;
77
+ font-size: 15px;
78
+ box-shadow: 0 -1px 0px 0 white;
79
+ color: #333;
80
+ border: 1px solid #ccc;
81
+ &:hover {
82
+ color: #fff;
83
+ cursor: pointer;
84
+ border: 1px solid #2A6198;
85
+ background-color: #2D66A0;
86
+ }
87
+ }
88
+
89
+ /********************* FORM BASE STYLE ******************* START */
90
+
91
+ input {
92
+ &::-webkit-outer-spin-button, &::-webkit-inner-spin-button {
93
+ /* display: none; <- Crashes Chrome on hover */
94
+ -webkit-appearance: none;
95
+ margin: 0;
96
+ /* <-- Apparently some margin are still there even though it's hidden */
97
+ }
98
+ }
99
+
100
+ .login-container {
101
+ * {
102
+ transition: all 0.3s ease;
103
+ }
104
+ input {
105
+ width: 100%;
106
+ outline: none;
107
+ height: 21px;
108
+ border: 1px solid #c8c8c8;
109
+ font-family: "OpenSansRegular";
110
+ padding: 2px 6px 2px 6px;
111
+ color: #555;
112
+ border-radius: 3px;
113
+ -moz-background-clip: padding;
114
+ -webkit-background-clip: padding-box;
115
+ background-clip: padding-box;
116
+ background: #fff;
117
+ box-sizing: border-box;
118
+ -moz-box-sizing: border-box;
119
+ height: 35px;
120
+ margin: 0px 0px 10px 0px;
121
+ &[type="checkbox"] {
122
+ width: auto;
123
+ height: auto;
124
+ float: left;
125
+ margin: 4px 5px 0px 0px;
126
+ padding: 0;
127
+ }
128
+ &[type='file'] {
129
+ padding: 0px 6px 0px 0px;
130
+ border-left: none;
131
+ }
132
+ &:focus {
133
+ border: 1px solid #A2C5F3;
134
+ box-shadow: 0px 0px 3px rgba(110, 220, 255, 0.6);
135
+ }
136
+ &.submit {
137
+ width: auto !important;
138
+ cursor: pointer !important;
139
+ display: inline-block;
140
+ text-align: center;
141
+ font-size: 14px;
142
+ padding: 7px 12px 6px 12px !important;
143
+ border: 1px solid #c8c8c8;
144
+ background: url(bg_button.png);
145
+ color: #333;
146
+ margin-right: 0px;
147
+ box-shadow: none;
148
+ font-weight: 300;
149
+ border-radius: 2px;
150
+ height: auto;
151
+ margin-top: 0px;
152
+ &:hover {
153
+ color: #3079ed;
154
+ cursor: pointer;
155
+ background: #efefef;
156
+ }
157
+ }
158
+ }
159
+ }
160
+
161
+ #profile_submit:hover {
162
+ color: #3079ed;
163
+ cursor: pointer;
164
+ background: #efefef;
165
+ }
166
+
167
+ .login-container input.submit:active, #profile_submit:active {
168
+ background-position: 0px -30px;
169
+ border: 1px solid #173988;
170
+ color: #fff;
171
+ text-shadow: 0px 1px 0px #173988;
172
+ cursor: pointer;
173
+ }
174
+
175
+ .login-container {
176
+ textarea {
177
+ width: 100%;
178
+ outline: none;
179
+ line-height: 18px;
180
+ border: 1px solid #c8c8c8;
181
+ font-family: "OpenSansRegular";
182
+ padding: 7px 7px 7px 7px;
183
+ min-height: 100px;
184
+ margin: 0;
185
+ color: #555;
186
+ box-shadow: 0px 1px 0px 0px #fff;
187
+ border-radius: 4px;
188
+ -moz-background-clip: padding;
189
+ -webkit-background-clip: padding-box;
190
+ background-clip: padding-box;
191
+ font-size: 13px;
192
+ &:focus {
193
+ border: 1px solid #2c6fec;
194
+ }
195
+ }
196
+ button {
197
+ border: 1px solid #c8c8c8;
198
+ padding: 7px 15px 6px 15px;
199
+ background: url(bg_button.png);
200
+ font-family: "OpenSansSemibold";
201
+ color: #333;
202
+ box-shadow: 0px 1px 0px 0px #fff;
203
+ border-radius: 4px;
204
+ &:hover {
205
+ color: #3079ed;
206
+ cursor: pointer;
207
+ }
208
+ &:active {
209
+ background-position: 0px -30px;
210
+ border: 1px solid #173988;
211
+ color: #fff;
212
+ text-shadow: 0px 1px 0px #173988;
213
+ cursor: pointer;
214
+ }
215
+ }
216
+ fieldset {
217
+ width: 97%;
218
+ margin: 15px 0px;
219
+ padding: 8px 5px;
220
+ border: 1px solid #ccc;
221
+ }
222
+ .sign_up {
223
+ margin: 10px 0px 0px 0px;
224
+ float: left;
225
+ width: 100%;
226
+ }
227
+ .forgot_password {
228
+ margin: 10px 0px 0px 0px;
229
+ width: 100%;
230
+ }
231
+ .sign_up a, .forgot_password a {
232
+ text-decoration: none;
233
+ opacity: 0.6;
234
+ }
235
+ .sign_up a:hover, .forgot_password a:hover {
236
+ opacity: 1;
237
+ }
238
+ .button {
239
+ background: white;
240
+ background: -webkit-linear-gradient(-90deg, white, #f0f0f0);
241
+ background: -moz-linear-gradient(-90deg, white, #f0f0f0);
242
+ background: linear, -90deg, white, #f0f0f0;
243
+ &:hover {
244
+ background: #007ae1;
245
+ color: #fff;
246
+ }
247
+ }
248
+ }
@@ -8,6 +8,6 @@
8
8
  %div
9
9
  = f.password_field :password, :placeholder => t('carnival_devise.new.password')
10
10
  %div
11
- = f.password_field :password_confirmation, :placeholder => 'Password Confirmation'
11
+ = f.password_field :password_confirmation, :placeholder => t('carnival_devise.new.password_confirmation')
12
12
  %div= f.submit t('carnival_devise.sign_up'), :class => "button"
13
13
  = render "devise/shared/links"
@@ -29,10 +29,11 @@ pt-BR:
29
29
  update: Atualizar
30
30
  cancel: Cancelar minha conta
31
31
  back: Voltar
32
- sign_up: Sign up
32
+ sign_up: Registrar
33
33
  new:
34
34
  email: Email
35
35
  password: Senha
36
+ password_confirmation: Confirmação de Senha
36
37
  login_btn: Entrar
37
38
  remember_me: Permanecer conectado
38
39
  shared:
@@ -1,3 +1,3 @@
1
1
  module CarnivalDeviseViews
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -23,14 +23,14 @@ module CarnivalDeviseViews
23
23
 
24
24
  def copy_assets
25
25
  if options.sass?
26
- copy_file '../../../app/assets/stylesheets/carnival_devise_views.sass', 'app/assets/stylesheets/carnival_devise_views.sass'
26
+ copy_file '../../../app/assets/stylesheets/carnival_devise_views.scss', 'app/assets/stylesheets/carnival_devise_views.scss'
27
27
  else
28
28
  copy_file '../../../app/assets/stylesheets/carnival_devise_views.css', 'app/assets/stylesheets/carnival_devise_views.css'
29
29
  end
30
30
  end
31
31
 
32
32
  def copy_fonts
33
- directory '../../../app/assets/images/', 'app/assets/images/'
33
+ directory '../../../app/assets/fonts/', 'app/assets/fonts/'
34
34
  end
35
35
 
36
36
  private
@@ -38,7 +38,7 @@ module CarnivalDeviseViews
38
38
  directory source, "app/views/#{folder_name}" do |content|
39
39
  content.gsub 'devise/shared/links', "#{folder_name}/shared/links"
40
40
  end
41
-
41
+
42
42
  end
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,137 +1,113 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: carnival_devise_views
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 4
10
- version: 0.0.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Vizir
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2014-09-30 00:00:00 +00:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2015-06-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: bundler
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 1
30
- segments:
31
- - 1
32
- - 7
33
- version: "1.7"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
34
20
  type: :development
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rake
38
21
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
40
- none: false
41
- requirements:
42
- - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 35
45
- segments:
46
- - 10
47
- - 0
48
- version: "10.0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
49
34
  type: :development
50
- version_requirements: *id002
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
51
41
  description: Generate Carnival Views File
52
- email:
42
+ email:
53
43
  - contato@vizir.com.br
54
44
  executables: []
55
-
56
45
  extensions: []
57
-
58
46
  extra_rdoc_files: []
59
-
60
- files:
47
+ files:
48
+ - Gemfile
49
+ - LICENSE.txt
50
+ - README.md
51
+ - Rakefile
52
+ - app/assets/fonts/carnival/opensans-regular-webfont.eot
53
+ - app/assets/fonts/carnival/opensans-regular-webfont.svg
54
+ - app/assets/fonts/carnival/opensans-regular-webfont.ttf
55
+ - app/assets/fonts/carnival/opensans-regular-webfont.woff
56
+ - app/assets/fonts/carnival/opensans-semibold-webfont.eot
57
+ - app/assets/fonts/carnival/opensans-semibold-webfont.svg
58
+ - app/assets/fonts/carnival/opensans-semibold-webfont.ttf
59
+ - app/assets/fonts/carnival/opensans-semibold-webfont.woff
60
+ - app/assets/fonts/carnival/up-not.png
61
61
  - app/assets/stylesheets/carnival_devise_views.css
62
- - app/assets/stylesheets/carnival_devise_views.sass
63
- - app/assets/images/fonts/opensans-semibold-webfont.ttf
64
- - app/assets/images/fonts/opensans-regular-webfont.svg
65
- - app/assets/images/fonts/opensans-regular-webfont.ttf
66
- - app/assets/images/fonts/opensans-semibold-webfont.eot
67
- - app/assets/images/fonts/up-not.png
68
- - app/assets/images/fonts/opensans-semibold-webfont.svg
69
- - app/assets/images/fonts/opensans-regular-webfont.eot
70
- - app/assets/images/fonts/opensans-semibold-webfont.woff
71
- - app/assets/images/fonts/opensans-regular-webfont.woff
72
- - app/views/erb/devise/sessions/new.html.erb
73
- - app/views/erb/devise/registrations/new.html.erb
74
- - app/views/erb/devise/registrations/edit.html.erb
75
- - app/views/erb/devise/passwords/new.html.erb
76
- - app/views/erb/devise/passwords/edit.html.erb
62
+ - app/assets/stylesheets/carnival_devise_views.scss
77
63
  - app/views/erb/devise/confirmations/new.html.erb
78
- - app/views/erb/devise/shared/_links.html.erb
79
64
  - app/views/erb/devise/mailer/confirmation_instructions.html.erb
80
65
  - app/views/erb/devise/mailer/reset_password_instructions.html.erb
81
66
  - app/views/erb/devise/mailer/unlock_instructions.html.erb
82
- - app/views/haml/devise/unlocks/new.html.erb
83
- - app/views/haml/devise/sessions/new.html.haml
84
- - app/views/haml/devise/registrations/edit.html.haml
85
- - app/views/haml/devise/registrations/new.html.haml
86
- - app/views/haml/devise/passwords/edit.html.haml
87
- - app/views/haml/devise/passwords/new.html.haml
67
+ - app/views/erb/devise/passwords/edit.html.erb
68
+ - app/views/erb/devise/passwords/new.html.erb
69
+ - app/views/erb/devise/registrations/edit.html.erb
70
+ - app/views/erb/devise/registrations/new.html.erb
71
+ - app/views/erb/devise/sessions/new.html.erb
72
+ - app/views/erb/devise/shared/_links.html.erb
88
73
  - app/views/haml/devise/confirmations/new.html.haml
89
- - app/views/haml/devise/shared/_links.html.haml
90
74
  - app/views/haml/devise/mailer/confirmation_instructions.html.haml
91
- - app/views/haml/devise/mailer/unlock_instructions.html.haml
92
75
  - app/views/haml/devise/mailer/reset_password_instructions.html.haml
76
+ - app/views/haml/devise/mailer/unlock_instructions.html.haml
77
+ - app/views/haml/devise/passwords/edit.html.haml
78
+ - app/views/haml/devise/passwords/new.html.haml
79
+ - app/views/haml/devise/registrations/edit.html.haml
80
+ - app/views/haml/devise/registrations/new.html.haml
81
+ - app/views/haml/devise/sessions/new.html.haml
82
+ - app/views/haml/devise/shared/_links.html.haml
83
+ - app/views/haml/devise/unlocks/new.html.erb
93
84
  - config/locales/en.yml
94
85
  - config/locales/pt-BR.yml
95
86
  - lib/carnival_devise_views.rb
96
- - lib/generators/carnival_devise_views/install_generator.rb
97
87
  - lib/carnival_devise_views/version.rb
98
- - Rakefile
99
- - Gemfile
100
- - LICENSE.txt
101
- - README.md
102
- has_rdoc: true
103
- homepage: ""
104
- licenses:
88
+ - lib/generators/carnival_devise_views/install_generator.rb
89
+ homepage: ''
90
+ licenses:
105
91
  - MIT
92
+ metadata: {}
106
93
  post_install_message:
107
94
  rdoc_options: []
108
-
109
- require_paths:
95
+ require_paths:
110
96
  - lib
111
- required_ruby_version: !ruby/object:Gem::Requirement
112
- none: false
113
- requirements:
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
114
99
  - - ">="
115
- - !ruby/object:Gem::Version
116
- hash: 3
117
- segments:
118
- - 0
119
- version: "0"
120
- required_rubygems_version: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
123
104
  - - ">="
124
- - !ruby/object:Gem::Version
125
- hash: 3
126
- segments:
127
- - 0
128
- version: "0"
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
129
107
  requirements: []
130
-
131
108
  rubyforge_project:
132
- rubygems_version: 1.6.2
109
+ rubygems_version: 2.4.7
133
110
  signing_key:
134
- specification_version: 3
111
+ specification_version: 4
135
112
  summary: Generate Carnival Views File
136
113
  test_files: []
137
-
@@ -1,212 +0,0 @@
1
- *
2
- outline: none
3
-
4
- @font-face
5
- font-family: 'OpenSansRegular'
6
- src: url('fonts/opensans-regular-webfont.eot')
7
- src: url('fonts/opensans-regular-webfont.eot?#iefix') format("embedded-opentype"), url('fonts/opensans-regular-webfont.woff') format("woff"), url('fonts/opensans-regular-webfont.ttf') format("truetype"), url('fonts/opensans-regular-webfont.svg#OpenSansRegular') format("svg")
8
- font-weight: normal
9
- font-style: normal
10
-
11
-
12
- @font-face
13
- font-family: 'OpenSansSemibold'
14
- src: url('fonts/opensans-semibold-webfont.eot')
15
- src: url('fonts/opensans-semibold-webfont.eot?#iefix') format("embedded-opentype"), url('fonts/opensans-semibold-webfont.woff') format("woff"), url('fonts/opensans-semibold-webfont.ttf') format("truetype"), url('fonts/opensans-semibold-webfont.svg#OpenSansSemibold') format("svg")
16
- font-weight: normal
17
- font-style: normal
18
-
19
-
20
- input[type=number]
21
- &::-webkit-inner-spin-button, &::-webkit-outer-spin-button
22
- -webkit-appearance: none
23
- margin: 0
24
-
25
- body, html
26
- margin: 0
27
- padding: 0
28
- font-size: 14px
29
- line-height: 22px
30
- color: #666
31
- font-family: 'OpenSansRegular', sans-serif
32
- overflow-y: auto !important
33
- height: 100%
34
- background-color: #eee
35
-
36
- .login-container
37
- float: left
38
- width: 100%
39
- height: 100%
40
- form
41
- background-color: #f7f7f7
42
- padding: 20px 25px 20px
43
- margin: -200px auto 25px
44
- width: 304px
45
- box-shadow: 0px 0px 150px rgba(0, 0, 0, 0.2)
46
- position: relative
47
- top: 50%
48
- border-radius: 5px
49
- border: 1px solid #ccc
50
- h2
51
- margin-bottom: 30px
52
- text-align: center
53
-
54
- .button
55
- -moz-appearance: none
56
- -webkit-appearance: none
57
- appearance: none
58
- display: inline-block
59
- height: 36px
60
- padding: 0 8px
61
- margin: 0
62
- -moz-box-sizing: border-box
63
- -webkit-box-sizing: border-box
64
- box-sizing: border-box
65
- -moz-border-radius: 1px
66
- -webkit-border-radius: 1px
67
- border-radius: 1px
68
- font-size: 15px
69
- box-shadow: 0 -1px 0px 0 white
70
- color: #333
71
- border: 1px solid #ccc
72
- &:hover
73
- color: #fff
74
- cursor: pointer
75
- border: 1px solid #2A6198
76
- background-color: #2D66A0
77
-
78
- /********************* FORM BASE STYLE ******************* START
79
-
80
- input
81
- &::-webkit-outer-spin-button, &::-webkit-inner-spin-button
82
- /* display: none; <- Crashes Chrome on hover
83
- -webkit-appearance: none
84
- margin: 0
85
- /* <-- Apparently some margin are still there even though it's hidden
86
-
87
- .login-container
88
- *
89
- transition: all 0.3s ease
90
- input
91
- width: 100%
92
- outline: none
93
- height: 21px
94
- border: 1px solid #c8c8c8
95
- font-family: 'OpenSansRegular'
96
- padding: 2px 6px 2px 6px
97
- color: #555
98
- border-radius: 3px
99
- -moz-background-clip: padding
100
- -webkit-background-clip: padding-box
101
- background-clip: padding-box
102
- background: #fff
103
- box-sizing: border-box
104
- -moz-box-sizing: border-box
105
- height: 35px
106
- margin: 0px 0px 10px 0px
107
- &[type="checkbox"]
108
- width: auto
109
- height: auto
110
- float: left
111
- margin: 4px 5px 0px 0px
112
- padding: 0
113
- &[type='file']
114
- padding: 0px 6px 0px 0px
115
- border-left: none
116
- &:focus
117
- border: 1px solid #A2C5F3
118
- box-shadow: 0px 0px 3px rgba(110, 220, 255, 0.6)
119
- &.submit
120
- width: auto !important
121
- cursor: pointer !important
122
- display: inline-block
123
- text-align: center
124
- font-size: 14px
125
- padding: 7px 12px 6px 12px !important
126
- border: 1px solid #c8c8c8
127
- background: url(bg_button.png)
128
- color: #333
129
- margin-right: 0px
130
- box-shadow: none
131
- font-weight: 300
132
- border-radius: 2px
133
- height: auto
134
- margin-top: 0px
135
- &:hover
136
- color: #3079ed
137
- cursor: pointer
138
- background: #efefef
139
-
140
- #profile_submit:hover
141
- color: #3079ed
142
- cursor: pointer
143
- background: #efefef
144
-
145
- .login-container input.submit:active, #profile_submit:active
146
- background-position: 0px -30px
147
- border: 1px solid #173988
148
- color: #fff
149
- text-shadow: 0px 1px 0px #173988
150
- cursor: pointer
151
-
152
- .login-container
153
- textarea
154
- width: 100%
155
- outline: none
156
- line-height: 18px
157
- border: 1px solid #c8c8c8
158
- font-family: 'OpenSansRegular'
159
- padding: 7px 7px 7px 7px
160
- min-height: 100px
161
- margin: 0
162
- color: #555
163
- box-shadow: 0px 1px 0px 0px #fff
164
- border-radius: 4px
165
- -moz-background-clip: padding
166
- -webkit-background-clip: padding-box
167
- background-clip: padding-box
168
- font-size: 13px
169
- &:focus
170
- border: 1px solid #2c6fec
171
- button
172
- border: 1px solid #c8c8c8
173
- padding: 7px 15px 6px 15px
174
- background: url(bg_button.png)
175
- font-family: 'OpenSansSemibold'
176
- color: #333
177
- box-shadow: 0px 1px 0px 0px #fff
178
- border-radius: 4px
179
- &:hover
180
- color: #3079ed
181
- cursor: pointer
182
- &:active
183
- background-position: 0px -30px
184
- border: 1px solid #173988
185
- color: #fff
186
- text-shadow: 0px 1px 0px #173988
187
- cursor: pointer
188
- fieldset
189
- width: 97%
190
- margin: 15px 0px
191
- padding: 8px 5px
192
- border: 1px solid #ccc
193
- .sign_up
194
- margin: 10px 0px 0px 0px
195
- float: left
196
- width: 100%
197
- .forgot_password
198
- margin: 10px 0px 0px 0px
199
- width: 100%
200
- .sign_up a, .forgot_password a
201
- text-decoration: none
202
- opacity: 0.6
203
- .sign_up a:hover, .forgot_password a:hover
204
- opacity: 1
205
- .button
206
- background: white
207
- background: -webkit-linear-gradient(-90deg, white, #f0f0f0)
208
- background: -moz-linear-gradient(-90deg, white, #f0f0f0)
209
- background: linear, -90deg, white, #f0f0f0
210
- &:hover
211
- background: #007ae1
212
- color: #fff