magic_stylez 0.0.0.1 → 0.0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/magic_stylez/version.rb +1 -1
  3. data/magic_stylez.gemspec +1 -1
  4. data/test/dummy/app/assets/javascripts/views/content/_box.jst.eco +22 -0
  5. data/test/dummy/app/assets/javascripts/views/elements/icons.jst.eco +9004 -0
  6. data/test/dummy/app/assets/javascripts/views/layout/section.jst.eco +11 -1
  7. data/test/dummy/app/assets/stylesheets/application.css.scss +35 -0
  8. data/test/dummy/app/views/front/_aside.html.erb +1 -0
  9. data/test/dummy/public/xindex.html +4 -4
  10. data/vendor/assets/fonts/magic/newmagicons-regular-webfont.eot +0 -0
  11. data/vendor/assets/fonts/magic/newmagicons-regular-webfont.svg +199 -0
  12. data/vendor/assets/fonts/magic/newmagicons-regular-webfont.ttf +0 -0
  13. data/vendor/assets/fonts/magic/newmagicons-regular-webfont.woff +0 -0
  14. data/vendor/assets/images/magic/helper/crossed.png +0 -0
  15. data/vendor/assets/images/magic/helper/hero_buy.png +0 -0
  16. data/vendor/assets/stylesheets/magic-stylez.scss +22 -22
  17. data/vendor/assets/stylesheets/magic/content/_banner.scss +36 -0
  18. data/vendor/assets/stylesheets/magic/content/_box.scss +120 -0
  19. data/vendor/assets/stylesheets/magic/content/_forms.scss +143 -0
  20. data/vendor/assets/stylesheets/magic/content/_header.scss +368 -0
  21. data/vendor/assets/stylesheets/magic/content/_helper.scss +70 -0
  22. data/vendor/assets/stylesheets/magic/content/_icons.scss +18 -0
  23. data/vendor/assets/stylesheets/magic/content/_panel.scss +48 -0
  24. data/vendor/assets/stylesheets/magic/content/_pix.scss +74 -0
  25. data/vendor/assets/stylesheets/magic/icons/magicons.scss +1 -2
  26. data/vendor/assets/stylesheets/magic/icons/orderlifticons.scss +46 -4
  27. data/vendor/assets/stylesheets/magic/layout/_body.scss +229 -0
  28. data/vendor/assets/stylesheets/magic/layout/_fullpage_table.scss +3 -0
  29. data/vendor/assets/stylesheets/magic/layout/_section.scss +6 -5
  30. data/vendor/assets/stylesheets/magic/{_animation.scss → lib/_animation.scss} +6 -0
  31. data/vendor/assets/stylesheets/magic/lib/_filter.scss +3 -0
  32. data/vendor/assets/stylesheets/magic/{_forms.scss → lib/_forms.scss} +0 -0
  33. data/vendor/assets/stylesheets/magic/{_text.scss → lib/_text.scss} +0 -0
  34. metadata +26 -7
@@ -0,0 +1,143 @@
1
+ //## Signup/Login Forms
2
+ //
3
+ .centered-form {
4
+ text-align: center;
5
+ max-width: 350px;
6
+ padding: 15px;
7
+ margin: 10px auto;
8
+ h2 { margin: 0 0 15px; }
9
+ .form-control {
10
+ position: relative;
11
+ @include border-radius(0);
12
+ margin: 0 0 -1px;
13
+ padding: 10px;
14
+ font-size: 16px;
15
+
16
+
17
+
18
+ height: auto;
19
+ &:first-child { @include border-top-radius(3px); }
20
+ &:last-child { @include border-bottom-radius(3px); margin: 0 0 20px; }
21
+ @include placeholder {
22
+ color: #ccc;
23
+ }
24
+ &:focus, &:active { z-index: 99; }
25
+ }
26
+ }
27
+
28
+
29
+
30
+ // for checkbox and radio fields
31
+ .input-group.labeled {
32
+ .input-group-addon {
33
+ border-color: transparent;
34
+ background: none;
35
+ }
36
+ label {
37
+ position: relative;
38
+ z-index: 2;
39
+ float: left;
40
+ width: 100%;
41
+ margin-bottom: 0;
42
+ border-color: transparent;
43
+ background: none;
44
+ text-align: left;
45
+ @include box-shadow( none );
46
+ }
47
+ }
48
+
49
+
50
+ // error inputs
51
+ .form-control > input.form-control {
52
+ margin: 0 !important;
53
+ padding: 0;
54
+ border: none;
55
+ background: transparent;
56
+ @include box-shadow(none);
57
+ @include placeholder { color: red; }
58
+ }
59
+
60
+ .form-control.error > input.form-control { color: red; }
61
+
62
+ .field_with_errors input.form-control {
63
+ color: red;
64
+ border: solid 1px red;
65
+ }
66
+
67
+ form.corset, .form {
68
+ label {
69
+ display: block; position: relative;
70
+ margin: 0; padding: 7px 0;
71
+ line-height: 20px;
72
+ text-align:left;
73
+ }
74
+ }
75
+
76
+
77
+ // Inputs with Icons (orderlifticons)
78
+ .icon_field {
79
+ display: block; position: relative;
80
+ margin: 0; padding: 0;
81
+ &:after {
82
+ display: block; position: absolute;
83
+ margin: 0; padding: 0;
84
+ left: 2px; top: 0; bottom: 0;
85
+ width: 24px; line-height: 34px;
86
+ text-align: center; vertical-align: middle;
87
+ content: "\e003";
88
+ z-index: 5;
89
+ color: #aaa;
90
+ text-shadow: 0 1px 1px #fff;
91
+ font-family: 'Glyphicons Halflings'; font-weight: normal; font-style: normal;
92
+ font-size: 14px;
93
+ }
94
+ // input {
95
+ // display: block; position: relative;
96
+ // margin: 0; padding-left: 32px;
97
+ // @include box-sizing(border-box);
98
+ // width: 100%; height: 30px;
99
+ // @include placeholder_styles {
100
+ // color: rgba(0,0,0,.20);
101
+ // }
102
+ // }
103
+ input, input.form-control { padding-left: 28px; }
104
+ &.half { width: 50%; margin: 0 auto; }
105
+ &.fat {
106
+ input {
107
+ padding: 11px 20px 9px 34px;
108
+ height: 42px;
109
+ font-size: 18px;
110
+ @include placeholder {
111
+ font-size: 18px;
112
+ color: rgba(0,0,0,.20);
113
+ }
114
+ @include border-radius(0);
115
+
116
+ }
117
+ &:after {
118
+ left: 2px; top: 0; bottom: 0;
119
+ width: 30px; line-height: 44px;
120
+ content: "\f021";
121
+ text-shadow: 0 1px 0 rgba(0,0,0,.01);
122
+ font-size: 18px;
123
+ }
124
+ }
125
+ // glyphicons
126
+ &.search:after { content: "\e003"; }
127
+ &.mail:after { content: "\2709"; }
128
+ &.password:after { content: "\e033"; }
129
+ &.user:after { content: "\e008"; }
130
+ &.location:after { content: "\e062"; }
131
+ &.globe:after { content: "\e135"; }
132
+ &.filter:after { content: "\e138"; }
133
+ &.euro:after { content: "\20ac"; }
134
+ &.dollar:after { content: "\e148"; }
135
+
136
+
137
+ &.euro, &.dollar {
138
+ input { text-align: right; }
139
+ }
140
+
141
+ }
142
+
143
+
@@ -0,0 +1,368 @@
1
+ #header, #main_header, #sub_header, #mainLogo, .phone-box, .phone-box .icon, .phone-box .info_line, .phone-box .number_line,
2
+ .rating, .ratingLogo, .ratingStars, .ratingWrapper,
3
+ .immoscout_recommendation, .immoscout_recommendation .text, .immoscout_recommendation .logo,
4
+ #notices, #notices .alert, #notices .notice, #notices .close_btn,
5
+ .paypal_logo, .sofortueberweisung_logo, .cash_logo
6
+ {
7
+ display: block; position: relative; margin: 0; padding: 0;
8
+ }
9
+
10
+
11
+
12
+ #mainLogo {
13
+ margin: 0 auto;
14
+ height: 50px;
15
+ // width: 130px;
16
+ line-height: 50px;
17
+ // background: transparent image-url("tmp/Logo.png") center center no-repeat;
18
+ // background-size: contain;
19
+ // text-indent: -1000px;
20
+ overflow: hidden;
21
+ img { max-height: 40px; }
22
+ float: none;
23
+ }
24
+ @include responsiveStep-sm {
25
+ #mainLogo {
26
+ margin: 0;
27
+ margin-right: 30px;
28
+ float: left;
29
+ }
30
+ }
31
+
32
+
33
+ #notices {
34
+ top: 100px;
35
+ z-index: 111;
36
+ .alert, .notice {
37
+ z-index: 99;
38
+ padding: 10px 10%;
39
+ font-size: 20px;
40
+ line-height: 30px;
41
+ font-weight: bold;
42
+ z-index: 111;
43
+ text-align: center;
44
+ }
45
+ .alert { background: rgba(204,0,0,.7); color: #fff; }
46
+ .notice { background: rgba(0,153,0,.7); color: #fff; }
47
+ .close_btn {
48
+ position: absolute;
49
+ right: 10px; top: 15px;
50
+ @include squareSize(20);
51
+ text-align: center;
52
+ @include border-radius(30px);
53
+ border: solid 1px #ccc;
54
+ background: #e5e5e5;
55
+ &, & i, & i:before {
56
+ color: #777;
57
+ line-height: 17px;
58
+ }
59
+ line-height: 20px;
60
+ z-index: 115;
61
+ }
62
+ }
63
+ // &.logged_in {
64
+ // #notices { top: 90px; }
65
+ // }
66
+
67
+
68
+ .rating, .immoscout_recommendation, .paypal_logo, .sofortueberweisung_logo, .cash_logo, .logo_lnk {
69
+ // display: none;
70
+ display: block; display: inline-block;
71
+ margin: 0;
72
+ height: 50px;
73
+ overflow: hidden;
74
+ vertical-align: top;
75
+ }
76
+
77
+ .logo_lnk + .logo_lnk {
78
+ margin-left: 10px; margin-right: 0;
79
+ &.pull-right {
80
+ margin-left: 0; margin-right: 10px;
81
+ }
82
+ }
83
+
84
+
85
+ .rating {
86
+ // width: 200px;
87
+ padding-left: 52px;
88
+ padding-top: 8px;
89
+ text-align: left;
90
+ .ratingLogo {
91
+ width: 44px;
92
+ left: 0; top: 3px;
93
+ position: absolute;
94
+ img { max-width: 100%; vertical-align: top; }
95
+ }
96
+ .ratingStars {
97
+ .ratingWrapper {
98
+ // background: image-url("tmp/starRatingGray.png") no-repeat scroll left top transparent;
99
+ height: 18px;
100
+ width: 100px;
101
+ .ratingInner {
102
+ // background: image-url("tmp/starRatingYellow.png") no-repeat scroll left top transparent;
103
+ height: 18px;
104
+ width: 100px;
105
+ }
106
+ }
107
+ }
108
+ }
109
+ .immoscout_recommendation {
110
+ padding: 9px 0 0;
111
+ padding-right: 78px;
112
+ // margin-right: 20px;
113
+ // width: 210px;
114
+ // max-width: 200px;
115
+ .text {
116
+ text-align: right;
117
+ max-width: 100px;
118
+ }
119
+ .logo {
120
+ position: absolute;
121
+ top: 8px; right: 0;
122
+ img {
123
+ max-height: 34px;
124
+ }
125
+ }
126
+ }
127
+ .paypal_logo, .sofortueberweisung_logo, .cash_logo, .card_logos {
128
+ padding: 10px 0;
129
+ img { max-height: 30px; vertical-align: top; }
130
+ }
131
+ .paypal_logo {
132
+
133
+ }
134
+ .sofortueberweisung_logo {
135
+
136
+ }
137
+ .cash_logo {
138
+ padding: 10px 5px 10px 45px;
139
+ line-height: 30px;
140
+ font-size: 16px;
141
+ img { position: absolute; left: 0; top: 10px; }
142
+ }
143
+
144
+ #main-nav-header .rating, #main-nav-header .immoscout_recommendation {
145
+ padding-right: 20px;
146
+ margin-right: 10px;
147
+ border-right: solid 1px #ccc;
148
+ }
149
+ #main-nav-header .rating { margin-right: 20px; }
150
+
151
+
152
+
153
+
154
+ .rating .ratingText, .immoscout_recommendation .text, .phone-box .info_line {
155
+ line-height: 16px;
156
+ font-size: 10px;
157
+ color: $gray;
158
+ @include sansRegular;
159
+ }
160
+
161
+ .navbar-form.navbar-right.hidden-xs {
162
+ margin: 10px 0 7px 0;
163
+ }
164
+
165
+ .phone-box {
166
+ padding: 1px 0 3px 32px;
167
+ .icon {
168
+ position: absolute;
169
+ left: 0; top: 5px;
170
+ width: 30px; height: 30px;
171
+ line-height: 30px;
172
+ font-size: 28px;
173
+ color: transparentize($blue, .4);
174
+ span {
175
+ font-size: 22px;
176
+ color: transparentize($blue, .4);
177
+ line-height: 28px;
178
+ line-height: 25px;
179
+ }
180
+ }
181
+ .info_line {
182
+ // line-height: 12px;
183
+ }
184
+ .number_line {
185
+ line-height: 18px;
186
+ font-size: 16px;
187
+ color: $blue;
188
+ @include sansBold;
189
+ }
190
+ }
191
+
192
+ #header .phone-box {
193
+ padding: 1px 0 3px 0;
194
+ .icon { display: none; }
195
+ }
196
+
197
+ .navbar.navbar-default {
198
+ border:0px;
199
+ margin:0px;
200
+ background-color: rgba(255,255,255,0.0);
201
+ }
202
+
203
+ @include responsiveStep-sm {
204
+ #header .phone-box {
205
+ padding: 1px 0 3px 32px;
206
+ .icon { display: block; }
207
+ }
208
+ }
209
+
210
+ #main-nav li a {
211
+ padding-left:18px;
212
+ }
213
+
214
+ #bs-example-navbar-collapse-1, .navbar-form.navbar-right {
215
+ border: 0px;
216
+ margin: 0px;
217
+ padding:0px;
218
+ }
219
+
220
+ #main-nav-header, #spacing-playcing.nav.navbar-nav, #bs-example-navbar-collapse-1 {
221
+ max-width:1450px;
222
+ margin:auto;
223
+ }
224
+ #main-nav-header, #spacing-playcing.nav.navbar-nav, #bs-example-navbar-collapse-1 {
225
+ @media only screen and (max-width: 1490px) {
226
+ padding-left:20px;
227
+ padding-right:20px;
228
+ }
229
+ }
230
+
231
+ @media only screen and (max-width: 767px) {
232
+ .nav.navbar-nav {
233
+ margin:0px;
234
+ }
235
+ .navbar.navbar-default.navbar-fixed-top {
236
+ @include box-shadow( inset 0 2px 3px 0 rgba(0,0,0,0.35), 0 2px 3px 0 rgba(0,0,0,0.35) );
237
+ border-bottom: 1px solid rgba(0,102,153,0.80);;
238
+ }
239
+ }
240
+
241
+
242
+
243
+
244
+
245
+
246
+ // #main_page {
247
+ // margin-top:59px;
248
+ // }
249
+
250
+ #header {
251
+ position: fixed;
252
+ font-size: 16px;
253
+ top: 0; left: 0; right: 0;
254
+ height: 50px;
255
+ z-index: 23;
256
+ background: #fff;
257
+ @include transform( translateZ( 0 ) );
258
+ .navbar-toggle { float: left; border: solid 1px transparent; }
259
+ .nav.navbar-nav {
260
+ li {
261
+ padding: 0 5px;
262
+ a {
263
+ padding: 15px 10px;
264
+ }
265
+ &.small a {
266
+ padding: 15px 0;
267
+ }
268
+ &.current a {
269
+ color: #369;
270
+ //font-weight: bold;
271
+ }
272
+ }
273
+ &.navbar-left li { text-transform: uppercase; }
274
+ }
275
+
276
+ .phone-link .numbr { display: none; }
277
+ }
278
+
279
+ .phone-link {
280
+ i { font-size: 18px; color: #369; vertical-align: middle; }
281
+ }
282
+
283
+ @media only screen and (min-width: 960px) {
284
+ #header .phone-link .numbr { display: initial; }
285
+ }
286
+
287
+
288
+
289
+
290
+ #header, #form_header {
291
+ .locale_toggle {
292
+ padding: 14px 5px 12px;
293
+ line-height: 22px;
294
+ img.flag_img { max-width: 24px; vertical-align: top; }
295
+ i {
296
+ font-size: 15px;
297
+ vertical-align: middle;
298
+ width: 12px;
299
+ text-align: right;
300
+
301
+ }
302
+ }
303
+ }
304
+
305
+
306
+ #header .nav.navbar-nav li a {
307
+ .btn.btn-xs { margin: -2px 0; }
308
+ .btn.btn-sm { margin: -6px 0; }
309
+ }
310
+
311
+
312
+
313
+ #body { padding-top: 50px; display: block; position: relative; }
314
+
315
+
316
+
317
+ #form_header {
318
+ display: block; position: relative;
319
+ margin: -50px 0 0;
320
+ padding: 20px 0;
321
+ // background: rgba(51,102,153, .25);
322
+ background: whitesmoke;
323
+ .navbar-brand { float: none; display: inline-block;}
324
+ .btn-sm { margin: 10px 0; }
325
+ .btn-group { margin: 6px 0;}
326
+ }
327
+
328
+ #one_two_three {
329
+ display: block; position: relative;
330
+ .nmbr {
331
+ display: block; display: inline-block; position: relative;
332
+ $sz: 50px;
333
+ width: $sz; height: $sz; line-height: $sz * .94;
334
+ background: whitesmoke;
335
+ font-weight: bold;
336
+ color: #ccc;
337
+ font-size: 16px;
338
+ margin: 0 10px;
339
+ border: solid 3px #ccc;
340
+ text-align: center;
341
+ @include border-radius(75px);
342
+ }
343
+ &.one #one { background: #369; color: #fff; }
344
+ &.two #two { background: #369; color: #fff; }
345
+ &.three #three { background: #369; color: #fff; }
346
+ }
347
+
348
+
349
+ .bg-white {
350
+ background-color: white;
351
+ }
352
+
353
+ .phone-box.pull-right.visible-xs {
354
+ margin: 4px 10px 0 0;
355
+ }
356
+ @media only screen and (max-width: 450px) {
357
+ .phone-box.pull-right.visible-xs {
358
+ display:none !important;
359
+ }
360
+ }
361
+
362
+ #bs-example-navbar-collapse-1 {
363
+ overflow:visible;
364
+ }
365
+
366
+
367
+
368
+