magic_stylez 0.0.0.13 → 0.0.0.19
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 +4 -4
- data/.gitignore +2 -1
- data/lib/magic_stylez/engine.rb +3 -6
- data/lib/magic_stylez/version.rb +1 -1
- data/test/dummy/app/assets/javascripts/app.js.coffee +41 -18
- data/test/dummy/app/assets/javascripts/application.js +1 -0
- data/test/dummy/app/assets/javascripts/assets.js.coffee.erb +29 -0
- data/test/dummy/app/assets/javascripts/blank.js +14 -0
- data/test/dummy/app/assets/javascripts/views/app/start.jst.eco +13 -3
- data/test/dummy/app/assets/javascripts/views/effects/shadows.jst.eco +24 -24
- data/test/dummy/app/assets/javascripts/views/elements/buttons.jst.eco +131 -0
- data/test/dummy/app/assets/javascripts/views/elements/circle_diagram.jst.eco +67 -0
- data/test/dummy/app/assets/javascripts/views/elements/inputs.jst.eco +185 -0
- data/test/dummy/app/assets/javascripts/views/{elements → helper}/arrow_infos.jst.eco +5 -5
- data/test/dummy/app/assets/javascripts/views/helper/crossed_text.jst.eco +33 -0
- data/test/dummy/app/assets/javascripts/views/helper/divider.jst.eco +82 -0
- data/test/dummy/app/assets/javascripts/views/helper/three_previews.jst.eco +46 -0
- data/test/dummy/app/assets/javascripts/views/icons/glyphicons.jst.eco +24 -0
- data/test/dummy/app/assets/javascripts/views/icons/icomoon.jst.eco +24 -0
- data/test/dummy/app/assets/javascripts/views/icons/magicons.jst.eco +25 -0
- data/test/dummy/app/assets/javascripts/views/icons/olicons.jst.eco +1774 -0
- data/test/dummy/app/assets/javascripts/views/templates/fixed_header.jst.eco +5 -0
- data/test/dummy/app/assets/javascripts/views/templates/responsive_slidebar.jst.eco +5 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +80 -31
- data/test/dummy/app/controllers/front_controller.rb +11 -0
- data/test/dummy/app/views/front/_aside.html.erb +27 -28
- data/test/dummy/app/views/front/start.html.erb +13 -3
- data/test/dummy/app/views/front/templates.html.erb +85 -0
- data/test/dummy/app/views/layouts/application.html.erb +0 -2
- data/test/dummy/app/views/layouts/blank.html.erb +17 -0
- data/test/dummy/app/views/templates/_lorem.html.erb +89 -0
- data/test/dummy/app/views/templates/fixed-header.html.erb +53 -0
- data/test/dummy/app/views/templates/responsive-slidebar.html.erb +55 -0
- data/test/dummy/config/application.rb +1 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/public/html/fixed-header.html.erb +158 -0
- data/test/dummy/public/html/index.html +173 -0
- data/test/dummy/public/html/responsive-slidebar.html.erb +160 -0
- data/vendor/assets/fonts/magic/icomoon.eot +0 -0
- data/vendor/assets/fonts/magic/icomoon.svg +461 -0
- data/vendor/assets/fonts/magic/icomoon.ttf +0 -0
- data/vendor/assets/fonts/magic/icomoon.woff +0 -0
- data/vendor/assets/images/magic/helper/blank_10.png +0 -0
- data/vendor/assets/images/magic/helper/white_10.png +0 -0
- data/vendor/assets/javascripts/magic/circle_diagram.js.coffee +146 -0
- data/vendor/assets/javascripts/magic/collapse.js.coffee +11 -0
- data/vendor/assets/javascripts/magic/helper.js.coffee +19 -0
- data/vendor/assets/javascripts/magic-min.js.coffee +22 -0
- data/vendor/assets/javascripts/magic-stylez.js.coffee +5 -0
- data/vendor/assets/stylesheets/magic/content/_box.scss +14 -5
- data/vendor/assets/stylesheets/magic/content/_buttons.scss +285 -0
- data/vendor/assets/stylesheets/magic/content/_forms.scss +2 -70
- data/vendor/assets/stylesheets/magic/content/_inputs.scss +149 -0
- data/vendor/assets/stylesheets/magic/content/_navbar.scss +59 -0
- data/vendor/assets/stylesheets/magic/corporate/_fonts.scss +1 -1
- data/vendor/assets/stylesheets/magic/corporate/_typo.scss +8 -1
- data/vendor/assets/stylesheets/magic/corporate/_variables.scss +1 -3
- data/vendor/assets/stylesheets/magic/effects/_noise.scss +36 -0
- data/vendor/assets/stylesheets/magic/effects/_shadows.scss +22 -22
- data/vendor/assets/stylesheets/magic/elements/_circle_diagram.scss +214 -0
- data/vendor/assets/stylesheets/magic/helper/_all.scss +5 -0
- data/vendor/assets/stylesheets/magic/helper/_arrow_hints.scss +28 -0
- data/vendor/assets/stylesheets/magic/helper/_crossed.scss +22 -0
- data/vendor/assets/stylesheets/magic/helper/_divider.scss +48 -0
- data/vendor/assets/stylesheets/magic/helper/_dots.scss +26 -0
- data/vendor/assets/stylesheets/magic/helper/_three_previews.scss +33 -0
- data/vendor/assets/stylesheets/magic/icons/icomoon.scss +1392 -0
- data/vendor/assets/stylesheets/magic/layout/_section.scss +18 -2
- data/vendor/assets/stylesheets/magic/lib/_animation.scss +0 -6
- data/vendor/assets/stylesheets/magic/lib/_helper.scss +92 -0
- data/vendor/assets/stylesheets/magic/{layout → xxx}/_body.scss +0 -0
- data/vendor/assets/stylesheets/magic/{content → xxx}/_header.scss +0 -0
- data/vendor/assets/stylesheets/magic-stylez.scss +18 -79
- metadata +103 -41
- data/test/dummy/app/assets/javascripts/views/elements/icons.jst.eco +0 -9004
- data/test/dummy/public/xindex.html +0 -136
- data/vendor/assets/stylesheets/magic/content/_helper.scss +0 -70
@@ -141,39 +141,9 @@ form.corset, .form {
|
|
141
141
|
}
|
142
142
|
|
143
143
|
|
144
|
-
.btn-group-block.input-group {
|
145
|
-
.btn {
|
146
|
-
text-align: left;
|
147
|
-
padding: 10px;
|
148
|
-
&.icn {
|
149
|
-
text-align: center;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
}
|
153
144
|
|
154
|
-
|
155
|
-
|
156
|
-
display: table;
|
157
|
-
width: 100%;
|
158
|
-
margin: 0 0 10px;
|
159
|
-
text-decoration: none;
|
160
|
-
.btn {
|
161
|
-
display: table-cell;
|
162
|
-
width: auto;
|
163
|
-
width: 99%;
|
164
|
-
&.icn { width: 1%; }
|
165
|
-
border-collapse: separate;
|
166
|
-
border-spacing: 0;
|
167
|
-
@include border-radius(0);
|
168
|
-
&:first-child { @include border-left-radius(5px); }
|
169
|
-
&:last-child { @include border-right-radius(5px); }
|
170
|
-
}
|
171
|
-
.btn + .btn {
|
172
|
-
border-left: none;
|
173
|
-
}
|
174
|
-
&.half { width: 50%; margin-left: auto; margin-right: auto; }
|
175
|
-
&:hover { text-decoration: none !important; }
|
176
|
-
}
|
145
|
+
|
146
|
+
|
177
147
|
|
178
148
|
.fullpage-table > .table-row > * {
|
179
149
|
.btn-group-block { margin: 0; }
|
@@ -203,41 +173,3 @@ form.corset, .form {
|
|
203
173
|
|
204
174
|
|
205
175
|
|
206
|
-
.btn-app, .btn-google, .btn-facebook, .btn-twitter {
|
207
|
-
// padding: 5px 22px !important;
|
208
|
-
color: #fff;
|
209
|
-
&:hover, &:active {
|
210
|
-
color: #fff;
|
211
|
-
}
|
212
|
-
&.icn { font-size: 24px !important; padding: 2px 7px 0 7px !important; line-height: 28px !important; }
|
213
|
-
}
|
214
|
-
|
215
|
-
.btn-socials {
|
216
|
-
padding: 5px 22px !important;
|
217
|
-
}
|
218
|
-
|
219
|
-
.btn-facebook {
|
220
|
-
background: #3b5998;
|
221
|
-
text-shadow: 0 1px 0 #3b5998;
|
222
|
-
vertical-align: middle;
|
223
|
-
&:hover { background: darken(#3b5998, 5%); }
|
224
|
-
&:active { background: darken(#3b5998, 10%) \9; }
|
225
|
-
}
|
226
|
-
|
227
|
-
.btn-google {
|
228
|
-
background: #dd4b39;
|
229
|
-
text-shadow: 0 1px 0 #dd4b39;
|
230
|
-
&:hover { background: #e74b37; }
|
231
|
-
&:active { background: #be3e2e; }
|
232
|
-
}
|
233
|
-
|
234
|
-
.btn-twitter {
|
235
|
-
background: #00aced;
|
236
|
-
text-shadow: 0 1px 0 #00aced;
|
237
|
-
&:hover { background: darken(#00aced, 10%); }
|
238
|
-
&:active { background: darken(#00aced, 20%); }
|
239
|
-
}
|
240
|
-
|
241
|
-
.btn-paypal {
|
242
|
-
background: #12398c;
|
243
|
-
}
|
@@ -0,0 +1,149 @@
|
|
1
|
+
// Form control sizing
|
2
|
+
//
|
3
|
+
// Relative text size, padding, and border-radii changes for form controls. For
|
4
|
+
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
|
5
|
+
// element gets special love because it's special, and that's a fact!
|
6
|
+
// [converter] $parent hack
|
7
|
+
@mixin inpt-sizing($parent, $input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
|
8
|
+
$input-height: $input-height + 1;
|
9
|
+
&#{$parent} > * { height: $input-height; }
|
10
|
+
&#{$parent} > .icn {
|
11
|
+
height: $input-height;
|
12
|
+
max-height: $input-height;
|
13
|
+
font-size: $font-size * 1.2;
|
14
|
+
padding: $padding-vertical 2px;
|
15
|
+
line-height: floor(($font-size * $line-height));
|
16
|
+
@include inpt_icn_width( ($font-size * $line-height), $padding-base-vertical );
|
17
|
+
}
|
18
|
+
&#{$parent} > .inpt > input {
|
19
|
+
height: $input-height;
|
20
|
+
padding: $padding-vertical $padding-horizontal $padding-vertical 5px;
|
21
|
+
font-size: $font-size;
|
22
|
+
line-height: $line-height;
|
23
|
+
border-radius: $border-radius;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
@mixin inpt_icn_width( $lineHeight: 20px, $verticalPadding: 10px ) {
|
27
|
+
$wdth: 2 + $lineHeight + $verticalPadding * 2;
|
28
|
+
min-width: $wdth;
|
29
|
+
max-width: $wdth;
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
.inpt-splited, .inpt-divided {
|
34
|
+
|
35
|
+
display: table;
|
36
|
+
width: auto;
|
37
|
+
width: 100%;
|
38
|
+
// margin: 0 0 10px;
|
39
|
+
padding: 0 !important;
|
40
|
+
// font-size: $font-size-base;
|
41
|
+
// line-height: $line-height-base;
|
42
|
+
// color: $input-color;
|
43
|
+
background-color: $input-bg;
|
44
|
+
background-image: none; // Reset unusual Firefox-on-Android default style
|
45
|
+
|
46
|
+
border: 1px solid $input-border;
|
47
|
+
border-radius: $input-border-radius;
|
48
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
49
|
+
@include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
|
50
|
+
|
51
|
+
& > * {
|
52
|
+
display: table-cell; position: relative;
|
53
|
+
padding: 0; margin: 0;
|
54
|
+
|
55
|
+
height: $input-height-base + 1;
|
56
|
+
font-size: inherit;
|
57
|
+
line-height: inherit;
|
58
|
+
color: inherit;
|
59
|
+
background-color: inherit;
|
60
|
+
background-image: none; // Reset unusual Firefox-on-Android default style
|
61
|
+
text-shadow: inherit;
|
62
|
+
width: auto;
|
63
|
+
width: 98%;
|
64
|
+
@include border-radius(0);
|
65
|
+
vertical-align: middle;
|
66
|
+
border: none;
|
67
|
+
@include box-shadow( none );
|
68
|
+
|
69
|
+
|
70
|
+
&:first-child, &:first-child input { @include border-left-radius($border-radius-base); }
|
71
|
+
&:last-child, &:last-child input { @include border-right-radius($border-radius-base); }
|
72
|
+
|
73
|
+
&.inpt {
|
74
|
+
input, label, textarea {
|
75
|
+
display: block; position: relative;
|
76
|
+
padding: $padding-base-vertical $padding-base-horizontal $padding-base-vertical 5px;
|
77
|
+
margin: 0;
|
78
|
+
height: $input-height-base + 1;
|
79
|
+
@include box-sizing(border-box);
|
80
|
+
border: none;
|
81
|
+
@include box-shadow( none );
|
82
|
+
outline: none;
|
83
|
+
width: 100%;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
&.icn {
|
88
|
+
width: 2%;
|
89
|
+
font-size: $font-size-base * 1.2;
|
90
|
+
line-height: $line-height-computed;
|
91
|
+
padding: $padding-base-vertical 2px;
|
92
|
+
text-align: center;
|
93
|
+
color: lighten($input-color, 20%);
|
94
|
+
@include inpt_icn_width( $line-height-computed, $padding-base-vertical );
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
// Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
99
|
+
@include inpt-sizing('.input-xs', $input-height-xs, $padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $border-radius-small);
|
100
|
+
|
101
|
+
@include inpt-sizing('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
|
102
|
+
|
103
|
+
@include inpt-sizing('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
// Customize the `:focus` state to imitate native WebKit styles.
|
108
|
+
@include form-control-focus();
|
109
|
+
|
110
|
+
// Placeholder
|
111
|
+
@include placeholder();
|
112
|
+
|
113
|
+
// Disabled and read-only inputs
|
114
|
+
//
|
115
|
+
// HTML5 says that controls under a fieldset > legend:first-child won't be
|
116
|
+
// disabled if the fieldset is disabled. Due to implementation difficulty, we
|
117
|
+
// don't honor that edge case; we style them as disabled anyway.
|
118
|
+
&[disabled],
|
119
|
+
&[readonly],
|
120
|
+
fieldset[disabled] & {
|
121
|
+
cursor: not-allowed;
|
122
|
+
background-color: $input-bg-disabled;
|
123
|
+
opacity: 1; // iOS fix for unreadable disabled content
|
124
|
+
}
|
125
|
+
|
126
|
+
// [converter] extracted textarea& to textarea.form-control
|
127
|
+
}
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
// Reset height for `textarea`s
|
132
|
+
textarea.form-control {
|
133
|
+
height: auto;
|
134
|
+
height: $line-height-computed * 2 + $padding-base-vertical * 2;
|
135
|
+
width: 100% !important;
|
136
|
+
max-width: 100%;
|
137
|
+
}
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
// Form control sizing
|
142
|
+
//
|
143
|
+
// Build on `.form-control` with modifier classes to decrease or increase the
|
144
|
+
// height and font-size of form controls.
|
145
|
+
|
146
|
+
@include input-size('.input-xs', $input-height-xs, $padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $line-height-small, $border-radius-small);
|
147
|
+
|
148
|
+
|
149
|
+
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// some changes to twbs navbar
|
2
|
+
|
3
|
+
// Basics of a navbar
|
4
|
+
// $navbar-height: 50px !default;
|
5
|
+
// $navbar-margin-bottom: $line-height-computed !default;
|
6
|
+
// $navbar-border-radius: $border-radius-base !default;
|
7
|
+
// $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
|
8
|
+
// $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
|
9
|
+
// $navbar-collapse-max-height: 340px !default;
|
10
|
+
|
11
|
+
/*
|
12
|
+
.navbar
|
13
|
+
.header
|
14
|
+
.navbar-brand
|
15
|
+
.navbar-collapse
|
16
|
+
|
17
|
+
|
18
|
+
*/
|
19
|
+
.navbar {
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
// default hight 50px
|
24
|
+
a.btn {
|
25
|
+
@include vertical-padding( $navbar-padding-vertical / 2 - 1 );
|
26
|
+
@include vertical-margin( $navbar-padding-vertical / 2 );
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
}
|
36
|
+
|
37
|
+
@media (max-width: $grid-float-breakpoint) {
|
38
|
+
.navbar {
|
39
|
+
&.navbar-slidebar {
|
40
|
+
.navbar-collapse {
|
41
|
+
display: block; position: fixed;
|
42
|
+
top: 0; right: auto; bottom: 0; left: 0;
|
43
|
+
background: $dark-bg;
|
44
|
+
@include transform( translateZ( 0 ) );
|
45
|
+
@include transform( translateX( -222px ) );
|
46
|
+
width: 220px;
|
47
|
+
max-height: none;
|
48
|
+
overflow-y: scroll;
|
49
|
+
@include transition (all 0.7s ease-in-out);
|
50
|
+
.btn { @include horizontal-margin( 15px ); width: auto; }
|
51
|
+
&.on { @include transform( translateX( 0 ) ); }
|
52
|
+
}
|
53
|
+
|
54
|
+
&.fixed-top .navbar-collapse, &.navbar-fixed-top .navbar-collapse {
|
55
|
+
top: 50px;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
@@ -26,8 +26,15 @@ $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
|
|
26
26
|
|
27
27
|
//** Unit-less `line-height` for use in components like buttons.
|
28
28
|
$line-height-base: 1.428571429 !default; // 20/14
|
29
|
+
$line-height-large: 1.33 !default;
|
30
|
+
$line-height-small: 1.5 !default;
|
31
|
+
|
32
|
+
|
29
33
|
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
|
30
|
-
$line-height-computed:
|
34
|
+
$line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
|
35
|
+
$line-height-computed-lg: floor(($font-size-large * $line-height-large)) !default; // ~20px
|
36
|
+
$line-height-computed-sm: floor(($font-size-small * $line-height-small)) !default; // ~20px
|
37
|
+
$line-height-computed-xs: floor(($font-size-small * $line-height-small)) !default; // ~20px
|
31
38
|
|
32
39
|
//** By default, this inherits from the `<body>`.
|
33
40
|
// $headings-font-family: inherit !default;
|
@@ -36,9 +36,6 @@ $padding-small-horizontal: 10px !default;
|
|
36
36
|
$padding-xs-vertical: 1px !default;
|
37
37
|
$padding-xs-horizontal: 5px !default;
|
38
38
|
|
39
|
-
$line-height-large: 1.33 !default;
|
40
|
-
$line-height-small: 1.5 !default;
|
41
|
-
|
42
39
|
$border-radius-base: 4px !default;
|
43
40
|
$border-radius-large: 6px !default;
|
44
41
|
$border-radius-small: 3px !default;
|
@@ -71,6 +68,7 @@ $input-height-base: ($line-height-computed + ($padding-base-vertica
|
|
71
68
|
$input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
|
72
69
|
//** Small `.form-control` height
|
73
70
|
$input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
|
71
|
+
$input-height-xs: (floor($font-size-small * $line-height-small) + ($padding-xs-vertical * 2) + 2) !default;
|
74
72
|
|
75
73
|
|
76
74
|
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
CSS Noise Code Snippet by James Brocklehurst.
|
4
|
+
Find out more at http://www.mightymeta.co.uk/1269/css-noise/
|
5
|
+
|
6
|
+
Instructions:
|
7
|
+
|
8
|
+
1. Add the snippet to the bottom of your main stylesheet.
|
9
|
+
|
10
|
+
2. Add class="noise" to HTML elements to apply noise, use class="body-noise" for body element only.
|
11
|
+
|
12
|
+
3. Use grouped selectors instead if you want to avoid unsemantic class attributes.
|
13
|
+
|
14
|
+
*/
|
15
|
+
|
16
|
+
/*** SNIPPET STARTS ***/
|
17
|
+
|
18
|
+
.noise {
|
19
|
+
position: relative;
|
20
|
+
z-index: 1;
|
21
|
+
}
|
22
|
+
|
23
|
+
.noise:before, .body-noise:before {
|
24
|
+
content: "";
|
25
|
+
position: absolute;
|
26
|
+
z-index: -1;
|
27
|
+
top:0;
|
28
|
+
bottom:0;
|
29
|
+
left:0;
|
30
|
+
right:0;
|
31
|
+
opacity: .42;
|
32
|
+
background-image: url(data:image/png;base64,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);
|
33
|
+
|
34
|
+
}
|
35
|
+
|
36
|
+
/*** SNIPPET ENDS ***/
|
@@ -23,14 +23,14 @@
|
|
23
23
|
|
24
24
|
|
25
25
|
@mixin raised_shadow( $color, $times: 3, $horizontal: 0, $vertical: 10px, $blur: 10px, $size: -10px ) {
|
26
|
-
position: relative;
|
27
|
-
display: block;
|
26
|
+
// position: relative;
|
27
|
+
// display: block;
|
28
28
|
@include make_shadows($horizontal, $vertical, $blur, $size, $color, $times);
|
29
29
|
}
|
30
30
|
|
31
31
|
@mixin pseudo_raised_shadow($color,$times:3,$gap:10px,$radius:3px,$horizontal:0,$vertical:3px,$blur:7px,$size:0){
|
32
|
-
position: relative;
|
33
|
-
display: block;
|
32
|
+
// position: relative;
|
33
|
+
// display: block;
|
34
34
|
// z-index: 3;
|
35
35
|
&:before {
|
36
36
|
content: ""; display: block; position: absolute; width:auto;
|
@@ -46,8 +46,8 @@
|
|
46
46
|
}
|
47
47
|
|
48
48
|
@mixin lifted_shadow( $color, $times: 3, $horizontal: 0, $vertical: 15px, $blur: 10px, $size: 0 ) {
|
49
|
-
position: relative;
|
50
|
-
display: block;
|
49
|
+
// position: relative;
|
50
|
+
// display: block;
|
51
51
|
&:before, &:after {
|
52
52
|
content: ""; display: block; position: absolute;
|
53
53
|
bottom:15px;
|
@@ -67,8 +67,8 @@
|
|
67
67
|
}
|
68
68
|
|
69
69
|
@mixin perspective_shadow( $color, $times: 3, $degre: 30, $blur: 10px ) {
|
70
|
-
position: relative;
|
71
|
-
display: block;
|
70
|
+
// position: relative;
|
71
|
+
// display: block;
|
72
72
|
&:before, &:after {
|
73
73
|
content: ""; display: block; position: absolute;
|
74
74
|
background: transparent;
|
@@ -92,8 +92,8 @@
|
|
92
92
|
}
|
93
93
|
|
94
94
|
@mixin vertical_curves( $color, $times: 3, $horizontal: 0, $vertical: 0, $blur: 15px, $size: 0 ) {
|
95
|
-
position: relative;
|
96
|
-
display: block;
|
95
|
+
// position: relative;
|
96
|
+
// display: block;
|
97
97
|
&:before {
|
98
98
|
content: ""; display: block; position: absolute;
|
99
99
|
top: 10px; bottom: 10px;
|
@@ -105,8 +105,8 @@
|
|
105
105
|
}
|
106
106
|
|
107
107
|
@mixin horizontal_curves( $color, $times: 3, $horizontal: 0, $vertical: 0, $blur: 15px, $size: 0 ) {
|
108
|
-
position: relative;
|
109
|
-
display: block;
|
108
|
+
// position: relative;
|
109
|
+
// display: block;
|
110
110
|
&:before {
|
111
111
|
content: ""; display: block; position: absolute;
|
112
112
|
top: 0; bottom: 0;
|
@@ -118,8 +118,8 @@
|
|
118
118
|
}
|
119
119
|
|
120
120
|
@mixin vertical_shine( $color, $times: 1, $width: 3px, $blur: 10px, $size: 0 ) {
|
121
|
-
position: relative;
|
122
|
-
display: block;
|
121
|
+
// position: relative;
|
122
|
+
// display: block;
|
123
123
|
overflow: hidden;
|
124
124
|
&:before, &:after {
|
125
125
|
content: ""; display: block; position: absolute; z-index: 55;
|
@@ -139,8 +139,8 @@
|
|
139
139
|
}
|
140
140
|
|
141
141
|
@mixin horizontal_shine( $color, $times: 1, $width: 3px, $blur: 10px, $size: 0 ) {
|
142
|
-
position: relative;
|
143
|
-
display: block;
|
142
|
+
// position: relative;
|
143
|
+
// display: block;
|
144
144
|
overflow: hidden;
|
145
145
|
&:before, &:after {
|
146
146
|
content: ""; display: block; position: absolute; z-index: 55;
|
@@ -163,8 +163,8 @@
|
|
163
163
|
$that: "";
|
164
164
|
$horizontal: 0;
|
165
165
|
$vertical: 0;
|
166
|
-
position: relative;
|
167
|
-
display: block;
|
166
|
+
// position: relative;
|
167
|
+
// display: block;
|
168
168
|
&:before {
|
169
169
|
content:""; position:absolute; z-index: -2;
|
170
170
|
@if $position == top {
|
@@ -202,8 +202,8 @@
|
|
202
202
|
$that: "";
|
203
203
|
$horizontal: 0;
|
204
204
|
$vertical: 0;
|
205
|
-
position: relative;
|
206
|
-
display: block;
|
205
|
+
// position: relative;
|
206
|
+
// display: block;
|
207
207
|
overflow:hidden;
|
208
208
|
&:before {
|
209
209
|
content:""; position:absolute; z-index: 3;
|
@@ -241,8 +241,8 @@
|
|
241
241
|
|
242
242
|
|
243
243
|
@mixin paper_shadow( $color, $times: 3 ) {
|
244
|
-
position: relative;
|
245
|
-
display: block;
|
244
|
+
// position: relative;
|
245
|
+
// display: block;
|
246
246
|
&:before {
|
247
247
|
content:""; position:absolute; z-index: -2;
|
248
248
|
// @include make_shadows($horizontal, $vertical, $blur, $size, $color, $times);
|