date_picker 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/date_picker/form_tag_helper.rb +6 -1
- data/lib/date_picker/styles/bootstrap.rb +2 -2
- data/lib/date_picker/version.rb +1 -1
- data/test/dummy/app/models/event.rb +7 -0
- data/test/dummy/bower.json +0 -1
- data/test/dummy/config/application.rb +2 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +560 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-OQAivyOU9P9ZAQ_y2trK_-N68_KZTTs-DggI7rEtV0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2ANZSFEU9Y8883vrveeHrMkljTbZDFZjWodiOw-4_Mc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2ue6fqDvMQFxbulk_l8s1sfDI8JjKBcOeZPftypE6Pc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/38E_4_y76yBlQpE8HJjOah6zDJCC-wqH4mcQaK0UL9c.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/555Va3PB92_a2AQmwxFqDpppNN98rCJfaTXNrtIvQlY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/58Va14-8g080EO7U8YxBrWxWH0Qr8gn3BLdPS-zKsuk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/66sWxMCCzRVWUujKumZwet2XyEhSst8zigZDeKxtz7k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6c8RqN_iKGxrlpU9kmE4piMTyi6YveDs403lDEvCZEI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7uHMi2DhIqL4sozu3L9KdTIh4qRh4kDwTw8wIo2k9us.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A9UKKgpcQS_bV-aMc8rD1Qu8hPTSpihdwdy-ejQb0mA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Aclgag9GTw3jn13itmrL8vGzg189879Cdb1CxBM8YXg.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AzapYGohYHvX-jGdH6tgXcVgeKqRJ9dJ9pvMvuYpNMo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/B5lIcQ9vf5wgTus70iuvWxkAE_xESV27FLK_iDtI0EY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BqHQMAB-ELafPl_sMF5n9fy9J9ZNOMc5DOqf8_tL-OQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/F4upoYy8YAs33dZYFwekywdF6bmiPbQZPwIk2ArDTXE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JMJFOO2mH2xI-0hAy-EeYA23aHL1S4-icXLuzYrodzc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JetsuzQv5yb-T0l2WvKI3GvbQ_nDU0ECMYnfRliFnno.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/K0-51T1-fiBjKvLPRPmIVnr2IcC6uTZ2qlg4zXUzm20.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KlxUfYmC26KA405DB037sh4a34cPerHlhTqiPUphgQ0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LHGKiqiXX4pIWAWw0cCT3qjAfEvhqHZXmCX_7Nz1OCM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LmUmswBXcM1QeLiJ2p2G9gNRj39Cl_rJ7ozkvtiab4I.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MXIq1eBOfj1ueMAr8iJUuiPw5HBe9WFMxE0Oi_bQ8Yg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/N5AQcrKLar_U5rSRr0DAtN8_a9YMaZJT-hU6qw-lTAw.cache +9 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NSXZAot11kWgUqAWk28pHk3Wk0HJu27z4eYUbkZuqa0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NXcLQLxrGRQoxi2WB4es6tt4iPz2E06Dj7gEXSj5zkQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OELa8fL_6NiJFnO0qYfrT-FIojPLG8gS3TZtocTkHZc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OWyC9BF-hDFFyj0SikiKkaX_39O4TvVsT3QxmdjtK-0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QTXtB-rs9ebieZrqsw98wERUd5h9W7HvjMq8PGAGoxA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QdZ0Ei6ZlU9XbmrTWqH1ooq60iXZh7XQ4vaTe01xz5I.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SUmt0T4xyK4cJt4FK6hLg1DVCEfL1oBFbpR_Fn8LFb4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Sf579fo1XrM5H_gkUQC8Q5sJeXbGcz38F9wO78RwCjQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WUgBJoBGEucS48X8sj4JFo_l7MQRgLr3ZHeY1EY8iOY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WyEseCj1JAct7Zy1iS4fTBqDwEHnAFYXoobmpq4NU4Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XkWj0epqQjwcDQkUhpPEz9Ws-W5NjhmrcvutlMBmHS8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YAOvP7ZFCuCxaRQHkCrW5logCs-229Fyj9xDcW53aWA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YVP4hjoeo9cOxkA-So_iF85TP_hajWWmr4381I3bhvo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YwMkInig25fMRiXbu4BMLn9839e0KsnGMPjdn_UHowc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZSqknXg6zfmOsfnNU_VBlVZpVdYqxcWJ4iRtcH2bUXA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_-dZnwSCjdWeA_hXdtRWU5Pem1vxMOpDEVJKYTincTs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aOYS3w0KCfX6uoINv4VE1fD7iwwKxMjH12073qKxbGY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bRnLCEIiUFbWSQW7D5OOeIv_MdP73gGzfZV2rMs0rt4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bss5BE7NeR_7AJVJ1J87vPj-gBXbcmSKSjZc9ruG3aY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bui4vYOiOA_Xv3iHJUOI6M2Asla4_CfTUwvH8EP0ALQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cY96L-sEcUMqUsjeCOIRE5eZ-912i_ftgvvugaPCcZ4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/deAn4dZCHtEdTP1ffOcaA1jCNfkmkSizVKOD421MFbM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/h0p5bxXYrn5lWZ_jaG5xzx5H_JWGcpOE-AqpcQ1yqaA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hcn-zg5FtPDGrWaj2CHNLt-Mt7Nb0AFKBWM3T7NCh3o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hodd-s_Rz80YNWqb_ziDSgKRK3ov2d3vqWlF-PLY6vk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jHdCk5kG0rOdll4zcjjPd0pPGU9PzUBE2MfLU83G8QU.cache +9 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jafUaM18fOh5BfsBbH2zLPvXuHZqo89o72OD7MuqgwA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kSNzc3dJCBL5eUTJXtSzMHAmYf5YShtOyZ5wDGja9-w.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kYtB6gWmJ9wG5dj9L6r3vfOldAtcIO5kgZ09DAWf2gg.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nLlJmM1IJrQP1NYweF8MBUn3V5zj5QpCq4c7lnii_gU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ppnKh8HHcBF-WYFo8P3ZMgrVUoT48OihA9pRcdnSUJ4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/q7jAL_JEbPHXEtzTVG46_HiU6LeX1cTqLs4zyVkOBhw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/r0hTIia-ZeuKklUR5a9zlc0z_o6Z4__a4fG7WNLUd4U.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/r7WA4ETigY4fGAmUQ8PSPHqtCXooDqOidNtjsWTbP4E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t7d1xK96yF7Qk1_XrkFpkeQY3MieEHdNsohdRO2cZSI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tBOQQXF_7FhywD-fijv2QCflxLm4xcMy9EOBVHMoXlI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tLiIOUHwpYwWc8zthL_sI_78QZJvS5eDNTa4uRt6Gic.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ugfJlMXXQWf2uapF0DqywRxrQSvbmAkOD6pttYDbWBI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/v4xqfjzrUzZW5a6FzNYiez0yDf75GgHq1jr-pBhqedo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vP9vcm3n4AlQADvK2eFkPmgM4BIrrGugd1FjDp09HOI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vu4iDwUcLG80tLkdb6wYP9qryIQR-3AQJGEcDugALV8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w4SAbXtkx1wTaR9hFnRex0F5fpypGeDnsp8cGP7ByCM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wkgELuOuckRcA4pZ90TJBfB85KQpciJrtO6aDSUY2rU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xlacmyhLXW_PnX4fE3jc2qkszqeYtkHNN1o22-s_xLs.cache +1 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +5 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/README.md +11 -6
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/bower.json +3 -6
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +7 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +7 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +4 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/component.json +3 -3
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/composer.json +2 -5
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/package.json +9 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +440 -64
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +9 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +3 -3
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +2 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +343 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
- metadata +140 -16
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* Datetimepicker for Bootstrap 3
|
3
|
-
* ! version : 4.
|
3
|
+
* ! version : 4.13.28
|
4
4
|
* https://github.com/Eonasdan/bootstrap-datetimepicker/
|
5
5
|
*/
|
6
6
|
@bs-datetimepicker-timepicker-font-size: 1.2em;
|
@@ -334,6 +334,14 @@
|
|
334
334
|
line-height: 27px;
|
335
335
|
}
|
336
336
|
}
|
337
|
+
|
338
|
+
&.wider {
|
339
|
+
width: 21em;
|
340
|
+
}
|
341
|
+
|
342
|
+
& .datepicker-decades .decade {
|
343
|
+
line-height: 1.8em !important;
|
344
|
+
}
|
337
345
|
}
|
338
346
|
|
339
347
|
.input-group.date {
|
@@ -1,10 +1,10 @@
|
|
1
|
-
// Import
|
1
|
+
// Import bootstrap variables including default color palette and fonts
|
2
2
|
@import "../../node_modules/bootstrap/less/variables.less";
|
3
3
|
|
4
4
|
// Import datepicker component
|
5
5
|
@import "_bootstrap-datetimepicker.less";
|
6
6
|
|
7
|
-
|
7
|
+
//this is here so the compiler doesn't complain about a missing bootstrap mixin
|
8
8
|
.sr-only {
|
9
9
|
position: absolute;
|
10
10
|
width: 1px;
|
@@ -14,4 +14,4 @@
|
|
14
14
|
overflow: hidden;
|
15
15
|
clip: rect(0,0,0,0);
|
16
16
|
border: 0;
|
17
|
-
}
|
17
|
+
}
|
@@ -16,8 +16,8 @@ For LESS version install Bootstrap.v3.Datetimepicker</description>
|
|
16
16
|
<releaseNotes>Check the change log on Github at https://github.com/Eonasdan/bootstrap-datetimepicker/wiki/Change-Log</releaseNotes>
|
17
17
|
<tags>bootstrap date time picker datetimepicker datepicker jquery</tags>
|
18
18
|
<dependencies>
|
19
|
-
<dependency id="
|
20
|
-
<dependency id="Moment.js" version="2.
|
19
|
+
<dependency id="bootstrap" version="3.0.0" />
|
20
|
+
<dependency id="Moment.js" version="2.9.0" />
|
21
21
|
</dependencies>
|
22
22
|
</metadata>
|
23
23
|
<files>
|
@@ -17,7 +17,7 @@ For CSS version install Bootstrap.v3.Datetimepicker.CSS</description>
|
|
17
17
|
<tags>bootstrap date time picker datetimepicker datepicker jquery</tags>
|
18
18
|
<dependencies>
|
19
19
|
<dependency id="Twitter.Bootstrap.Less" version="3.0.0" />
|
20
|
-
<dependency id="Moment.js" version="2.
|
20
|
+
<dependency id="Moment.js" version="2.9.0" />
|
21
21
|
</dependencies>
|
22
22
|
</metadata>
|
23
23
|
<files>
|
@@ -0,0 +1,343 @@
|
|
1
|
+
/*!
|
2
|
+
* Datetimepicker for Bootstrap 3
|
3
|
+
* ! version : 4.7.14
|
4
|
+
* https://github.com/Eonasdan/bootstrap-datetimepicker/
|
5
|
+
*/
|
6
|
+
$bs-datetimepicker-timepicker-font-size: 1.2em;
|
7
|
+
$bs-datetimepicker-active-bg: $btn-primary-bg;
|
8
|
+
$bs-datetimepicker-active-color: $btn-primary-color;
|
9
|
+
$bs-datetimepicker-border-radius: $border-radius-base;
|
10
|
+
$bs-datetimepicker-btn-hover-bg: $gray-lighter;
|
11
|
+
$bs-datetimepicker-disabled-color: $gray-light;
|
12
|
+
$bs-datetimepicker-alternate-color: $gray-light;
|
13
|
+
$bs-datetimepicker-secondary-border-color: #ccc;
|
14
|
+
$bs-datetimepicker-secondary-border-color-rgba: rgba(0, 0, 0, 0.2);
|
15
|
+
$bs-datetimepicker-primary-border-color: white;
|
16
|
+
$bs-datetimepicker-text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
17
|
+
|
18
|
+
.bootstrap-datetimepicker-widget {
|
19
|
+
list-style: none;
|
20
|
+
|
21
|
+
&.dropdown-menu {
|
22
|
+
margin: 2px 0;
|
23
|
+
padding: 4px;
|
24
|
+
width: 19em;
|
25
|
+
|
26
|
+
&.timepicker-sbs {
|
27
|
+
@media (min-width: $screen-sm-min) {
|
28
|
+
width: 38em;
|
29
|
+
}
|
30
|
+
|
31
|
+
@media (min-width: $screen-md-min) {
|
32
|
+
width: 38em;
|
33
|
+
}
|
34
|
+
|
35
|
+
@media (min-width: $screen-lg-min) {
|
36
|
+
width: 38em;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&:before, &:after {
|
41
|
+
content: '';
|
42
|
+
display: inline-block;
|
43
|
+
position: absolute;
|
44
|
+
}
|
45
|
+
|
46
|
+
&.bottom {
|
47
|
+
&:before {
|
48
|
+
border-left: 7px solid transparent;
|
49
|
+
border-right: 7px solid transparent;
|
50
|
+
border-bottom: 7px solid $bs-datetimepicker-secondary-border-color;
|
51
|
+
border-bottom-color: $bs-datetimepicker-secondary-border-color-rgba;
|
52
|
+
top: -7px;
|
53
|
+
left: 7px;
|
54
|
+
}
|
55
|
+
|
56
|
+
&:after {
|
57
|
+
border-left: 6px solid transparent;
|
58
|
+
border-right: 6px solid transparent;
|
59
|
+
border-bottom: 6px solid $bs-datetimepicker-primary-border-color;
|
60
|
+
top: -6px;
|
61
|
+
left: 8px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&.top {
|
66
|
+
&:before {
|
67
|
+
border-left: 7px solid transparent;
|
68
|
+
border-right: 7px solid transparent;
|
69
|
+
border-top: 7px solid $bs-datetimepicker-secondary-border-color;
|
70
|
+
border-top-color: $bs-datetimepicker-secondary-border-color-rgba;
|
71
|
+
bottom: -7px;
|
72
|
+
left: 6px;
|
73
|
+
}
|
74
|
+
|
75
|
+
&:after {
|
76
|
+
border-left: 6px solid transparent;
|
77
|
+
border-right: 6px solid transparent;
|
78
|
+
border-top: 6px solid $bs-datetimepicker-primary-border-color;
|
79
|
+
bottom: -6px;
|
80
|
+
left: 7px;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
&.pull-right {
|
85
|
+
&:before {
|
86
|
+
left: auto;
|
87
|
+
right: 6px;
|
88
|
+
}
|
89
|
+
|
90
|
+
&:after {
|
91
|
+
left: auto;
|
92
|
+
right: 7px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
.list-unstyled {
|
98
|
+
margin: 0;
|
99
|
+
}
|
100
|
+
|
101
|
+
a[data-action] {
|
102
|
+
padding: 6px 0;
|
103
|
+
}
|
104
|
+
|
105
|
+
a[data-action]:active {
|
106
|
+
box-shadow: none;
|
107
|
+
}
|
108
|
+
|
109
|
+
.timepicker-hour, .timepicker-minute, .timepicker-second {
|
110
|
+
width: 54px;
|
111
|
+
font-weight: bold;
|
112
|
+
font-size: $bs-datetimepicker-timepicker-font-size;
|
113
|
+
margin: 0;
|
114
|
+
}
|
115
|
+
|
116
|
+
button[data-action] {
|
117
|
+
padding: 6px;
|
118
|
+
}
|
119
|
+
|
120
|
+
.btn[data-action="incrementHours"]::after {
|
121
|
+
@extend .sr-only;
|
122
|
+
content: "Increment Hours";
|
123
|
+
}
|
124
|
+
|
125
|
+
.btn[data-action="incrementMinutes"]::after {
|
126
|
+
@extend .sr-only;
|
127
|
+
content: "Increment Minutes";
|
128
|
+
}
|
129
|
+
|
130
|
+
.btn[data-action="decrementHours"]::after {
|
131
|
+
@extend .sr-only;
|
132
|
+
content: "Decrement Hours";
|
133
|
+
}
|
134
|
+
|
135
|
+
.btn[data-action="decrementMinutes"]::after {
|
136
|
+
@extend .sr-only;
|
137
|
+
content: "Decrement Minutes";
|
138
|
+
}
|
139
|
+
|
140
|
+
.btn[data-action="showHours"]::after {
|
141
|
+
@extend .sr-only;
|
142
|
+
content: "Show Hours";
|
143
|
+
}
|
144
|
+
|
145
|
+
.btn[data-action="showMinutes"]::after {
|
146
|
+
@extend .sr-only;
|
147
|
+
content: "Show Minutes";
|
148
|
+
}
|
149
|
+
|
150
|
+
.btn[data-action="togglePeriod"]::after {
|
151
|
+
@extend .sr-only;
|
152
|
+
content: "Toggle AM/PM";
|
153
|
+
}
|
154
|
+
|
155
|
+
.btn[data-action="clear"]::after {
|
156
|
+
@extend .sr-only;
|
157
|
+
content: "Clear the picker";
|
158
|
+
}
|
159
|
+
|
160
|
+
.btn[data-action="today"]::after {
|
161
|
+
@extend .sr-only;
|
162
|
+
content: "Set the date to today";
|
163
|
+
}
|
164
|
+
|
165
|
+
.picker-switch {
|
166
|
+
text-align: center;
|
167
|
+
|
168
|
+
&::after {
|
169
|
+
@extend .sr-only;
|
170
|
+
content: "Toggle Date and Time Screens";
|
171
|
+
}
|
172
|
+
|
173
|
+
td {
|
174
|
+
padding: 0;
|
175
|
+
margin: 0;
|
176
|
+
height: auto;
|
177
|
+
width: auto;
|
178
|
+
line-height: inherit;
|
179
|
+
|
180
|
+
span {
|
181
|
+
line-height: 2.5;
|
182
|
+
height: 2.5em;
|
183
|
+
width: 100%;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
table {
|
189
|
+
width: 100%;
|
190
|
+
margin: 0;
|
191
|
+
|
192
|
+
|
193
|
+
& td,
|
194
|
+
& th {
|
195
|
+
text-align: center;
|
196
|
+
border-radius: $bs-datetimepicker-border-radius;
|
197
|
+
}
|
198
|
+
|
199
|
+
& th {
|
200
|
+
height: 20px;
|
201
|
+
line-height: 20px;
|
202
|
+
width: 20px;
|
203
|
+
|
204
|
+
&.picker-switch {
|
205
|
+
width: 145px;
|
206
|
+
}
|
207
|
+
|
208
|
+
&.disabled,
|
209
|
+
&.disabled:hover {
|
210
|
+
background: none;
|
211
|
+
color: $bs-datetimepicker-disabled-color;
|
212
|
+
cursor: not-allowed;
|
213
|
+
}
|
214
|
+
|
215
|
+
&.prev::after {
|
216
|
+
@extend .sr-only;
|
217
|
+
content: "Previous Month";
|
218
|
+
}
|
219
|
+
|
220
|
+
&.next::after {
|
221
|
+
@extend .sr-only;
|
222
|
+
content: "Next Month";
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
& thead tr:first-child th {
|
227
|
+
cursor: pointer;
|
228
|
+
|
229
|
+
&:hover {
|
230
|
+
background: $bs-datetimepicker-btn-hover-bg;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
& td {
|
235
|
+
height: 54px;
|
236
|
+
line-height: 54px;
|
237
|
+
width: 54px;
|
238
|
+
|
239
|
+
&.cw {
|
240
|
+
font-size: .8em;
|
241
|
+
height: 20px;
|
242
|
+
line-height: 20px;
|
243
|
+
color: $bs-datetimepicker-alternate-color;
|
244
|
+
}
|
245
|
+
|
246
|
+
&.day {
|
247
|
+
height: 20px;
|
248
|
+
line-height: 20px;
|
249
|
+
width: 20px;
|
250
|
+
}
|
251
|
+
|
252
|
+
&.day:hover,
|
253
|
+
&.hour:hover,
|
254
|
+
&.minute:hover,
|
255
|
+
&.second:hover {
|
256
|
+
background: $bs-datetimepicker-btn-hover-bg;
|
257
|
+
cursor: pointer;
|
258
|
+
}
|
259
|
+
|
260
|
+
&.old,
|
261
|
+
&.new {
|
262
|
+
color: $bs-datetimepicker-alternate-color;
|
263
|
+
}
|
264
|
+
|
265
|
+
&.today {
|
266
|
+
position: relative;
|
267
|
+
|
268
|
+
&:before {
|
269
|
+
content: '';
|
270
|
+
display: inline-block;
|
271
|
+
border: 0 0 7px 7px solid transparent;
|
272
|
+
border-bottom-color: $bs-datetimepicker-active-bg;
|
273
|
+
border-top-color: $bs-datetimepicker-secondary-border-color-rgba;
|
274
|
+
position: absolute;
|
275
|
+
bottom: 4px;
|
276
|
+
right: 4px;
|
277
|
+
}
|
278
|
+
}
|
279
|
+
|
280
|
+
&.active,
|
281
|
+
&.active:hover {
|
282
|
+
background-color: $bs-datetimepicker-active-bg;
|
283
|
+
color: $bs-datetimepicker-active-color;
|
284
|
+
text-shadow: $bs-datetimepicker-text-shadow;
|
285
|
+
}
|
286
|
+
|
287
|
+
&.active.today:before {
|
288
|
+
border-bottom-color: #fff;
|
289
|
+
}
|
290
|
+
|
291
|
+
&.disabled,
|
292
|
+
&.disabled:hover {
|
293
|
+
background: none;
|
294
|
+
color: $bs-datetimepicker-disabled-color;
|
295
|
+
cursor: not-allowed;
|
296
|
+
}
|
297
|
+
|
298
|
+
span {
|
299
|
+
display: inline-block;
|
300
|
+
width: 54px;
|
301
|
+
height: 54px;
|
302
|
+
line-height: 54px;
|
303
|
+
margin: 2px 1.5px;
|
304
|
+
cursor: pointer;
|
305
|
+
border-radius: $bs-datetimepicker-border-radius;
|
306
|
+
|
307
|
+
&:hover {
|
308
|
+
background: $bs-datetimepicker-btn-hover-bg;
|
309
|
+
}
|
310
|
+
|
311
|
+
&.active {
|
312
|
+
background-color: $bs-datetimepicker-active-bg;
|
313
|
+
color: $bs-datetimepicker-active-color;
|
314
|
+
text-shadow: $bs-datetimepicker-text-shadow;
|
315
|
+
}
|
316
|
+
|
317
|
+
&.old {
|
318
|
+
color: $bs-datetimepicker-alternate-color;
|
319
|
+
}
|
320
|
+
|
321
|
+
&.disabled,
|
322
|
+
&.disabled:hover {
|
323
|
+
background: none;
|
324
|
+
color: $bs-datetimepicker-disabled-color;
|
325
|
+
cursor: not-allowed;
|
326
|
+
}
|
327
|
+
}
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
&.usetwentyfour {
|
332
|
+
td.hour {
|
333
|
+
height: 27px;
|
334
|
+
line-height: 27px;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
.input-group.date {
|
340
|
+
& .input-group-addon {
|
341
|
+
cursor: pointer;
|
342
|
+
}
|
343
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// Import bootstrap variables including default color palette and fonts
|
2
|
+
//@import "../../node_modules/bootstrap/less/variables.less";
|
3
|
+
|
4
|
+
.sr-only {
|
5
|
+
position: absolute;
|
6
|
+
width: 1px;
|
7
|
+
height: 1px;
|
8
|
+
margin: -1px;
|
9
|
+
padding: 0;
|
10
|
+
overflow: hidden;
|
11
|
+
clip: rect(0,0,0,0);
|
12
|
+
border: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Import datepicker component
|
16
|
+
@import "_bootstrap-datetimepicker";
|