layer-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,719 @@
1
+ /*!
2
+
3
+ @Name: layer's style
4
+ @Author: 贤心
5
+ @Blog: sentsin.com
6
+
7
+ */
8
+ * html {
9
+ background-image: url(about:blank);
10
+ background-attachment: fixed
11
+ }
12
+
13
+ html #layui_layer_skinlayercss {
14
+ display: none;
15
+ position: absolute;
16
+ width: 1989px
17
+ }
18
+
19
+ .layui-layer, .layui-layer-shade {
20
+ position: fixed;
21
+ _position: absolute;
22
+ pointer-events: auto
23
+ }
24
+
25
+ .layui-layer-shade {
26
+ top: 0;
27
+ left: 0;
28
+ width: 100%;
29
+ height: 100%;
30
+ _height: expression(document.body.offsetHeight+"px")
31
+ }
32
+
33
+ .layui-layer {
34
+ top: 150px;
35
+ left: 50%;
36
+ margin: 0;
37
+ padding: 0;
38
+ background-color: #fff;
39
+ -webkit-background-clip: content;
40
+ box-shadow: 1px 1px 50px rgba(0, 0, 0, .3);
41
+ border-radius: 2px;
42
+ -webkit-animation-fill-mode: both;
43
+ animation-fill-mode: both;
44
+ -webkit-animation-duration: .3s;
45
+ animation-duration: .3s
46
+ }
47
+
48
+ .layui-layer-close {
49
+ position: absolute
50
+ }
51
+
52
+ .layui-layer-content {
53
+ position: relative
54
+ }
55
+
56
+ .layui-layer-border {
57
+ border: 1px solid #B2B2B2;
58
+ border: 1px solid rgba(0, 0, 0, .3);
59
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, .2)
60
+ }
61
+
62
+ .layui-layer-moves {
63
+ position: absolute;
64
+ border: 3px solid #666;
65
+ border: 3px solid rgba(0, 0, 0, .5);
66
+ cursor: move;
67
+ background-color: #fff;
68
+ background-color: rgba(255, 255, 255, .3);
69
+ filter: alpha(opacity=50)
70
+ }
71
+
72
+ .layui-layer-load {
73
+ background: url(../images/loading-0.gif) center center no-repeat #fff
74
+ }
75
+
76
+ .layui-layer-ico {
77
+ background: url(../images/icon.png) no-repeat
78
+ }
79
+
80
+ .layui-layer-btn a, .layui-layer-dialog .layui-layer-ico, .layui-layer-setwin a {
81
+ display: inline-block;
82
+ *display: inline;
83
+ *zoom: 1;
84
+ vertical-align: top
85
+ }
86
+
87
+ @-webkit-keyframes bounceIn {
88
+ 0% {
89
+ opacity: 0;
90
+ -webkit-transform: scale(.5);
91
+ transform: scale(.5)
92
+ }
93
+ 100% {
94
+ opacity: 1;
95
+ -webkit-transform: scale(1);
96
+ transform: scale(1)
97
+ }
98
+ }
99
+
100
+ @keyframes bounceIn {
101
+ 0% {
102
+ opacity: 0;
103
+ -webkit-transform: scale(.5);
104
+ -ms-transform: scale(.5);
105
+ transform: scale(.5)
106
+ }
107
+ 100% {
108
+ opacity: 1;
109
+ -webkit-transform: scale(1);
110
+ -ms-transform: scale(1);
111
+ transform: scale(1)
112
+ }
113
+ }
114
+
115
+ .layui-anim {
116
+ -webkit-animation-name: bounceIn;
117
+ animation-name: bounceIn
118
+ }
119
+
120
+ @-webkit-keyframes bounceOut {
121
+ 100% {
122
+ opacity: 0;
123
+ -webkit-transform: scale(.7);
124
+ transform: scale(.7)
125
+ }
126
+ 30% {
127
+ -webkit-transform: scale(1.03);
128
+ transform: scale(1.03)
129
+ }
130
+ 0% {
131
+ -webkit-transform: scale(1);
132
+ transform: scale(1)
133
+ }
134
+ }
135
+
136
+ @keyframes bounceOut {
137
+ 100% {
138
+ opacity: 0;
139
+ -webkit-transform: scale(.7);
140
+ -ms-transform: scale(.7);
141
+ transform: scale(.7)
142
+ }
143
+ 30% {
144
+ -webkit-transform: scale(1.03);
145
+ -ms-transform: scale(1.03);
146
+ transform: scale(1.03)
147
+ }
148
+ 0% {
149
+ -webkit-transform: scale(1);
150
+ -ms-transform: scale(1);
151
+ transform: scale(1)
152
+ }
153
+ }
154
+
155
+ .layui-anim-close {
156
+ -webkit-animation-name: bounceOut;
157
+ animation-name: bounceOut;
158
+ -webkit-animation-duration: .2s;
159
+ animation-duration: .2s
160
+ }
161
+
162
+ @-webkit-keyframes zoomInDown {
163
+ 0% {
164
+ opacity: 0;
165
+ -webkit-transform: scale(.1) translateY(-2000px);
166
+ transform: scale(.1) translateY(-2000px);
167
+ -webkit-animation-timing-function: ease-in-out;
168
+ animation-timing-function: ease-in-out
169
+ }
170
+ 60% {
171
+ opacity: 1;
172
+ -webkit-transform: scale(.475) translateY(60px);
173
+ transform: scale(.475) translateY(60px);
174
+ -webkit-animation-timing-function: ease-out;
175
+ animation-timing-function: ease-out
176
+ }
177
+ }
178
+
179
+ @keyframes zoomInDown {
180
+ 0% {
181
+ opacity: 0;
182
+ -webkit-transform: scale(.1) translateY(-2000px);
183
+ -ms-transform: scale(.1) translateY(-2000px);
184
+ transform: scale(.1) translateY(-2000px);
185
+ -webkit-animation-timing-function: ease-in-out;
186
+ animation-timing-function: ease-in-out
187
+ }
188
+ 60% {
189
+ opacity: 1;
190
+ -webkit-transform: scale(.475) translateY(60px);
191
+ -ms-transform: scale(.475) translateY(60px);
192
+ transform: scale(.475) translateY(60px);
193
+ -webkit-animation-timing-function: ease-out;
194
+ animation-timing-function: ease-out
195
+ }
196
+ }
197
+
198
+ .layui-anim-01 {
199
+ -webkit-animation-name: zoomInDown;
200
+ animation-name: zoomInDown
201
+ }
202
+
203
+ @-webkit-keyframes fadeInUpBig {
204
+ 0% {
205
+ opacity: 0;
206
+ -webkit-transform: translateY(2000px);
207
+ transform: translateY(2000px)
208
+ }
209
+ 100% {
210
+ opacity: 1;
211
+ -webkit-transform: translateY(0);
212
+ transform: translateY(0)
213
+ }
214
+ }
215
+
216
+ @keyframes fadeInUpBig {
217
+ 0% {
218
+ opacity: 0;
219
+ -webkit-transform: translateY(2000px);
220
+ -ms-transform: translateY(2000px);
221
+ transform: translateY(2000px)
222
+ }
223
+ 100% {
224
+ opacity: 1;
225
+ -webkit-transform: translateY(0);
226
+ -ms-transform: translateY(0);
227
+ transform: translateY(0)
228
+ }
229
+ }
230
+
231
+ .layui-anim-02 {
232
+ -webkit-animation-name: fadeInUpBig;
233
+ animation-name: fadeInUpBig
234
+ }
235
+
236
+ @-webkit-keyframes zoomInLeft {
237
+ 0% {
238
+ opacity: 0;
239
+ -webkit-transform: scale(.1) translateX(-2000px);
240
+ transform: scale(.1) translateX(-2000px);
241
+ -webkit-animation-timing-function: ease-in-out;
242
+ animation-timing-function: ease-in-out
243
+ }
244
+ 60% {
245
+ opacity: 1;
246
+ -webkit-transform: scale(.475) translateX(48px);
247
+ transform: scale(.475) translateX(48px);
248
+ -webkit-animation-timing-function: ease-out;
249
+ animation-timing-function: ease-out
250
+ }
251
+ }
252
+
253
+ @keyframes zoomInLeft {
254
+ 0% {
255
+ opacity: 0;
256
+ -webkit-transform: scale(.1) translateX(-2000px);
257
+ -ms-transform: scale(.1) translateX(-2000px);
258
+ transform: scale(.1) translateX(-2000px);
259
+ -webkit-animation-timing-function: ease-in-out;
260
+ animation-timing-function: ease-in-out
261
+ }
262
+ 60% {
263
+ opacity: 1;
264
+ -webkit-transform: scale(.475) translateX(48px);
265
+ -ms-transform: scale(.475) translateX(48px);
266
+ transform: scale(.475) translateX(48px);
267
+ -webkit-animation-timing-function: ease-out;
268
+ animation-timing-function: ease-out
269
+ }
270
+ }
271
+
272
+ .layui-anim-03 {
273
+ -webkit-animation-name: zoomInLeft;
274
+ animation-name: zoomInLeft
275
+ }
276
+
277
+ @-webkit-keyframes rollIn {
278
+ 0% {
279
+ opacity: 0;
280
+ -webkit-transform: translateX(-100%) rotate(-120deg);
281
+ transform: translateX(-100%) rotate(-120deg)
282
+ }
283
+ 100% {
284
+ opacity: 1;
285
+ -webkit-transform: translateX(0) rotate(0);
286
+ transform: translateX(0) rotate(0)
287
+ }
288
+ }
289
+
290
+ @keyframes rollIn {
291
+ 0% {
292
+ opacity: 0;
293
+ -webkit-transform: translateX(-100%) rotate(-120deg);
294
+ -ms-transform: translateX(-100%) rotate(-120deg);
295
+ transform: translateX(-100%) rotate(-120deg)
296
+ }
297
+ 100% {
298
+ opacity: 1;
299
+ -webkit-transform: translateX(0) rotate(0);
300
+ -ms-transform: translateX(0) rotate(0);
301
+ transform: translateX(0) rotate(0)
302
+ }
303
+ }
304
+
305
+ .layui-anim-04 {
306
+ -webkit-animation-name: rollIn;
307
+ animation-name: rollIn
308
+ }
309
+
310
+ @keyframes fadeIn {
311
+ 0% {
312
+ opacity: 0
313
+ }
314
+ 100% {
315
+ opacity: 1
316
+ }
317
+ }
318
+
319
+ .layui-anim-05 {
320
+ -webkit-animation-name: fadeIn;
321
+ animation-name: fadeIn
322
+ }
323
+
324
+ @-webkit-keyframes shake {
325
+ 0%, 100% {
326
+ -webkit-transform: translateX(0);
327
+ transform: translateX(0)
328
+ }
329
+ 10%, 30%, 50%, 70%, 90% {
330
+ -webkit-transform: translateX(-10px);
331
+ transform: translateX(-10px)
332
+ }
333
+ 20%, 40%, 60%, 80% {
334
+ -webkit-transform: translateX(10px);
335
+ transform: translateX(10px)
336
+ }
337
+ }
338
+
339
+ @keyframes shake {
340
+ 0%, 100% {
341
+ -webkit-transform: translateX(0);
342
+ -ms-transform: translateX(0);
343
+ transform: translateX(0)
344
+ }
345
+ 10%, 30%, 50%, 70%, 90% {
346
+ -webkit-transform: translateX(-10px);
347
+ -ms-transform: translateX(-10px);
348
+ transform: translateX(-10px)
349
+ }
350
+ 20%, 40%, 60%, 80% {
351
+ -webkit-transform: translateX(10px);
352
+ -ms-transform: translateX(10px);
353
+ transform: translateX(10px)
354
+ }
355
+ }
356
+
357
+ .layui-anim-06 {
358
+ -webkit-animation-name: shake;
359
+ animation-name: shake
360
+ }
361
+
362
+ @-webkit-keyframes fadeIn {
363
+ 0% {
364
+ opacity: 0
365
+ }
366
+ 100% {
367
+ opacity: 1
368
+ }
369
+ }
370
+
371
+ .layui-layer-title {
372
+ padding: 0 80px 0 20px;
373
+ height: 42px;
374
+ line-height: 42px;
375
+ border-bottom: 1px solid #eee;
376
+ font-size: 14px;
377
+ color: #333;
378
+ overflow: hidden;
379
+ text-overflow: ellipsis;
380
+ white-space: nowrap;
381
+ background-color: #F8F8F8;
382
+ border-radius: 2px 2px 0 0
383
+ }
384
+
385
+ .layui-layer-setwin {
386
+ position: absolute;
387
+ right: 15px;
388
+ *right: 0;
389
+ top: 15px;
390
+ font-size: 0;
391
+ line-height: initial
392
+ }
393
+
394
+ .layui-layer-setwin a {
395
+ position: relative;
396
+ width: 16px;
397
+ height: 16px;
398
+ margin-left: 10px;
399
+ font-size: 12px;
400
+ _overflow: hidden
401
+ }
402
+
403
+ .layui-layer-setwin .layui-layer-min cite {
404
+ position: absolute;
405
+ width: 14px;
406
+ height: 2px;
407
+ left: 0;
408
+ top: 50%;
409
+ margin-top: -1px;
410
+ background-color: #2E2D3C;
411
+ cursor: pointer;
412
+ _overflow: hidden
413
+ }
414
+
415
+ .layui-layer-setwin .layui-layer-min:hover cite {
416
+ background-color: #2D93CA
417
+ }
418
+
419
+ .layui-layer-setwin .layui-layer-max {
420
+ background-position: -32px -40px
421
+ }
422
+
423
+ .layui-layer-setwin .layui-layer-max:hover {
424
+ background-position: -16px -40px
425
+ }
426
+
427
+ .layui-layer-setwin .layui-layer-maxmin {
428
+ background-position: -65px -40px
429
+ }
430
+
431
+ .layui-layer-setwin .layui-layer-maxmin:hover {
432
+ background-position: -49px -40px
433
+ }
434
+
435
+ .layui-layer-setwin .layui-layer-close1 {
436
+ background-position: 0 -40px;
437
+ cursor: pointer
438
+ }
439
+
440
+ .layui-layer-setwin .layui-layer-close1:hover {
441
+ opacity: .7
442
+ }
443
+
444
+ .layui-layer-setwin .layui-layer-close2 {
445
+ position: absolute;
446
+ right: -28px;
447
+ top: -28px;
448
+ width: 30px;
449
+ height: 30px;
450
+ margin-left: 0;
451
+ background-position: -149px -31px;
452
+ *right: -18px;
453
+ _display: none
454
+ }
455
+
456
+ .layui-layer-setwin .layui-layer-close2:hover {
457
+ background-position: -180px -31px
458
+ }
459
+
460
+ .layui-layer-btn {
461
+ text-align: right;
462
+ padding: 0 10px 12px;
463
+ pointer-events: auto
464
+ }
465
+
466
+ .layui-layer-btn a {
467
+ height: 28px;
468
+ line-height: 28px;
469
+ margin: 0 6px;
470
+ padding: 0 15px;
471
+ border: 1px solid #dedede;
472
+ background-color: #f1f1f1;
473
+ color: #333;
474
+ border-radius: 2px;
475
+ font-weight: 400;
476
+ cursor: pointer;
477
+ text-decoration: none
478
+ }
479
+
480
+ .layui-layer-btn a:hover {
481
+ opacity: .9;
482
+ text-decoration: none
483
+ }
484
+
485
+ .layui-layer-btn a:active {
486
+ opacity: .7
487
+ }
488
+
489
+ .layui-layer-btn .layui-layer-btn0 {
490
+ border-color: #4898d5;
491
+ background-color: #2e8ded;
492
+ color: #fff
493
+ }
494
+
495
+ .layui-layer-dialog {
496
+ min-width: 260px
497
+ }
498
+
499
+ .layui-layer-dialog .layui-layer-content {
500
+ position: relative;
501
+ padding: 20px;
502
+ line-height: 24px;
503
+ word-break: break-all;
504
+ font-size: 14px;
505
+ overflow: auto
506
+ }
507
+
508
+ .layui-layer-dialog .layui-layer-content .layui-layer-ico {
509
+ position: absolute;
510
+ top: 16px;
511
+ left: 15px;
512
+ _left: -40px;
513
+ width: 30px;
514
+ height: 30px
515
+ }
516
+
517
+ .layui-layer-ico1 {
518
+ background-position: -30px 0
519
+ }
520
+
521
+ .layui-layer-ico2 {
522
+ background-position: -60px 0
523
+ }
524
+
525
+ .layui-layer-ico3 {
526
+ background-position: -90px 0
527
+ }
528
+
529
+ .layui-layer-ico4 {
530
+ background-position: -120px 0
531
+ }
532
+
533
+ .layui-layer-ico5 {
534
+ background-position: -150px 0
535
+ }
536
+
537
+ .layui-layer-ico6 {
538
+ background-position: -180px 0
539
+ }
540
+
541
+ .layui-layer-rim {
542
+ border: 6px solid #8D8D8D;
543
+ border: 6px solid rgba(0, 0, 0, .3);
544
+ border-radius: 5px;
545
+ box-shadow: none
546
+ }
547
+
548
+ .layui-layer-msg {
549
+ min-width: 180px;
550
+ border: 1px solid #D3D4D3;
551
+ box-shadow: none
552
+ }
553
+
554
+ .layui-layer-hui {
555
+ min-width: 100px;
556
+ background-color: #000;
557
+ filter: alpha(opacity=60);
558
+ background-color: rgba(0, 0, 0, .6);
559
+ color: #fff;
560
+ border: none
561
+ }
562
+
563
+ .layui-layer-hui .layui-layer-content {
564
+ padding: 12px 25px;
565
+ text-align: center
566
+ }
567
+
568
+ .layui-layer-dialog .layui-layer-padding {
569
+ padding: 20px 20px 20px 55px;
570
+ text-align: left
571
+ }
572
+
573
+ .layui-layer-page .layui-layer-content {
574
+ position: relative;
575
+ overflow: auto
576
+ }
577
+
578
+ .layui-layer-iframe .layui-layer-btn, .layui-layer-page .layui-layer-btn {
579
+ padding-top: 10px
580
+ }
581
+
582
+ .layui-layer-nobg {
583
+ background: 0 0
584
+ }
585
+
586
+ .layui-layer-iframe .layui-layer-content {
587
+ overflow: hidden
588
+ }
589
+
590
+ .layui-layer-iframe iframe {
591
+ display: block;
592
+ width: 100%
593
+ }
594
+
595
+ .layui-layer-loading {
596
+ border-radius: 100%;
597
+ background: 0 0;
598
+ box-shadow: none;
599
+ border: none
600
+ }
601
+
602
+ .layui-layer-loading .layui-layer-content {
603
+ width: 60px;
604
+ height: 24px;
605
+ background: url(../images/loading-0.gif) no-repeat
606
+ }
607
+
608
+ .layui-layer-loading .layui-layer-loading1 {
609
+ width: 37px;
610
+ height: 37px;
611
+ background: url(../images/loading-1.gif) no-repeat
612
+ }
613
+
614
+ .layui-layer-ico16, .layui-layer-loading .layui-layer-loading2 {
615
+ width: 32px;
616
+ height: 32px;
617
+ background: url(../images/loading-2.gif) no-repeat
618
+ }
619
+
620
+ .layui-layer-tips {
621
+ background: 0 0;
622
+ box-shadow: none;
623
+ border: none
624
+ }
625
+
626
+ .layui-layer-tips .layui-layer-content {
627
+ position: relative;
628
+ line-height: 22px;
629
+ min-width: 12px;
630
+ padding: 5px 10px;
631
+ font-size: 12px;
632
+ _float: left;
633
+ border-radius: 3px;
634
+ box-shadow: 1px 1px 3px rgba(0, 0, 0, .3);
635
+ background-color: #F90;
636
+ color: #fff
637
+ }
638
+
639
+ .layui-layer-tips .layui-layer-close {
640
+ right: -2px;
641
+ top: -1px
642
+ }
643
+
644
+ .layui-layer-tips i.layui-layer-TipsG {
645
+ position: absolute;
646
+ width: 0;
647
+ height: 0;
648
+ border-width: 8px;
649
+ border-color: transparent;
650
+ border-style: dashed;
651
+ *overflow: hidden
652
+ }
653
+
654
+ .layui-layer-tips i.layui-layer-TipsB, .layui-layer-tips i.layui-layer-TipsT {
655
+ left: 5px;
656
+ border-right-style: solid;
657
+ border-right-color: #F90
658
+ }
659
+
660
+ .layui-layer-tips i.layui-layer-TipsT {
661
+ bottom: -8px
662
+ }
663
+
664
+ .layui-layer-tips i.layui-layer-TipsB {
665
+ top: -8px
666
+ }
667
+
668
+ .layui-layer-tips i.layui-layer-TipsL, .layui-layer-tips i.layui-layer-TipsR {
669
+ top: 1px;
670
+ border-bottom-style: solid;
671
+ border-bottom-color: #F90
672
+ }
673
+
674
+ .layui-layer-tips i.layui-layer-TipsR {
675
+ left: -8px
676
+ }
677
+
678
+ .layui-layer-tips i.layui-layer-TipsL {
679
+ right: -8px
680
+ }
681
+
682
+ .layui-layer-lan[type=dialog] {
683
+ min-width: 280px
684
+ }
685
+
686
+ .layui-layer-lan .layui-layer-title {
687
+ background: #4476A7;
688
+ color: #fff;
689
+ border: none
690
+ }
691
+
692
+ .layui-layer-lan .layui-layer-lan .layui-layer-btn {
693
+ padding: 10px;
694
+ text-align: right;
695
+ border-top: 1px solid #E9E7E7
696
+ }
697
+
698
+ .layui-layer-lan .layui-layer-btn a {
699
+ background: #BBB5B5;
700
+ border: none
701
+ }
702
+
703
+ .layui-layer-lan .layui-layer-btn .layui-layer-btn1 {
704
+ background: #C9C5C5
705
+ }
706
+
707
+ .layui-layer-molv .layui-layer-title {
708
+ background: #009f95;
709
+ color: #fff;
710
+ border: none
711
+ }
712
+
713
+ .layui-layer-molv .layui-layer-btn a {
714
+ background: #009f95
715
+ }
716
+
717
+ .layui-layer-molv .layui-layer-btn .layui-layer-btn1 {
718
+ background: #92B8B1
719
+ }