twitter_ratchet_rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +34 -0
- data/app/assets/fonts/ratchicons.eot +0 -0
- data/app/assets/fonts/ratchicons.svg +61 -0
- data/app/assets/fonts/ratchicons.ttf +0 -0
- data/app/assets/fonts/ratchicons.woff +0 -0
- data/app/assets/javascripts/twitter_ratchet_rails/ratchet.js +916 -0
- data/app/assets/javascripts/twitter_ratchet_rails.js +1 -0
- data/app/assets/stylesheets/ratchet_android.css +4 -0
- data/app/assets/stylesheets/ratchet_base.css +3 -0
- data/app/assets/stylesheets/ratchet_ios.css +4 -0
- data/app/assets/stylesheets/twitter_ratchet_rails/ratchet-theme-android.css +588 -0
- data/app/assets/stylesheets/twitter_ratchet_rails/ratchet-theme-ios.css +471 -0
- data/app/assets/stylesheets/twitter_ratchet_rails/ratchet.css.erb +1430 -0
- data/app/helpers/twitter_ratchet_rails/application_helper.rb +4 -0
- data/app/views/layouts/twitter_ratchet_rails/application.html.erb +14 -0
- data/lib/tasks/twitter_ratchet_rails_tasks.rake +4 -0
- data/lib/twitter_ratchet_rails/engine.rb +5 -0
- data/lib/twitter_ratchet_rails/version.rb +3 -0
- data/lib/twitter_ratchet_rails.rb +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- data/test/twitter_ratchet_rails_test.rb +7 -0
- metadata +146 -0
@@ -0,0 +1,471 @@
|
|
1
|
+
/*!
|
2
|
+
* =====================================================
|
3
|
+
* Ratchet v2.0.1 (http://goratchet.com)
|
4
|
+
* Copyright 2014 Connor Sears
|
5
|
+
* Licensed under MIT.
|
6
|
+
*
|
7
|
+
* v2.0.1 designed by @connors.
|
8
|
+
* =====================================================
|
9
|
+
*/
|
10
|
+
|
11
|
+
a {
|
12
|
+
color: #007aff;
|
13
|
+
}
|
14
|
+
a:active {
|
15
|
+
color: #0062cc;
|
16
|
+
}
|
17
|
+
|
18
|
+
.content {
|
19
|
+
background-color: #efeff4;
|
20
|
+
}
|
21
|
+
|
22
|
+
.h5, h5,
|
23
|
+
.h6, h6,
|
24
|
+
p {
|
25
|
+
color: #8f8f94;
|
26
|
+
}
|
27
|
+
|
28
|
+
.h5, h5,
|
29
|
+
.h6, h6 {
|
30
|
+
font-weight: normal;
|
31
|
+
text-transform: uppercase;
|
32
|
+
}
|
33
|
+
|
34
|
+
.btn {
|
35
|
+
border: 1px solid #929292;
|
36
|
+
color: #929292;
|
37
|
+
background-color: rgba(247, 247, 247, 0.98);
|
38
|
+
-webkit-transition: all;
|
39
|
+
-moz-transition: all;
|
40
|
+
transition: all;
|
41
|
+
-webkit-transition-duration: 0.2s;
|
42
|
+
-moz-transition-duration: 0.2s;
|
43
|
+
transition-duration: 0.2s;
|
44
|
+
-webkit-transition-timing-function: linear;
|
45
|
+
-moz-transition-timing-function: linear;
|
46
|
+
transition-timing-function: linear;
|
47
|
+
}
|
48
|
+
.btn:active, .btn.active {
|
49
|
+
color: #fff;
|
50
|
+
background-color: #929292;
|
51
|
+
}
|
52
|
+
|
53
|
+
.btn-primary {
|
54
|
+
color: #fff;
|
55
|
+
border: 1px solid #007aff;
|
56
|
+
background-color: #007aff;
|
57
|
+
}
|
58
|
+
.btn-primary:active, .btn-primary.active {
|
59
|
+
border: 1px solid #0062cc;
|
60
|
+
background-color: #0062cc;
|
61
|
+
}
|
62
|
+
|
63
|
+
.btn-positive {
|
64
|
+
color: #fff;
|
65
|
+
border: 1px solid #4cd964;
|
66
|
+
background-color: #4cd964;
|
67
|
+
}
|
68
|
+
.btn-positive:active, .btn-positive.active {
|
69
|
+
border: 1px solid #2ac845;
|
70
|
+
background-color: #2ac845;
|
71
|
+
}
|
72
|
+
|
73
|
+
.btn-negative {
|
74
|
+
color: #fff;
|
75
|
+
border: 1px solid #dd524d;
|
76
|
+
background-color: #dd524d;
|
77
|
+
}
|
78
|
+
.btn-negative:active, .btn-negative.active {
|
79
|
+
border: 1px solid #cf2d28;
|
80
|
+
background-color: #cf2d28;
|
81
|
+
}
|
82
|
+
|
83
|
+
.btn-outlined {
|
84
|
+
background-color: transparent;
|
85
|
+
}
|
86
|
+
.btn-outlined.btn-primary {
|
87
|
+
color: #007aff;
|
88
|
+
}
|
89
|
+
.btn-outlined.btn-positive {
|
90
|
+
color: #4cd964;
|
91
|
+
}
|
92
|
+
.btn-outlined.btn-negative {
|
93
|
+
color: #dd524d;
|
94
|
+
}
|
95
|
+
.btn-outlined.btn-primary:active, .btn-outlined.btn-positive:active, .btn-outlined.btn-negative:active {
|
96
|
+
color: #fff;
|
97
|
+
}
|
98
|
+
|
99
|
+
.btn-link {
|
100
|
+
color: #007aff;
|
101
|
+
background-color: transparent;
|
102
|
+
border: none;
|
103
|
+
}
|
104
|
+
.btn-link:active, .btn-link.active {
|
105
|
+
color: #0062cc;
|
106
|
+
background-color: transparent;
|
107
|
+
}
|
108
|
+
|
109
|
+
.btn .badge {
|
110
|
+
background-color: rgba(0, 0, 0, 0.15);
|
111
|
+
}
|
112
|
+
.btn .badge.badge-inverted {
|
113
|
+
background-color: transparent;
|
114
|
+
}
|
115
|
+
.btn:active .badge {
|
116
|
+
color: #fff;
|
117
|
+
}
|
118
|
+
|
119
|
+
.bar {
|
120
|
+
border-bottom: 0;
|
121
|
+
background-color: rgba(247, 247, 247, 0.98);
|
122
|
+
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
|
123
|
+
box-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
|
124
|
+
}
|
125
|
+
.bar.bar-header-secondary {
|
126
|
+
top: 44px;
|
127
|
+
}
|
128
|
+
.bar.bar-footer-secondary {
|
129
|
+
bottom: 44px;
|
130
|
+
}
|
131
|
+
.bar.bar-footer-secondary-tab {
|
132
|
+
bottom: 50px;
|
133
|
+
}
|
134
|
+
.bar.bar-footer, .bar.bar-footer-secondary, .bar.bar-footer-secondary-tab {
|
135
|
+
border-top: 0;
|
136
|
+
}
|
137
|
+
|
138
|
+
.bar-tab {
|
139
|
+
border-top: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
.tab-item {
|
143
|
+
color: #929292;
|
144
|
+
}
|
145
|
+
.tab-item.active, .tab-item:active {
|
146
|
+
color: #007aff;
|
147
|
+
}
|
148
|
+
|
149
|
+
.bar-nav .btn-link {
|
150
|
+
color: #007aff;
|
151
|
+
}
|
152
|
+
.bar-nav .btn-link:active {
|
153
|
+
color: #007aff;
|
154
|
+
opacity: .6;
|
155
|
+
}
|
156
|
+
|
157
|
+
.badge.badge-inverted {
|
158
|
+
color: #929292;
|
159
|
+
background-color: transparent;
|
160
|
+
}
|
161
|
+
|
162
|
+
.badge-primary {
|
163
|
+
color: #fff;
|
164
|
+
background-color: #007aff;
|
165
|
+
}
|
166
|
+
.badge-primary.badge-inverted {
|
167
|
+
color: #007aff;
|
168
|
+
background-color: transparent;
|
169
|
+
}
|
170
|
+
|
171
|
+
.badge-positive {
|
172
|
+
color: #fff;
|
173
|
+
background-color: #4cd964;
|
174
|
+
}
|
175
|
+
.badge-positive.badge-inverted {
|
176
|
+
color: #4cd964;
|
177
|
+
background-color: transparent;
|
178
|
+
}
|
179
|
+
|
180
|
+
.badge-negative {
|
181
|
+
color: #fff;
|
182
|
+
background-color: #dd524d;
|
183
|
+
}
|
184
|
+
.badge-negative.badge-inverted {
|
185
|
+
color: #dd524d;
|
186
|
+
background-color: transparent;
|
187
|
+
}
|
188
|
+
|
189
|
+
.card .table-view {
|
190
|
+
background-image: none;
|
191
|
+
}
|
192
|
+
|
193
|
+
.card .table-view-cell:last-child {
|
194
|
+
background-image: none;
|
195
|
+
}
|
196
|
+
|
197
|
+
.table-view {
|
198
|
+
border-top: 0;
|
199
|
+
border-bottom: 0;
|
200
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
201
|
+
background-position: 0 100%, 0 0%;
|
202
|
+
background-repeat: no-repeat;
|
203
|
+
}
|
204
|
+
.table-view .table-view-cell {
|
205
|
+
border-bottom: 0;
|
206
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
207
|
+
background-position: 15px 100%;
|
208
|
+
background-repeat: no-repeat;
|
209
|
+
}
|
210
|
+
.table-view .table-view-cell:last-child {
|
211
|
+
background-image: none;
|
212
|
+
}
|
213
|
+
.table-view .table-view-divider {
|
214
|
+
border-top: 0;
|
215
|
+
border-bottom: 0;
|
216
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
217
|
+
background-position: 0 100%, 0 0%;
|
218
|
+
background-repeat: no-repeat;
|
219
|
+
}
|
220
|
+
|
221
|
+
select,
|
222
|
+
textarea,
|
223
|
+
input[type="text"],
|
224
|
+
input[type="search"],
|
225
|
+
input[type="password"],
|
226
|
+
input[type="datetime"],
|
227
|
+
input[type="datetime-local"],
|
228
|
+
input[type="date"],
|
229
|
+
input[type="month"],
|
230
|
+
input[type="time"],
|
231
|
+
input[type="week"],
|
232
|
+
input[type="number"],
|
233
|
+
input[type="email"],
|
234
|
+
input[type="url"],
|
235
|
+
input[type="tel"],
|
236
|
+
input[type="color"],
|
237
|
+
.input-group {
|
238
|
+
height: 40px;
|
239
|
+
padding: 10px 15px;
|
240
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
241
|
+
}
|
242
|
+
|
243
|
+
input[type="search"] {
|
244
|
+
height: 34px;
|
245
|
+
text-align: center;
|
246
|
+
background-color: rgba(0, 0, 0, 0.1);
|
247
|
+
border: 0;
|
248
|
+
border-radius: 6px;
|
249
|
+
}
|
250
|
+
|
251
|
+
input[type="search"]:focus {
|
252
|
+
text-align: left;
|
253
|
+
}
|
254
|
+
|
255
|
+
select,
|
256
|
+
textarea,
|
257
|
+
.input-group {
|
258
|
+
height: auto;
|
259
|
+
}
|
260
|
+
|
261
|
+
.input-group {
|
262
|
+
padding: 0;
|
263
|
+
border: 0;
|
264
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
265
|
+
background-position: 0 100%, 0 0%;
|
266
|
+
background-repeat: no-repeat;
|
267
|
+
}
|
268
|
+
|
269
|
+
.input-group input {
|
270
|
+
border: 0;
|
271
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
272
|
+
background-position: 15px 100%;
|
273
|
+
background-repeat: no-repeat;
|
274
|
+
}
|
275
|
+
|
276
|
+
.input-group input:last-child {
|
277
|
+
background-image: none;
|
278
|
+
}
|
279
|
+
|
280
|
+
.input-row {
|
281
|
+
border-bottom: 0;
|
282
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='1'><rect fill='#c8c7cc' x='0' y='0' width='100%' height='0.5'/></svg>");
|
283
|
+
background-position: 15px 100%;
|
284
|
+
background-repeat: no-repeat;
|
285
|
+
}
|
286
|
+
|
287
|
+
.input-row:last-child,
|
288
|
+
.input-row label + input {
|
289
|
+
background-image: none;
|
290
|
+
}
|
291
|
+
|
292
|
+
.segmented-control {
|
293
|
+
background-color: transparent;
|
294
|
+
border: 1px solid #929292;
|
295
|
+
}
|
296
|
+
.segmented-control .control-item {
|
297
|
+
color: #929292;
|
298
|
+
border-color: #929292;
|
299
|
+
-webkit-transition: background-color 0.1s linear;
|
300
|
+
-moz-transition: background-color 0.1s linear;
|
301
|
+
transition: background-color 0.1s linear;
|
302
|
+
}
|
303
|
+
.segmented-control .control-item:active {
|
304
|
+
background-color: #ebebeb;
|
305
|
+
}
|
306
|
+
.segmented-control .control-item.active {
|
307
|
+
color: #fff;
|
308
|
+
background-color: #929292;
|
309
|
+
}
|
310
|
+
|
311
|
+
.segmented-control-primary {
|
312
|
+
border: 1px solid #007aff;
|
313
|
+
}
|
314
|
+
.segmented-control-primary .control-item {
|
315
|
+
color: #007aff;
|
316
|
+
border-color: inherit;
|
317
|
+
}
|
318
|
+
.segmented-control-primary .control-item:active {
|
319
|
+
background-color: #b3d7ff;
|
320
|
+
}
|
321
|
+
.segmented-control-primary .control-item.active {
|
322
|
+
color: #fff;
|
323
|
+
background-color: #007aff;
|
324
|
+
}
|
325
|
+
|
326
|
+
.segmented-control-positive {
|
327
|
+
border: 1px solid #4cd964;
|
328
|
+
}
|
329
|
+
.segmented-control-positive .control-item {
|
330
|
+
color: #4cd964;
|
331
|
+
border-color: inherit;
|
332
|
+
}
|
333
|
+
.segmented-control-positive .control-item:active {
|
334
|
+
background-color: #dff8e3;
|
335
|
+
}
|
336
|
+
.segmented-control-positive .control-item.active {
|
337
|
+
color: #fff;
|
338
|
+
background-color: #4cd964;
|
339
|
+
}
|
340
|
+
|
341
|
+
.segmented-control-negative {
|
342
|
+
border: 1px solid #dd524d;
|
343
|
+
}
|
344
|
+
.segmented-control-negative .control-item {
|
345
|
+
color: #dd524d;
|
346
|
+
border-color: inherit;
|
347
|
+
}
|
348
|
+
.segmented-control-negative .control-item:active {
|
349
|
+
background-color: #fae4e3;
|
350
|
+
}
|
351
|
+
.segmented-control-negative .control-item.active {
|
352
|
+
color: #fff;
|
353
|
+
background-color: #dd524d;
|
354
|
+
}
|
355
|
+
|
356
|
+
.popover {
|
357
|
+
border-radius: 12px;
|
358
|
+
-webkit-transition: -webkit-transform .2s ease-in-out, opacity .2s ease-in-out;
|
359
|
+
-moz-transition: -moz-transform .2s ease-in-out, opacity .2s ease-in-out;
|
360
|
+
transition: transform .2s ease-in-out, opacity .2s ease-in-out;
|
361
|
+
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
362
|
+
-moz-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
363
|
+
transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
364
|
+
}
|
365
|
+
.popover:before {
|
366
|
+
border-bottom: 15px solid rgba(247, 247, 247, 0.98);
|
367
|
+
}
|
368
|
+
|
369
|
+
.popover .bar {
|
370
|
+
-webkit-box-shadow: none;
|
371
|
+
box-shadow: none;
|
372
|
+
}
|
373
|
+
|
374
|
+
.popover .bar-nav {
|
375
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
|
376
|
+
}
|
377
|
+
|
378
|
+
.popover .table-view {
|
379
|
+
border-radius: 12px;
|
380
|
+
background-image: none;
|
381
|
+
}
|
382
|
+
|
383
|
+
.modal {
|
384
|
+
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
385
|
+
-moz-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
386
|
+
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
387
|
+
}
|
388
|
+
.modal.active {
|
389
|
+
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
390
|
+
-moz-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
391
|
+
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
392
|
+
}
|
393
|
+
|
394
|
+
.toggle {
|
395
|
+
width: 47px;
|
396
|
+
border: 2px solid #e6e6e6;
|
397
|
+
-webkit-box-shadow: inset 0 0 0 0 #e1e1e1;
|
398
|
+
box-shadow: inset 0 0 0 0 #e1e1e1;
|
399
|
+
-webkit-transition-property: box-shadow, border;
|
400
|
+
-moz-transition-property: box-shadow, border;
|
401
|
+
transition-property: box-shadow, border;
|
402
|
+
-webkit-transition-duration: 0.2s;
|
403
|
+
-moz-transition-duration: 0.2s;
|
404
|
+
transition-duration: 0.2s;
|
405
|
+
}
|
406
|
+
.toggle .toggle-handle {
|
407
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
408
|
+
-webkit-transition-property: -webkit-transform, border, width;
|
409
|
+
-moz-transition-property: -moz-transform, border, width;
|
410
|
+
transition-property: transform, border, width;
|
411
|
+
-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08);
|
412
|
+
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08);
|
413
|
+
}
|
414
|
+
.toggle:before {
|
415
|
+
display: none;
|
416
|
+
}
|
417
|
+
.toggle.active {
|
418
|
+
border: 2px solid #4cd964;
|
419
|
+
background-color: transparent;
|
420
|
+
-webkit-box-shadow: inset 0 0 0 13px #4cd964;
|
421
|
+
box-shadow: inset 0 0 0 13px #4cd964;
|
422
|
+
}
|
423
|
+
.toggle.active .toggle-handle {
|
424
|
+
-webkit-transform: translate3d(17px, 0, 0);
|
425
|
+
-ms-transform: translate3d(17px, 0, 0);
|
426
|
+
transform: translate3d(17px, 0, 0);
|
427
|
+
}
|
428
|
+
.toggle.active .toggle-handle {
|
429
|
+
border-color: #4cd964;
|
430
|
+
}
|
431
|
+
|
432
|
+
.content.fade {
|
433
|
+
-webkit-transition: opacity 0.2s ease-in-out;
|
434
|
+
-moz-transition: opacity 0.2s ease-in-out;
|
435
|
+
transition: opacity 0.2s ease-in-out;
|
436
|
+
}
|
437
|
+
.content.sliding {
|
438
|
+
-webkit-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
439
|
+
-moz-transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
440
|
+
transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
|
441
|
+
}
|
442
|
+
.content.sliding.sliding-in, .content.sliding.right:not([class*="sliding-in"]) {
|
443
|
+
-webkit-animation-name: fadeOverlay;
|
444
|
+
-moz-animation-name: fadeOverlay;
|
445
|
+
animation-name: fadeOverlay;
|
446
|
+
-webkit-animation-duration: 0.4s;
|
447
|
+
-moz-animation-duration: 0.4s;
|
448
|
+
animation-duration: 0.4s;
|
449
|
+
}
|
450
|
+
.content.sliding.right:not([class*="sliding-in"]) {
|
451
|
+
-webkit-animation-direction: reverse;
|
452
|
+
-moz-animation-direction: reverse;
|
453
|
+
animation-direction: reverse;
|
454
|
+
}
|
455
|
+
.content.sliding.left {
|
456
|
+
-webkit-transform: translate3d(-20%, 0, 0);
|
457
|
+
-ms-transform: translate3d(-20%, 0, 0);
|
458
|
+
transform: translate3d(-20%, 0, 0);
|
459
|
+
}
|
460
|
+
|
461
|
+
@-webkit-keyframes fadeOverlay {
|
462
|
+
from {
|
463
|
+
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0), -320px 0 0 rgba(0, 0, 0, 0);
|
464
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0), -320px 0 0 rgba(0, 0, 0, 0);
|
465
|
+
}
|
466
|
+
|
467
|
+
to {
|
468
|
+
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1);
|
469
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), -320px 0 0 rgba(0, 0, 0, 0.1);
|
470
|
+
}
|
471
|
+
}
|