alchemy_cms 3.3.3 → 3.4.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +42 -4
- data/README.md +7 -3
- data/alchemy_cms.gemspec +1 -0
- data/app/assets/javascripts/alchemy/{alchemy.js → admin.js} +1 -2
- data/app/assets/javascripts/alchemy/alchemy.datepicker.js.coffee +28 -25
- data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +1 -0
- data/app/assets/javascripts/alchemy/alchemy.i18n.js.coffee +7 -1
- data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +1 -1
- data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +26 -0
- data/app/assets/javascripts/alchemy/alchemy.translations.js.coffee +56 -1
- data/app/assets/stylesheets/alchemy/_variables.scss +1 -0
- data/app/assets/stylesheets/alchemy/admin.scss +2 -1
- data/app/assets/stylesheets/alchemy/archive.scss +7 -0
- data/app/assets/stylesheets/alchemy/base.scss +0 -42
- data/app/assets/stylesheets/alchemy/buttons.scss +2 -1
- data/app/assets/stylesheets/alchemy/form_fields.scss +9 -0
- data/app/assets/stylesheets/alchemy/forms.scss +36 -10
- data/app/assets/stylesheets/alchemy/frame.scss +12 -1
- data/app/assets/stylesheets/alchemy/icons.scss +1 -1
- data/app/assets/stylesheets/alchemy/jquery-ui.scss +0 -260
- data/app/assets/stylesheets/alchemy/jquery.datetimepicker.scss +507 -0
- data/app/assets/stylesheets/alchemy/lists.scss +62 -0
- data/app/assets/stylesheets/alchemy/selects.scss +9 -2
- data/app/assets/stylesheets/alchemy/sitemap.scss +28 -51
- data/app/assets/stylesheets/alchemy/toolbar.scss +0 -2
- data/app/controllers/alchemy/admin/attachments_controller.rb +4 -6
- data/app/controllers/alchemy/admin/base_controller.rb +2 -2
- data/app/controllers/alchemy/admin/dashboard_controller.rb +2 -2
- data/app/controllers/alchemy/admin/languages_controller.rb +5 -0
- data/app/controllers/alchemy/admin/pages_controller.rb +14 -5
- data/app/controllers/alchemy/admin/resources_controller.rb +17 -1
- data/app/controllers/alchemy/base_controller.rb +1 -0
- data/app/controllers/alchemy/messages_controller.rb +1 -1
- data/app/controllers/alchemy/pages_controller.rb +16 -26
- data/app/controllers/alchemy/pictures_controller.rb +23 -10
- data/app/controllers/concerns/alchemy/page_redirects.rb +7 -7
- data/app/helpers/alchemy/admin/base_helper.rb +22 -19
- data/app/helpers/alchemy/admin/essences_helper.rb +26 -11
- data/app/helpers/alchemy/admin/pages_helper.rb +2 -1
- data/app/helpers/alchemy/essences_helper.rb +0 -35
- data/app/helpers/alchemy/url_helper.rb +1 -1
- data/app/mailers/alchemy/base_mailer.rb +18 -0
- data/app/mailers/alchemy/{messages.rb → messages_mailer.rb} +1 -1
- data/app/models/alchemy/attachment.rb +9 -0
- data/app/models/alchemy/cell.rb +1 -1
- data/app/models/alchemy/essence_picture.rb +4 -1
- data/app/models/alchemy/essence_picture_view.rb +68 -0
- data/app/models/alchemy/language.rb +8 -10
- data/app/models/alchemy/language/code.rb +4 -1
- data/app/models/alchemy/page.rb +69 -26
- data/app/models/alchemy/page/page_natures.rb +22 -0
- data/app/models/alchemy/page/page_scopes.rb +20 -6
- data/app/models/alchemy/picture.rb +37 -4
- data/app/models/alchemy/site.rb +8 -0
- data/app/serializers/alchemy/page_tree_serializer.rb +1 -1
- data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +9 -6
- data/app/views/alchemy/admin/attachments/_file_to_assign.html.erb +11 -9
- data/app/views/alchemy/admin/attachments/_filter_bar.html.erb +32 -0
- data/app/views/alchemy/admin/attachments/_overlay_file_list.html.erb +14 -2
- data/app/views/alchemy/admin/attachments/index.html.erb +10 -9
- data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +20 -9
- data/app/views/alchemy/admin/dashboard/_recent_pages.html.erb +11 -1
- data/app/views/alchemy/admin/languages/_form.html.erb +1 -0
- data/app/views/alchemy/admin/languages/index.html.erb +7 -8
- data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +1 -1
- data/app/views/alchemy/admin/layoutpages/index.html.erb +2 -2
- data/app/views/alchemy/admin/pages/_current_page.html.erb +4 -0
- data/app/views/alchemy/admin/pages/_form.html.erb +16 -1
- data/app/views/alchemy/admin/pages/_locked_page.html.erb +2 -12
- data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_page_for_links.html.erb +2 -2
- data/app/views/alchemy/admin/pages/_page_status.html.erb +23 -11
- data/app/views/alchemy/admin/pages/edit.html.erb +2 -1
- data/app/views/alchemy/admin/pages/index.html.erb +2 -2
- data/app/views/alchemy/admin/partials/_language_tree_select.html.erb +3 -0
- data/app/views/alchemy/admin/partials/_site_select.html.erb +9 -0
- data/app/views/alchemy/admin/pictures/_picture.html.erb +6 -1
- data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +2 -1
- data/app/views/alchemy/admin/pictures/show.html.erb +1 -1
- data/app/views/alchemy/admin/resources/_filter_bar.html.erb +31 -0
- data/app/views/alchemy/admin/resources/_form.html.erb +6 -0
- data/app/views/alchemy/admin/resources/_tag_list.html.erb +16 -0
- data/app/views/alchemy/admin/resources/index.html.erb +13 -1
- data/app/views/alchemy/essences/_essence_file_view.html.erb +2 -5
- data/app/views/alchemy/essences/_essence_picture_view.html.erb +5 -3
- data/app/views/alchemy/{messages → messages_mailer}/contact_form_mail.de.text.erb +0 -0
- data/app/views/alchemy/{messages → messages_mailer}/contact_form_mail.en.text.erb +0 -0
- data/app/views/alchemy/{messages → messages_mailer}/contact_form_mail.es.text.erb +0 -0
- data/app/views/alchemy/{messages → messages_mailer}/new.html.erb +0 -0
- data/app/views/layouts/alchemy/admin.html.erb +3 -8
- data/config/alchemy/config.yml +4 -3
- data/config/initializers/assets.rb +2 -2
- data/config/initializers/dragonfly.rb +3 -0
- data/config/initializers/mime_types.rb +1 -0
- data/config/locales/alchemy.de.yml +10 -2
- data/config/locales/alchemy.en.yml +6 -2
- data/config/locales/alchemy.es.yml +6 -3
- data/config/locales/alchemy.fr.yml +6 -2
- data/config/locales/alchemy.it.yml +937 -0
- data/config/locales/alchemy.nl.yml +6 -2
- data/config/locales/alchemy.ru.yml +3 -2
- data/config/locales/simple_form.it.yml +25 -0
- data/db/migrate/20160108174834_add_timebased_publishing_columns_to_pages.rb +32 -0
- data/db/migrate/20160422195310_add_image_file_format_to_alchemy_pictures.rb +21 -0
- data/db/migrate/20160617224938_change_alchemy_pages_locked_to_locked_at.rb +22 -0
- data/lib/alchemy/ability_helper.rb +23 -0
- data/lib/alchemy/configuration_methods.rb +2 -2
- data/lib/alchemy/controller_actions.rb +4 -33
- data/lib/alchemy/engine.rb +1 -0
- data/lib/alchemy/resource.rb +30 -13
- data/lib/alchemy/resources_helper.rb +17 -0
- data/lib/alchemy/test_support/factories/page_factory.rb +7 -2
- data/lib/alchemy/upgrader.rb +1 -0
- data/lib/alchemy/upgrader/tasks/install_asset_manifests.rb +15 -0
- data/lib/alchemy/upgrader/three_point_four.rb +16 -0
- data/lib/alchemy/version.rb +1 -1
- data/lib/rails/generators/alchemy/elements/elements_generator.rb +8 -7
- data/lib/rails/generators/alchemy/essence/essence_generator.rb +2 -6
- data/lib/rails/generators/alchemy/install/files/all.css +11 -0
- data/lib/rails/generators/alchemy/install/files/all.js +11 -0
- data/lib/rails/generators/alchemy/install/files/{alchemy.elements.css.scss → article.scss} +0 -0
- data/lib/rails/generators/alchemy/install/install_generator.rb +20 -19
- data/lib/rails/generators/alchemy/module/module_generator.rb +3 -5
- data/lib/rails/generators/alchemy/page_layouts/page_layouts_generator.rb +7 -6
- data/lib/rails/generators/alchemy/site_layouts/site_layouts_generator.rb +7 -6
- data/vendor/assets/javascripts/date-formatter.js +161 -0
- data/vendor/assets/javascripts/jquery_plugins/jquery.datetimepicker.full.min.js +2 -0
- data/vendor/assets/javascripts/tinymce/langs/it.js +219 -0
- metadata +48 -13
- data/app/assets/javascripts/alchemy/alchemy.custom.js +0 -1
- data/app/assets/stylesheets/alchemy/custom.scss +0 -1
@@ -28,19 +28,19 @@ form {
|
|
28
28
|
padding: $default-padding 0;
|
29
29
|
@include pie-clearfix;
|
30
30
|
|
31
|
-
input[type="url"],
|
32
|
-
input[type="text"],
|
33
|
-
input[type="email"],
|
34
|
-
input[type="password"],
|
35
|
-
textarea,
|
36
|
-
.select2-container,
|
37
|
-
.autocomplete_tag_list,
|
38
|
-
.mce-tinymce {
|
31
|
+
> input[type="url"],
|
32
|
+
> input[type="text"],
|
33
|
+
> input[type="email"],
|
34
|
+
> input[type="password"],
|
35
|
+
> textarea,
|
36
|
+
> .select2-container,
|
37
|
+
> .autocomplete_tag_list,
|
38
|
+
> .mce-tinymce {
|
39
39
|
width: $form-right-width;
|
40
40
|
float: right;
|
41
41
|
}
|
42
42
|
|
43
|
-
.autocomplete_tag_list {
|
43
|
+
> .autocomplete_tag_list {
|
44
44
|
|
45
45
|
.select2-container, .select2-choices {
|
46
46
|
width: 100%;
|
@@ -77,7 +77,7 @@ form {
|
|
77
77
|
|
78
78
|
input {
|
79
79
|
margin-right: $default-margin;
|
80
|
-
margin-left:
|
80
|
+
margin-left: 1px;
|
81
81
|
}
|
82
82
|
}
|
83
83
|
|
@@ -168,6 +168,27 @@ form {
|
|
168
168
|
padding: $default-padding 0;
|
169
169
|
text-align: right;
|
170
170
|
}
|
171
|
+
|
172
|
+
.input-column {
|
173
|
+
@include box-sizing(border-box);
|
174
|
+
float: left;
|
175
|
+
padding: 0 $default-padding;
|
176
|
+
width: 50%;
|
177
|
+
}
|
178
|
+
|
179
|
+
.input-row {
|
180
|
+
|
181
|
+
.input-column {
|
182
|
+
|
183
|
+
&:first-of-type {
|
184
|
+
padding-left: 0;
|
185
|
+
}
|
186
|
+
|
187
|
+
&:last-of-type {
|
188
|
+
padding-right: 0;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
171
192
|
}
|
172
193
|
|
173
194
|
textarea#essence_picture_caption {
|
@@ -200,3 +221,8 @@ textarea#essence_picture_caption {
|
|
200
221
|
width: 100%;
|
201
222
|
}
|
202
223
|
}
|
224
|
+
|
225
|
+
.input-column > label {
|
226
|
+
display: block;
|
227
|
+
margin-top: $default-margin +1;
|
228
|
+
}
|
@@ -219,12 +219,19 @@ div#user_info {
|
|
219
219
|
float: none;
|
220
220
|
@include inline-block;
|
221
221
|
color: #3265b1;
|
222
|
-
@extend %rounded-border;
|
223
222
|
margin-right: 2px;
|
224
223
|
font-size: 10px;
|
225
224
|
text-transform: uppercase;
|
226
225
|
}
|
227
226
|
|
227
|
+
.page_site {
|
228
|
+
float: none;
|
229
|
+
@include inline-block;
|
230
|
+
color: #847474;
|
231
|
+
margin-right: $default-margin;
|
232
|
+
font-size: 10px;
|
233
|
+
}
|
234
|
+
|
228
235
|
.subnavi_tab {
|
229
236
|
float: left;
|
230
237
|
line-height: 21px;
|
@@ -291,6 +298,10 @@ div#user_info {
|
|
291
298
|
img {
|
292
299
|
float: left;
|
293
300
|
}
|
301
|
+
|
302
|
+
.subnavi_tab > a {
|
303
|
+
padding-right: 0;
|
304
|
+
}
|
294
305
|
}
|
295
306
|
|
296
307
|
.full-iframe {
|
@@ -1230,266 +1230,6 @@
|
|
1230
1230
|
visibility: hidden;
|
1231
1231
|
}
|
1232
1232
|
|
1233
|
-
/*
|
1234
|
-
* jQuery UI Datepicker 1.8.7
|
1235
|
-
*
|
1236
|
-
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
1237
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
1238
|
-
* http://jquery.org/license
|
1239
|
-
*
|
1240
|
-
* http://docs.jquery.com/UI/Datepicker#theming
|
1241
|
-
*/
|
1242
|
-
|
1243
|
-
.ui-datepicker {
|
1244
|
-
width: 17em;
|
1245
|
-
padding: $default-padding;
|
1246
|
-
display: none;
|
1247
|
-
|
1248
|
-
select {
|
1249
|
-
height: 20px;
|
1250
|
-
padding: 1px;
|
1251
|
-
}
|
1252
|
-
}
|
1253
|
-
|
1254
|
-
.ui-datepicker .ui-datepicker-header {
|
1255
|
-
position: relative;
|
1256
|
-
padding: $default-padding;
|
1257
|
-
margin: -$default-padding;
|
1258
|
-
}
|
1259
|
-
|
1260
|
-
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
|
1261
|
-
position: absolute;
|
1262
|
-
top: $default-padding;
|
1263
|
-
width: 1.8em;
|
1264
|
-
height: 1.8em;
|
1265
|
-
}
|
1266
|
-
|
1267
|
-
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover {
|
1268
|
-
top: $default-padding;
|
1269
|
-
}
|
1270
|
-
|
1271
|
-
.ui-datepicker .ui-datepicker-prev {
|
1272
|
-
left: $default-padding;
|
1273
|
-
}
|
1274
|
-
|
1275
|
-
.ui-datepicker .ui-datepicker-next {
|
1276
|
-
right: $default-padding;
|
1277
|
-
}
|
1278
|
-
|
1279
|
-
.ui-datepicker .ui-datepicker-prev-hover {
|
1280
|
-
top: $default-padding - 1;
|
1281
|
-
left: $default-padding - 1;
|
1282
|
-
}
|
1283
|
-
|
1284
|
-
.ui-datepicker .ui-datepicker-next-hover {
|
1285
|
-
top: $default-padding - 1;
|
1286
|
-
right: $default-padding - 1;
|
1287
|
-
}
|
1288
|
-
|
1289
|
-
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
|
1290
|
-
display: block;
|
1291
|
-
position: absolute;
|
1292
|
-
left: 50%;
|
1293
|
-
margin-left: -8px;
|
1294
|
-
top: 50%;
|
1295
|
-
margin-top: -8px;
|
1296
|
-
}
|
1297
|
-
|
1298
|
-
.ui-datepicker .ui-datepicker-title {
|
1299
|
-
margin: 0 2.3em;
|
1300
|
-
line-height: 1.8em;
|
1301
|
-
text-align: center;
|
1302
|
-
}
|
1303
|
-
|
1304
|
-
.ui-datepicker .ui-datepicker-title select {
|
1305
|
-
font-size: 1em;
|
1306
|
-
margin: 1px 0;
|
1307
|
-
}
|
1308
|
-
|
1309
|
-
.ui-datepicker select.ui-datepicker-month-year {
|
1310
|
-
width: 100%;
|
1311
|
-
}
|
1312
|
-
|
1313
|
-
.ui-datepicker select.ui-datepicker-month,
|
1314
|
-
.ui-datepicker select.ui-datepicker-year {
|
1315
|
-
width: 49%;
|
1316
|
-
}
|
1317
|
-
|
1318
|
-
.ui-datepicker table {
|
1319
|
-
width: 100%;
|
1320
|
-
font-size: 1em;
|
1321
|
-
border-collapse: collapse;
|
1322
|
-
margin: 0 0 .4em;
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
.ui-datepicker th {
|
1326
|
-
padding: .7em .3em;
|
1327
|
-
text-align: center;
|
1328
|
-
font-weight: bold;
|
1329
|
-
border: 0;
|
1330
|
-
}
|
1331
|
-
|
1332
|
-
.ui-datepicker td {
|
1333
|
-
border: 0;
|
1334
|
-
padding: 1px;
|
1335
|
-
}
|
1336
|
-
|
1337
|
-
.ui-datepicker td.ui-datepicker-week-col {
|
1338
|
-
padding-left: $default-padding;
|
1339
|
-
}
|
1340
|
-
|
1341
|
-
.ui-datepicker td.ui-datepicker-current-day {
|
1342
|
-
background-color: $dark-gray;
|
1343
|
-
}
|
1344
|
-
|
1345
|
-
.ui-datepicker td span, .ui-datepicker td a {
|
1346
|
-
display: block;
|
1347
|
-
padding: .2em;
|
1348
|
-
text-align: right;
|
1349
|
-
text-decoration: none;
|
1350
|
-
}
|
1351
|
-
|
1352
|
-
.ui-datepicker .ui-datepicker-buttonpane {
|
1353
|
-
background-image: none;
|
1354
|
-
margin: .7em 0 0 0;
|
1355
|
-
padding: 0 .2em;
|
1356
|
-
border-left: 0;
|
1357
|
-
border-right: 0;
|
1358
|
-
border-bottom: 0;
|
1359
|
-
}
|
1360
|
-
|
1361
|
-
.ui-datepicker .ui-datepicker-buttonpane button {
|
1362
|
-
float: right;
|
1363
|
-
margin: .5em .2em .4em;
|
1364
|
-
cursor: pointer;
|
1365
|
-
padding: .2em .6em .3em .6em;
|
1366
|
-
width: auto;
|
1367
|
-
overflow: visible;
|
1368
|
-
}
|
1369
|
-
|
1370
|
-
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
|
1371
|
-
float: left;
|
1372
|
-
}
|
1373
|
-
|
1374
|
-
/* with multiple calendars */
|
1375
|
-
|
1376
|
-
.ui-datepicker.ui-datepicker-multi {
|
1377
|
-
width: auto;
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
.ui-datepicker-multi .ui-datepicker-group {
|
1381
|
-
float: left;
|
1382
|
-
}
|
1383
|
-
|
1384
|
-
.ui-datepicker-multi .ui-datepicker-group table {
|
1385
|
-
width: 95%;
|
1386
|
-
margin: 0 auto .4em;
|
1387
|
-
}
|
1388
|
-
|
1389
|
-
.ui-datepicker-multi-2 .ui-datepicker-group {
|
1390
|
-
width: 50%;
|
1391
|
-
}
|
1392
|
-
|
1393
|
-
.ui-datepicker-multi-3 .ui-datepicker-group {
|
1394
|
-
width: 33.3%;
|
1395
|
-
}
|
1396
|
-
|
1397
|
-
.ui-datepicker-multi-4 .ui-datepicker-group {
|
1398
|
-
width: 25%;
|
1399
|
-
}
|
1400
|
-
|
1401
|
-
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header {
|
1402
|
-
border-left-width: 0;
|
1403
|
-
}
|
1404
|
-
|
1405
|
-
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
|
1406
|
-
border-left-width: 0;
|
1407
|
-
}
|
1408
|
-
|
1409
|
-
.ui-datepicker-multi .ui-datepicker-buttonpane {
|
1410
|
-
clear: left;
|
1411
|
-
}
|
1412
|
-
|
1413
|
-
.ui-datepicker-row-break {
|
1414
|
-
clear: both;
|
1415
|
-
width: 100%;
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
/* RTL support */
|
1419
|
-
|
1420
|
-
.ui-datepicker-rtl {
|
1421
|
-
direction: rtl;
|
1422
|
-
}
|
1423
|
-
|
1424
|
-
.ui-datepicker-rtl .ui-datepicker-prev {
|
1425
|
-
right: 2px;
|
1426
|
-
left: auto;
|
1427
|
-
}
|
1428
|
-
|
1429
|
-
.ui-datepicker-rtl .ui-datepicker-next {
|
1430
|
-
left: 2px;
|
1431
|
-
right: auto;
|
1432
|
-
}
|
1433
|
-
|
1434
|
-
.ui-datepicker-rtl .ui-datepicker-prev:hover {
|
1435
|
-
right: 1px;
|
1436
|
-
left: auto;
|
1437
|
-
}
|
1438
|
-
|
1439
|
-
.ui-datepicker-rtl .ui-datepicker-next:hover {
|
1440
|
-
left: 1px;
|
1441
|
-
right: auto;
|
1442
|
-
}
|
1443
|
-
|
1444
|
-
.ui-datepicker-rtl .ui-datepicker-buttonpane {
|
1445
|
-
clear: right;
|
1446
|
-
}
|
1447
|
-
|
1448
|
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
|
1449
|
-
float: left;
|
1450
|
-
}
|
1451
|
-
|
1452
|
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current {
|
1453
|
-
float: right;
|
1454
|
-
}
|
1455
|
-
|
1456
|
-
.ui-datepicker-rtl .ui-datepicker-group {
|
1457
|
-
float: right;
|
1458
|
-
}
|
1459
|
-
|
1460
|
-
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
|
1461
|
-
border-right-width: 0;
|
1462
|
-
border-left-width: 1px;
|
1463
|
-
}
|
1464
|
-
|
1465
|
-
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
1466
|
-
border-right-width: 0;
|
1467
|
-
border-left-width: 1px;
|
1468
|
-
}
|
1469
|
-
|
1470
|
-
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
1471
|
-
|
1472
|
-
.ui-datepicker-cover {
|
1473
|
-
display: none;
|
1474
|
-
/*sorry for IE5*/
|
1475
|
-
display /**/: block;
|
1476
|
-
/*sorry for IE5*/
|
1477
|
-
position: absolute;
|
1478
|
-
/*must have*/
|
1479
|
-
z-index: -1;
|
1480
|
-
/*must have*/
|
1481
|
-
filter: mask();
|
1482
|
-
/*must have*/
|
1483
|
-
top: -4px;
|
1484
|
-
/*must have*/
|
1485
|
-
left: -4px;
|
1486
|
-
/*must have*/
|
1487
|
-
width: 200px;
|
1488
|
-
/*must have*/
|
1489
|
-
height: 200px;
|
1490
|
-
/*must have*/
|
1491
|
-
}
|
1492
|
-
|
1493
1233
|
/*
|
1494
1234
|
* jQuery UI Progressbar 1.8.7
|
1495
1235
|
*
|
@@ -0,0 +1,507 @@
|
|
1
|
+
$datepicker_current_bg: $light-blue !default;
|
2
|
+
$datepicker_current_color: $text-color !default;
|
3
|
+
$datepicker_current_box_shadow: $blue 0 1px 3px 0 inset !default;
|
4
|
+
$datepicker_hover_bg: $light_yellow !default;
|
5
|
+
$datepicker_hover_color: $text-color !default;
|
6
|
+
$datepicker_today_bg: $very-light-blue !default;
|
7
|
+
$datepicker_today_color: $text-color !default;
|
8
|
+
$datepicker_header_color: $text-color !default;
|
9
|
+
$datepicker_day_bg: $light-gray !default;
|
10
|
+
$datepicker_day_border: 1px solid $medium-gray !default;
|
11
|
+
$datepicker_day_color: $text-color !default;
|
12
|
+
|
13
|
+
.xdsoft_datetimepicker {
|
14
|
+
box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.506);
|
15
|
+
background: #fff;
|
16
|
+
border-bottom: 1px solid #bbb;
|
17
|
+
border-left: 1px solid #ccc;
|
18
|
+
border-right: 1px solid #ccc;
|
19
|
+
border-top: 1px solid #ccc;
|
20
|
+
border-radius: $default-border-radius;
|
21
|
+
color: $text-color;
|
22
|
+
padding: 8px;
|
23
|
+
padding-left: 0;
|
24
|
+
padding-top: 2px;
|
25
|
+
position: absolute;
|
26
|
+
z-index: 9999;
|
27
|
+
box-sizing: border-box;
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
.xdsoft_datetimepicker.xdsoft_rtl {
|
32
|
+
padding: 8px 0 8px 8px;
|
33
|
+
}
|
34
|
+
|
35
|
+
.xdsoft_datetimepicker iframe {
|
36
|
+
position: absolute;
|
37
|
+
left: 0;
|
38
|
+
top: 0;
|
39
|
+
width: 75px;
|
40
|
+
height: 210px;
|
41
|
+
background: transparent;
|
42
|
+
border: none;
|
43
|
+
}
|
44
|
+
|
45
|
+
/*For IE8 or lower*/
|
46
|
+
.xdsoft_datetimepicker button {
|
47
|
+
border: none !important;
|
48
|
+
}
|
49
|
+
|
50
|
+
.xdsoft_noselect {
|
51
|
+
user-select: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
.xdsoft_noselect::selection { background: transparent }
|
55
|
+
.xdsoft_noselect::-moz-selection { background: transparent }
|
56
|
+
|
57
|
+
.xdsoft_datetimepicker.xdsoft_inline {
|
58
|
+
display: inline-block;
|
59
|
+
position: static;
|
60
|
+
box-shadow: none;
|
61
|
+
}
|
62
|
+
|
63
|
+
.xdsoft_datetimepicker * {
|
64
|
+
box-sizing: border-box;
|
65
|
+
padding: 0;
|
66
|
+
margin: 0;
|
67
|
+
}
|
68
|
+
|
69
|
+
.xdsoft_datetimepicker .xdsoft_datepicker,
|
70
|
+
.xdsoft_datetimepicker .xdsoft_timepicker {
|
71
|
+
display: none;
|
72
|
+
}
|
73
|
+
|
74
|
+
.xdsoft_datetimepicker .xdsoft_datepicker.active,
|
75
|
+
.xdsoft_datetimepicker .xdsoft_timepicker.active {
|
76
|
+
display: block;
|
77
|
+
}
|
78
|
+
|
79
|
+
.xdsoft_datetimepicker .xdsoft_datepicker {
|
80
|
+
width: 230px;
|
81
|
+
float: left;
|
82
|
+
margin-left: 8px;
|
83
|
+
}
|
84
|
+
|
85
|
+
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_datepicker {
|
86
|
+
float: right;
|
87
|
+
margin-right: 8px;
|
88
|
+
margin-left: 0;
|
89
|
+
}
|
90
|
+
|
91
|
+
.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_datepicker {
|
92
|
+
width: 260px;
|
93
|
+
}
|
94
|
+
|
95
|
+
.xdsoft_datetimepicker .xdsoft_timepicker {
|
96
|
+
width: 60px;
|
97
|
+
float: left;
|
98
|
+
text-align: center;
|
99
|
+
margin-left: 8px;
|
100
|
+
margin-top: 0;
|
101
|
+
}
|
102
|
+
|
103
|
+
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_timepicker {
|
104
|
+
float: right;
|
105
|
+
margin-right: 8px;
|
106
|
+
margin-left: 0;
|
107
|
+
}
|
108
|
+
|
109
|
+
.xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker {
|
110
|
+
margin-top: 8px;
|
111
|
+
margin-bottom: 3px;
|
112
|
+
}
|
113
|
+
|
114
|
+
.xdsoft_datetimepicker .xdsoft_mounthpicker {
|
115
|
+
position: relative;
|
116
|
+
text-align: center;
|
117
|
+
}
|
118
|
+
|
119
|
+
.xdsoft_datetimepicker .xdsoft_label i,
|
120
|
+
.xdsoft_datetimepicker .xdsoft_prev,
|
121
|
+
.xdsoft_datetimepicker .xdsoft_next,
|
122
|
+
.xdsoft_datetimepicker .xdsoft_today_button {
|
123
|
+
background-image: none;
|
124
|
+
}
|
125
|
+
|
126
|
+
.xdsoft_datetimepicker .xdsoft_label i {
|
127
|
+
opacity: 0.5;
|
128
|
+
display: inline-block;
|
129
|
+
width: 9px;
|
130
|
+
height: 20px;
|
131
|
+
vertical-align: middle;
|
132
|
+
|
133
|
+
&:before {
|
134
|
+
content: "";
|
135
|
+
position: absolute;
|
136
|
+
top: 50%;
|
137
|
+
right: 0;
|
138
|
+
transform: translateY(-50%);
|
139
|
+
width: 0;
|
140
|
+
height: 0;
|
141
|
+
border-style: solid;
|
142
|
+
border-width: 4px 4px 0 4px;
|
143
|
+
border-color: $text-color transparent transparent;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
.xdsoft_datetimepicker .xdsoft_prev,
|
148
|
+
.xdsoft_datetimepicker .xdsoft_next {
|
149
|
+
position: relative;
|
150
|
+
|
151
|
+
&:before {
|
152
|
+
content: "";
|
153
|
+
position: absolute;
|
154
|
+
top: 50%;
|
155
|
+
left: 50%;
|
156
|
+
transform: translate(-50%, -50%);
|
157
|
+
width: 0;
|
158
|
+
height: 0;
|
159
|
+
border-style: solid;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
|
163
|
+
.xdsoft_datetimepicker .xdsoft_prev {
|
164
|
+
float: left;
|
165
|
+
|
166
|
+
&:before {
|
167
|
+
border-width: 7px 7px 7px 0;
|
168
|
+
border-color: transparent $text-color transparent transparent;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
.xdsoft_datetimepicker .xdsoft_today_button {
|
173
|
+
float: left;
|
174
|
+
margin: 0 5px;
|
175
|
+
|
176
|
+
&:before {
|
177
|
+
font-family: 'Alchemy Icons';
|
178
|
+
font-size: 16px;
|
179
|
+
line-height: 18px;
|
180
|
+
content: "\e00a";
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
.xdsoft_datetimepicker .xdsoft_next {
|
185
|
+
float: right;
|
186
|
+
|
187
|
+
&:before {
|
188
|
+
border-width: 7px 0 7px 7px;
|
189
|
+
border-color: transparent transparent transparent $text-color;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
.xdsoft_datetimepicker .xdsoft_next,
|
194
|
+
.xdsoft_datetimepicker .xdsoft_prev ,
|
195
|
+
.xdsoft_datetimepicker .xdsoft_today_button {
|
196
|
+
background-color: transparent;
|
197
|
+
background-repeat: no-repeat;
|
198
|
+
border: 0 none;
|
199
|
+
cursor: pointer;
|
200
|
+
display: block;
|
201
|
+
height: 30px;
|
202
|
+
opacity: 0.5;
|
203
|
+
outline: medium none;
|
204
|
+
overflow: hidden;
|
205
|
+
padding: 0;
|
206
|
+
position: relative;
|
207
|
+
white-space: nowrap;
|
208
|
+
width: 20px;
|
209
|
+
min-width: 0;
|
210
|
+
}
|
211
|
+
|
212
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev,
|
213
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next {
|
214
|
+
float: none;
|
215
|
+
height: 15px;
|
216
|
+
width: 30px;
|
217
|
+
display: block;
|
218
|
+
margin-left: 14px;
|
219
|
+
margin-top: 7px;
|
220
|
+
}
|
221
|
+
|
222
|
+
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_timepicker .xdsoft_prev,
|
223
|
+
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_timepicker .xdsoft_next {
|
224
|
+
float: none;
|
225
|
+
margin-left: 0;
|
226
|
+
margin-right: 14px;
|
227
|
+
}
|
228
|
+
|
229
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev {
|
230
|
+
margin-bottom: 8px;
|
231
|
+
margin-top: 0;
|
232
|
+
|
233
|
+
&:before {
|
234
|
+
border-width: 0 8px 8px 8px;
|
235
|
+
border-color: transparent transparent $text-color;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
|
239
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next {
|
240
|
+
|
241
|
+
&:before {
|
242
|
+
border-width: 8px 8px 0 8px;
|
243
|
+
border-color: $text-color transparent transparent;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
|
247
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box {
|
248
|
+
height: 151px;
|
249
|
+
overflow: hidden;
|
250
|
+
border-bottom: 1px solid #ddd;
|
251
|
+
}
|
252
|
+
|
253
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div {
|
254
|
+
background: #f5f5f5;
|
255
|
+
border-top: 1px solid #ddd;
|
256
|
+
color: #666;
|
257
|
+
font-size: 12px;
|
258
|
+
text-align: center;
|
259
|
+
border-collapse: collapse;
|
260
|
+
cursor: pointer;
|
261
|
+
border-bottom-width: 0;
|
262
|
+
height: 25px;
|
263
|
+
line-height: 25px;
|
264
|
+
}
|
265
|
+
|
266
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div > div:first-child {
|
267
|
+
border-top-width: 0;
|
268
|
+
}
|
269
|
+
|
270
|
+
.xdsoft_datetimepicker .xdsoft_today_button:hover,
|
271
|
+
.xdsoft_datetimepicker .xdsoft_next:hover,
|
272
|
+
.xdsoft_datetimepicker .xdsoft_prev:hover {
|
273
|
+
opacity: 1;
|
274
|
+
}
|
275
|
+
|
276
|
+
.xdsoft_datetimepicker .xdsoft_label {
|
277
|
+
display: inline;
|
278
|
+
position: relative;
|
279
|
+
z-index: 9999;
|
280
|
+
margin: 0;
|
281
|
+
padding: 5px 3px;
|
282
|
+
font-size: 14px;
|
283
|
+
line-height: 20px;
|
284
|
+
font-weight: bold;
|
285
|
+
background-color: #fff;
|
286
|
+
float: left;
|
287
|
+
width: 182px;
|
288
|
+
text-align: center;
|
289
|
+
cursor: pointer;
|
290
|
+
}
|
291
|
+
|
292
|
+
.xdsoft_datetimepicker .xdsoft_label:hover i {
|
293
|
+
opacity: 1;
|
294
|
+
}
|
295
|
+
|
296
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select {
|
297
|
+
border: 1px solid #ccc;
|
298
|
+
position: absolute;
|
299
|
+
right: 0;
|
300
|
+
top: 30px;
|
301
|
+
z-index: 101;
|
302
|
+
display: none;
|
303
|
+
background: #fff;
|
304
|
+
max-height: 160px;
|
305
|
+
overflow-y: hidden;
|
306
|
+
}
|
307
|
+
|
308
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_monthselect{ right: -7px }
|
309
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_yearselect{ right: 2px }
|
310
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover {
|
311
|
+
color: $datepicker_hover_color;
|
312
|
+
background: $datepicker_hover_bg;
|
313
|
+
}
|
314
|
+
|
315
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option {
|
316
|
+
padding: 2px 10px 2px 5px;
|
317
|
+
text-decoration: none !important;
|
318
|
+
}
|
319
|
+
|
320
|
+
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current {
|
321
|
+
background: $datepicker_current_bg;
|
322
|
+
box-shadow: $datepicker_current_box_shadow;
|
323
|
+
color: $datepicker_current_color;
|
324
|
+
font-weight: 700;
|
325
|
+
}
|
326
|
+
|
327
|
+
.xdsoft_datetimepicker .xdsoft_month {
|
328
|
+
width: 100px;
|
329
|
+
text-align: right;
|
330
|
+
}
|
331
|
+
|
332
|
+
.xdsoft_datetimepicker .xdsoft_calendar {
|
333
|
+
clear: both;
|
334
|
+
}
|
335
|
+
|
336
|
+
.xdsoft_datetimepicker .xdsoft_year {
|
337
|
+
width: 52px;
|
338
|
+
margin-left: 5px;
|
339
|
+
}
|
340
|
+
|
341
|
+
.xdsoft_datetimepicker .xdsoft_calendar table {
|
342
|
+
border-collapse: collapse;
|
343
|
+
width: 100%;
|
344
|
+
}
|
345
|
+
|
346
|
+
.xdsoft_datetimepicker .xdsoft_calendar td > div {
|
347
|
+
padding-right: 5px;
|
348
|
+
}
|
349
|
+
|
350
|
+
.xdsoft_datetimepicker .xdsoft_calendar th {
|
351
|
+
height: 25px;
|
352
|
+
}
|
353
|
+
|
354
|
+
.xdsoft_datetimepicker .xdsoft_calendar td,
|
355
|
+
.xdsoft_datetimepicker .xdsoft_calendar th {
|
356
|
+
width: 14.2857142%;
|
357
|
+
background: $datepicker_day_bg;
|
358
|
+
border: $datepicker_day_border;
|
359
|
+
color: $datepicker_day_color;
|
360
|
+
font-size: 12px;
|
361
|
+
text-align: right;
|
362
|
+
vertical-align: middle;
|
363
|
+
padding: 0;
|
364
|
+
border-collapse: collapse;
|
365
|
+
cursor: pointer;
|
366
|
+
height: 25px;
|
367
|
+
}
|
368
|
+
|
369
|
+
.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar td,
|
370
|
+
.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar th {
|
371
|
+
width: 12.5%;
|
372
|
+
}
|
373
|
+
|
374
|
+
.xdsoft_datetimepicker .xdsoft_calendar th {
|
375
|
+
background: #f1f1f1;
|
376
|
+
}
|
377
|
+
|
378
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today {
|
379
|
+
background: $datepicker_today_bg;
|
380
|
+
color: $datepicker_today_color;
|
381
|
+
}
|
382
|
+
|
383
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_highlighted_default {
|
384
|
+
background: #ffe9d2;
|
385
|
+
box-shadow: #ffb871 0 1px 4px 0 inset;
|
386
|
+
color: #000;
|
387
|
+
}
|
388
|
+
|
389
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_highlighted_mint {
|
390
|
+
background: #c1ffc9;
|
391
|
+
box-shadow: #00dd1c 0 1px 4px 0 inset;
|
392
|
+
color: #000;
|
393
|
+
}
|
394
|
+
|
395
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
|
396
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
|
397
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current {
|
398
|
+
background: $datepicker_current_bg;
|
399
|
+
box-shadow: $datepicker_current_box_shadow;
|
400
|
+
color: $datepicker_current_color;
|
401
|
+
font-weight: 700;
|
402
|
+
}
|
403
|
+
|
404
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month,
|
405
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
|
406
|
+
.xdsoft_datetimepicker .xdsoft_time_box >div >div.xdsoft_disabled {
|
407
|
+
opacity: 0.5;
|
408
|
+
cursor: default;
|
409
|
+
}
|
410
|
+
|
411
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled {
|
412
|
+
opacity: 0.2;
|
413
|
+
}
|
414
|
+
|
415
|
+
.xdsoft_datetimepicker .xdsoft_calendar td:hover,
|
416
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div:hover {
|
417
|
+
color: $datepicker_hover_color !important;
|
418
|
+
background: $datepicker_hover_bg !important;
|
419
|
+
box-shadow: none !important;
|
420
|
+
}
|
421
|
+
|
422
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current.xdsoft_disabled:hover,
|
423
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current.xdsoft_disabled:hover {
|
424
|
+
background: $datepicker_current_bg !important;
|
425
|
+
box-shadow: $datepicker_current_box_shadow !important;
|
426
|
+
color: $datepicker_hover_color !important;
|
427
|
+
}
|
428
|
+
|
429
|
+
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover,
|
430
|
+
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_disabled:hover {
|
431
|
+
color: inherit !important;
|
432
|
+
background: inherit !important;
|
433
|
+
box-shadow: inherit !important;
|
434
|
+
}
|
435
|
+
|
436
|
+
.xdsoft_datetimepicker .xdsoft_calendar th {
|
437
|
+
font-weight: 700;
|
438
|
+
text-align: center;
|
439
|
+
color: $datepicker_header_color;
|
440
|
+
cursor: default;
|
441
|
+
}
|
442
|
+
|
443
|
+
.xdsoft_datetimepicker .xdsoft_copyright {
|
444
|
+
color: #ccc !important;
|
445
|
+
font-size: 10px;
|
446
|
+
clear: both;
|
447
|
+
float: none;
|
448
|
+
margin-left: 8px;
|
449
|
+
}
|
450
|
+
|
451
|
+
.xdsoft_datetimepicker .xdsoft_copyright a { color: #eee !important }
|
452
|
+
.xdsoft_datetimepicker .xdsoft_copyright a:hover { color: #aaa !important }
|
453
|
+
|
454
|
+
.xdsoft_time_box {
|
455
|
+
position: relative;
|
456
|
+
border: 1px solid #ccc;
|
457
|
+
}
|
458
|
+
|
459
|
+
.xdsoft_scrollbar > .xdsoft_scroller {
|
460
|
+
background: #ccc !important;
|
461
|
+
height: 20px;
|
462
|
+
border-radius: 3px;
|
463
|
+
}
|
464
|
+
|
465
|
+
.xdsoft_scrollbar {
|
466
|
+
position: absolute;
|
467
|
+
width: 7px;
|
468
|
+
right: 0;
|
469
|
+
top: 0;
|
470
|
+
bottom: 0;
|
471
|
+
cursor: pointer;
|
472
|
+
}
|
473
|
+
|
474
|
+
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_scrollbar {
|
475
|
+
left: 0;
|
476
|
+
right: auto;
|
477
|
+
}
|
478
|
+
|
479
|
+
.xdsoft_scroller_box {
|
480
|
+
position: relative;
|
481
|
+
}
|
482
|
+
|
483
|
+
.xdsoft_datetimepicker .xdsoft_save_selected {
|
484
|
+
display: block;
|
485
|
+
border: 1px solid #dddddd !important;
|
486
|
+
margin-top: 5px;
|
487
|
+
width: 100%;
|
488
|
+
color: #454551;
|
489
|
+
font-size: 13px;
|
490
|
+
}
|
491
|
+
|
492
|
+
.xdsoft_datetimepicker .blue-gradient-button {
|
493
|
+
font-family: "museo-sans", "Book Antiqua", sans-serif;
|
494
|
+
font-size: 12px;
|
495
|
+
font-weight: 300;
|
496
|
+
color: #82878c;
|
497
|
+
height: 28px;
|
498
|
+
position: relative;
|
499
|
+
padding: 4px 17px 4px 33px;
|
500
|
+
border: 1px solid #d7d8da;
|
501
|
+
@include background(linear-gradient(top, #fff 0%, #f4f8fa 73%));
|
502
|
+
}
|
503
|
+
|
504
|
+
.xdsoft_datetimepicker .blue-gradient-button:hover, .xdsoft_datetimepicker .blue-gradient-button:focus, .xdsoft_datetimepicker .blue-gradient-button:hover span, .xdsoft_datetimepicker .blue-gradient-button:focus span {
|
505
|
+
color: #454551;
|
506
|
+
@include background(linear-gradient(top, #f4f8fa 0%, #FFF 73%));
|
507
|
+
}
|