waterfall_bourbon_neat_rails 0.1.6 → 0.1.7

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: b13e9da6b42623249c058e63b50d9d5d02d25be6
4
- data.tar.gz: c17fc5e05f472744e5b529df2ae55350493f49ea
3
+ metadata.gz: 8cc18ef9681099ee51999cc15628bb68a0fdd40f
4
+ data.tar.gz: 4b70be436760a0a7411401e4789743c40aed0cb9
5
5
  SHA512:
6
- metadata.gz: 887372bc2252e3f0e81bbf3f093451f9e69586bbc91fa33d16d0d9c7d23fdcad07a5e85374de24f595f50f8e5c7e4f27033b733b290b8002b5f6d6d5fe61dded
7
- data.tar.gz: 24011b7f35292a296c3aa3e8e821e91a5e01296df48aab011febbdcf1c634cf476bd7e1a370ff4c148cf6dc19a8a07dcec1b4af084826b925722d5c84490e2cd
6
+ metadata.gz: 09a704801f2d856b2d611990f823252cf3ed34d157f98831317a492ccba056392aaedb50fe5043404a4c2e67d493dbc3562678124eecf200d5d50b766974d1d0
7
+ data.tar.gz: f9ac23a8104ddf1848290a702c480f424f27b86150d1f60bb743a51f22791c22cd4d65917897836777f9ea3876eeb6b1758e51120e66b9e0d75ca3e316ffb100
@@ -4,11 +4,34 @@
4
4
  // $column: 90px;
5
5
  // $gutter: 30px;
6
6
  // $grid-columns: 12;
7
- $max-width: em(700);
7
+ //$max-width: em(700);
8
8
 
9
9
  // Neat Breakpoints
10
- $medium-screen: em(640);
11
- $large-screen: em(860);
10
+ //$medium-screen: em(640);
11
+ //$large-screen: em(860);
12
12
 
13
- $medium-screen-up: new-breakpoint(min-width $medium-screen 4);
14
- $large-screen-up: new-breakpoint(min-width $large-screen 8);
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: 1170px;
30
+ }
31
+ @include media($medium-screen){
32
+ max-width: 970px;
33
+ }
34
+ @include media($small-screen){
35
+ max-width:750px;
36
+ }
37
+ }
@@ -0,0 +1,346 @@
1
+ @import 'neat-helpers'; // or '../neat/neat-helpers' when not in Rails
2
+ // ------------------------------------------------------------------------
3
+ // General styles for all elements that must be found in a website :)
4
+ // It is important to start from here before moving to components and grid styles
5
+ // DON'T IGNORE THIS FILE
6
+ // ------------------------------------------------------------------------
7
+
8
+ * {
9
+ @include box-sizing(border-box);
10
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
11
+ -webkit-text-size-adjust: 100%;
12
+ -ms-text-size-adjust: 100%;
13
+ -webkit-font-smoothing: antialiased;
14
+ }
15
+ // ------------------------------------------------------------------------
16
+ // Selection mixin, set the background color and the font color
17
+ // Small bugs on Chorme, nothing major and known issue :)
18
+ // ------------------------------------------------------------------------
19
+ // @include selection();
20
+
21
+ :required {
22
+
23
+ }
24
+
25
+ a {
26
+ color: $actionColor;
27
+ text-decoration: none;
28
+
29
+ &:hover {
30
+ text-decoration: underline;
31
+ }
32
+ &:active {
33
+
34
+ }
35
+ &:link {
36
+
37
+ }
38
+
39
+ &:visited {
40
+
41
+ }
42
+ &:focus {
43
+ @extend :hover;
44
+ }
45
+ }
46
+
47
+ address {
48
+
49
+ }
50
+
51
+ b, strong {
52
+ font-weight: bolder;
53
+ }
54
+
55
+ html {
56
+ font-size: 62.5%;
57
+ height: 100%;
58
+ }
59
+
60
+ body {
61
+ color: $baseColor;
62
+ font-family: $primaryFontFamily;
63
+ display: table;
64
+ @include setRem('font-size', 13px);
65
+ height: 100%;
66
+ position: relative;
67
+ width: 100%;
68
+ }
69
+
70
+ blockquote,
71
+ q {
72
+ quotes: "" "";
73
+ }
74
+
75
+ blockquote:before,
76
+ blockquote:after,
77
+ q:before,
78
+ q:after {
79
+ content: "";
80
+ }
81
+
82
+ // button {
83
+ // background: $themeColor;
84
+ // border: 1px solid #ddd;
85
+ // color: $whiteColor;
86
+ // font-weight: $boldFont;
87
+ // @include rem(font-size, 22px);
88
+ // @include em(line-height, 22px, 48px);
89
+ // @include em(padding, 22px, 0 20px);
90
+ // text-transform: uppercase;
91
+
92
+ // &:hover {
93
+ // background: darken($themeColor, 10%);
94
+ // text-decoration: none;
95
+ // }
96
+
97
+ // &:active {
98
+ // background: darken($themeColor, 30%);
99
+ // }
100
+
101
+ // ------------------------------------------------------------------------
102
+ // Do not ignore the focus styles
103
+ // Most users navigate the website with the TAB key
104
+ // ------------------------------------------------------------------------
105
+ // A cool trick to solve the :focus styles for most elements is
106
+ // to extend the hover styles @extend :hover;
107
+ // ------------------------------------------------------------------------
108
+ // &:focus {
109
+ // @extend :hover;
110
+ // }
111
+
112
+ // // ------------------------------------------------------------------------
113
+ // &:disabled {
114
+ // cursor: no-drop;
115
+ // opacity: .5;
116
+ // }
117
+ // }
118
+
119
+ label {
120
+
121
+ }
122
+
123
+ input {
124
+ &[type="checkbox"] {
125
+
126
+ }
127
+ &[type="button"] {
128
+ @extend button;
129
+ }
130
+ &[type="radio"] {
131
+
132
+ }
133
+
134
+ // ------------------------------------------------------------------------
135
+ // Extra input types just in case you need them
136
+ // ------------------------------------------------------------------------
137
+ &[type="color"] {
138
+
139
+ }
140
+ &[type="date"] {
141
+
142
+ }
143
+ &[type="email"] {
144
+
145
+ }
146
+ &[type="file"] {
147
+
148
+ }
149
+ &[type="number"] {
150
+
151
+ }
152
+ &[type="password"] {
153
+
154
+ }
155
+ &[type="range"] {
156
+
157
+ }
158
+ &[type="reset"] {
159
+
160
+ }
161
+ &[type="search"] {
162
+
163
+ }
164
+ &[type="tel"] {
165
+
166
+ }
167
+ &[type="time"] {
168
+
169
+ }
170
+ &[type="url"] {
171
+
172
+ }
173
+
174
+ // ------------------------------------------------------------------------
175
+ // If you need more input types check out the link below
176
+ // http://www.w3.org/wiki/HTML/Elements/input
177
+ // ------------------------------------------------------------------------
178
+ &:focus {
179
+ /* @extend :hover; */
180
+ }
181
+ }
182
+
183
+ // ------------------------------------------------------------------------
184
+ // Set the input placeholder color to something different that gray :)
185
+ ::-webkit-input-placeholder {
186
+ color: $baseColor;
187
+ }
188
+ :-moz-placeholder {
189
+ color: $baseColor;
190
+ opacity: 1;
191
+ }
192
+ ::-moz-placeholder {
193
+ color: $baseColor;
194
+ opacity: 1;
195
+ }
196
+ :-ms-input-placeholder {
197
+ color: $baseColor;
198
+ }
199
+
200
+ select {
201
+ // ------------------------------------------------------------------------
202
+ // Remove default browser style for select
203
+ // Delete them if you don't need them...
204
+ -webkit-appearance: none;
205
+ -moz-appearance: none;
206
+ appearance: none;
207
+
208
+ option {
209
+
210
+ }
211
+
212
+ &:hover {
213
+
214
+ }
215
+ &:active {
216
+
217
+ }
218
+
219
+ &:focus {
220
+ /* @extend :hover; */
221
+ }
222
+ }
223
+
224
+ textarea {
225
+ // ------------------------------------------------------------------------
226
+ // Do not use resize: none if the textarea box is smaller that 200-300 px
227
+ // Let the user resize it on the vertical and lock the width
228
+ // In combination with max-height it's a good combo
229
+ // ------------------------------------------------------------------------
230
+ // resize: horizontal; might break your page layout, use with care
231
+ resize: vertical;
232
+ width: 100%;
233
+ }
234
+
235
+ caption, th, td {
236
+ text-align: left;
237
+ font-weight: normal;
238
+ vertical-align: middle;
239
+ }
240
+
241
+ em, i {
242
+ font-style: italic;
243
+ }
244
+
245
+ // ------------------------------------------------------------------------
246
+ // Generate headings based on the Fibonacci row
247
+ // Go crazy!
248
+ // ------------------------------------------------------------------------
249
+ // @each $header, $values in (
250
+ // // ------------------------------------------------------------------------
251
+ // // H1 font-szie, font-weight, text-transfrom
252
+ // // you can add more values and get them with nth($valuse, #no)
253
+ // // ------------------------------------------------------------------------
254
+
255
+ // h1: 89 $thinFont uppercase,
256
+ // h2: 55 $boldFont uppercase,
257
+ // h3: 21 $mediumFont uppercase,
258
+ // h4: 13 $regularFont normal,
259
+ // h5: 13 $regularFont normal,
260
+ // h6: 13 $regularFont normal) {
261
+
262
+ // #{$header} {
263
+ // font-size: #{nth($values, 1)}px; // font-size in px as fallback
264
+ // font-size: #{nth($values, 1) * .1}rem; // font-size in rem
265
+ // font-weight: nth($values, 2);
266
+ // text-transform: nth($values, 3);
267
+
268
+ // -moz-font-feature-settings: "liga=1, dlig=1";
269
+ // -ms-font-feature-settings: "liga", "dlig";
270
+ // -webkit-font-feature-settings: "liga", "dlig";
271
+ // -o-font-feature-settings: "liga", "dlig";
272
+ // font-feature-settings: "liga", "dlig";
273
+ // }
274
+ // }
275
+
276
+ img {
277
+ -ms-interpolation-mode: bicubic;
278
+ }
279
+
280
+ nav {
281
+ li {
282
+
283
+ }
284
+ }
285
+
286
+ p {
287
+ margin: 1em 0;
288
+ }
289
+
290
+ pre, code {
291
+ font-family: Monaco, Courier, monospace;
292
+ }
293
+
294
+ pre {
295
+ white-space: pre;
296
+ white-space: pre-wrap;
297
+ white-space: pre-line;
298
+ word-wrap: break-word;
299
+ }
300
+
301
+ table {
302
+ border: 0;
303
+ border-collapse: collapse;
304
+ border-spacing: 0;
305
+ empty-cells: show;
306
+ }
307
+
308
+ u {
309
+ text-decoration: underline;
310
+ }
311
+
312
+ ul, ol {
313
+ // ------------------------------------------------------------------------
314
+ // We don't need list-style on every ul or ol
315
+ // Default will be none
316
+ // ------------------------------------------------------------------------
317
+ list-style: none;
318
+ }
319
+
320
+ li {
321
+
322
+ }
323
+
324
+ // ------------------------------------------------------------------------
325
+ // Custom styles
326
+ // Fixing various corss browser display issues and the clearfix issue :)
327
+ // :before and :after will be used only to do awesome tricks not to fix the lyout :)
328
+ // ------------------------------------------------------------------------
329
+ aside,
330
+ div,
331
+ dl,
332
+ fieldset,
333
+ footer,
334
+ form,
335
+ header,
336
+ iframe,
337
+ main,
338
+ nav,
339
+ ul,
340
+ ol,
341
+ section,
342
+ table {
343
+ clear: both;
344
+ float: left;
345
+ width: 100%;
346
+ }
@@ -0,0 +1,280 @@
1
+ /* to be moved in shared assets gem */
2
+
3
+ /*general classes*/
4
+
5
+ .reset-margin{
6
+ margin: 0;
7
+ }
8
+
9
+ .padding10{
10
+ padding: 10px;
11
+ }
12
+
13
+ form input[type="text"], form input[type="email"], form input[type="password"], form input[type="tel"]{
14
+ padding: 0 0 0 10px!important;
15
+ height: 40px;
16
+ line-height: 40px;
17
+ margin-bottom: 0 !important;
18
+
19
+ &:focus{
20
+ border-color: none;
21
+ }
22
+ }
23
+
24
+ /*page components - are extended in main page*/
25
+
26
+ #form-inputs .password a {
27
+ display: block;
28
+ float: right;
29
+ color: #A8C7E3;
30
+ &:hover {
31
+ color: #FFF;
32
+ }
33
+ }
34
+
35
+ input.error{
36
+ @include border(solid,3px,$font_error_color);
37
+ border-color: $font_error_color!important;
38
+ }
39
+
40
+ .form-inputs input{
41
+ @extend .reset-margin;
42
+ }
43
+
44
+ #email-error, #password-error, div.error, #current_password-error, #new_password-error, #new_password_confirmation-error{
45
+ height: 30px;
46
+
47
+ label{
48
+ display: block;
49
+ line-height: 30px;
50
+ height: 100%;
51
+ color:red;
52
+ }
53
+ }
54
+
55
+ //toolbar component
56
+
57
+ .toolbar{
58
+ background: rgba(255, 255, 255, 0.43);
59
+ border: solid 1px #A8A8A8;
60
+ padding:10px 5px;
61
+ position: relative;
62
+
63
+ .toolbar_item{
64
+ display:inline-block;
65
+ height:40px;
66
+ width:120px;
67
+ line-height:40px;
68
+ text-align:center;
69
+ margin:5px;
70
+ border-radius:3px;
71
+ cursor:pointer;
72
+ @include font-attr(1.1em, whitesmoke, bold);
73
+ }
74
+
75
+ .toolbar_item.enabled{
76
+ background-color:$medium_blue;
77
+ color: white;
78
+ box-shadow: 3px 3px 7px 1px #1C1D1F;
79
+
80
+ &:hover{
81
+ box-shadow: 1px 1px 4px 1px #1C1D1F;
82
+ }
83
+ }
84
+
85
+ .toolbar_item.disabled{
86
+ background-color: #B0B0B2;
87
+ color: #E0E0E0;
88
+ }
89
+
90
+ .toolbar_item-pagination{
91
+ position: absolute;
92
+ right: 0;
93
+ top: 10px;
94
+ width: 165px;
95
+ color: $medium_blue;
96
+
97
+ input{
98
+ display: inline-block;
99
+ width: 60px;
100
+ margin-top: 10px;
101
+ margin-left: 30px;
102
+ }
103
+
104
+ .previous, .next{
105
+ position: absolute;
106
+ top:17px;
107
+ display: block;
108
+ width: 20px;
109
+ height: 20px;
110
+ @include rotate(45deg);
111
+
112
+ &:hover{
113
+ box-shadow: none;
114
+ }
115
+ }
116
+
117
+ .previous{
118
+ left:5px;
119
+ border-left: solid 4px blue;
120
+ border-bottom: solid 4px blue;
121
+ box-shadow: -4px 4px 4px 0px rgba(150, 150, 150, 1);
122
+ }
123
+
124
+ .next{
125
+ right:12px;
126
+ border-top: solid 4px blue;
127
+ border-right: solid 4px blue;
128
+ box-shadow: 4px -4px 4px 0px rgba(150, 150, 150, 1);
129
+ }
130
+ }
131
+ }
132
+
133
+
134
+ //table component
135
+
136
+ .rwd-table {
137
+ margin: 1em 0;
138
+ min-width: 300px; // adjust to your needs
139
+ font-size: 16px;
140
+
141
+ tr {
142
+ border-top: 1px solid #ddd;
143
+ border-bottom: 1px solid #ddd;
144
+ }
145
+
146
+ th {
147
+ display: none; // for accessibility, use a visually hidden method here instead! Thanks, reddit!
148
+ }
149
+
150
+ td {
151
+ display: block;
152
+
153
+ &:first-child {
154
+ padding-top: .5em;
155
+ }
156
+ &:last-child {
157
+ padding-bottom: .5em;
158
+ }
159
+
160
+ &:before {
161
+ content: attr(data-th)": ";
162
+ font-weight: bold;
163
+
164
+ // optional stuff to make it look nicer
165
+ width: 6.5em; // magic number :( adjust according to your own content
166
+ display: inline-block;
167
+ // end options
168
+
169
+ @media (min-width: $breakpoint-alpha) {
170
+ display: none;
171
+ }
172
+ }
173
+ }
174
+
175
+ th, td {
176
+ text-align: left;
177
+
178
+ @media (min-width: $breakpoint-alpha) {
179
+ display: table-cell;
180
+ padding: .25em .5em;
181
+
182
+ &:first-child {
183
+ padding-left: 0;
184
+ }
185
+
186
+ &:last-child {
187
+ padding-right: 0;
188
+ }
189
+ }
190
+ }
191
+ }
192
+
193
+ .rwd-table {
194
+ background: rgba(233, 233, 233, 0.77);;
195
+ table-layout: auto;
196
+ color: #295158;
197
+ overflow: hidden;
198
+ tr {
199
+ border-color: lighten(#34495E, 10%);
200
+ cursor: pointer;
201
+ }
202
+ tr.selected{
203
+ background-color: $medium_blue;
204
+ color: white;
205
+ }
206
+ th, td {
207
+ margin: .5em 1em;
208
+ @media (min-width: $breakpoint-alpha) {
209
+ padding: 1em !important;
210
+ }
211
+ }
212
+ tbody tr:first-child{
213
+ background: #2399C7;
214
+ @include font-attr(18px, whitesmoke, bolder);
215
+ }
216
+ }
217
+
218
+
219
+
220
+ //ajax spinner
221
+
222
+ .spinner{
223
+ position: fixed;
224
+ top:0;
225
+ bottom:0;
226
+ left:0;
227
+ right:0;
228
+ z-index: 9999;
229
+ display: none;
230
+ background-color: rgba(241, 241, 241, 0.66);
231
+
232
+ .ajax-spinner{
233
+ width: 30px;
234
+ height: 30px;
235
+ margin: 200px auto;
236
+ border: 8px solid #fff;
237
+ border-right-color: transparent;
238
+ border-radius: 50%;
239
+ box-shadow: 0 0 25px 2px #eee;
240
+ -webkit-animation: spin 1s linear infinite;
241
+ -moz-animation: spin 1s linear infinite;
242
+ -ms-animation: spin 1s linear infinite;
243
+ -o-animation: spin 1s linear infinite;
244
+ animation: spin 1s linear infinite;
245
+ }
246
+ @-webkit-keyframes spin
247
+ {
248
+ from { -webkit-transform: rotate(0deg); opacity: 0.4; }
249
+ 50% { -webkit-transform: rotate(180deg); opacity: 1; }
250
+ to { -webkit-transform: rotate(360deg); opacity: 0.4; }
251
+ }
252
+
253
+ @-moz-keyframes spin
254
+ {
255
+ from { -moz-transform: rotate(0deg); opacity: 0.4; }
256
+ 50% { -moz-transform: rotate(180deg); opacity: 1; }
257
+ to { -moz-transform: rotate(360deg); opacity: 0.4; }
258
+ }
259
+
260
+ @-ms-keyframes spin
261
+ {
262
+ from { -ms-transform: rotate(0deg); opacity: 0.4; }
263
+ 50% { -ms-transform: rotate(180deg); opacity: 1; }
264
+ to { -ms-transform: rotate(360deg); opacity: 0.4; }
265
+ }
266
+
267
+ @-o-keyframes spin
268
+ {
269
+ from { -o-transform: rotate(0deg); opacity: 0.4; }
270
+ 50% { -o-transform: rotate(180deg); opacity: 1; }
271
+ to { -o-transform: rotate(360deg); opacity: 0.4; }
272
+ }
273
+
274
+ @keyframes spin
275
+ {
276
+ from { transform: rotate(0deg); opacity: 0.2; }
277
+ 50% { transform: rotate(180deg); opacity: 1; }
278
+ to { transform: rotate(360deg); opacity: 0.2; }
279
+ }
280
+ }