magic_stylez 0.0.0.65 → 0.0.0.66

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b28ec95bb6e05df1b3d26aa8dfc604adf394f2c8
4
- data.tar.gz: d7597acc388c90f7d2d7985ce2381ba954bb9f50
3
+ metadata.gz: f2026ed1550aa1d95431cbbe782aa61389172db4
4
+ data.tar.gz: 208fe0a4cbc759145ea39b06c7a3e6bf00027ef1
5
5
  SHA512:
6
- metadata.gz: 3054bfab91d12849ad28ef141ca52b6771259ffddb0d909a911518b030b09cde4acbc424e8b3690fa0a59846d9e1b2236b1ae7968b56c02eefd384b52f66b6fe
7
- data.tar.gz: 2d00d0f9b1b7454d26be8c0fda9a986a02231569a159887c9052f27d1dd92d5c96bed901943e66547b9eaacf353d26448f3ec849315b0c2f3fb86e76e0e44e73
6
+ metadata.gz: b64723b8458290a6009d3ae0558f6d0e6aa59a1c810fa974c7945d0bea84938de62bf0c317ba891f4a3084e303f159184a71d9f270765cb3e3b0edcb81847c54
7
+ data.tar.gz: e5f8384c50b1e982ff6f32283b9f4d3b2025cc002988256e23222b20b3a3c42698e04287236f2b03e9e94398948436f41a948cae9dc200f60298d3e769aa468b
@@ -1,3 +1,3 @@
1
1
  module MagicStylez
2
- VERSION = "0.0.0.65"
2
+ VERSION = "0.0.0.66"
3
3
  end
@@ -37,6 +37,9 @@ navigate = ->
37
37
 
38
38
 
39
39
  $ ->
40
+
41
+ navigate()
42
+
40
43
  $("body").on "click", "#mobile_header", ->
41
44
  $("body").toggleClass("aside-on")
42
45
  false
@@ -87,6 +87,116 @@
87
87
  </div>
88
88
 
89
89
 
90
+
91
+ <div class="section black">
92
+ <div class="corset">
93
+ <h4>.black</h4>
94
+ </div>
95
+ </div>
96
+ <div class="section rotated top-left bright">
97
+ <div class="corset">
98
+ <h4>.rotated.top-left</h4>
99
+ <div class="well">
100
+ <strong>Caution!</strong> rotated sections need the following css:
101
+ <br/>
102
+ <code>html, body { overflow-x: hidden; }</code>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ <div class="section black">
107
+ <div class="corset">
108
+ <h4>.black</h4>
109
+ </div>
110
+ </div>
111
+
112
+ <div class="section rotated top-right bright">
113
+ <div class="corset">
114
+ <h4>.rotated.top-right </h4>
115
+ <div class="well">
116
+ <strong>Caution!</strong> rotated sections need the following css:
117
+ <br/>
118
+ <code>html, body { overflow-x: hidden; }</code>
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <div class="section black">
124
+ <div class="corset">
125
+ <h4>.black</h4>
126
+ </div>
127
+ </div>
128
+ <div class="section rotated bottom-left bright">
129
+ <div class="corset">
130
+ <h4>.rotated.bottom-left</h4>
131
+ <div class="well">
132
+ <strong>Caution!</strong> rotated sections need the following css:
133
+ <br/>
134
+ <code>html, body { overflow-x: hidden; }</code>
135
+ </div>
136
+ </div>
137
+ </div>
138
+ <div class="section black">
139
+ <div class="corset">
140
+ <h4>.black</h4>
141
+ </div>
142
+ </div>
143
+
144
+ <div class="section rotated bottom-right bright">
145
+ <div class="corset">
146
+ <h4>.rotated.bottom-right</h4>
147
+ <div class="well">
148
+ <strong>Caution!</strong> rotated sections need the following css:
149
+ <br/>
150
+ <code>html, body { overflow-x: hidden; }</code>
151
+ </div>
152
+ </div>
153
+ </div>
154
+
155
+ <div class="section black">
156
+ <div class="corset">
157
+ <h4>.black</h4>
158
+ </div>
159
+ </div>
160
+ <div class="section rotated both-left bright">
161
+ <div class="corset">
162
+ <h4>.rotated.both-left</h4>
163
+ <div class="well">
164
+ <strong>Caution!</strong> rotated sections need the following css:
165
+ <br/>
166
+ <code>html, body { overflow-x: hidden; }</code>
167
+ </div>
168
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
169
+ </div>
170
+ </div>
171
+ <div class="section image">
172
+ <div class="corset">
173
+ <h4>.image</h4>
174
+ <br/>
175
+ <br/>
176
+ <p>with pictures makes more sensce ...</p>
177
+ </div>
178
+ </div>
179
+
180
+ <div class="section rotated both-right brand">
181
+ <div class="corset">
182
+ <h4>.rotated.both-right</h4>
183
+ <div class="well">
184
+ <strong>Caution!</strong> rotated sections need the following css:
185
+ <br/>
186
+ <code>html, body { overflow-x: hidden; }</code>
187
+ </div>
188
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
189
+ </div>
190
+ </div>
191
+ <div class="section image">
192
+ <div class="corset">
193
+ <h4>.image</h4>
194
+ <br/>
195
+ <p>with pictures makes more sensce ...</p>
196
+ </div>
197
+ </div>
198
+
199
+
90
200
  <div class="section">
91
201
  <div class="corset">
92
202
  <h2>Sizes:</h2>
@@ -3,6 +3,7 @@
3
3
  html, body {
4
4
  width: 100%; height: 100%; position: relative;
5
5
  background: #f3f2f2;
6
+ overflow-x: hidden;
6
7
  }
7
8
  body {
8
9
  position: relative;
@@ -110,7 +110,7 @@ $stripe_color: $gray-light;
110
110
 
111
111
  $circle_width: 1;
112
112
  $stripe_border: .01;
113
- $stripe_width: .03;
113
+ $stripe_width: .05;
114
114
 
115
115
  $front_color: $white;
116
116
  $stripe_color: $gray-light;
@@ -172,9 +172,9 @@ $stripe_color: $gray-light;
172
172
  top: percentage($pos); left: percentage($pos);
173
173
  @include border-radius( 1000px );
174
174
  width: percentage($width); height: percentage($width);
175
- line-height: percentage($width);
175
+ line-height: 100%;
176
176
  text-align: center;
177
- font-size: percentage($width / 4);
177
+ font-size: ($width / 4);
178
178
  font-weight: bold;
179
179
  text-shadow: 0 1px 2px #000;
180
180
  color: #999;
@@ -11,6 +11,19 @@
11
11
 
12
12
  &.z, &.zindex, &.z-index { z-index: 1; }
13
13
 
14
+
15
+ &.image {
16
+ &.fixed { background-attachment: fixed; z-index: 3; }
17
+
18
+ background-color: transparent;
19
+ background-position: center center;
20
+ background-repeat: no-repeat;
21
+ background-size: cover;
22
+ background-image: url('http://lorempixel.com/g/1200/500/nature/');
23
+
24
+ .corset, .container { background: transparent; }
25
+ }
26
+
14
27
  //
15
28
  // Sections with shine
16
29
  //
@@ -89,6 +102,12 @@
89
102
  background: $section-dark-background;
90
103
  .three-previews .preview { border-color: $main-border-color; }
91
104
  @include all_form_elements { background: $section-dark-input-bg; }
105
+ }
106
+ &.black {
107
+ background: #333;
108
+ color: #fff;
109
+ .three-previews .preview { border-color: $main-border-color; }
110
+ @include all_form_elements { background: $section-dark-input-bg; }
92
111
  }
93
112
  &.bright {
94
113
  background: $section-bright-background;
@@ -116,7 +135,10 @@
116
135
  background: $section-three-background;
117
136
  @include all_form_elements { background: $section-three-input-bg; }
118
137
  }
119
-
138
+
139
+ //
140
+ // Header Section
141
+ //
120
142
  &.head {
121
143
  z-index: 2;
122
144
  background: $section-head-background;
@@ -132,7 +154,9 @@
132
154
  @include all_form_elements { background: $section-head-input-bg; }
133
155
  }
134
156
 
135
-
157
+ //
158
+ // Speech Section
159
+ //
136
160
  &.speech {
137
161
  &:after {
138
162
  display: block; position: absolute; content: "";
@@ -179,6 +203,50 @@
179
203
  }
180
204
 
181
205
 
206
+ //
207
+ // Rotated Sections
208
+ //
209
+ &.rotated {
210
+ z-index: 99;
211
+ &:after, &:before {
212
+ display: none; position: absolute; content: "";
213
+ margin: 0; padding: 0;
214
+ height: $section-padding * 1.4;
215
+ left: -10%; right: -10%;
216
+ z-index: -1;
217
+ background: inherit;
218
+ }
219
+ &:before { top: -1 * $section-padding / 2; }
220
+ &:after { bottom: -1 * $section-padding / 2; }
221
+
222
+ &.top-left, &.top-right, &.both-left, &.both-right {
223
+ &:before { display: block; }
224
+ }
225
+ &.bottom-left, &.bottom-right, &.both-left, &.both-right {
226
+ &:after { display: block; }
227
+ }
228
+
229
+
230
+ &.top-left, &.both-left {
231
+ &:before { @include rotation( 2 ); }
232
+ }
233
+ &.top-right, &.both-right {
234
+ &:before { @include rotation( -2 ); }
235
+ }
236
+ &.bottom-left, &.both-left {
237
+ &:after { @include rotation( 2 ); }
238
+ }
239
+ &.bottom-right, &.both-right {
240
+ &:after { @include rotation( -2 ); }
241
+ }
242
+
243
+
244
+
245
+ // &.top-right:before { @include rotation( -2 ); }
246
+ // &.bottom-right:after { @include rotation( -2 ); }
247
+
248
+ }
249
+
182
250
  }
183
251
 
184
252
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_stylez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.65
4
+ version: 0.0.0.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Wetzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-07 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails