waterfall_bourbon_neat_rails 1.0.2 → 1.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b40e8881cf3b3dff16e93d35f64f04af2bce5ab
4
- data.tar.gz: 74fe32dab65ede644426ee0aec0c8e291082f29b
3
+ metadata.gz: 3fc86f4c8c9dffdb4a64be7aaffc36834afb4d88
4
+ data.tar.gz: 23cc7b32de67229b5e0dd8a10684bcc3c01d069c
5
5
  SHA512:
6
- metadata.gz: 97de2f9bbf4742abf32f866c382563ee0cdd9eeb7e61b60ac98c42ea187aea7fa812d69ce4b42551440a767a415b70fc61df9acfa11b2f9407b4b2cd0ff14e2b
7
- data.tar.gz: 87b3fa6c6898635a7565970ad32b78016f23f363c3f0e555f7abea5643217a1036ed7bd9aa6c72c0860dfb1f6618d8a4a1bf07bf9bc5209376d3a4edb851dfc9
6
+ metadata.gz: eb5af719eb7ab5b80c8af4dab30d9adc3d9640bcddbd060576a3a939a6879fa0577b1c6930ddd7b2cba176d7bce18b70eff730ae30360d5054acf6b79df3843a
7
+ data.tar.gz: ecb78bc19987909bacf1eff48a227e80081b0cf94ed75c8b929ae631c3af3c81f86019f18f36f7cd437285c81883b605b8c18b86c641d053d6f43ecce9a022aa
@@ -7,4 +7,4 @@
7
7
 
8
8
  //= require libs/chosen.jquery
9
9
  //= require libs/jquery-ui-1.10.4.min
10
- //= require libs/jquery.ui.timepicker
10
+ //= require libs/jquery.ui.timepicker
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ var AADDII = "value";
@@ -4,11 +4,9 @@
4
4
  // Variables
5
5
  @import 'variables';
6
6
 
7
- // Neat Settings -- uncomment if using Neat -- must be imported before Neat
8
- @import 'grid-settings';
9
-
10
7
  // Mixins
11
8
  @import 'mixins/flash';
9
+ @import 'mixins/container';
12
10
 
13
11
  // Extends
14
12
  @import 'extends/button';
@@ -0,0 +1,7 @@
1
+ @mixin container{
2
+ @include outer-container;
3
+ @include media($large-screen);
4
+ @include media($medium-screen);
5
+ @include media($tablet);
6
+ @include media($mobile);
7
+ }
@@ -136,68 +136,69 @@ body#main{
136
136
  }
137
137
  }
138
138
  .registration_container{
139
- padding: 20px;
139
+ @include outer-container;
140
+ @include pad(20px 0);
140
141
 
141
142
  form{
142
- @include clearfix;
143
- @include outer-container;
144
-
143
+ @include fill-parent;
144
+
145
145
  .field_container{
146
- @include span-columns(10);
147
- @include clearfix;
148
- @include center;
146
+ @include span-columns(14);
147
+ @include shift(1);
149
148
  background-color: transparent;
150
- float: none;
151
149
 
152
150
  legend{
153
151
  @include font-attr(1.4em, $medium_blue, bold);
154
152
  }
153
+
155
154
  fieldset{
156
- padding: 10px 30px;
155
+ @include fill-parent;
156
+ @include pad(10px 0);
157
+ margin-top: 10px;
158
+
157
159
  legend{
158
160
  @include font-attr(1.2em, $medium_blue, bold);
159
161
  }
162
+
163
+ .form_inputs{
164
+ @include span-columns(12 of 14);
165
+ @include shift(1);
166
+ }
160
167
  }
161
168
  }
162
169
 
163
170
  .form_inputs.acc_info, .form_inputs.acc_details{
164
171
 
165
172
  .left_column, .right_column{
166
- @include span-columns(5 of 10);
173
+ @include span-columns(6 of 12);
167
174
  }
168
175
 
169
176
  .left_column{
170
177
  .user_details_phone_number{
171
- @include span-columns(3 of 5);
178
+ @include span-columns(4 of 6);
172
179
  }
173
180
  .user_details_phone_extension{
174
- @include span-columns(2 of 5);
181
+ @include span-columns(2 of 6);
175
182
  @include omega;
176
183
  }
177
184
  }
178
185
 
179
186
  .right_column{
180
187
  .logo_preview{
181
- max-width: 375px;
182
-
183
188
  .img_container{
189
+ @include border(solid, 1px, $light_blue);
190
+ @include pad(5px);
184
191
  height: 200px;
185
- padding: 5px;
186
192
  overflow: hidden;
187
- @include border(solid, 1px, $light_blue);
188
193
  box-shadow: 0 0 1px 1px;
189
-
190
- img{
191
- max-width: 100%;
192
- }
193
194
  }
194
195
 
195
196
  .headshot{
196
- width:200px;
197
+ max-width:200px;
197
198
  }
198
199
  }
199
200
  .partner_state{
200
- @include span-columns(1 of 5);
201
+ @include span-columns(2 of 6);
201
202
 
202
203
  select{
203
204
  height: 40px;
@@ -239,12 +240,11 @@ body#main{
239
240
  }
240
241
  }
241
242
  .form_actions{
242
- @include span-columns(10);
243
- float: none;
244
- margin-right: auto !important;
245
- @include center;
246
- padding:10px;
243
+ @include span-columns(14);
244
+ @include shift(1);
247
245
  @include clearfix;
246
+
247
+ margin-top:20px;
248
248
  color: $light_blue;
249
249
 
250
250
  input{
@@ -290,30 +290,66 @@ body#landing-page{
290
290
  position: relative;
291
291
  }
292
292
  .container{
293
+ @include outer-container;
294
+ background: transparent;
295
+ border:none;
293
296
  min-height: 400px;
294
297
  margin-top:10px;
295
298
 
296
299
  .url{
297
- margin-top: 20px;
298
- @include span-columns(6);
299
- @include center;
300
- float:none;
301
- }
300
+ @include span-columns(8);
301
+ @include shift(4);
302
+ @include pad(20px 0);
302
303
 
303
- .url__item{
304
- width: 100%;
305
- height: 40px;
306
- padding-left: 5px;
307
- @include border(solid, 1px, $sky_blue);
308
- @include border-radius;
304
+ margin-top: 20px;
305
+ background-color: rgba(255, 255, 255, 0.91);
306
+
307
+ p{
308
+ @include span-columns(6 of 8);
309
+ @include shift(1);
310
+ }
311
+
312
+ select{
313
+ @include span-columns(2 of 8);
314
+ @include shift(1);
315
+ }
316
+
317
+ .url__item{
318
+ height: 40px;
319
+
320
+ @include span-columns(6 of 8);
321
+ @include shift(1);
322
+ @include border(solid, 1px, $sky_blue);
323
+ @include border-radius;
324
+ @include pad(0 0 0 5px);
325
+ }
309
326
  }
310
327
 
311
328
  form{
312
- width: 500px;
313
- margin: 10px auto;
329
+ @include pad(20px 0);
330
+ @include span-columns(8);
331
+ @include shift(4);
332
+
333
+ @include media($medium-screen) {
334
+ @include span-columns(12);
335
+ @include shift(2);
336
+ }
337
+
338
+ @include media($tablet) {
339
+ @include span-columns(14);
340
+ @include shift(1);
341
+ }
342
+
343
+ background-color: rgba(255, 255, 255, 0.91);
344
+ }
345
+
346
+ .form_inputs, .form_actions, .edit-user-email{
347
+ @include margin(10px 0 0 0);
348
+ @include span-columns(6 of 8);
349
+ @include shift(1);
314
350
  }
351
+
315
352
  .form_actions{;
316
- padding: 10px 0;
317
353
  @include clearfix;
318
354
  color: $light_blue;
319
355
 
@@ -441,9 +477,11 @@ body#landing-page{
441
477
  }
442
478
  }
443
479
  .footer{
480
+ position: fixed;
481
+ width:100%;
482
+ bottom:0;
444
483
  footer{
445
484
  background-color: $medium_blue;
446
- bottom: 0;
447
485
  }
448
486
  }
449
487
  }
@@ -2,16 +2,6 @@ $base-value: 14;
2
2
  $baseColor: #000;
3
3
  $primaryFontFamily: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
4
4
 
5
-
6
- //**** Neat Grid ****
7
- $max-width: em(960, $base-value); // Max width of outer container
8
-
9
- //**** Breakpoints ****
10
- $desktop: min-width 850px;
11
- $tablet: min-width 750px;
12
- $tablet-only: min-width 750px max-width 849px;
13
- $mobile-only: max-width 749px;
14
-
15
5
  //**** Colors ****
16
6
  $black: #111111;
17
7
  $blue: #0e3651;
@@ -54,5 +44,3 @@ $default_border_radius: 5px;
54
44
  $default_font_size: 1em;
55
45
  $default_font_color: #000;
56
46
  $default_font_weight: normal;
57
-
58
- $breakpoint-alpha: 980px; // adjust to your needs - used for the landing page table
@@ -1,24 +1,27 @@
1
1
  //variable
2
2
  $title-font-color: $light_blue;
3
3
 
4
- #captcha-wrapper{
5
- @include span-columns(12);
6
- margin-top: 15px;
7
- }
8
-
9
- #captcha-image{
10
- margin-top: 5px;
11
- float: left;
12
- }
4
+ // #captcha-wrapper{
5
+ // @include fill-parent;
6
+ // margin-top: 15px;
7
+ // }
13
8
 
14
9
  #captcha-title{
10
+ @include span-columns(10 of 12);
11
+ @include shift(1);
12
+ @indlude pad(5px 0);
15
13
  font-size: 16px;
16
14
  color: $title-font-color;
17
15
  }
18
16
 
17
+ #captcha-image{
18
+ @include span-columns(2 of 12);
19
+ @include shift(1);
20
+ margin-top: 5px;
21
+ }
22
+
19
23
  #captcha-input{
20
- float: left;
21
- margin: 5px 0 0 10px;
22
- width: 130px;
24
+ @include span-columns(2 of 12);
23
25
  @include border-radius;
26
+ margin-top:5px;
24
27
  }
@@ -1,5 +1,10 @@
1
- .business-hours{
2
- @include span-columns(12);
1
+ // .business-hours{
2
+ // @include span-columns(14);
3
+ // }
4
+
5
+ .days{
6
+ @include span-columns(12);
7
+ @include shift(1);
3
8
  }
4
9
 
5
10
  .day{
@@ -1,4 +1,5 @@
1
1
  //table component
2
+ $table-breakpoint: 980px;
2
3
 
3
4
  .rwd-table {
4
5
  margin: 1em 0;
@@ -35,7 +36,7 @@
35
36
  display: inline-block;
36
37
  // end options
37
38
 
38
- @media (min-width: $breakpoint-alpha) {
39
+ @media (min-width: $table-breakpoint) {
39
40
  display: none;
40
41
  }
41
42
  }
@@ -44,7 +45,7 @@
44
45
  th, td {
45
46
  text-align: left;
46
47
 
47
- @media (min-width: $breakpoint-alpha) {
48
+ @media (min-width: $table-breakpoint) {
48
49
  display: table-cell;
49
50
  padding: .25em .5em;
50
51
 
@@ -73,7 +74,7 @@
73
74
  }
74
75
  th, td {
75
76
  margin: .5em 1em;
76
- @media (min-width: $breakpoint-alpha) {
77
+ @media (min-width: $table-breakpoint) {
77
78
  padding: 10px!important;
78
79
  }
79
80
  }
@@ -1,14 +0,0 @@
1
- Evitam nesting.
2
-
3
- Ex:
4
- <ul class="list1">
5
- <li class="list1-item"></li>
6
- </ul>
7
-
8
- when we select element using css selector we don;t use nesting, else max 1 level
9
-
10
- .list1{
11
- .list1-item{
12
-
13
- }
14
- }
@@ -0,0 +1,6 @@
1
+ //media breakpoints which I can use in the neat media mixin
2
+
3
+ $large-screen: new-breakpoint(max-width 1280px);
4
+ $medium-screen: new-breakpoint(max-width 980px);
5
+ $tablet: new-breakpoint(max-width 768px);
6
+ $mobile: new-breakpoint(max-width 480px);
@@ -0,0 +1,18 @@
1
+ // here we have the grid settings
2
+
3
+ //Sets the default layout direction of the grid. //LTR(left to right), RTL(right to left)
4
+ $default_layout_direction: LTR;
5
+
6
+ //Sets the total number of columns in the grid. Its value can be overridden inside a media query using the media() mixin.
7
+ $grid-columns: 16;
8
+
9
+ //Sets the max-width property of the element that includes outer-container().
10
+ $max-width: 1280px;
11
+
12
+ //apply box-sizing to all elements
13
+ $border-box-sizing: true;
14
+
15
+ //Helpers. Displays the visual grid when set to true.
16
+ $visual-grid: false;
17
+ $visual-grid-color: yellow;
18
+ $visual-grid-opacity: 0.5;
@@ -151,10 +151,12 @@ body#main {
151
151
  text-align: center;
152
152
  color:white;
153
153
 
154
- div.logo {
155
- width: 430px;
156
- padding: 4% 0px 6%;
157
- margin: 0px auto;
154
+ .header{
155
+ .logo {
156
+ width: 430px;
157
+ padding: 4% 0px 6%;
158
+ margin: 0px auto;
159
+ }
158
160
  }
159
161
 
160
162
  span {
@@ -1,6 +1,8 @@
1
1
  @import "bourbon";
2
- @import "base/base"; /* Bitters needs to be imported before Neat */
2
+ @import "neat/settings";
3
3
  @import "neat";
4
+ @import "base/base";
5
+ @import "neat/breakpoints";
4
6
  @import "partials/variables";
5
7
  @import "partials/layout";
6
8
  @import "partials/flash";
@@ -1,3 +1,3 @@
1
1
  module WaterfallBourbonNeatRails
2
- VERSION = "1.0.2".freeze
2
+ VERSION = "1.0.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waterfall_bourbon_neat_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Waterfall Software Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-09 00:00:00.000000000 Z
11
+ date: 2014-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -225,17 +225,18 @@ files:
225
225
  - app/assets/javascripts/libs/jquery.ui.timepicker.js
226
226
  - app/assets/javascripts/waterfall_bourbon_neat_rails.js
227
227
  - app/assets/javascripts/waterfall_bourbon_neat_rails/application.js
228
+ - app/assets/libs/abc.js
228
229
  - app/assets/stylesheets/base/_base.scss
229
230
  - app/assets/stylesheets/base/_buttons.scss
230
231
  - app/assets/stylesheets/base/_flashes.scss
231
232
  - app/assets/stylesheets/base/_forms.scss
232
- - app/assets/stylesheets/base/_grid-settings.scss
233
233
  - app/assets/stylesheets/base/_lists.scss
234
234
  - app/assets/stylesheets/base/_typography.scss
235
235
  - app/assets/stylesheets/base/_variables.scss
236
236
  - app/assets/stylesheets/base/extends/_button.scss
237
237
  - app/assets/stylesheets/base/extends/_clearfix.scss
238
238
  - app/assets/stylesheets/base/extends/_hide-text.scss
239
+ - app/assets/stylesheets/base/mixins/_container.scss
239
240
  - app/assets/stylesheets/base/mixins/_flash.scss
240
241
  - app/assets/stylesheets/custom/_components.scss
241
242
  - app/assets/stylesheets/custom/_functions.scss
@@ -254,6 +255,8 @@ files:
254
255
  - app/assets/stylesheets/custom/rules.txt
255
256
  - app/assets/stylesheets/libs/jquery-ui-1.10.4.min.css
256
257
  - app/assets/stylesheets/libs/jquery.ui.timepicker.css
258
+ - app/assets/stylesheets/neat/_breakpoints.scss
259
+ - app/assets/stylesheets/neat/_settings.scss
257
260
  - app/assets/stylesheets/normalize/README.md
258
261
  - app/assets/stylesheets/normalize/component.json
259
262
  - app/assets/stylesheets/normalize/normalize.css
@@ -1,37 +0,0 @@
1
- @import 'neat-helpers'; // or '../neat/neat-helpers' when not in Rails
2
-
3
- // Neat Overrides
4
- // $column: 90px;
5
- // $gutter: 30px;
6
- // $grid-columns: 12;
7
- //$max-width: em(700);
8
-
9
- // Neat Breakpoints
10
- //$medium-screen: em(640);
11
- //$large-screen: em(860);
12
-
13
- //$medium-screen-up: new-breakpoint(min-width $medium-screen 4);
14
- //$large-screen-up: new-breakpoint(min-width $large-screen 8);
15
-
16
- // will be removed when things are done
17
- // $visual-grid: true;
18
- // $visual-grid-color: red;
19
- // $visual-grid-index: front;
20
- // $visual-grid-opacity: 0.1;
21
-
22
- $large-screen: new-breakpoint(max-width 1200px 12);
23
- $medium-screen: new-breakpoint(max-width 992px 8);
24
- $small-screen: new-breakpoint(max-width 768px 6);
25
-
26
- @mixin container{
27
- @include outer-container;
28
- @include media($large-screen){
29
- max-width: 1200px;
30
- }
31
- @include media($medium-screen){
32
- max-width: 980px;
33
- }
34
- @include media($small-screen){
35
- max-width:760px;
36
- }
37
- }