xdan-datetimepicker-rails 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,304 @@
1
+ .xdsoft_datetimepicker{
2
+ box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.506);
3
+ background: #FFFFFF;
4
+ border-bottom: 1px solid #BBBBBB;
5
+ border-left: 1px solid #CCCCCC;
6
+ border-right: 1px solid #CCCCCC;
7
+ border-top: 1px solid #CCCCCC;
8
+ color: #333333;
9
+ display: block;
10
+ font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
11
+ padding: 8px;
12
+ padding-left: 0px;
13
+ padding-top: 2px;
14
+ position: absolute;
15
+ z-index: 9999;
16
+ -moz-box-sizing: border-box;
17
+ box-sizing: border-box;
18
+ display:none;
19
+ }
20
+
21
+ .xdsoft_datetimepicker iframe {
22
+ position: absolute;
23
+ left: 0;
24
+ top: 0;
25
+ width: 75px;
26
+ height: 210px;
27
+ background: transparent;
28
+ border:none;
29
+ }
30
+ /*For IE8 or lower*/
31
+ .xdsoft_datetimepicker button {
32
+ border:none !important;
33
+ }
34
+
35
+ .xdsoft_noselect{
36
+ -webkit-touch-callout: none;
37
+ -webkit-user-select: none;
38
+ -khtml-user-select: none;
39
+ -moz-user-select: none;
40
+ -ms-user-select: none;
41
+ -o-user-select: none;
42
+ user-select: none;
43
+ }
44
+ .xdsoft_noselect::selection { background: transparent; }
45
+ .xdsoft_noselect::-moz-selection { background: transparent; }
46
+ .xdsoft_datetimepicker.xdsoft_inline{
47
+ display: inline-block;
48
+ position: static;
49
+ box-shadow: none;
50
+ }
51
+ .xdsoft_datetimepicker *{
52
+ -moz-box-sizing: border-box;
53
+ box-sizing: border-box;
54
+ padding:0px;
55
+ margin:0px;
56
+ }
57
+ .xdsoft_datetimepicker .xdsoft_datepicker, .xdsoft_datetimepicker .xdsoft_timepicker{
58
+ display:none;
59
+ }
60
+ .xdsoft_datetimepicker .xdsoft_datepicker.active, .xdsoft_datetimepicker .xdsoft_timepicker.active{
61
+ display:block;
62
+ }
63
+ .xdsoft_datetimepicker .xdsoft_datepicker{
64
+ width: 224px;
65
+ float:left;
66
+ margin-left:8px;
67
+ }
68
+ .xdsoft_datetimepicker .xdsoft_timepicker{
69
+ width: 58px;
70
+ float:left;
71
+ text-align:center;
72
+ margin-left:8px;
73
+ margin-top:0px;
74
+ }
75
+ .xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker{
76
+ margin-top:8px;
77
+ margin-bottom:3px
78
+ }
79
+ .xdsoft_datetimepicker .xdsoft_mounthpicker{
80
+ position: relative;
81
+ text-align: center;
82
+ }
83
+
84
+ .xdsoft_datetimepicker .xdsoft_prev, .xdsoft_datetimepicker .xdsoft_next,.xdsoft_datetimepicker .xdsoft_today_button{
85
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAAAeCAYAAACsYQl4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0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1v6orn0InTogYDGUkYLO3/wc9BdqqTCKP1Tfi+oTIaCBIL2TES+GTyruT9S61p6BHam+99DFEAgLFklYsIBHwSI9QY80H5ta+1rB/6ovaKihBJeEJbgLbBlQgl+j3lDPqA2tfQV1j3pVn8s+oKHGTSVJ+FqDLeR5bCqJ2E/BCycsoLZETXaKGs7rhKVt+9HZScrZNMi88V8P7LlDbvOZYaJVpMMmBCT4n0o8dTBoNgbdWPsRYACs3r7XyNfbnAAAAABJRU5ErkJggg==');
86
+ }
87
+ .xdsoft_datetimepicker .xdsoft_prev{
88
+ float: left;
89
+ background-position:-20px 0px;
90
+ }
91
+ .xdsoft_datetimepicker .xdsoft_today_button{
92
+ float: left;
93
+ background-position:-70px 0px;
94
+ margin-left:5px;
95
+ }
96
+
97
+ .xdsoft_datetimepicker .xdsoft_next{
98
+ float: right;
99
+ background-position:0px 0px;
100
+ }
101
+ .xdsoft_datetimepicker .xdsoft_next:active,.xdsoft_datetimepicker .xdsoft_prev:active{
102
+ }
103
+ .xdsoft_datetimepicker .xdsoft_next,.xdsoft_datetimepicker .xdsoft_prev ,.xdsoft_datetimepicker .xdsoft_today_button{
104
+ background-color: transparent;
105
+ background-repeat: no-repeat;
106
+ border: 0px none currentColor;
107
+ cursor: pointer;
108
+ display: block;
109
+ height: 30px;
110
+ opacity: 0.5;
111
+ outline: medium none currentColor;
112
+ overflow: hidden;
113
+ padding: 0px;
114
+ position: relative;
115
+ text-indent: 100%;
116
+ white-space: nowrap;
117
+ width: 20px;
118
+ }
119
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev,
120
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next{
121
+ float:none;
122
+ background-position:-40px -15px;
123
+ height: 15px;
124
+ width: 30px;
125
+ display: block;
126
+ margin-left:14px;
127
+ margin-top:7px;
128
+ }
129
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev{
130
+ background-position:-40px 0px;
131
+ margin-bottom:7px;
132
+ margin-top:0px;
133
+ }
134
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box{
135
+ height:151px;
136
+ overflow:hidden;
137
+ border-bottom:1px solid #DDDDDD;
138
+ }
139
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div{
140
+ background: #F5F5F5;
141
+ border-top:1px solid #DDDDDD;
142
+ color: #666666;
143
+ font-size: 12px;
144
+ text-align: center;
145
+ border-collapse:collapse;
146
+ cursor:pointer;
147
+ border-bottom-width:0px;
148
+ height:25px;
149
+ line-height:25px;
150
+ }
151
+
152
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div > div:first-child{
153
+ border-top-width:0px;
154
+ }
155
+ .xdsoft_datetimepicker .xdsoft_today_button:hover,
156
+ .xdsoft_datetimepicker .xdsoft_next:hover,
157
+ .xdsoft_datetimepicker .xdsoft_prev:hover {
158
+ opacity: 1;
159
+ }
160
+ .xdsoft_datetimepicker .xdsoft_label{
161
+ display: inline;
162
+ position: relative;
163
+ z-index: 9999;
164
+ margin: 0;
165
+ padding: 5px 3px;
166
+ font-size: 14px;
167
+ line-height: 20px;
168
+ font-weight: bold;
169
+ background-color: #fff;
170
+ float:left;
171
+ width:182px;
172
+ text-align:center;
173
+ cursor:pointer;
174
+ }
175
+ .xdsoft_datetimepicker .xdsoft_label:hover{
176
+ text-decoration:underline;
177
+ }
178
+ .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select{
179
+ border:1px solid #ccc;
180
+ position:absolute;
181
+ display:block;
182
+ right:0px;
183
+ top:30px;
184
+ z-index:101;
185
+ display:none;
186
+ background:#fff;
187
+ max-height:160px;
188
+ overflow-y:hidden;
189
+ }
190
+ .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_monthselect{right:-7px;}
191
+ .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_yearselect{right:2px;}
192
+ .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover{
193
+ color: #fff;
194
+ background: #ff8000;
195
+ }
196
+ .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option{
197
+ padding:2px 10px 2px 5px;
198
+ }
199
+ .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{
200
+ background: #33AAFF;
201
+ box-shadow: #178FE5 0px 1px 3px 0px inset;
202
+ color:#fff;
203
+ font-weight: 700;
204
+ }
205
+ .xdsoft_datetimepicker .xdsoft_month{
206
+ width:90px;
207
+ text-align:right;
208
+ }
209
+ .xdsoft_datetimepicker .xdsoft_calendar{
210
+ clear:both;
211
+ }
212
+ .xdsoft_datetimepicker .xdsoft_year{
213
+ width:56px;
214
+ }
215
+ .xdsoft_datetimepicker .xdsoft_calendar table{
216
+ border-collapse:collapse;
217
+ width:100%;
218
+
219
+ }
220
+ .xdsoft_datetimepicker .xdsoft_calendar td > div{
221
+ padding-right:5px;
222
+ }
223
+ .xdsoft_datetimepicker .xdsoft_calendar th{
224
+ height: 25px;
225
+ }
226
+ .xdsoft_datetimepicker .xdsoft_calendar td,.xdsoft_datetimepicker .xdsoft_calendar th{
227
+ width:14.2857142%;
228
+ text-align:center;
229
+ background: #F5F5F5;
230
+ border:1px solid #DDDDDD;
231
+ color: #666666;
232
+ font-size: 12px;
233
+ text-align: right;
234
+ padding:0px;
235
+ border-collapse:collapse;
236
+ cursor:pointer;
237
+ height: 25px;
238
+ }
239
+ .xdsoft_datetimepicker .xdsoft_calendar th{
240
+ background: #F1F1F1;
241
+ }
242
+ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today{
243
+ color:#33AAFF;
244
+ }
245
+ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
246
+ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
247
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
248
+ background: #33AAFF;
249
+ box-shadow: #178FE5 0px 1px 3px 0px inset;
250
+ color:#fff;
251
+ font-weight: 700;
252
+ }
253
+ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month,
254
+ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
255
+ .xdsoft_datetimepicker .xdsoft_time_box >div >div.xdsoft_disabled{
256
+ opacity:0.5;
257
+ }
258
+ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled{
259
+ opacity:0.2;
260
+ }
261
+ .xdsoft_datetimepicker .xdsoft_calendar td:hover,
262
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div:hover{
263
+ color: #fff !important;
264
+ background: #ff8000 !important;
265
+ box-shadow: none !important;
266
+ }
267
+ .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover,
268
+ .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_disabled:hover{
269
+ color: inherit !important;
270
+ background: inherit !important;
271
+ box-shadow: inherit !important;
272
+ }
273
+ .xdsoft_datetimepicker .xdsoft_calendar th{
274
+ font-weight: 700;
275
+ text-align: center;
276
+ color: #999;
277
+ cursor:default;
278
+ }
279
+ .xdsoft_datetimepicker .xdsoft_copyright{ color:#ccc !important; font-size:10px;clear:both;float:none;margin-left:8px;}
280
+ .xdsoft_datetimepicker .xdsoft_copyright a{ color:#eee !important;}
281
+ .xdsoft_datetimepicker .xdsoft_copyright a:hover{ color:#aaa !important;}
282
+
283
+
284
+ .xdsoft_time_box{
285
+ position:relative;
286
+ border:1px solid #ccc;
287
+ }
288
+ .xdsoft_scrollbar >.xdsoft_scroller{
289
+ background:#ccc !important;
290
+ height:20px;
291
+ border-radius:3px;
292
+ }
293
+ .xdsoft_scrollbar{
294
+ position:absolute;
295
+ width:7px;
296
+ width:7px;
297
+ right:0px;
298
+ top:0px;
299
+ bottom:0px;
300
+ cursor:pointer;
301
+ }
302
+ .xdsoft_scroller_box{
303
+ position:relative;
304
+ }
@@ -0,0 +1,5 @@
1
+ require "xdan-datetimepicker-rails/version"
2
+ require "xdan-datetimepicker-rails/engine"
3
+
4
+ module XdanDatetimepickerRails
5
+ end
@@ -0,0 +1,7 @@
1
+ module XdanDatetimepickerRails
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ isolate_namespace XdanDatetimepickerRails
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,3 @@
1
+ module XdanDatetimepickerRails
2
+ VERSION = "2.1.9"
3
+ end
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xdan-datetimepicker-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.1.9
5
+ platform: ruby
6
+ authors:
7
+ - Joshua Kovach
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.16
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.16
27
+ - !ruby/object:Gem::Dependency
28
+ name: jquery-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.5'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: XDan's jQuery DateTimePicker packaged for the Rails Asset Pipeline
70
+ email:
71
+ - kovach.jc@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - Rakefile
79
+ - app/assets/javascripts/jquery.xdan.datetimepicker.js
80
+ - app/assets/stylesheets/jquery.xdan.datetimepicker.css
81
+ - lib/xdan-datetimepicker-rails.rb
82
+ - lib/xdan-datetimepicker-rails/engine.rb
83
+ - lib/xdan-datetimepicker-rails/version.rb
84
+ homepage: https://www.github.com/shekibobo/xdan-datetimepicker-rails
85
+ licenses:
86
+ - MIT
87
+ metadata: {}
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubyforge_project:
104
+ rubygems_version: 2.2.0
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: XDan's jQuery DateTimePicker packaged for the Rails Asset Pipeline
108
+ test_files: []
109
+ has_rdoc: