effective_bootstrap 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +93 -0
- data/app/assets/icons/activity.svg +13 -0
- data/app/assets/icons/airplay.svg +14 -0
- data/app/assets/icons/alert-circle.svg +15 -0
- data/app/assets/icons/alert-octagon.svg +15 -0
- data/app/assets/icons/alert-triangle.svg +15 -0
- data/app/assets/icons/align-center.svg +16 -0
- data/app/assets/icons/align-justify.svg +16 -0
- data/app/assets/icons/align-left.svg +16 -0
- data/app/assets/icons/align-right.svg +16 -0
- data/app/assets/icons/anchor.svg +15 -0
- data/app/assets/icons/aperture.svg +19 -0
- data/app/assets/icons/arrow-down-circle.svg +15 -0
- data/app/assets/icons/arrow-down-left.svg +14 -0
- data/app/assets/icons/arrow-down-right.svg +14 -0
- data/app/assets/icons/arrow-down.svg +14 -0
- data/app/assets/icons/arrow-left-circle.svg +15 -0
- data/app/assets/icons/arrow-left.svg +14 -0
- data/app/assets/icons/arrow-right-circle.svg +15 -0
- data/app/assets/icons/arrow-right.svg +14 -0
- data/app/assets/icons/arrow-up-circle.svg +15 -0
- data/app/assets/icons/arrow-up-left.svg +14 -0
- data/app/assets/icons/arrow-up-right.svg +14 -0
- data/app/assets/icons/arrow-up.svg +14 -0
- data/app/assets/icons/at-sign.svg +14 -0
- data/app/assets/icons/award.svg +14 -0
- data/app/assets/icons/bar-chart-2.svg +15 -0
- data/app/assets/icons/bar-chart.svg +15 -0
- data/app/assets/icons/battery-charging.svg +15 -0
- data/app/assets/icons/battery.svg +14 -0
- data/app/assets/icons/bell-off.svg +14 -0
- data/app/assets/icons/bell.svg +13 -0
- data/app/assets/icons/bluetooth.svg +13 -0
- data/app/assets/icons/bold.svg +14 -0
- data/app/assets/icons/book-open.svg +14 -0
- data/app/assets/icons/book.svg +14 -0
- data/app/assets/icons/bookmark.svg +13 -0
- data/app/assets/icons/box.svg +15 -0
- data/app/assets/icons/briefcase.svg +14 -0
- data/app/assets/icons/calendar.svg +16 -0
- data/app/assets/icons/camera-off.svg +14 -0
- data/app/assets/icons/camera.svg +14 -0
- data/app/assets/icons/cast.svg +14 -0
- data/app/assets/icons/check-circle.svg +14 -0
- data/app/assets/icons/check-square.svg +14 -0
- data/app/assets/icons/check.svg +13 -0
- data/app/assets/icons/chevron-down.svg +13 -0
- data/app/assets/icons/chevron-left.svg +13 -0
- data/app/assets/icons/chevron-right.svg +13 -0
- data/app/assets/icons/chevron-up.svg +13 -0
- data/app/assets/icons/chevrons-down.svg +14 -0
- data/app/assets/icons/chevrons-left.svg +14 -0
- data/app/assets/icons/chevrons-right.svg +14 -0
- data/app/assets/icons/chevrons-up.svg +14 -0
- data/app/assets/icons/chrome.svg +17 -0
- data/app/assets/icons/circle.svg +13 -0
- data/app/assets/icons/clipboard.svg +14 -0
- data/app/assets/icons/clock.svg +14 -0
- data/app/assets/icons/cloud-drizzle.svg +19 -0
- data/app/assets/icons/cloud-lightning.svg +14 -0
- data/app/assets/icons/cloud-off.svg +14 -0
- data/app/assets/icons/cloud-rain.svg +16 -0
- data/app/assets/icons/cloud-snow.svg +19 -0
- data/app/assets/icons/cloud.svg +13 -0
- data/app/assets/icons/code.svg +14 -0
- data/app/assets/icons/codepen.svg +17 -0
- data/app/assets/icons/command.svg +13 -0
- data/app/assets/icons/compass.svg +14 -0
- data/app/assets/icons/copy.svg +14 -0
- data/app/assets/icons/corner-down-left.svg +14 -0
- data/app/assets/icons/corner-down-right.svg +14 -0
- data/app/assets/icons/corner-left-down.svg +14 -0
- data/app/assets/icons/corner-left-up.svg +14 -0
- data/app/assets/icons/corner-right-down.svg +14 -0
- data/app/assets/icons/corner-right-up.svg +14 -0
- data/app/assets/icons/corner-up-left.svg +14 -0
- data/app/assets/icons/corner-up-right.svg +14 -0
- data/app/assets/icons/cpu.svg +22 -0
- data/app/assets/icons/credit-card.svg +14 -0
- data/app/assets/icons/crop.svg +14 -0
- data/app/assets/icons/crosshair.svg +17 -0
- data/app/assets/icons/database.svg +15 -0
- data/app/assets/icons/delete.svg +15 -0
- data/app/assets/icons/disc.svg +14 -0
- data/app/assets/icons/dollar-sign.svg +14 -0
- data/app/assets/icons/download-cloud.svg +15 -0
- data/app/assets/icons/download.svg +15 -0
- data/app/assets/icons/droplet.svg +13 -0
- data/app/assets/icons/edit-2.svg +13 -0
- data/app/assets/icons/edit-3.svg +14 -0
- data/app/assets/icons/edit.svg +14 -0
- data/app/assets/icons/external-link.svg +15 -0
- data/app/assets/icons/eye-off.svg +14 -0
- data/app/assets/icons/eye.svg +14 -0
- data/app/assets/icons/facebook.svg +13 -0
- data/app/assets/icons/fast-forward.svg +14 -0
- data/app/assets/icons/feather.svg +15 -0
- data/app/assets/icons/file-minus.svg +15 -0
- data/app/assets/icons/file-plus.svg +16 -0
- data/app/assets/icons/file-text.svg +17 -0
- data/app/assets/icons/file.svg +14 -0
- data/app/assets/icons/film.svg +20 -0
- data/app/assets/icons/filter.svg +13 -0
- data/app/assets/icons/flag.svg +14 -0
- data/app/assets/icons/folder-minus.svg +14 -0
- data/app/assets/icons/folder-plus.svg +15 -0
- data/app/assets/icons/folder.svg +13 -0
- data/app/assets/icons/git-branch.svg +16 -0
- data/app/assets/icons/git-commit.svg +15 -0
- data/app/assets/icons/git-merge.svg +15 -0
- data/app/assets/icons/git-pull-request.svg +16 -0
- data/app/assets/icons/github.svg +13 -0
- data/app/assets/icons/gitlab.svg +13 -0
- data/app/assets/icons/globe.svg +15 -0
- data/app/assets/icons/grid.svg +16 -0
- data/app/assets/icons/hard-drive.svg +16 -0
- data/app/assets/icons/hash.svg +16 -0
- data/app/assets/icons/headphones.svg +14 -0
- data/app/assets/icons/heart.svg +13 -0
- data/app/assets/icons/help-circle.svg +15 -0
- data/app/assets/icons/home.svg +14 -0
- data/app/assets/icons/image.svg +15 -0
- data/app/assets/icons/inbox.svg +14 -0
- data/app/assets/icons/info.svg +15 -0
- data/app/assets/icons/instagram.svg +15 -0
- data/app/assets/icons/italic.svg +15 -0
- data/app/assets/icons/layers.svg +15 -0
- data/app/assets/icons/layout.svg +15 -0
- data/app/assets/icons/life-buoy.svg +19 -0
- data/app/assets/icons/link-2.svg +14 -0
- data/app/assets/icons/link.svg +14 -0
- data/app/assets/icons/linkedin.svg +15 -0
- data/app/assets/icons/list.svg +18 -0
- data/app/assets/icons/loader.svg +20 -0
- data/app/assets/icons/lock.svg +14 -0
- data/app/assets/icons/log-in.svg +15 -0
- data/app/assets/icons/log-out.svg +15 -0
- data/app/assets/icons/mail.svg +14 -0
- data/app/assets/icons/map-pin.svg +14 -0
- data/app/assets/icons/map.svg +15 -0
- data/app/assets/icons/maximize-2.svg +16 -0
- data/app/assets/icons/maximize.svg +13 -0
- data/app/assets/icons/menu.svg +15 -0
- data/app/assets/icons/message-circle.svg +13 -0
- data/app/assets/icons/message-square.svg +13 -0
- data/app/assets/icons/mic-off.svg +17 -0
- data/app/assets/icons/mic.svg +16 -0
- data/app/assets/icons/minimize-2.svg +16 -0
- data/app/assets/icons/minimize.svg +13 -0
- data/app/assets/icons/minus-circle.svg +14 -0
- data/app/assets/icons/minus-square.svg +14 -0
- data/app/assets/icons/minus.svg +13 -0
- data/app/assets/icons/monitor.svg +15 -0
- data/app/assets/icons/moon.svg +13 -0
- data/app/assets/icons/more-horizontal.svg +15 -0
- data/app/assets/icons/more-vertical.svg +15 -0
- data/app/assets/icons/move.svg +18 -0
- data/app/assets/icons/music.svg +14 -0
- data/app/assets/icons/navigation-2.svg +13 -0
- data/app/assets/icons/navigation.svg +13 -0
- data/app/assets/icons/octagon.svg +13 -0
- data/app/assets/icons/package.svg +16 -0
- data/app/assets/icons/paperclip.svg +13 -0
- data/app/assets/icons/pause-circle.svg +15 -0
- data/app/assets/icons/pause.svg +14 -0
- data/app/assets/icons/percent.svg +15 -0
- data/app/assets/icons/phone-call.svg +13 -0
- data/app/assets/icons/phone-forwarded.svg +15 -0
- data/app/assets/icons/phone-incoming.svg +15 -0
- data/app/assets/icons/phone-missed.svg +15 -0
- data/app/assets/icons/phone-off.svg +14 -0
- data/app/assets/icons/phone-outgoing.svg +15 -0
- data/app/assets/icons/phone.svg +13 -0
- data/app/assets/icons/pie-chart.svg +14 -0
- data/app/assets/icons/play-circle.svg +14 -0
- data/app/assets/icons/play.svg +13 -0
- data/app/assets/icons/plus-circle.svg +15 -0
- data/app/assets/icons/plus-square.svg +15 -0
- data/app/assets/icons/plus.svg +14 -0
- data/app/assets/icons/pocket.svg +14 -0
- data/app/assets/icons/power.svg +14 -0
- data/app/assets/icons/printer.svg +15 -0
- data/app/assets/icons/radio.svg +14 -0
- data/app/assets/icons/refresh-ccw.svg +15 -0
- data/app/assets/icons/refresh-cw.svg +15 -0
- data/app/assets/icons/repeat.svg +16 -0
- data/app/assets/icons/rewind.svg +14 -0
- data/app/assets/icons/rotate-ccw.svg +14 -0
- data/app/assets/icons/rotate-cw.svg +14 -0
- data/app/assets/icons/rss.svg +15 -0
- data/app/assets/icons/save.svg +15 -0
- data/app/assets/icons/scissors.svg +17 -0
- data/app/assets/icons/search.svg +14 -0
- data/app/assets/icons/send.svg +14 -0
- data/app/assets/icons/server.svg +16 -0
- data/app/assets/icons/settings.svg +14 -0
- data/app/assets/icons/share-2.svg +17 -0
- data/app/assets/icons/share.svg +15 -0
- data/app/assets/icons/shield-off.svg +15 -0
- data/app/assets/icons/shield.svg +13 -0
- data/app/assets/icons/shopping-bag.svg +15 -0
- data/app/assets/icons/shopping-cart.svg +15 -0
- data/app/assets/icons/shuffle.svg +17 -0
- data/app/assets/icons/sidebar.svg +14 -0
- data/app/assets/icons/skip-back.svg +14 -0
- data/app/assets/icons/skip-forward.svg +14 -0
- data/app/assets/icons/slack.svg +17 -0
- data/app/assets/icons/slash.svg +14 -0
- data/app/assets/icons/sliders.svg +21 -0
- data/app/assets/icons/smartphone.svg +14 -0
- data/app/assets/icons/speaker.svg +15 -0
- data/app/assets/icons/spinner.svg +1 -0
- data/app/assets/icons/square.svg +13 -0
- data/app/assets/icons/star.svg +13 -0
- data/app/assets/icons/stop-circle.svg +14 -0
- data/app/assets/icons/sun.svg +21 -0
- data/app/assets/icons/sunrise.svg +20 -0
- data/app/assets/icons/sunset.svg +20 -0
- data/app/assets/icons/tablet.svg +22 -0
- data/app/assets/icons/tag.svg +14 -0
- data/app/assets/icons/target.svg +15 -0
- data/app/assets/icons/terminal.svg +14 -0
- data/app/assets/icons/thermometer.svg +13 -0
- data/app/assets/icons/thumbs-down.svg +13 -0
- data/app/assets/icons/thumbs-up.svg +13 -0
- data/app/assets/icons/toggle-left.svg +14 -0
- data/app/assets/icons/toggle-right.svg +14 -0
- data/app/assets/icons/trash-2.svg +16 -0
- data/app/assets/icons/trash.svg +14 -0
- data/app/assets/icons/trending-down.svg +14 -0
- data/app/assets/icons/trending-up.svg +14 -0
- data/app/assets/icons/triangle.svg +13 -0
- data/app/assets/icons/truck.svg +16 -0
- data/app/assets/icons/tv.svg +14 -0
- data/app/assets/icons/twitter.svg +13 -0
- data/app/assets/icons/type.svg +15 -0
- data/app/assets/icons/umbrella.svg +13 -0
- data/app/assets/icons/underline.svg +14 -0
- data/app/assets/icons/unlock.svg +14 -0
- data/app/assets/icons/upload-cloud.svg +16 -0
- data/app/assets/icons/upload.svg +15 -0
- data/app/assets/icons/user-check.svg +15 -0
- data/app/assets/icons/user-minus.svg +15 -0
- data/app/assets/icons/user-plus.svg +16 -0
- data/app/assets/icons/user-x.svg +16 -0
- data/app/assets/icons/user.svg +14 -0
- data/app/assets/icons/users.svg +16 -0
- data/app/assets/icons/video-off.svg +14 -0
- data/app/assets/icons/video.svg +14 -0
- data/app/assets/icons/voicemail.svg +15 -0
- data/app/assets/icons/volume-1.svg +14 -0
- data/app/assets/icons/volume-2.svg +14 -0
- data/app/assets/icons/volume-x.svg +15 -0
- data/app/assets/icons/volume.svg +13 -0
- data/app/assets/icons/watch.svg +15 -0
- data/app/assets/icons/wifi-off.svg +19 -0
- data/app/assets/icons/wifi.svg +16 -0
- data/app/assets/icons/wind.svg +13 -0
- data/app/assets/icons/x-circle.svg +15 -0
- data/app/assets/icons/x-square.svg +15 -0
- data/app/assets/icons/x.svg +14 -0
- data/app/assets/icons/zap-off.svg +16 -0
- data/app/assets/icons/zap.svg +13 -0
- data/app/assets/icons/zoom-in.svg +16 -0
- data/app/assets/icons/zoom-out.svg +15 -0
- data/app/assets/javascripts/effective_bootstrap.js +9 -0
- data/app/assets/javascripts/effective_bootstrap/base.js.coffee +37 -0
- data/app/assets/javascripts/effective_date/initialize.js.coffee +4 -0
- data/app/assets/javascripts/effective_date/input.js +5 -0
- data/app/assets/javascripts/effective_datetime/bootstrap-datetimepicker.js +2637 -0
- data/app/assets/javascripts/effective_datetime/initialize.js.coffee +4 -0
- data/app/assets/javascripts/effective_datetime/input.js +5 -0
- data/app/assets/javascripts/effective_datetime/moment.js +4535 -0
- data/app/assets/javascripts/effective_datetime/overrides.js.coffee +38 -0
- data/app/assets/javascripts/effective_datetime/turbolinks.js.coffee +5 -0
- data/app/assets/javascripts/effective_phone/initialize.js.coffee +4 -0
- data/app/assets/javascripts/effective_phone/input.js +2 -0
- data/app/assets/javascripts/effective_phone/jquery.maskedInput.js +182 -0
- data/app/assets/javascripts/effective_price/input.js.coffee +34 -0
- data/app/assets/javascripts/effective_select/initialize.js.coffee +45 -0
- data/app/assets/javascripts/effective_select/input.js +3 -0
- data/app/assets/javascripts/effective_select/overrides.js.coffee +45 -0
- data/app/assets/javascripts/effective_select/select2.js +5746 -0
- data/app/assets/javascripts/effective_time/initialize.js.coffee +4 -0
- data/app/assets/javascripts/effective_time/input.js +5 -0
- data/app/assets/stylesheets/effective_bootstrap.scss +8 -0
- data/app/assets/stylesheets/effective_bootstrap/base.scss +11 -0
- data/app/assets/stylesheets/effective_bootstrap/icons.scss +27 -0
- data/app/assets/stylesheets/effective_date/input.scss +1 -0
- data/app/assets/stylesheets/effective_datetime/bootstrap-datetimepicker.scss +374 -0
- data/app/assets/stylesheets/effective_datetime/input.scss +2 -0
- data/app/assets/stylesheets/effective_datetime/overrides.scss +28 -0
- data/app/assets/stylesheets/effective_select/bootstrap-theme.css +564 -0
- data/app/assets/stylesheets/effective_select/input.scss +3 -0
- data/app/assets/stylesheets/effective_select/overrides.scss +92 -0
- data/app/assets/stylesheets/effective_select/select2.css +484 -0
- data/app/assets/stylesheets/effective_time/input.scss +1 -0
- data/app/helpers/effective_bootstrap_helper.rb +52 -0
- data/app/helpers/effective_form_builder_helper.rb +23 -0
- data/app/helpers/effective_icons_helper.rb +46 -0
- data/app/models/effective/access_denied.rb +17 -0
- data/app/models/effective/form_builder.rb +100 -0
- data/app/models/effective/form_input.rb +319 -0
- data/app/models/effective/form_inputs/check_box.rb +62 -0
- data/app/models/effective/form_inputs/checks.rb +73 -0
- data/app/models/effective/form_inputs/collection_input.rb +144 -0
- data/app/models/effective/form_inputs/date_field.rb +22 -0
- data/app/models/effective/form_inputs/datetime_field.rb +53 -0
- data/app/models/effective/form_inputs/email_field.rb +15 -0
- data/app/models/effective/form_inputs/error_field.rb +47 -0
- data/app/models/effective/form_inputs/form_group.rb +26 -0
- data/app/models/effective/form_inputs/number_field.rb +6 -0
- data/app/models/effective/form_inputs/password_field.rb +24 -0
- data/app/models/effective/form_inputs/phone_field.rb +34 -0
- data/app/models/effective/form_inputs/price_field.rb +37 -0
- data/app/models/effective/form_inputs/radios.rb +74 -0
- data/app/models/effective/form_inputs/select.rb +87 -0
- data/app/models/effective/form_inputs/static_field.rb +20 -0
- data/app/models/effective/form_inputs/submit.rb +42 -0
- data/app/models/effective/form_inputs/text_area.rb +11 -0
- data/app/models/effective/form_inputs/text_field.rb +6 -0
- data/app/models/effective/form_inputs/time_field.rb +22 -0
- data/app/models/effective/form_inputs/url_field.rb +15 -0
- data/app/views/effective/style_guide/__fields.html.haml +42 -0
- data/app/views/effective/style_guide/__inline_fields.html.haml +4 -0
- data/app/views/effective/style_guide/_effective_form_with.html.haml +23 -0
- data/app/views/effective/style_guide/_feather_icons.html.haml +9 -0
- data/config/effective_bootstrap.rb +24 -0
- data/lib/effective_bootstrap.rb +31 -0
- data/lib/effective_bootstrap/engine.rb +11 -0
- data/lib/effective_bootstrap/version.rb +3 -0
- data/lib/generators/effective_bootstrap/install_generator.rb +14 -0
- metadata +419 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
.eb-icon {
|
2
|
+
width: 1.6rem;
|
3
|
+
height: 1.6rem;
|
4
|
+
}
|
5
|
+
|
6
|
+
.input-group-text {
|
7
|
+
.eb-icon {
|
8
|
+
width: 1.2rem;
|
9
|
+
height: 1.2rem;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.eb-icon-spinner {
|
14
|
+
animation: spin 1.5s linear infinite;
|
15
|
+
}
|
16
|
+
|
17
|
+
@-moz-keyframes spin {
|
18
|
+
100% { -moz-transform: rotate(360deg); }
|
19
|
+
}
|
20
|
+
|
21
|
+
@-webkit-keyframes spin {
|
22
|
+
100% { -webkit-transform: rotate(360deg); }
|
23
|
+
}
|
24
|
+
|
25
|
+
@keyframes spin {
|
26
|
+
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
|
27
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import '../effective_datetime/input';
|
@@ -0,0 +1,374 @@
|
|
1
|
+
/*!
|
2
|
+
* Datetimepicker for Bootstrap 3
|
3
|
+
* version : 4.17.45
|
4
|
+
* https://github.com/Eonasdan/bootstrap-datetimepicker/
|
5
|
+
*/
|
6
|
+
.bootstrap-datetimepicker-widget {
|
7
|
+
list-style: none;
|
8
|
+
}
|
9
|
+
.bootstrap-datetimepicker-widget.dropdown-menu {
|
10
|
+
display: block;
|
11
|
+
margin: 2px 0;
|
12
|
+
padding: 4px;
|
13
|
+
width: 19em;
|
14
|
+
}
|
15
|
+
@media (min-width: 768px) {
|
16
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
17
|
+
width: 38em;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
@media (min-width: 992px) {
|
21
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
22
|
+
width: 38em;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
@media (min-width: 1200px) {
|
26
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
27
|
+
width: 38em;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
.bootstrap-datetimepicker-widget.dropdown-menu:before,
|
31
|
+
.bootstrap-datetimepicker-widget.dropdown-menu:after {
|
32
|
+
content: '';
|
33
|
+
display: inline-block;
|
34
|
+
position: absolute;
|
35
|
+
}
|
36
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
|
37
|
+
border-left: 7px solid transparent;
|
38
|
+
border-right: 7px solid transparent;
|
39
|
+
border-bottom: 7px solid #ccc;
|
40
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
41
|
+
top: -7px;
|
42
|
+
left: 7px;
|
43
|
+
}
|
44
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
|
45
|
+
border-left: 6px solid transparent;
|
46
|
+
border-right: 6px solid transparent;
|
47
|
+
border-bottom: 6px solid white;
|
48
|
+
top: -6px;
|
49
|
+
left: 8px;
|
50
|
+
}
|
51
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
|
52
|
+
border-left: 7px solid transparent;
|
53
|
+
border-right: 7px solid transparent;
|
54
|
+
border-top: 7px solid #ccc;
|
55
|
+
border-top-color: rgba(0, 0, 0, 0.2);
|
56
|
+
bottom: -7px;
|
57
|
+
left: 6px;
|
58
|
+
}
|
59
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
|
60
|
+
border-left: 6px solid transparent;
|
61
|
+
border-right: 6px solid transparent;
|
62
|
+
border-top: 6px solid white;
|
63
|
+
bottom: -6px;
|
64
|
+
left: 7px;
|
65
|
+
}
|
66
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before {
|
67
|
+
left: auto;
|
68
|
+
right: 6px;
|
69
|
+
}
|
70
|
+
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after {
|
71
|
+
left: auto;
|
72
|
+
right: 7px;
|
73
|
+
}
|
74
|
+
.bootstrap-datetimepicker-widget .list-unstyled {
|
75
|
+
margin: 0;
|
76
|
+
}
|
77
|
+
.bootstrap-datetimepicker-widget a[data-action] {
|
78
|
+
padding: 6px 0;
|
79
|
+
}
|
80
|
+
.bootstrap-datetimepicker-widget a[data-action]:active {
|
81
|
+
box-shadow: none;
|
82
|
+
}
|
83
|
+
.bootstrap-datetimepicker-widget .timepicker-hour,
|
84
|
+
.bootstrap-datetimepicker-widget .timepicker-minute,
|
85
|
+
.bootstrap-datetimepicker-widget .timepicker-second {
|
86
|
+
width: 54px;
|
87
|
+
font-weight: bold;
|
88
|
+
font-size: 1.2em;
|
89
|
+
margin: 0;
|
90
|
+
}
|
91
|
+
.bootstrap-datetimepicker-widget button[data-action] {
|
92
|
+
padding: 6px;
|
93
|
+
}
|
94
|
+
.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after {
|
95
|
+
position: absolute;
|
96
|
+
width: 1px;
|
97
|
+
height: 1px;
|
98
|
+
margin: -1px;
|
99
|
+
padding: 0;
|
100
|
+
overflow: hidden;
|
101
|
+
clip: rect(0, 0, 0, 0);
|
102
|
+
border: 0;
|
103
|
+
content: "Increment Hours";
|
104
|
+
}
|
105
|
+
.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
|
106
|
+
position: absolute;
|
107
|
+
width: 1px;
|
108
|
+
height: 1px;
|
109
|
+
margin: -1px;
|
110
|
+
padding: 0;
|
111
|
+
overflow: hidden;
|
112
|
+
clip: rect(0, 0, 0, 0);
|
113
|
+
border: 0;
|
114
|
+
content: "Increment Minutes";
|
115
|
+
}
|
116
|
+
.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
|
117
|
+
position: absolute;
|
118
|
+
width: 1px;
|
119
|
+
height: 1px;
|
120
|
+
margin: -1px;
|
121
|
+
padding: 0;
|
122
|
+
overflow: hidden;
|
123
|
+
clip: rect(0, 0, 0, 0);
|
124
|
+
border: 0;
|
125
|
+
content: "Decrement Hours";
|
126
|
+
}
|
127
|
+
.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
|
128
|
+
position: absolute;
|
129
|
+
width: 1px;
|
130
|
+
height: 1px;
|
131
|
+
margin: -1px;
|
132
|
+
padding: 0;
|
133
|
+
overflow: hidden;
|
134
|
+
clip: rect(0, 0, 0, 0);
|
135
|
+
border: 0;
|
136
|
+
content: "Decrement Minutes";
|
137
|
+
}
|
138
|
+
.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
|
139
|
+
position: absolute;
|
140
|
+
width: 1px;
|
141
|
+
height: 1px;
|
142
|
+
margin: -1px;
|
143
|
+
padding: 0;
|
144
|
+
overflow: hidden;
|
145
|
+
clip: rect(0, 0, 0, 0);
|
146
|
+
border: 0;
|
147
|
+
content: "Show Hours";
|
148
|
+
}
|
149
|
+
.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
|
150
|
+
position: absolute;
|
151
|
+
width: 1px;
|
152
|
+
height: 1px;
|
153
|
+
margin: -1px;
|
154
|
+
padding: 0;
|
155
|
+
overflow: hidden;
|
156
|
+
clip: rect(0, 0, 0, 0);
|
157
|
+
border: 0;
|
158
|
+
content: "Show Minutes";
|
159
|
+
}
|
160
|
+
.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
|
161
|
+
position: absolute;
|
162
|
+
width: 1px;
|
163
|
+
height: 1px;
|
164
|
+
margin: -1px;
|
165
|
+
padding: 0;
|
166
|
+
overflow: hidden;
|
167
|
+
clip: rect(0, 0, 0, 0);
|
168
|
+
border: 0;
|
169
|
+
content: "Toggle AM/PM";
|
170
|
+
}
|
171
|
+
.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
|
172
|
+
position: absolute;
|
173
|
+
width: 1px;
|
174
|
+
height: 1px;
|
175
|
+
margin: -1px;
|
176
|
+
padding: 0;
|
177
|
+
overflow: hidden;
|
178
|
+
clip: rect(0, 0, 0, 0);
|
179
|
+
border: 0;
|
180
|
+
content: "Clear the picker";
|
181
|
+
}
|
182
|
+
.bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
|
183
|
+
position: absolute;
|
184
|
+
width: 1px;
|
185
|
+
height: 1px;
|
186
|
+
margin: -1px;
|
187
|
+
padding: 0;
|
188
|
+
overflow: hidden;
|
189
|
+
clip: rect(0, 0, 0, 0);
|
190
|
+
border: 0;
|
191
|
+
content: "Set the date to today";
|
192
|
+
}
|
193
|
+
.bootstrap-datetimepicker-widget .picker-switch {
|
194
|
+
text-align: center;
|
195
|
+
}
|
196
|
+
.bootstrap-datetimepicker-widget .picker-switch::after {
|
197
|
+
position: absolute;
|
198
|
+
width: 1px;
|
199
|
+
height: 1px;
|
200
|
+
margin: -1px;
|
201
|
+
padding: 0;
|
202
|
+
overflow: hidden;
|
203
|
+
clip: rect(0, 0, 0, 0);
|
204
|
+
border: 0;
|
205
|
+
content: "Toggle Date and Time Screens";
|
206
|
+
}
|
207
|
+
.bootstrap-datetimepicker-widget .picker-switch td {
|
208
|
+
padding: 0;
|
209
|
+
margin: 0;
|
210
|
+
height: auto;
|
211
|
+
width: auto;
|
212
|
+
line-height: inherit;
|
213
|
+
}
|
214
|
+
.bootstrap-datetimepicker-widget .picker-switch td span {
|
215
|
+
line-height: 2.5;
|
216
|
+
height: 2.5em;
|
217
|
+
width: 100%;
|
218
|
+
}
|
219
|
+
.bootstrap-datetimepicker-widget table {
|
220
|
+
width: 100%;
|
221
|
+
margin: 0;
|
222
|
+
}
|
223
|
+
.bootstrap-datetimepicker-widget table td,
|
224
|
+
.bootstrap-datetimepicker-widget table th {
|
225
|
+
text-align: center;
|
226
|
+
border-radius: 4px;
|
227
|
+
}
|
228
|
+
.bootstrap-datetimepicker-widget table th {
|
229
|
+
height: 20px;
|
230
|
+
line-height: 20px;
|
231
|
+
width: 20px;
|
232
|
+
}
|
233
|
+
.bootstrap-datetimepicker-widget table th.picker-switch {
|
234
|
+
width: 145px;
|
235
|
+
}
|
236
|
+
.bootstrap-datetimepicker-widget table th.disabled,
|
237
|
+
.bootstrap-datetimepicker-widget table th.disabled:hover {
|
238
|
+
background: none;
|
239
|
+
color: #777777;
|
240
|
+
cursor: not-allowed;
|
241
|
+
}
|
242
|
+
.bootstrap-datetimepicker-widget table th.prev::after {
|
243
|
+
position: absolute;
|
244
|
+
width: 1px;
|
245
|
+
height: 1px;
|
246
|
+
margin: -1px;
|
247
|
+
padding: 0;
|
248
|
+
overflow: hidden;
|
249
|
+
clip: rect(0, 0, 0, 0);
|
250
|
+
border: 0;
|
251
|
+
content: "Previous Month";
|
252
|
+
}
|
253
|
+
.bootstrap-datetimepicker-widget table th.next::after {
|
254
|
+
position: absolute;
|
255
|
+
width: 1px;
|
256
|
+
height: 1px;
|
257
|
+
margin: -1px;
|
258
|
+
padding: 0;
|
259
|
+
overflow: hidden;
|
260
|
+
clip: rect(0, 0, 0, 0);
|
261
|
+
border: 0;
|
262
|
+
content: "Next Month";
|
263
|
+
}
|
264
|
+
.bootstrap-datetimepicker-widget table thead tr:first-child th {
|
265
|
+
cursor: pointer;
|
266
|
+
}
|
267
|
+
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
|
268
|
+
background: #eeeeee;
|
269
|
+
}
|
270
|
+
.bootstrap-datetimepicker-widget table td {
|
271
|
+
height: 54px;
|
272
|
+
line-height: 54px;
|
273
|
+
width: 54px;
|
274
|
+
}
|
275
|
+
.bootstrap-datetimepicker-widget table td.cw {
|
276
|
+
font-size: .8em;
|
277
|
+
height: 20px;
|
278
|
+
line-height: 20px;
|
279
|
+
color: #777777;
|
280
|
+
}
|
281
|
+
.bootstrap-datetimepicker-widget table td.day {
|
282
|
+
height: 20px;
|
283
|
+
line-height: 20px;
|
284
|
+
width: 20px;
|
285
|
+
}
|
286
|
+
.bootstrap-datetimepicker-widget table td.day:hover,
|
287
|
+
.bootstrap-datetimepicker-widget table td.hour:hover,
|
288
|
+
.bootstrap-datetimepicker-widget table td.minute:hover,
|
289
|
+
.bootstrap-datetimepicker-widget table td.second:hover {
|
290
|
+
background: #eeeeee;
|
291
|
+
cursor: pointer;
|
292
|
+
}
|
293
|
+
.bootstrap-datetimepicker-widget table td.old,
|
294
|
+
.bootstrap-datetimepicker-widget table td.new {
|
295
|
+
color: #777777;
|
296
|
+
}
|
297
|
+
.bootstrap-datetimepicker-widget table td.today {
|
298
|
+
position: relative;
|
299
|
+
}
|
300
|
+
.bootstrap-datetimepicker-widget table td.today:before {
|
301
|
+
content: '';
|
302
|
+
display: inline-block;
|
303
|
+
border: solid transparent;
|
304
|
+
border-width: 0 0 7px 7px;
|
305
|
+
border-bottom-color: #337ab7;
|
306
|
+
border-top-color: rgba(0, 0, 0, 0.2);
|
307
|
+
position: absolute;
|
308
|
+
bottom: 4px;
|
309
|
+
right: 4px;
|
310
|
+
}
|
311
|
+
.bootstrap-datetimepicker-widget table td.active,
|
312
|
+
.bootstrap-datetimepicker-widget table td.active:hover {
|
313
|
+
background-color: #337ab7;
|
314
|
+
color: #fff;
|
315
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
316
|
+
}
|
317
|
+
.bootstrap-datetimepicker-widget table td.active.today:before {
|
318
|
+
border-bottom-color: #fff;
|
319
|
+
}
|
320
|
+
.bootstrap-datetimepicker-widget table td.disabled,
|
321
|
+
.bootstrap-datetimepicker-widget table td.disabled:hover {
|
322
|
+
background: none;
|
323
|
+
color: #777777;
|
324
|
+
cursor: not-allowed;
|
325
|
+
}
|
326
|
+
.bootstrap-datetimepicker-widget table td span {
|
327
|
+
display: inline-block;
|
328
|
+
width: 54px;
|
329
|
+
height: 54px;
|
330
|
+
line-height: 54px;
|
331
|
+
margin: 2px 1.5px;
|
332
|
+
cursor: pointer;
|
333
|
+
border-radius: 4px;
|
334
|
+
}
|
335
|
+
.bootstrap-datetimepicker-widget table td span:hover {
|
336
|
+
background: #eeeeee;
|
337
|
+
}
|
338
|
+
.bootstrap-datetimepicker-widget table td span.active {
|
339
|
+
background-color: #337ab7;
|
340
|
+
color: #fff;
|
341
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
342
|
+
}
|
343
|
+
.bootstrap-datetimepicker-widget table td span.old {
|
344
|
+
color: #777777;
|
345
|
+
}
|
346
|
+
.bootstrap-datetimepicker-widget table td span.disabled,
|
347
|
+
.bootstrap-datetimepicker-widget table td span.disabled:hover {
|
348
|
+
background: none;
|
349
|
+
color: #777777;
|
350
|
+
cursor: not-allowed;
|
351
|
+
}
|
352
|
+
.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
|
353
|
+
height: 27px;
|
354
|
+
line-height: 27px;
|
355
|
+
}
|
356
|
+
.bootstrap-datetimepicker-widget.wider {
|
357
|
+
width: 21em;
|
358
|
+
}
|
359
|
+
.bootstrap-datetimepicker-widget .datepicker-decades .decade {
|
360
|
+
line-height: 1.8em !important;
|
361
|
+
}
|
362
|
+
.input-group.date .input-group-addon {
|
363
|
+
cursor: pointer;
|
364
|
+
}
|
365
|
+
.sr-only {
|
366
|
+
position: absolute;
|
367
|
+
width: 1px;
|
368
|
+
height: 1px;
|
369
|
+
margin: -1px;
|
370
|
+
padding: 0;
|
371
|
+
overflow: hidden;
|
372
|
+
clip: rect(0, 0, 0, 0);
|
373
|
+
border: 0;
|
374
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.bootstrap-datetimepicker-widget {
|
2
|
+
font-weight: normal;
|
3
|
+
.disabled { opacity: 0.5; text-decoration: line-through; }
|
4
|
+
|
5
|
+
.glyphicon { background-repeat: no-repeat; }
|
6
|
+
|
7
|
+
.glyphicon-chevron-up { background-image: asset-data-url('arrow-up-circle.svg'); }
|
8
|
+
.glyphicon-chevron-down { background-image: asset-data-url('arrow-down-circle.svg'); }
|
9
|
+
.glyphicon-chevron-left { background-image: asset-data-url('arrow-left-circle.svg'); }
|
10
|
+
.glyphicon-chevron-right { background-image: asset-data-url('arrow-right-circle.svg'); }
|
11
|
+
.glyphicon-time { background-image: asset-data-url('clock.svg'); }
|
12
|
+
.glyphicon-calendar { background-image: asset-data-url('calendar.svg'); }
|
13
|
+
.glyphicon-screenshot { background-image: asset-data-url('crosshair.svg'); }
|
14
|
+
.glyphicon-trash { background-image: asset-data-url('trash.svg'); }
|
15
|
+
.glyphicon-close { background-image: asset-data-url('x.svg'); }
|
16
|
+
}
|
17
|
+
|
18
|
+
.bootstrap-datetimepicker-widget table td,
|
19
|
+
.bootstrap-datetimepicker-widget table th {
|
20
|
+
padding: 4px 3px 4px 3px !important;
|
21
|
+
white-space: normal !important;
|
22
|
+
border-top: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
.bootstrap-datetimepicker-widget tbody tr:hover {
|
26
|
+
background-color: inherit;
|
27
|
+
}
|
28
|
+
|