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,92 @@
|
|
1
|
+
// These are overrides from the bootstrap-theme
|
2
|
+
|
3
|
+
.select2-container .select2-selection--single .select2-selection__rendered {
|
4
|
+
margin: 0 0 0 5px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.select2-container--bootstrap .select2-selection--single .select2-selection__clear {
|
8
|
+
float: none;
|
9
|
+
position: absolute;
|
10
|
+
margin: 0;
|
11
|
+
left: 7px;
|
12
|
+
width: 10px;
|
13
|
+
}
|
14
|
+
|
15
|
+
.select2-dropdown .select2-dropdown--below,
|
16
|
+
.select2-container--open .select2-dropdown--below,
|
17
|
+
.select2-container--bootstrap .select2-dropdown {
|
18
|
+
min-width: 200px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.select2-container .select2-search--inline .select2-search__field {
|
22
|
+
width: 100% !important;
|
23
|
+
}
|
24
|
+
|
25
|
+
.select2-container--focus:not(.select2-container--open) {
|
26
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
|
27
|
+
outline: 0 none;
|
28
|
+
}
|
29
|
+
|
30
|
+
.select2-container--focus {
|
31
|
+
.select2-selection { border: 1px solid #9cd5fe; }
|
32
|
+
}
|
33
|
+
|
34
|
+
// effective_select option "hide_disabled: true"
|
35
|
+
.select2-container.hide-disabled .select2-results__option[aria-disabled=true] {
|
36
|
+
display: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
form.form-inline .select2-container--bootstrap {
|
40
|
+
display: inline-block;
|
41
|
+
width: auto;
|
42
|
+
max-width: 300px;
|
43
|
+
}
|
44
|
+
|
45
|
+
// Bootstrap 4 Feedback client side
|
46
|
+
.was-validated .form-control:invalid ~ .select2 {
|
47
|
+
.select2-selection { border: 1px solid #dc3545; }
|
48
|
+
}
|
49
|
+
|
50
|
+
.was-validated .form-control:valid ~ .select2 {
|
51
|
+
.select2-selection { border: 1px solid #28a745; }
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
.was-validated .form-control:invalid ~ .select2-container--focus {
|
56
|
+
.select2-selection {
|
57
|
+
border: 1px solid #dc3545;
|
58
|
+
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.was-validated .form-control:valid ~ .select2-container--focus {
|
63
|
+
.select2-selection {
|
64
|
+
border: 1px solid #28a745;
|
65
|
+
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
// Bootstrap 4 Feedback server side
|
70
|
+
|
71
|
+
.form-control.is-invalid ~ .select2 {
|
72
|
+
.select2-selection { border: 1px solid #dc3545; }
|
73
|
+
}
|
74
|
+
|
75
|
+
.form-control.is-valid ~ .select2 {
|
76
|
+
.select2-selection { border: 1px solid #28a745; }
|
77
|
+
}
|
78
|
+
|
79
|
+
.form-control.is-invalid ~ .select2-container--focus {
|
80
|
+
.select2-selection {
|
81
|
+
border: 1px solid #dc3545;
|
82
|
+
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
.form-control.is-valid ~ .select2-container--focus {
|
87
|
+
.select2-selection {
|
88
|
+
border: 1px solid #28a745;
|
89
|
+
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
@@ -0,0 +1,484 @@
|
|
1
|
+
.select2-container {
|
2
|
+
box-sizing: border-box;
|
3
|
+
display: inline-block;
|
4
|
+
margin: 0;
|
5
|
+
position: relative;
|
6
|
+
vertical-align: middle; }
|
7
|
+
.select2-container .select2-selection--single {
|
8
|
+
box-sizing: border-box;
|
9
|
+
cursor: pointer;
|
10
|
+
display: block;
|
11
|
+
height: 28px;
|
12
|
+
user-select: none;
|
13
|
+
-webkit-user-select: none; }
|
14
|
+
.select2-container .select2-selection--single .select2-selection__rendered {
|
15
|
+
display: block;
|
16
|
+
padding-left: 8px;
|
17
|
+
padding-right: 20px;
|
18
|
+
overflow: hidden;
|
19
|
+
text-overflow: ellipsis;
|
20
|
+
white-space: nowrap; }
|
21
|
+
.select2-container .select2-selection--single .select2-selection__clear {
|
22
|
+
position: relative; }
|
23
|
+
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
24
|
+
padding-right: 8px;
|
25
|
+
padding-left: 20px; }
|
26
|
+
.select2-container .select2-selection--multiple {
|
27
|
+
box-sizing: border-box;
|
28
|
+
cursor: pointer;
|
29
|
+
display: block;
|
30
|
+
min-height: 32px;
|
31
|
+
user-select: none;
|
32
|
+
-webkit-user-select: none; }
|
33
|
+
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
34
|
+
display: inline-block;
|
35
|
+
overflow: hidden;
|
36
|
+
padding-left: 8px;
|
37
|
+
text-overflow: ellipsis;
|
38
|
+
white-space: nowrap; }
|
39
|
+
.select2-container .select2-search--inline {
|
40
|
+
float: left; }
|
41
|
+
.select2-container .select2-search--inline .select2-search__field {
|
42
|
+
box-sizing: border-box;
|
43
|
+
border: none;
|
44
|
+
font-size: 100%;
|
45
|
+
margin-top: 5px;
|
46
|
+
padding: 0; }
|
47
|
+
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
48
|
+
-webkit-appearance: none; }
|
49
|
+
|
50
|
+
.select2-dropdown {
|
51
|
+
background-color: white;
|
52
|
+
border: 1px solid #aaa;
|
53
|
+
border-radius: 4px;
|
54
|
+
box-sizing: border-box;
|
55
|
+
display: block;
|
56
|
+
position: absolute;
|
57
|
+
left: -100000px;
|
58
|
+
width: 100%;
|
59
|
+
z-index: 1051; }
|
60
|
+
|
61
|
+
.select2-results {
|
62
|
+
display: block; }
|
63
|
+
|
64
|
+
.select2-results__options {
|
65
|
+
list-style: none;
|
66
|
+
margin: 0;
|
67
|
+
padding: 0; }
|
68
|
+
|
69
|
+
.select2-results__option {
|
70
|
+
padding: 6px;
|
71
|
+
user-select: none;
|
72
|
+
-webkit-user-select: none; }
|
73
|
+
.select2-results__option[aria-selected] {
|
74
|
+
cursor: pointer; }
|
75
|
+
|
76
|
+
.select2-container--open .select2-dropdown {
|
77
|
+
left: 0; }
|
78
|
+
|
79
|
+
.select2-container--open .select2-dropdown--above {
|
80
|
+
border-bottom: none;
|
81
|
+
border-bottom-left-radius: 0;
|
82
|
+
border-bottom-right-radius: 0; }
|
83
|
+
|
84
|
+
.select2-container--open .select2-dropdown--below {
|
85
|
+
border-top: none;
|
86
|
+
border-top-left-radius: 0;
|
87
|
+
border-top-right-radius: 0; }
|
88
|
+
|
89
|
+
.select2-search--dropdown {
|
90
|
+
display: block;
|
91
|
+
padding: 4px; }
|
92
|
+
.select2-search--dropdown .select2-search__field {
|
93
|
+
padding: 4px;
|
94
|
+
width: 100%;
|
95
|
+
box-sizing: border-box; }
|
96
|
+
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
97
|
+
-webkit-appearance: none; }
|
98
|
+
.select2-search--dropdown.select2-search--hide {
|
99
|
+
display: none; }
|
100
|
+
|
101
|
+
.select2-close-mask {
|
102
|
+
border: 0;
|
103
|
+
margin: 0;
|
104
|
+
padding: 0;
|
105
|
+
display: block;
|
106
|
+
position: fixed;
|
107
|
+
left: 0;
|
108
|
+
top: 0;
|
109
|
+
min-height: 100%;
|
110
|
+
min-width: 100%;
|
111
|
+
height: auto;
|
112
|
+
width: auto;
|
113
|
+
opacity: 0;
|
114
|
+
z-index: 99;
|
115
|
+
background-color: #fff;
|
116
|
+
filter: alpha(opacity=0); }
|
117
|
+
|
118
|
+
.select2-hidden-accessible {
|
119
|
+
border: 0 !important;
|
120
|
+
clip: rect(0 0 0 0) !important;
|
121
|
+
height: 1px !important;
|
122
|
+
margin: -1px !important;
|
123
|
+
overflow: hidden !important;
|
124
|
+
padding: 0 !important;
|
125
|
+
position: absolute !important;
|
126
|
+
width: 1px !important; }
|
127
|
+
|
128
|
+
.select2-container--default .select2-selection--single {
|
129
|
+
background-color: #fff;
|
130
|
+
border: 1px solid #aaa;
|
131
|
+
border-radius: 4px; }
|
132
|
+
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
133
|
+
color: #444;
|
134
|
+
line-height: 28px; }
|
135
|
+
.select2-container--default .select2-selection--single .select2-selection__clear {
|
136
|
+
cursor: pointer;
|
137
|
+
float: right;
|
138
|
+
font-weight: bold; }
|
139
|
+
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
140
|
+
color: #999; }
|
141
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
142
|
+
height: 26px;
|
143
|
+
position: absolute;
|
144
|
+
top: 1px;
|
145
|
+
right: 1px;
|
146
|
+
width: 20px; }
|
147
|
+
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
148
|
+
border-color: #888 transparent transparent transparent;
|
149
|
+
border-style: solid;
|
150
|
+
border-width: 5px 4px 0 4px;
|
151
|
+
height: 0;
|
152
|
+
left: 50%;
|
153
|
+
margin-left: -4px;
|
154
|
+
margin-top: -2px;
|
155
|
+
position: absolute;
|
156
|
+
top: 50%;
|
157
|
+
width: 0; }
|
158
|
+
|
159
|
+
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
160
|
+
float: left; }
|
161
|
+
|
162
|
+
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
163
|
+
left: 1px;
|
164
|
+
right: auto; }
|
165
|
+
|
166
|
+
.select2-container--default.select2-container--disabled .select2-selection--single {
|
167
|
+
background-color: #eee;
|
168
|
+
cursor: default; }
|
169
|
+
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
170
|
+
display: none; }
|
171
|
+
|
172
|
+
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
173
|
+
border-color: transparent transparent #888 transparent;
|
174
|
+
border-width: 0 4px 5px 4px; }
|
175
|
+
|
176
|
+
.select2-container--default .select2-selection--multiple {
|
177
|
+
background-color: white;
|
178
|
+
border: 1px solid #aaa;
|
179
|
+
border-radius: 4px;
|
180
|
+
cursor: text; }
|
181
|
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
182
|
+
box-sizing: border-box;
|
183
|
+
list-style: none;
|
184
|
+
margin: 0;
|
185
|
+
padding: 0 5px;
|
186
|
+
width: 100%; }
|
187
|
+
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
188
|
+
list-style: none; }
|
189
|
+
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
|
190
|
+
color: #999;
|
191
|
+
margin-top: 5px;
|
192
|
+
float: left; }
|
193
|
+
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
194
|
+
cursor: pointer;
|
195
|
+
float: right;
|
196
|
+
font-weight: bold;
|
197
|
+
margin-top: 5px;
|
198
|
+
margin-right: 10px; }
|
199
|
+
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
200
|
+
background-color: #e4e4e4;
|
201
|
+
border: 1px solid #aaa;
|
202
|
+
border-radius: 4px;
|
203
|
+
cursor: default;
|
204
|
+
float: left;
|
205
|
+
margin-right: 5px;
|
206
|
+
margin-top: 5px;
|
207
|
+
padding: 0 5px; }
|
208
|
+
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
209
|
+
color: #999;
|
210
|
+
cursor: pointer;
|
211
|
+
display: inline-block;
|
212
|
+
font-weight: bold;
|
213
|
+
margin-right: 2px; }
|
214
|
+
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
215
|
+
color: #333; }
|
216
|
+
|
217
|
+
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
218
|
+
float: right; }
|
219
|
+
|
220
|
+
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
221
|
+
margin-left: 5px;
|
222
|
+
margin-right: auto; }
|
223
|
+
|
224
|
+
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
225
|
+
margin-left: 2px;
|
226
|
+
margin-right: auto; }
|
227
|
+
|
228
|
+
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
229
|
+
border: solid black 1px;
|
230
|
+
outline: 0; }
|
231
|
+
|
232
|
+
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
233
|
+
background-color: #eee;
|
234
|
+
cursor: default; }
|
235
|
+
|
236
|
+
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
237
|
+
display: none; }
|
238
|
+
|
239
|
+
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
240
|
+
border-top-left-radius: 0;
|
241
|
+
border-top-right-radius: 0; }
|
242
|
+
|
243
|
+
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
244
|
+
border-bottom-left-radius: 0;
|
245
|
+
border-bottom-right-radius: 0; }
|
246
|
+
|
247
|
+
.select2-container--default .select2-search--dropdown .select2-search__field {
|
248
|
+
border: 1px solid #aaa; }
|
249
|
+
|
250
|
+
.select2-container--default .select2-search--inline .select2-search__field {
|
251
|
+
background: transparent;
|
252
|
+
border: none;
|
253
|
+
outline: 0;
|
254
|
+
box-shadow: none;
|
255
|
+
-webkit-appearance: textfield; }
|
256
|
+
|
257
|
+
.select2-container--default .select2-results > .select2-results__options {
|
258
|
+
max-height: 200px;
|
259
|
+
overflow-y: auto; }
|
260
|
+
|
261
|
+
.select2-container--default .select2-results__option[role=group] {
|
262
|
+
padding: 0; }
|
263
|
+
|
264
|
+
.select2-container--default .select2-results__option[aria-disabled=true] {
|
265
|
+
color: #999; }
|
266
|
+
|
267
|
+
.select2-container--default .select2-results__option[aria-selected=true] {
|
268
|
+
background-color: #ddd; }
|
269
|
+
|
270
|
+
.select2-container--default .select2-results__option .select2-results__option {
|
271
|
+
padding-left: 1em; }
|
272
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
273
|
+
padding-left: 0; }
|
274
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
275
|
+
margin-left: -1em;
|
276
|
+
padding-left: 2em; }
|
277
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
278
|
+
margin-left: -2em;
|
279
|
+
padding-left: 3em; }
|
280
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
281
|
+
margin-left: -3em;
|
282
|
+
padding-left: 4em; }
|
283
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
284
|
+
margin-left: -4em;
|
285
|
+
padding-left: 5em; }
|
286
|
+
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
287
|
+
margin-left: -5em;
|
288
|
+
padding-left: 6em; }
|
289
|
+
|
290
|
+
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
291
|
+
background-color: #5897fb;
|
292
|
+
color: white; }
|
293
|
+
|
294
|
+
.select2-container--default .select2-results__group {
|
295
|
+
cursor: default;
|
296
|
+
display: block;
|
297
|
+
padding: 6px; }
|
298
|
+
|
299
|
+
.select2-container--classic .select2-selection--single {
|
300
|
+
background-color: #f7f7f7;
|
301
|
+
border: 1px solid #aaa;
|
302
|
+
border-radius: 4px;
|
303
|
+
outline: 0;
|
304
|
+
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
305
|
+
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
306
|
+
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
307
|
+
background-repeat: repeat-x;
|
308
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
309
|
+
.select2-container--classic .select2-selection--single:focus {
|
310
|
+
border: 1px solid #5897fb; }
|
311
|
+
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
312
|
+
color: #444;
|
313
|
+
line-height: 28px; }
|
314
|
+
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
315
|
+
cursor: pointer;
|
316
|
+
float: right;
|
317
|
+
font-weight: bold;
|
318
|
+
margin-right: 10px; }
|
319
|
+
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
320
|
+
color: #999; }
|
321
|
+
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
322
|
+
background-color: #ddd;
|
323
|
+
border: none;
|
324
|
+
border-left: 1px solid #aaa;
|
325
|
+
border-top-right-radius: 4px;
|
326
|
+
border-bottom-right-radius: 4px;
|
327
|
+
height: 26px;
|
328
|
+
position: absolute;
|
329
|
+
top: 1px;
|
330
|
+
right: 1px;
|
331
|
+
width: 20px;
|
332
|
+
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
333
|
+
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
334
|
+
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
335
|
+
background-repeat: repeat-x;
|
336
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
337
|
+
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
338
|
+
border-color: #888 transparent transparent transparent;
|
339
|
+
border-style: solid;
|
340
|
+
border-width: 5px 4px 0 4px;
|
341
|
+
height: 0;
|
342
|
+
left: 50%;
|
343
|
+
margin-left: -4px;
|
344
|
+
margin-top: -2px;
|
345
|
+
position: absolute;
|
346
|
+
top: 50%;
|
347
|
+
width: 0; }
|
348
|
+
|
349
|
+
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
350
|
+
float: left; }
|
351
|
+
|
352
|
+
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
353
|
+
border: none;
|
354
|
+
border-right: 1px solid #aaa;
|
355
|
+
border-radius: 0;
|
356
|
+
border-top-left-radius: 4px;
|
357
|
+
border-bottom-left-radius: 4px;
|
358
|
+
left: 1px;
|
359
|
+
right: auto; }
|
360
|
+
|
361
|
+
.select2-container--classic.select2-container--open .select2-selection--single {
|
362
|
+
border: 1px solid #5897fb; }
|
363
|
+
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
364
|
+
background: transparent;
|
365
|
+
border: none; }
|
366
|
+
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
367
|
+
border-color: transparent transparent #888 transparent;
|
368
|
+
border-width: 0 4px 5px 4px; }
|
369
|
+
|
370
|
+
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
371
|
+
border-top: none;
|
372
|
+
border-top-left-radius: 0;
|
373
|
+
border-top-right-radius: 0;
|
374
|
+
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
375
|
+
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
376
|
+
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
377
|
+
background-repeat: repeat-x;
|
378
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
379
|
+
|
380
|
+
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
381
|
+
border-bottom: none;
|
382
|
+
border-bottom-left-radius: 0;
|
383
|
+
border-bottom-right-radius: 0;
|
384
|
+
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
385
|
+
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
386
|
+
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
387
|
+
background-repeat: repeat-x;
|
388
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
389
|
+
|
390
|
+
.select2-container--classic .select2-selection--multiple {
|
391
|
+
background-color: white;
|
392
|
+
border: 1px solid #aaa;
|
393
|
+
border-radius: 4px;
|
394
|
+
cursor: text;
|
395
|
+
outline: 0; }
|
396
|
+
.select2-container--classic .select2-selection--multiple:focus {
|
397
|
+
border: 1px solid #5897fb; }
|
398
|
+
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
|
399
|
+
list-style: none;
|
400
|
+
margin: 0;
|
401
|
+
padding: 0 5px; }
|
402
|
+
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
403
|
+
display: none; }
|
404
|
+
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
405
|
+
background-color: #e4e4e4;
|
406
|
+
border: 1px solid #aaa;
|
407
|
+
border-radius: 4px;
|
408
|
+
cursor: default;
|
409
|
+
float: left;
|
410
|
+
margin-right: 5px;
|
411
|
+
margin-top: 5px;
|
412
|
+
padding: 0 5px; }
|
413
|
+
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
414
|
+
color: #888;
|
415
|
+
cursor: pointer;
|
416
|
+
display: inline-block;
|
417
|
+
font-weight: bold;
|
418
|
+
margin-right: 2px; }
|
419
|
+
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
420
|
+
color: #555; }
|
421
|
+
|
422
|
+
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
423
|
+
float: right; }
|
424
|
+
|
425
|
+
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
426
|
+
margin-left: 5px;
|
427
|
+
margin-right: auto; }
|
428
|
+
|
429
|
+
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
430
|
+
margin-left: 2px;
|
431
|
+
margin-right: auto; }
|
432
|
+
|
433
|
+
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
434
|
+
border: 1px solid #5897fb; }
|
435
|
+
|
436
|
+
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
437
|
+
border-top: none;
|
438
|
+
border-top-left-radius: 0;
|
439
|
+
border-top-right-radius: 0; }
|
440
|
+
|
441
|
+
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
442
|
+
border-bottom: none;
|
443
|
+
border-bottom-left-radius: 0;
|
444
|
+
border-bottom-right-radius: 0; }
|
445
|
+
|
446
|
+
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
447
|
+
border: 1px solid #aaa;
|
448
|
+
outline: 0; }
|
449
|
+
|
450
|
+
.select2-container--classic .select2-search--inline .select2-search__field {
|
451
|
+
outline: 0;
|
452
|
+
box-shadow: none; }
|
453
|
+
|
454
|
+
.select2-container--classic .select2-dropdown {
|
455
|
+
background-color: white;
|
456
|
+
border: 1px solid transparent; }
|
457
|
+
|
458
|
+
.select2-container--classic .select2-dropdown--above {
|
459
|
+
border-bottom: none; }
|
460
|
+
|
461
|
+
.select2-container--classic .select2-dropdown--below {
|
462
|
+
border-top: none; }
|
463
|
+
|
464
|
+
.select2-container--classic .select2-results > .select2-results__options {
|
465
|
+
max-height: 200px;
|
466
|
+
overflow-y: auto; }
|
467
|
+
|
468
|
+
.select2-container--classic .select2-results__option[role=group] {
|
469
|
+
padding: 0; }
|
470
|
+
|
471
|
+
.select2-container--classic .select2-results__option[aria-disabled=true] {
|
472
|
+
color: grey; }
|
473
|
+
|
474
|
+
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
|
475
|
+
background-color: #3875d7;
|
476
|
+
color: white; }
|
477
|
+
|
478
|
+
.select2-container--classic .select2-results__group {
|
479
|
+
cursor: default;
|
480
|
+
display: block;
|
481
|
+
padding: 6px; }
|
482
|
+
|
483
|
+
.select2-container--classic.select2-container--open .select2-dropdown {
|
484
|
+
border-color: #5897fb; }
|