expressionui 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/README.md +49 -6
- data/lib/expressionui/version.rb +1 -1
- data/vendor/assets/fonts/expressionui-webfont.eot +0 -0
- data/vendor/assets/fonts/expressionui-webfont.svg +65 -0
- data/vendor/assets/fonts/expressionui-webfont.ttf +0 -0
- data/vendor/assets/fonts/expressionui-webfont.woff +0 -0
- data/vendor/assets/javascripts/expressionui.all.js +3 -0
- data/vendor/assets/javascripts/expressionui.modal.js +41 -36
- data/vendor/assets/stylesheets/{expressionui.sass → _expressionui.sass} +0 -0
- data/vendor/assets/stylesheets/expressionui/_boilerplate.sass +12 -186
- data/vendor/assets/stylesheets/expressionui/_class_helpers.sass +56 -3
- data/vendor/assets/stylesheets/expressionui/_forms.sass +250 -198
- data/vendor/assets/stylesheets/expressionui/_helpers.sass +75 -37
- data/vendor/assets/stylesheets/expressionui/_modals.sass +48 -57
- data/vendor/assets/stylesheets/expressionui/_notifications.sass +53 -70
- data/vendor/assets/stylesheets/expressionui/_post_style.sass +296 -0
- data/vendor/assets/stylesheets/expressionui/_variables.sass +8 -2
- data/vendor/assets/stylesheets/expressionui/loading/_progress.sass +8 -8
- metadata +9 -4
- data/Gemfile.lock +0 -114
@@ -1,3 +1,6 @@
|
|
1
|
+
+font-face("#{$icon_font}", font-files("#{$icon_font}.woff", "#{$icon_font}.otf", "#{$icon_font}.svg##{$icon_font}"), "#{$icon_font}.eot")
|
2
|
+
//woff, opentype/truetype, svg
|
3
|
+
|
1
4
|
=amp
|
2
5
|
font-family: Baskerville, "Goudy Old Style", serif
|
3
6
|
font-weight: normal
|
@@ -97,29 +100,6 @@
|
|
97
100
|
|
98
101
|
=btn($base_color, $behind: null, $style: flat)
|
99
102
|
@if $style == flat
|
100
|
-
outline: 0
|
101
|
-
text-align: center
|
102
|
-
text-transform: capitalize
|
103
|
-
text-decoration: none
|
104
|
-
font-weight: 600
|
105
|
-
line-height: 1em
|
106
|
-
+font_stack
|
107
|
-
width: auto
|
108
|
-
+inline-block
|
109
|
-
padding: 8px 11px
|
110
|
-
font-size: 1em
|
111
|
-
+border-radius(2px)
|
112
|
-
+box-shadow(rgba(white, 0.3) 0 1px 0 inset, rgba(black, 0.20) 0 2px 2px 0)
|
113
|
-
cursor: pointer
|
114
|
-
+btn_color($base_color, $behind)
|
115
|
-
border: 0
|
116
|
-
&:hover
|
117
|
-
+box-shadow(rgba(white, 0.6) 0 1px 3px inset, rgba(black, 0.20) 0 2px 2px 0)
|
118
|
-
+btn_color(tint($base_color, 10%), $behind)
|
119
|
-
&:active
|
120
|
-
+box-shadow(rgba(black, 0.6) 0 2px 4px inset, rgba(black, 0.50) 0 1px 0 0)
|
121
|
-
+btn_color(shade($base_color, 10%), $behind)
|
122
|
-
@else
|
123
103
|
outline: 0
|
124
104
|
border: 0
|
125
105
|
text-align: center
|
@@ -137,16 +117,58 @@
|
|
137
117
|
background: $base_color
|
138
118
|
+text_color($base_color)
|
139
119
|
+text-shadow(none)
|
120
|
+
&.icon
|
121
|
+
+icon_font
|
122
|
+
text-transform: none
|
140
123
|
@if lightness($base_color) == 100%
|
141
124
|
border: 1px solid shade($base_color, 10%)
|
142
125
|
+border-radius(3px)
|
143
|
-
&:hover, &:active
|
126
|
+
&:hover, &:active, &.active
|
144
127
|
@if lightness($base_color) == 100%
|
145
128
|
border: 1px solid shade($base_color, 20%)
|
146
129
|
background: shade($base_color, 10%)
|
147
130
|
+box-shadow(shade($base_color, 20%) 0 2px 0 inset)
|
148
131
|
+text_color($base_color)
|
149
132
|
+text-shadow(none)
|
133
|
+
&.active:hover
|
134
|
+
@if lightness($base_color) == 100%
|
135
|
+
border: 1px solid shade($base_color, 20%)
|
136
|
+
background: shade($base_color, 20%)
|
137
|
+
+box-shadow(shade($base_color, 30%) 0 2px 0 inset)
|
138
|
+
+text_color(shade($base_color, 10%))
|
139
|
+
+text-shadow(none)
|
140
|
+
&.disabled, &.disabled:hover
|
141
|
+
cursor: not-allowed
|
142
|
+
+opacity(0.7)
|
143
|
+
@if lightness($base_color) == 100%
|
144
|
+
border: 1px solid shade($base_color, 10%)
|
145
|
+
background: $base_color
|
146
|
+
+box-shadow(none)
|
147
|
+
+text_color($base_color)
|
148
|
+
+text-shadow(none)
|
149
|
+
@else
|
150
|
+
outline: 0
|
151
|
+
text-align: center
|
152
|
+
text-transform: capitalize
|
153
|
+
text-decoration: none
|
154
|
+
font-weight: 600
|
155
|
+
line-height: 1em
|
156
|
+
+font_stack
|
157
|
+
width: auto
|
158
|
+
+inline-block
|
159
|
+
padding: 8px 11px
|
160
|
+
font-size: 1em
|
161
|
+
+border-radius(2px)
|
162
|
+
+box-shadow(rgba(white, 0.3) 0 1px 0 inset, rgba(black, 0.20) 0 2px 2px 0)
|
163
|
+
cursor: pointer
|
164
|
+
+btn_color($base_color, $behind)
|
165
|
+
border: 0
|
166
|
+
&:hover
|
167
|
+
+box-shadow(rgba(white, 0.6) 0 1px 3px inset, rgba(black, 0.20) 0 2px 2px 0)
|
168
|
+
+btn_color(tint($base_color, 10%), $behind)
|
169
|
+
&:active
|
170
|
+
+box-shadow(rgba(black, 0.6) 0 2px 4px inset, rgba(black, 0.50) 0 1px 0 0)
|
171
|
+
+btn_color(shade($base_color, 10%), $behind)
|
150
172
|
|
151
173
|
=shadow_scroll($background: #E5E5E5, $top: 62px, $left: 56px, $right: 0, $height: 10px, $z-index: 1111)
|
152
174
|
&:before
|
@@ -259,16 +281,32 @@
|
|
259
281
|
line-height: 0
|
260
282
|
font-size: 1.4em
|
261
283
|
top: 0.1em
|
262
|
-
|
263
|
-
=
|
264
|
-
+box
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
284
|
+
|
285
|
+
=flex_me
|
286
|
+
+display-box
|
287
|
+
+box-orient(horizontal)
|
288
|
+
+box-align(stretch)
|
289
|
+
.col1
|
290
|
+
+box-flex(1)
|
291
|
+
.col2
|
292
|
+
+box-flex(2)
|
293
|
+
.col3
|
294
|
+
+box-flex(3)
|
295
|
+
.col4
|
296
|
+
+box-flex(4)
|
297
|
+
.col5
|
298
|
+
+box-flex(5)
|
299
|
+
.col6
|
300
|
+
+box-flex(6)
|
301
|
+
|
302
|
+
// Depricated with compass Version: 0.13.alpha.0
|
303
|
+
=placeholder
|
304
|
+
@if $experimental-support-for-webkit
|
305
|
+
&::-webkit-input-placeholder
|
306
|
+
@content
|
307
|
+
@if $experimental-support-for-mozilla
|
308
|
+
&:-moz-placeholder
|
309
|
+
@content
|
310
|
+
@if $experimental-support-for-microsoft
|
311
|
+
&:-ms-input-placeholder
|
312
|
+
@content
|
@@ -1,31 +1,29 @@
|
|
1
1
|
@import animate
|
2
2
|
@import animate/shared
|
3
|
-
@import animate/animations/bouncing-entrances/
|
4
|
-
@import animate/animations/bouncing-exits/
|
3
|
+
@import animate/animations/bouncing-entrances/bounceIn
|
4
|
+
@import animate/animations/bouncing-exits/bounceOut
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
$modal_footer_height: (68px)-$pad
|
6
|
+
$modal_button_size: 36px
|
7
|
+
$modal_footer_height: ($modal_button_size)+($pad*2)
|
10
8
|
$borderColor: #cacaca
|
9
|
+
$modal_border_radius: 5px
|
11
10
|
|
12
|
-
.
|
11
|
+
.modal_open .modal_wrapper
|
13
12
|
.pageOverlay
|
14
13
|
+transition
|
15
14
|
+opacity(0.5)
|
16
|
-
.
|
15
|
+
.modal
|
17
16
|
+opacity(1)
|
18
|
-
+animation-name(
|
17
|
+
+animation-name(bounceIn)
|
19
18
|
+animation-duration(0.5s)
|
20
19
|
+animation-timing-function(ease)
|
21
|
-
.
|
22
|
-
.
|
23
|
-
+animation-name(
|
24
|
-
+animation-duration(
|
20
|
+
.modal_close .modal_wrapper
|
21
|
+
.modal
|
22
|
+
+animation-name(bounceOut)
|
23
|
+
+animation-duration(0.5s)
|
25
24
|
+animation-timing-function(ease)
|
26
25
|
|
27
|
-
|
28
|
-
.dialog_container
|
26
|
+
.modal_wrapper
|
29
27
|
position: fixed
|
30
28
|
top: 0
|
31
29
|
left: 0
|
@@ -40,70 +38,63 @@ $borderColor: #cacaca
|
|
40
38
|
height: 100%
|
41
39
|
width: 100%
|
42
40
|
+opacity(0)
|
43
|
-
.
|
44
|
-
width: auto
|
41
|
+
.modal
|
42
|
+
width: auto !important
|
45
43
|
+opacity(0)
|
46
44
|
position: fixed
|
47
45
|
top: 50%
|
48
46
|
left: 50%
|
49
47
|
z-index: 100
|
50
48
|
background: #fff
|
49
|
+
border: 1px solid #464646
|
51
50
|
+box-shadow(rgba(black, 0.4) 0 2px 12px)
|
51
|
+
+border-radius($modal_border_radius)
|
52
52
|
padding-bottom: $modal_footer_height
|
53
53
|
.content
|
54
54
|
background: #fff
|
55
|
-
display: block
|
56
55
|
> h1
|
57
|
-
background:
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
font-size:
|
66
|
-
|
67
|
-
span
|
68
|
-
background: none !important
|
69
|
-
display: block
|
56
|
+
background: shade(white, 5%)
|
57
|
+
+border-top-radius($modal_border_radius)
|
58
|
+
color: shade(white, 30%)
|
59
|
+
position: relative
|
60
|
+
text-transform: uppercase
|
61
|
+
padding: $pad
|
62
|
+
font-weight: 100
|
63
|
+
letter-spacing: 1px
|
64
|
+
font-size: ($font-size)+5px
|
65
|
+
margin: 0
|
66
|
+
span
|
70
67
|
.closeDialog
|
71
|
-
color: shade(#FAFAFA, 10%)
|
72
68
|
position: absolute
|
73
|
-
|
74
|
-
|
75
|
-
top:
|
69
|
+
right: 0
|
70
|
+
top: 50%
|
71
|
+
margin-top: -($font-size)
|
76
72
|
display: block
|
77
73
|
padding: 0 $pad*2
|
78
74
|
+icon_font
|
75
|
+
font-size: ($font-size)+10px
|
79
76
|
text-transform: none
|
77
|
+
color: shade(white, 20%)
|
80
78
|
&:hover
|
81
79
|
color: $accent
|
82
|
-
.
|
83
|
-
padding:
|
80
|
+
.modalBody
|
81
|
+
padding: $pad $pad $pad $pad
|
82
|
+
margin-top: -1px
|
84
83
|
height: 100%
|
85
84
|
overflow-y: auto
|
85
|
+
+border-top-radius(5px)
|
86
86
|
+group
|
87
|
-
|
87
|
+
background: #fff
|
88
|
+
.wrapper
|
88
89
|
width: auto
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
.share_item
|
94
|
-
.card_wrapper
|
95
|
-
width: 260px
|
96
|
-
border: 1px solid #ccc
|
97
|
-
box-shadow: 1px 3px 4px rgba(0,0,0,0.3)
|
98
|
-
footer
|
99
|
-
a
|
100
|
-
visibility: hidden
|
101
|
-
.bottom_footer
|
102
|
-
display: none
|
103
|
-
.dialogFooter
|
90
|
+
overflow: initial
|
91
|
+
//width: auto
|
92
|
+
//height: auto
|
93
|
+
.modalFooter
|
104
94
|
padding: $pad
|
105
|
-
|
106
|
-
|
95
|
+
border-top: 1px solid shade(white, 6%)
|
96
|
+
font-size: ($font_size)+6px
|
97
|
+
line-height: $modal_button_size
|
107
98
|
position: absolute
|
108
99
|
bottom: 0
|
109
100
|
width: 100%
|
@@ -118,12 +109,12 @@ $borderColor: #cacaca
|
|
118
109
|
margin-left: 0
|
119
110
|
margin-right: $pad
|
120
111
|
&.full
|
121
|
-
.
|
112
|
+
.modal
|
122
113
|
position: fixed
|
123
114
|
+media_max_width(900px)
|
124
115
|
width: 85% !important
|
125
116
|
+mobile_only
|
126
117
|
width: 95% !important
|
127
|
-
.
|
118
|
+
.modalBody
|
128
119
|
height: 100%
|
129
120
|
overflow-y: auto
|
@@ -4,13 +4,6 @@
|
|
4
4
|
@import expressionui/loading/spinner
|
5
5
|
@import expressionui/loading/progress
|
6
6
|
|
7
|
-
$circle_color: $accent
|
8
|
-
$error: #F35919 // Green
|
9
|
-
$success: #45A03B // Success
|
10
|
-
$tip: #01C8E4 // Blue
|
11
|
-
$info: #FDE200 // Yellow
|
12
|
-
$font_size: 18px
|
13
|
-
|
14
7
|
// Content Display
|
15
8
|
.content_visible
|
16
9
|
position: relative
|
@@ -39,7 +32,7 @@ $font_size: 18px
|
|
39
32
|
display: block
|
40
33
|
width: auto
|
41
34
|
height: auto
|
42
|
-
font-size: $font_size
|
35
|
+
font-size: ($font_size)+4
|
43
36
|
position: relative
|
44
37
|
z-index: 3000
|
45
38
|
visibility: visible !important
|
@@ -47,7 +40,6 @@ $font_size: 18px
|
|
47
40
|
.notify_wrap
|
48
41
|
width: auto
|
49
42
|
padding: $pad*2 58px $pad*2 $pad
|
50
|
-
|
51
43
|
.msg
|
52
44
|
p, ul, li
|
53
45
|
margin: 0 !important
|
@@ -56,7 +48,7 @@ $font_size: 18px
|
|
56
48
|
height: auto !important
|
57
49
|
float: none !important
|
58
50
|
border: none !important
|
59
|
-
a
|
51
|
+
a:not(.btn)
|
60
52
|
color: white
|
61
53
|
text-decoration: underline
|
62
54
|
.notify_close
|
@@ -84,6 +76,22 @@ $font_size: 18px
|
|
84
76
|
width: 100%
|
85
77
|
margin-top: -9px
|
86
78
|
|
79
|
+
&.icon_true
|
80
|
+
.notify_wrap
|
81
|
+
padding-left: 68px
|
82
|
+
.icon
|
83
|
+
color: rgba(white, 0.28)
|
84
|
+
display: block
|
85
|
+
position: absolute
|
86
|
+
top: 50%
|
87
|
+
left: 15px
|
88
|
+
font-size: 45px
|
89
|
+
margin-top: -0.65em
|
90
|
+
&.icon_flase
|
91
|
+
.icon
|
92
|
+
display: none
|
93
|
+
|
94
|
+
|
87
95
|
// Base Error
|
88
96
|
&.style_error
|
89
97
|
background: $error
|
@@ -112,34 +120,13 @@ $font_size: 18px
|
|
112
120
|
color: shade($info, 70%)
|
113
121
|
.msg a
|
114
122
|
color: shade($info, 70%)
|
123
|
+
&.icon_true
|
124
|
+
.icon
|
125
|
+
color: rgba(black, 0.04)
|
115
126
|
|
116
127
|
|
117
|
-
// CLEAN?
|
118
|
-
&.invert_false
|
119
|
-
&.invert_true
|
120
|
-
|
121
|
-
|
122
|
-
&.icon_true
|
123
|
-
.notify_wrap
|
124
|
-
padding-left: $pad*7
|
125
|
-
.icon
|
126
|
-
color: rgba(white, 0.28)
|
127
|
-
display: block
|
128
|
-
position: absolute
|
129
|
-
top: 50%
|
130
|
-
left: 15px
|
131
|
-
font-size: 50px
|
132
|
-
margin-top: -0.7em
|
133
|
-
&.icon_flase
|
134
|
-
.icon
|
135
|
-
display: none
|
136
|
-
|
137
|
-
// COVER AND PUSH SHOULD CONTROL THE CONTENT INTERACTIONS
|
138
|
-
// POSITION SHOULD BE TOP, BOTTOM, OR MIDDLE
|
139
128
|
|
140
129
|
// position: top, bottom, middle, push_down
|
141
|
-
|
142
|
-
|
143
130
|
&.position_top
|
144
131
|
position: absolute !important
|
145
132
|
+box-shadow(rgba(black, 0.18) 0 2px 0)
|
@@ -174,6 +161,7 @@ $font_size: 18px
|
|
174
161
|
+border-bottom-radius(5px)
|
175
162
|
margin: 0 $pad/2 $pad/2 $pad/2
|
176
163
|
|
164
|
+
// MAKE A PARTIAL
|
177
165
|
// LOADING
|
178
166
|
&.loading_spinner
|
179
167
|
.notify_wrap
|
@@ -183,8 +171,8 @@ $font_size: 18px
|
|
183
171
|
.indicator
|
184
172
|
overflow: hidden
|
185
173
|
text-indent: -2000em
|
186
|
-
margin: 0 auto
|
187
|
-
background: url('/
|
174
|
+
margin: 0 auto
|
175
|
+
background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNS4xLCBFeHBvcnQgU1ZHIEV4dGVuc2lvbiBieSBBYXJvbiBCZWFsbCAoaHR0cDovL2ZpcmV3b3Jrcy5hYmVhbGwuY29tKSAuIFZlcnNpb246IDAuNi4xICAtLT4NPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NPHN2ZyBpZD0iVW50aXRsZWQtUGFnZSUyMDEiIHZpZXdCb3g9IjAgMCA3MiA3MiIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6I2ZmZmZmZjAwIiB2ZXJzaW9uPSIxLjEiDQl4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIg0JeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI3MnB4IiBoZWlnaHQ9IjcycHgiDT4NCTxnIGlkPSJMYXllciUyMDEiPg0JCTxnPg0JCQk8cGF0aCBkPSJNIDUyLjkwMTQgNDguODkwMSBDIDQ5LjA4NCA1NC4yMTM0IDQyLjg0OTYgNTcuNjkxNCAzNS44MTI1IDU3LjY5MTQgQyAyNC4yNjI3IDU3LjY5MTQgMTQuODYwNCA0OC4zMjc2IDE0Ljc5MzkgMzYuNzkzIEwgMTcuMjY0NiAzNi43OTMgTCAyMS42NTE0IDM2Ljc5MyBMIDEwLjczMzQgMjUuOTE3IEwgLTAuMTY1IDM2Ljc5MyBMIDUuNTk4NiAzNi43OTMgTCA1Ljc1OTggMzYuNzkzIEwgNi43MDggMzYuNzkzIEMgNi43NzU0IDUyLjgxMSAxOS43NzgzIDY1Ljc3NjkgMzUuODEyNSA2NS43NzY5IEMgNDUuMDk3NyA2NS43NzY5IDUzLjM1OTQgNjEuNDI1MyA1OC42OTA0IDU0LjY1NTggTCA1Ni4zMDk2IDUyLjI4NDIgTCA1Mi45MDE0IDQ4Ljg5MDEgWiIgZmlsbD0iIzAwMDAwMCIvPg0JCQk8cGF0aCBkPSJNIDY3LjI3NzMgMzYuODI1NyBMIDY3LjI3NDQgMzYuODI3NiBMIDY0LjkxNyAzNi44Mjc2IEMgNjQuOTE3IDM2LjgyNjcgNjQuOTE3IDM2LjgyNjcgNjQuOTE3IDM2LjgyNTcgQyA2NC45MTcgMzYuNzcyOSA2NC45MjA5IDM2LjcyMTIgNjQuOTIwOSAzNi42Njg5IEMgNjQuOTIwOSAyMC41OTI4IDUxLjg4ODcgNy41NjEgMzUuODEyNSA3LjU2MSBDIDI2LjQ1MzEgNy41NjEgMTguMTI4OSAxMS45ODQ5IDEyLjgwNTcgMTguODUwMSBMIDE1LjI4NTIgMjEuMzIxMyBMIDE4LjU5OTYgMjQuNjIzNSBDIDIyLjQwNjMgMTkuMjAwNyAyOC43MDAyIDE1LjY0NjUgMzUuODEyNSAxNS42NDY1IEMgNDcuNDA1MyAxNS42NDY1IDU2LjgzNTkgMjUuMDc3MSA1Ni44MzU5IDM2LjY2ODkgQyA1Ni44MzU5IDM2LjcyMTIgNTYuODMxMSAzNi43NzI5IDU2LjgzMTEgMzYuODI1NyBDIDU2LjgzMTEgMzYuODI2NyA1Ni44MzExIDM2LjgyNjcgNTYuODMxMSAzNi44Mjc2IEwgNTQuMjY5NSAzNi44Mjc2IEwgNTQuMjY3NiAzNi44MjU3IEwgNDkuOTU2MSAzNi44MjU3IEwgNjAuODc0IDQ3LjcwMTcgTCA3MS43NzI1IDM2LjgyNTcgTCA2Ny4yNzczIDM2LjgyNTcgWiIgZmlsbD0iIzAwMDAwMCIvPg0JCTwvZz4NCTwvZz4NPC9zdmc+') no-repeat
|
188
176
|
background-size: 100% !important
|
189
177
|
width: 40px
|
190
178
|
height: 40px
|
@@ -229,7 +217,7 @@ $font_size: 18px
|
|
229
217
|
margin-left: -100px
|
230
218
|
display: block
|
231
219
|
padding: 0
|
232
|
-
&.
|
220
|
+
&.position_push_down
|
233
221
|
margin-top: 0
|
234
222
|
position: static
|
235
223
|
.notify_wrap
|
@@ -348,7 +336,7 @@ $font_size: 18px
|
|
348
336
|
margin-left: -100px
|
349
337
|
display: block
|
350
338
|
padding: 0
|
351
|
-
&.
|
339
|
+
&.position_push_down
|
352
340
|
margin-top: 0
|
353
341
|
position: static
|
354
342
|
.notify_wrap
|
@@ -358,7 +346,13 @@ $font_size: 18px
|
|
358
346
|
margin-top: 0
|
359
347
|
top: $pad*2
|
360
348
|
.notify_wrap
|
361
|
-
|
349
|
+
&.position_middle .notify_wrap
|
350
|
+
margin-top: -35px
|
351
|
+
top: 50%
|
352
|
+
&.position_bottom .notify_wrap
|
353
|
+
bottom: 0
|
354
|
+
&.position_top .notify_wrap
|
355
|
+
top: 0
|
362
356
|
|
363
357
|
|
364
358
|
|
@@ -423,17 +417,19 @@ $font_size: 18px
|
|
423
417
|
margin-left: -100px
|
424
418
|
display: block
|
425
419
|
padding: 0
|
426
|
-
&.
|
420
|
+
&.position_push_down
|
427
421
|
margin-top: 0
|
428
422
|
position: static
|
429
423
|
.notify_wrap
|
430
424
|
margin: 0 auto
|
431
425
|
position: static
|
432
|
-
&.
|
426
|
+
&.position_middle
|
433
427
|
margin-top: 0
|
434
428
|
top: $pad*2
|
435
|
-
|
436
|
-
|
429
|
+
&.position_bottom
|
430
|
+
bottom: 0
|
431
|
+
&.position_top
|
432
|
+
top: 0
|
437
433
|
|
438
434
|
|
439
435
|
|
@@ -447,11 +443,10 @@ $font_size: 18px
|
|
447
443
|
overflow: hidden
|
448
444
|
text-indent: -2000em
|
449
445
|
margin: 0 auto
|
450
|
-
border: 1px solid shade(#1C60AA, 50%)
|
451
446
|
+border-radius(5px)
|
452
|
-
|
447
|
+
background: $loading_bars
|
453
448
|
width: 200px
|
454
|
-
height:
|
449
|
+
height: 20px
|
455
450
|
display: block
|
456
451
|
position: relative
|
457
452
|
.progress
|
@@ -459,23 +454,12 @@ $font_size: 18px
|
|
459
454
|
+border-radius(5px)
|
460
455
|
+opacity(0.2)
|
461
456
|
display: block
|
462
|
-
+background-
|
463
|
-
-
|
464
|
-
-webkit-animation
|
465
|
-
-
|
466
|
-
-
|
467
|
-
-
|
468
|
-
-moz-animation-duration: .9s
|
469
|
-
-moz-animation-iteration-count: infinite
|
470
|
-
-moz-animation-timing-function: linear
|
471
|
-
-o-animation-name: bars
|
472
|
-
-o-animation-duration: .9s
|
473
|
-
-o-animation-iteration-count: infinite
|
474
|
-
-o-animation-timing-function: linear
|
475
|
-
-ms-animation-name: bars
|
476
|
-
-ms-animation-duration: .9s
|
477
|
-
-ms-animation-iteration-count: infinite
|
478
|
-
-ms-animation-timing-function: linear
|
457
|
+
+background-size(30px 30px)
|
458
|
+
+background-image(linear-gradient(-45deg, white 25%, transparent 25%, transparent 50%, white 50%, white 75%, transparent 75%, transparent))
|
459
|
+
-webkit-animation: bars .9s infinite linear
|
460
|
+
-moz-animation: bars .9s infinite linear
|
461
|
+
-o-animation: bars .9s infinite linear
|
462
|
+
-ms-animation: bars .9s infinite linear
|
479
463
|
position: absolute
|
480
464
|
top: 0
|
481
465
|
left: 0
|
@@ -512,20 +496,19 @@ $font_size: 18px
|
|
512
496
|
margin-left: -100px
|
513
497
|
display: block
|
514
498
|
padding: $pad 0
|
515
|
-
&.
|
499
|
+
&.position_push_down
|
516
500
|
margin-top: 0
|
517
501
|
position: static
|
518
502
|
.notify_wrap
|
519
503
|
margin: 0 auto
|
520
504
|
position: static
|
521
|
-
&.
|
505
|
+
&.position_middle
|
522
506
|
margin-top: 0
|
523
507
|
top: $pad*2
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
508
|
+
&.position_bottom
|
509
|
+
bottom: 0
|
510
|
+
&.position_top
|
511
|
+
top: 0
|
529
512
|
|
530
513
|
&.style_loading
|
531
514
|
+box-shadow(inset rgba(black, 0.3) 0 2px 4px)
|