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,190 @@
1
+ /*!
2
+
3
+ @Name: layer拓展样式
4
+ @Date: 2012.12.13
5
+ @Author: 贤心
6
+ @blog: sentsin.com
7
+
8
+ */
9
+ .layui-layer-imgbar, .layui-layer-imgtit a, .layui-layer-tab .layui-layer-title span {
10
+ text-overflow: ellipsis;
11
+ white-space: nowrap
12
+ }
13
+
14
+ .layui-layer-iconext {
15
+ background: url(../images/icon-ext.png) no-repeat
16
+ }
17
+
18
+ html #layui_layer_skinlayerextcss {
19
+ display: none;
20
+ position: absolute;
21
+ width: 1989px
22
+ }
23
+
24
+ .layui-layer-prompt .layui-layer-input {
25
+ display: block;
26
+ width: 220px;
27
+ height: 30px;
28
+ margin: 0 auto;
29
+ line-height: 30px;
30
+ padding: 0 5px;
31
+ border: 1px solid #ccc;
32
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, .1) inset;
33
+ color: #333
34
+ }
35
+
36
+ .layui-layer-prompt textarea.layui-layer-input {
37
+ width: 300px;
38
+ height: 100px;
39
+ line-height: 20px
40
+ }
41
+
42
+ .layui-layer-tab {
43
+ box-shadow: 1px 1px 50px rgba(0, 0, 0, .4)
44
+ }
45
+
46
+ .layui-layer-tab .layui-layer-title {
47
+ padding-left: 0;
48
+ border-bottom: 1px solid #ccc;
49
+ background-color: #eee;
50
+ overflow: visible
51
+ }
52
+
53
+ .layui-layer-tab .layui-layer-title span {
54
+ position: relative;
55
+ float: left;
56
+ min-width: 80px;
57
+ max-width: 260px;
58
+ padding: 0 20px;
59
+ text-align: center;
60
+ cursor: default;
61
+ overflow: hidden
62
+ }
63
+
64
+ .layui-layer-tab .layui-layer-title span.layui-layer-tabnow {
65
+ height: 43px;
66
+ border-left: 1px solid #ccc;
67
+ border-right: 1px solid #ccc;
68
+ background-color: #fff;
69
+ z-index: 10
70
+ }
71
+
72
+ .layui-layer-tab .layui-layer-title span:first-child {
73
+ border-left: none
74
+ }
75
+
76
+ .layui-layer-tabmain {
77
+ line-height: 24px;
78
+ clear: both
79
+ }
80
+
81
+ .layui-layer-tabmain .layui-layer-tabli {
82
+ display: none
83
+ }
84
+
85
+ .layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer {
86
+ display: block
87
+ }
88
+
89
+ .xubox_tabclose {
90
+ position: absolute;
91
+ right: 10px;
92
+ top: 5px;
93
+ cursor: pointer
94
+ }
95
+
96
+ .layui-layer-photos {
97
+ -webkit-animation-duration: 1s;
98
+ animation-duration: 1s;
99
+ }
100
+
101
+ .layui-layer-photos .layui-layer-content {
102
+ overflow: hidden;
103
+ text-align: center
104
+ }
105
+
106
+ .layui-layer-photos .layui-layer-phimg img {
107
+ position: relative;
108
+ width: 100%;
109
+ display: inline-block;
110
+ *display: inline;
111
+ *zoom: 1;
112
+ vertical-align: top
113
+ }
114
+
115
+ .layui-layer-imgbar, .layui-layer-imguide {
116
+ display: none
117
+ }
118
+
119
+ .layui-layer-imgnext, .layui-layer-imgprev {
120
+ position: absolute;
121
+ top: 50%;
122
+ width: 27px;
123
+ _width: 44px;
124
+ height: 44px;
125
+ margin-top: -22px;
126
+ outline: 0;
127
+ blr: expression(this.onFocus=this.blur())
128
+ }
129
+
130
+ .layui-layer-imgprev {
131
+ left: 10px;
132
+ background-position: -5px -5px;
133
+ _background-position: -70px -5px
134
+ }
135
+
136
+ .layui-layer-imgprev:hover {
137
+ background-position: -33px -5px;
138
+ _background-position: -120px -5px
139
+ }
140
+
141
+ .layui-layer-imgnext {
142
+ right: 10px;
143
+ _right: 8px;
144
+ background-position: -5px -50px;
145
+ _background-position: -70px -50px
146
+ }
147
+
148
+ .layui-layer-imgnext:hover {
149
+ background-position: -33px -50px;
150
+ _background-position: -120px -50px
151
+ }
152
+
153
+ .layui-layer-imgbar {
154
+ position: absolute;
155
+ left: 0;
156
+ bottom: 0;
157
+ width: 100%;
158
+ height: 32px;
159
+ line-height: 32px;
160
+ background-color: rgba(0, 0, 0, .8);
161
+ background-color: #000 \9;
162
+ filter: Alpha(opacity=80);
163
+ color: #fff;
164
+ overflow: hidden;
165
+ font-size: 0
166
+ }
167
+
168
+ .layui-layer-imgtit * {
169
+ display: inline-block;
170
+ *display: inline;
171
+ *zoom: 1;
172
+ vertical-align: top;
173
+ font-size: 12px
174
+ }
175
+
176
+ .layui-layer-imgtit a {
177
+ max-width: 65%;
178
+ overflow: hidden;
179
+ color: #fff
180
+ }
181
+
182
+ .layui-layer-imgtit a:hover {
183
+ color: #fff;
184
+ text-decoration: underline
185
+ }
186
+
187
+ .layui-layer-imgtit em {
188
+ padding-left: 10px;
189
+ font-style: normal
190
+ }
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: layer-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - xiajian
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-12-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: " layer 是贤心创作的一款颇受好评的jquery 弹出层插件 "
42
+ email:
43
+ - jhqy2011@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - bin/console
49
+ - bin/setup
50
+ - lib/layer/rails.rb
51
+ - lib/layer/rails/version.rb
52
+ - vendor/assets/images/icon-ext.png
53
+ - vendor/assets/images/icon.png
54
+ - vendor/assets/images/loading-0.gif
55
+ - vendor/assets/images/loading-1.gif
56
+ - vendor/assets/images/loading-2.gif
57
+ - vendor/assets/javascript/layer.ext.js
58
+ - vendor/assets/javascript/layer.js
59
+ - vendor/assets/stylesheets/layer.css
60
+ - vendor/assets/stylesheets/layer.ext.css
61
+ homepage: https://github.com/xiajian/layer-rails
62
+ licenses:
63
+ - MIT
64
+ metadata: {}
65
+ post_install_message: Thanks for installing! Enjoy layer-rails~
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ requirements: []
80
+ rubyforge_project:
81
+ rubygems_version: 2.4.8
82
+ signing_key:
83
+ specification_version: 4
84
+ summary: "正对 layer 弹出层 jquery 插件的rails assets 封装"
85
+ test_files: []