simple_form_extension 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/simple_form_extension/templates/config/locales/simple_form_extension.en.yml +6 -0
- data/lib/generators/simple_form_extension/templates/config/locales/simple_form_extension.fr.yml +6 -0
- data/lib/simple_form_extension/inputs/date_time_input.rb +15 -3
- data/lib/simple_form_extension/version.rb +1 -1
- data/vendor/assets/javascripts/.DS_Store +0 -0
- data/vendor/assets/javascripts/jquery.datetimepicker.js +1538 -0
- data/vendor/assets/javascripts/simple_form_extension.coffee +8 -0
- data/vendor/assets/javascripts/simple_form_extension/.DS_Store +0 -0
- data/vendor/assets/javascripts/simple_form_extension/datetimepicker.coffee +46 -0
- data/vendor/assets/javascripts/simple_form_extension/redactor.coffee +1 -7
- data/vendor/assets/stylesheets/jquery.datetimepicker.css +417 -0
- data/vendor/assets/stylesheets/simple_form_extension.sass +1 -0
- metadata +7 -2
@@ -1,2 +1,10 @@
|
|
1
1
|
#= require redactor-rails/redactor.min
|
2
|
+
#= require jquery.datetimepicker
|
3
|
+
#= require_self
|
2
4
|
#= require_tree ./simple_form_extension
|
5
|
+
|
6
|
+
window.onPageReady = (callback) ->
|
7
|
+
$(document).ready ->
|
8
|
+
callback() if Turbolinks is undefined
|
9
|
+
|
10
|
+
$(document).on('page:change', callback);
|
Binary file
|
@@ -0,0 +1,46 @@
|
|
1
|
+
class DateTimePicker
|
2
|
+
@forInput = ($input, type) ->
|
3
|
+
if (picker = $input.data('simple-form-extension-datetimepicker'))
|
4
|
+
picker
|
5
|
+
else
|
6
|
+
new type($input)
|
7
|
+
|
8
|
+
constructor: (@$input) ->
|
9
|
+
@locale = $('html').attr('lang') || 'en'
|
10
|
+
@$input.data('simple-form-extension-datetimepicker', this)
|
11
|
+
@initializePicker()
|
12
|
+
|
13
|
+
initializePicker: ->
|
14
|
+
@$input.datetimepicker(
|
15
|
+
lang: @locale
|
16
|
+
format: @$input.data('datetime-format')
|
17
|
+
dayOfWeekStart: @$input.data('week-start-day')
|
18
|
+
)
|
19
|
+
|
20
|
+
show: ->
|
21
|
+
@$input.datetimepicker('show')
|
22
|
+
|
23
|
+
class DatePicker extends DateTimePicker
|
24
|
+
initializePicker: ->
|
25
|
+
@$input.datetimepicker(
|
26
|
+
lang: @locale
|
27
|
+
timepicker: false
|
28
|
+
format: @$input.data('date-format')
|
29
|
+
dayOfWeekStart: @$input.data('week-start-day')
|
30
|
+
)
|
31
|
+
|
32
|
+
# Lazy initialization of date and datetime pickers
|
33
|
+
onPageReady ->
|
34
|
+
$('body').on 'click', 'input.datetime', (e) ->
|
35
|
+
DateTimePicker.forInput($(e.currentTarget), DateTimePicker).show()
|
36
|
+
|
37
|
+
$('body').on 'click', '.datetime .datetimepicker-trigger', (e) ->
|
38
|
+
$input = $(e.currentTarget).closest('.datetime').find('input.datetime')
|
39
|
+
DateTimePicker.forInput($input, DateTimePicker).show()
|
40
|
+
|
41
|
+
$('body').on 'click', 'input.date', (e) ->
|
42
|
+
DatePicker.forInput($(e.currentTarget), DatePicker).show()
|
43
|
+
|
44
|
+
$('body').on 'click', '.date .datetimepicker-trigger', (e) ->
|
45
|
+
$input = $(e.currentTarget).closest('.date').find('input.date')
|
46
|
+
DatePicker.forInput($input, DatePicker).show()
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
onPageReady ->
|
2
2
|
csrf_token = $('meta[name=csrf-token]').attr('content')
|
3
3
|
csrf_param = $('meta[name=csrf-param]').attr('content')
|
4
4
|
|
@@ -15,9 +15,3 @@ initRedactor = ->
|
|
15
15
|
path: "/assets/redactor-rails"
|
16
16
|
css: "style.css"
|
17
17
|
$textArea.data('initialized.redactor', true)
|
18
|
-
|
19
|
-
|
20
|
-
$(document).ready ->
|
21
|
-
initRedactor() if Turbolinks is undefined
|
22
|
-
|
23
|
-
$(document).on('page:change', initRedactor);
|
@@ -0,0 +1,417 @@
|
|
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
|
+
font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
|
10
|
+
padding: 8px;
|
11
|
+
padding-left: 0px;
|
12
|
+
padding-top: 2px;
|
13
|
+
position: absolute;
|
14
|
+
z-index: 9999;
|
15
|
+
-moz-box-sizing: border-box;
|
16
|
+
box-sizing: border-box;
|
17
|
+
display:none;
|
18
|
+
}
|
19
|
+
|
20
|
+
.xdsoft_datetimepicker iframe {
|
21
|
+
position: absolute;
|
22
|
+
left: 0;
|
23
|
+
top: 0;
|
24
|
+
width: 75px;
|
25
|
+
height: 210px;
|
26
|
+
background: transparent;
|
27
|
+
border:none;
|
28
|
+
}
|
29
|
+
/*For IE8 or lower*/
|
30
|
+
.xdsoft_datetimepicker button {
|
31
|
+
border:none !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
.xdsoft_noselect{
|
35
|
+
-webkit-touch-callout: none;
|
36
|
+
-webkit-user-select: none;
|
37
|
+
-khtml-user-select: none;
|
38
|
+
-moz-user-select: none;
|
39
|
+
-ms-user-select: none;
|
40
|
+
-o-user-select: none;
|
41
|
+
user-select: none;
|
42
|
+
}
|
43
|
+
.xdsoft_noselect::selection { background: transparent; }
|
44
|
+
.xdsoft_noselect::-moz-selection { background: transparent; }
|
45
|
+
.xdsoft_datetimepicker.xdsoft_inline{
|
46
|
+
display: inline-block;
|
47
|
+
position: static;
|
48
|
+
box-shadow: none;
|
49
|
+
}
|
50
|
+
.xdsoft_datetimepicker *{
|
51
|
+
-moz-box-sizing: border-box;
|
52
|
+
box-sizing: border-box;
|
53
|
+
padding:0px;
|
54
|
+
margin:0px;
|
55
|
+
}
|
56
|
+
.xdsoft_datetimepicker .xdsoft_datepicker, .xdsoft_datetimepicker .xdsoft_timepicker{
|
57
|
+
display:none;
|
58
|
+
}
|
59
|
+
.xdsoft_datetimepicker .xdsoft_datepicker.active, .xdsoft_datetimepicker .xdsoft_timepicker.active{
|
60
|
+
display:block;
|
61
|
+
}
|
62
|
+
.xdsoft_datetimepicker .xdsoft_datepicker{
|
63
|
+
width: 224px;
|
64
|
+
float:left;
|
65
|
+
margin-left:8px;
|
66
|
+
}
|
67
|
+
.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_datepicker{
|
68
|
+
width: 256px;
|
69
|
+
}
|
70
|
+
.xdsoft_datetimepicker .xdsoft_timepicker{
|
71
|
+
width: 58px;
|
72
|
+
float:left;
|
73
|
+
text-align:center;
|
74
|
+
margin-left:8px;
|
75
|
+
margin-top:0px;
|
76
|
+
}
|
77
|
+
.xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker{
|
78
|
+
margin-top:8px;
|
79
|
+
margin-bottom:3px
|
80
|
+
}
|
81
|
+
.xdsoft_datetimepicker .xdsoft_mounthpicker{
|
82
|
+
position: relative;
|
83
|
+
text-align: center;
|
84
|
+
}
|
85
|
+
|
86
|
+
.xdsoft_datetimepicker .xdsoft_label i,
|
87
|
+
.xdsoft_datetimepicker .xdsoft_prev,
|
88
|
+
.xdsoft_datetimepicker .xdsoft_next,
|
89
|
+
.xdsoft_datetimepicker .xdsoft_today_button{
|
90
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuM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kdxJDVjgwDlEQgYQBgx+ULJaWSXXS6r/ER5FBVR8VfGftTKcITNs+a1XpcFoExREIDF14AVIFxgQUS+h520cdud6wNkC0UBw6BCO/HoCYwBhD8QCkQ/x1mwDyD4plh4D6DDV0TAGyo4HcawLIBBSLDkHeH0Mg2yVP3l4TQMZQDDsEOl/MgHQqhMNuE0D+oBh0CIr8MAKyazBH9WyBuKxDWgbXfjNf32TZ1KWm/Ap1oSk/R53UtQ5xTh3LUlMmT8gt6g51Q9p+SobxgJQ/qmsfZhWywGFSl0yBjCLJCMgXail3b7+rumdVJ2YRss4cN+r6qAHDkPWjPjdJCF4n9RmAD/V9A/Wp4NQassDjwlB6XBiCxcJQWmZZb8THFilfy/lfrTvLghq2TqTHrRMTKNJ0sIhdo15RT+RpyWwFdY96UZ/LdQKBGjcXpcc1AlSFEfLmouD+1knuxBDUVrvOBmoOC/rEcN7OQxKVeJTCiAdUzUJhA2Oez9QTkp72OTVcxDcXY8iKNkxGAJXmJCOQwOa6dhyXsOa6XwEGAKdeb5ET3rQdAAAAAElFTkSuQmCC);
|
91
|
+
}
|
92
|
+
|
93
|
+
.xdsoft_datetimepicker .xdsoft_label i{
|
94
|
+
opacity:0.5;
|
95
|
+
background-position:-92px -19px;
|
96
|
+
display: inline-block;
|
97
|
+
width: 9px;
|
98
|
+
height: 20px;
|
99
|
+
vertical-align: middle;
|
100
|
+
}
|
101
|
+
|
102
|
+
.xdsoft_datetimepicker .xdsoft_prev{
|
103
|
+
float: left;
|
104
|
+
background-position:-20px 0px;
|
105
|
+
}
|
106
|
+
.xdsoft_datetimepicker .xdsoft_today_button{
|
107
|
+
float: left;
|
108
|
+
background-position:-70px 0px;
|
109
|
+
margin-left:5px;
|
110
|
+
}
|
111
|
+
|
112
|
+
.xdsoft_datetimepicker .xdsoft_next{
|
113
|
+
float: right;
|
114
|
+
background-position:0px 0px;
|
115
|
+
}
|
116
|
+
|
117
|
+
.xdsoft_datetimepicker .xdsoft_next,
|
118
|
+
.xdsoft_datetimepicker .xdsoft_prev ,
|
119
|
+
.xdsoft_datetimepicker .xdsoft_today_button{
|
120
|
+
background-color: transparent;
|
121
|
+
background-repeat: no-repeat;
|
122
|
+
border: 0px none currentColor;
|
123
|
+
cursor: pointer;
|
124
|
+
display: block;
|
125
|
+
height: 30px;
|
126
|
+
opacity: 0.5;
|
127
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
128
|
+
outline: medium none currentColor;
|
129
|
+
overflow: hidden;
|
130
|
+
padding: 0px;
|
131
|
+
position: relative;
|
132
|
+
text-indent: 100%;
|
133
|
+
white-space: nowrap;
|
134
|
+
width: 20px;
|
135
|
+
}
|
136
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev,
|
137
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next{
|
138
|
+
float:none;
|
139
|
+
background-position:-40px -15px;
|
140
|
+
height: 15px;
|
141
|
+
width: 30px;
|
142
|
+
display: block;
|
143
|
+
margin-left:14px;
|
144
|
+
margin-top:7px;
|
145
|
+
}
|
146
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev{
|
147
|
+
background-position:-40px 0px;
|
148
|
+
margin-bottom:7px;
|
149
|
+
margin-top:0px;
|
150
|
+
}
|
151
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box{
|
152
|
+
height:151px;
|
153
|
+
overflow:hidden;
|
154
|
+
border-bottom:1px solid #DDDDDD;
|
155
|
+
}
|
156
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div{
|
157
|
+
background: #F5F5F5;
|
158
|
+
border-top:1px solid #DDDDDD;
|
159
|
+
color: #666666;
|
160
|
+
font-size: 12px;
|
161
|
+
text-align: center;
|
162
|
+
border-collapse:collapse;
|
163
|
+
cursor:pointer;
|
164
|
+
border-bottom-width:0px;
|
165
|
+
height:25px;
|
166
|
+
line-height:25px;
|
167
|
+
}
|
168
|
+
|
169
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div > div:first-child{
|
170
|
+
border-top-width:0px;
|
171
|
+
}
|
172
|
+
.xdsoft_datetimepicker .xdsoft_today_button:hover,
|
173
|
+
.xdsoft_datetimepicker .xdsoft_next:hover,
|
174
|
+
.xdsoft_datetimepicker .xdsoft_prev:hover {
|
175
|
+
opacity: 1;
|
176
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
177
|
+
}
|
178
|
+
.xdsoft_datetimepicker .xdsoft_label{
|
179
|
+
display: inline;
|
180
|
+
position: relative;
|
181
|
+
z-index: 9999;
|
182
|
+
margin: 0;
|
183
|
+
padding: 5px 3px;
|
184
|
+
font-size: 14px;
|
185
|
+
line-height: 20px;
|
186
|
+
font-weight: bold;
|
187
|
+
background-color: #fff;
|
188
|
+
float:left;
|
189
|
+
width:182px;
|
190
|
+
text-align:center;
|
191
|
+
cursor:pointer;
|
192
|
+
}
|
193
|
+
.xdsoft_datetimepicker .xdsoft_label:hover{
|
194
|
+
text-decoration:underline;
|
195
|
+
}
|
196
|
+
.xdsoft_datetimepicker .xdsoft_label:hover i{
|
197
|
+
opacity:1.0;
|
198
|
+
}
|
199
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select{
|
200
|
+
border:1px solid #ccc;
|
201
|
+
position:absolute;
|
202
|
+
right:0px;
|
203
|
+
top:30px;
|
204
|
+
z-index:101;
|
205
|
+
display:none;
|
206
|
+
background:#fff;
|
207
|
+
max-height:160px;
|
208
|
+
overflow-y:hidden;
|
209
|
+
}
|
210
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_monthselect{right:-7px;}
|
211
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_yearselect{right:2px;}
|
212
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover{
|
213
|
+
color: #fff;
|
214
|
+
background: #ff8000;
|
215
|
+
}
|
216
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option{
|
217
|
+
padding:2px 10px 2px 5px;
|
218
|
+
}
|
219
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{
|
220
|
+
background: #33AAFF;
|
221
|
+
box-shadow: #178FE5 0px 1px 3px 0px inset;
|
222
|
+
color:#fff;
|
223
|
+
font-weight: 700;
|
224
|
+
}
|
225
|
+
.xdsoft_datetimepicker .xdsoft_month{
|
226
|
+
width:100px;
|
227
|
+
text-align:right;
|
228
|
+
}
|
229
|
+
.xdsoft_datetimepicker .xdsoft_calendar{
|
230
|
+
clear:both;
|
231
|
+
}
|
232
|
+
.xdsoft_datetimepicker .xdsoft_year{
|
233
|
+
width: 48px;
|
234
|
+
margin-left: 5px;
|
235
|
+
}
|
236
|
+
.xdsoft_datetimepicker .xdsoft_calendar table{
|
237
|
+
border-collapse:collapse;
|
238
|
+
width:100%;
|
239
|
+
|
240
|
+
}
|
241
|
+
.xdsoft_datetimepicker .xdsoft_calendar td > div{
|
242
|
+
padding-right:5px;
|
243
|
+
}
|
244
|
+
.xdsoft_datetimepicker .xdsoft_calendar th{
|
245
|
+
height: 25px;
|
246
|
+
}
|
247
|
+
.xdsoft_datetimepicker .xdsoft_calendar td,.xdsoft_datetimepicker .xdsoft_calendar th{
|
248
|
+
width:14.2857142%;
|
249
|
+
background: #F5F5F5;
|
250
|
+
border:1px solid #DDDDDD;
|
251
|
+
color: #666666;
|
252
|
+
font-size: 12px;
|
253
|
+
text-align: right;
|
254
|
+
vertical-align: middle;
|
255
|
+
padding:0px;
|
256
|
+
border-collapse:collapse;
|
257
|
+
cursor:pointer;
|
258
|
+
height: 25px;
|
259
|
+
}
|
260
|
+
.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar td,.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar th{
|
261
|
+
width:12.5%;
|
262
|
+
}
|
263
|
+
.xdsoft_datetimepicker .xdsoft_calendar th{
|
264
|
+
background: #F1F1F1;
|
265
|
+
}
|
266
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today{
|
267
|
+
color:#33AAFF;
|
268
|
+
}
|
269
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
|
270
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
|
271
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
|
272
|
+
background: #33AAFF;
|
273
|
+
box-shadow: #178FE5 0px 1px 3px 0px inset;
|
274
|
+
color:#fff;
|
275
|
+
font-weight: 700;
|
276
|
+
}
|
277
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month,
|
278
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
|
279
|
+
.xdsoft_datetimepicker .xdsoft_time_box >div >div.xdsoft_disabled{
|
280
|
+
opacity:0.5;
|
281
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
|
282
|
+
}
|
283
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled{
|
284
|
+
opacity:0.2;
|
285
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
|
286
|
+
}
|
287
|
+
.xdsoft_datetimepicker .xdsoft_calendar td:hover,
|
288
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div:hover{
|
289
|
+
color: #fff !important;
|
290
|
+
background: #ff8000 !important;
|
291
|
+
box-shadow: none !important;
|
292
|
+
}
|
293
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover,
|
294
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_disabled:hover{
|
295
|
+
color: inherit !important;
|
296
|
+
background: inherit !important;
|
297
|
+
box-shadow: inherit !important;
|
298
|
+
}
|
299
|
+
.xdsoft_datetimepicker .xdsoft_calendar th{
|
300
|
+
font-weight: 700;
|
301
|
+
text-align: center;
|
302
|
+
color: #999;
|
303
|
+
cursor:default;
|
304
|
+
}
|
305
|
+
.xdsoft_datetimepicker .xdsoft_copyright{ color:#ccc !important; font-size:10px;clear:both;float:none;margin-left:8px;}
|
306
|
+
.xdsoft_datetimepicker .xdsoft_copyright a{ color:#eee !important;}
|
307
|
+
.xdsoft_datetimepicker .xdsoft_copyright a:hover{ color:#aaa !important;}
|
308
|
+
|
309
|
+
|
310
|
+
.xdsoft_time_box{
|
311
|
+
position:relative;
|
312
|
+
border:1px solid #ccc;
|
313
|
+
}
|
314
|
+
.xdsoft_scrollbar >.xdsoft_scroller{
|
315
|
+
background:#ccc !important;
|
316
|
+
height:20px;
|
317
|
+
border-radius:3px;
|
318
|
+
}
|
319
|
+
.xdsoft_scrollbar{
|
320
|
+
position:absolute;
|
321
|
+
width:7px;
|
322
|
+
right:0px;
|
323
|
+
top:0px;
|
324
|
+
bottom:0px;
|
325
|
+
cursor:pointer;
|
326
|
+
}
|
327
|
+
.xdsoft_scroller_box{
|
328
|
+
position:relative;
|
329
|
+
}
|
330
|
+
|
331
|
+
|
332
|
+
.xdsoft_datetimepicker.xdsoft_dark{
|
333
|
+
box-shadow: 0px 5px 15px -5px rgba(255, 255, 255, 0.506);
|
334
|
+
background: #000000;
|
335
|
+
border-bottom: 1px solid #444444;
|
336
|
+
border-left: 1px solid #333333;
|
337
|
+
border-right: 1px solid #333333;
|
338
|
+
border-top: 1px solid #333333;
|
339
|
+
color: #cccccc;
|
340
|
+
}
|
341
|
+
|
342
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box{
|
343
|
+
border-bottom:1px solid #222222;
|
344
|
+
}
|
345
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div{
|
346
|
+
background: #0a0a0a;
|
347
|
+
border-top:1px solid #222222;
|
348
|
+
color: #999999;
|
349
|
+
}
|
350
|
+
|
351
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label{
|
352
|
+
background-color: #000;
|
353
|
+
}
|
354
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select{
|
355
|
+
border:1px solid #333;
|
356
|
+
background:#000;
|
357
|
+
}
|
358
|
+
|
359
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover{
|
360
|
+
color: #000;
|
361
|
+
background: #007fff;
|
362
|
+
}
|
363
|
+
|
364
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{
|
365
|
+
background: #cc5500;
|
366
|
+
box-shadow: #b03e00 0px 1px 3px 0px inset;
|
367
|
+
color:#000;
|
368
|
+
}
|
369
|
+
|
370
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label i,
|
371
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_prev,
|
372
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_next,
|
373
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_today_button{
|
374
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3Ln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/A1jAFmAYhkQqA5TOBtocrKrgXwQA8gcFIuAIO8sQSA7hidvPwaQGZSaAYHOUWJABhWWw2EMIH9QagQERU4SArJXo0ZZL18uvaxejXt/Em8xjVBXmvFr1KVm/AJ10tRe2XnraNqaJvKE3KHuUbfK1E+VHB0q40/y3sdQSxY4FHWeKJCunP8UyDdqJZenT3ntVV5jIYCAh20vT7ioP8tpf6E2lfEMwERe+whV1MHjwZB7PBiCxcGQWwKZKD62lfGNnP/1poFAA60T7rF1UgcKd2id3KDeUS+oLWV8DfWAepOfq00CgQabi9zjcgJVYVD7PVzQUAUGAQkbNJTBICDhgwYTjDYD6XeW08ZKh+A4pYkzenOxXUbvZcWz7E8ykRMnIHGX1XPl+1m2vPYpL+2qdb8CDAARlKFEz/ZVkAAAAABJRU5ErkJggg==);
|
375
|
+
}
|
376
|
+
|
377
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td,
|
378
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{
|
379
|
+
background: #0a0a0a;
|
380
|
+
border:1px solid #222222;
|
381
|
+
color: #999999;
|
382
|
+
}
|
383
|
+
|
384
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{
|
385
|
+
background: #0e0e0e;
|
386
|
+
}
|
387
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_today{
|
388
|
+
color:#cc5500;
|
389
|
+
}
|
390
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_default,
|
391
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_current,
|
392
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
|
393
|
+
background: #cc5500;
|
394
|
+
box-shadow: #b03e00 0px 1px 3px 0px inset;
|
395
|
+
color:#000;
|
396
|
+
}
|
397
|
+
|
398
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td:hover,
|
399
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div:hover{
|
400
|
+
color: #000 !important;
|
401
|
+
background: #007fff !important;
|
402
|
+
}
|
403
|
+
|
404
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{
|
405
|
+
color: #666;
|
406
|
+
}
|
407
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright{ color:#333 !important;}
|
408
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a{ color:#111 !important;}
|
409
|
+
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a:hover{ color:#555 !important;}
|
410
|
+
|
411
|
+
|
412
|
+
.xdsoft_dark .xdsoft_time_box{
|
413
|
+
border:1px solid #333;
|
414
|
+
}
|
415
|
+
.xdsoft_dark .xdsoft_scrollbar >.xdsoft_scroller{
|
416
|
+
background:#333 !important;
|
417
|
+
}
|