trestle 0.8.13 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.babelrc +5 -0
- data/.browserslistrc +1 -0
- data/.gitattributes +1 -0
- data/.gitignore +1 -0
- data/.travis.yml +1 -1
- data/Gemfile +2 -0
- data/app/assets/bundle/trestle/bundle.css +0 -0
- data/app/assets/bundle/trestle/bundle.js +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.svg +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-brands-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.eot +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.svg +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.ttf +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.woff +0 -0
- data/app/assets/bundle/trestle/fa-regular-400.woff2 +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.eot +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.svg +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.ttf +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.woff +0 -0
- data/app/assets/bundle/trestle/fa-solid-900.woff2 +0 -0
- data/app/assets/bundle/trestle/flatpickr/ar.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/at.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/az.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/be.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/bg.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/bn.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/bs.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/cat.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/cs.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/cy.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/da.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/de.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/default.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/eo.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/es.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/et.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fa.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fi.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fo.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/fr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ga.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/gr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/he.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/hi.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/hr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/hu.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/id.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/is.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/it.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ja.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ka.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/km.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ko.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/kz.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/lt.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/lv.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/mk.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/mn.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ms.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/my.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/nl.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/no.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/pa.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/pl.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/pt.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ro.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/ru.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/si.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sk.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sl.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sq.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sr-cyr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/sv.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/th.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/tr.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/uk.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/vn.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/zh-tw.js +0 -0
- data/app/assets/bundle/trestle/flatpickr/zh.js +0 -0
- data/app/assets/javascripts/trestle/admin.js +1 -23
- data/app/assets/stylesheets/trestle/_custom.css +6 -0
- data/app/assets/stylesheets/trestle/admin.css +2 -0
- data/app/assets/stylesheets/trestle/custom.css +1 -0
- data/app/assets/stylesheets/trestle/icons/_font-awesome.css.erb +40 -0
- data/app/helpers/trestle/card_helper.rb +23 -0
- data/app/helpers/trestle/form_helper.rb +14 -1
- data/app/helpers/trestle/grid_helper.rb +11 -2
- data/app/helpers/trestle/navigation_helper.rb +4 -3
- data/app/helpers/trestle/status_helper.rb +2 -2
- data/app/views/kaminari/trestle/_first_page.html.erb +6 -2
- data/app/views/kaminari/trestle/_gap.html.erb +2 -2
- data/app/views/kaminari/trestle/_last_page.html.erb +6 -2
- data/app/views/kaminari/trestle/_page.html.erb +2 -2
- data/app/views/layouts/trestle/admin.html.erb +3 -1
- data/app/views/trestle/application/_dialog.html.erb +1 -1
- data/app/views/trestle/application/_tabs.html.erb +5 -5
- data/app/views/trestle/flash/_flash.html.erb +2 -2
- data/app/views/trestle/resource/_scopes.html.erb +1 -1
- data/app/views/trestle/resource/index.html.erb +1 -1
- data/app/views/trestle/shared/_sidebar.html.erb +5 -8
- data/app/views/trestle/shared/_title.html.erb +5 -5
- data/config/locales/en.yml +4 -0
- data/frontend/css/_support.scss +1 -0
- data/frontend/css/components/_alerts.scss +113 -0
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_avatar.scss +4 -1
- data/frontend/css/components/_background.scss +48 -0
- data/frontend/css/components/_breadcrumbs.scss +40 -0
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_buttons.scss +57 -39
- data/frontend/css/components/_color-vars.scss +10 -0
- data/frontend/css/components/_custom-forms.scss +35 -0
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_datepicker.scss +42 -19
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_dropdown.scss +4 -20
- data/frontend/css/components/_fields.scss +32 -0
- data/frontend/css/components/_magnific-popup.scss +36 -0
- data/frontend/css/components/_media-grid.scss +103 -0
- data/frontend/css/components/_modal.scss +113 -0
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_pagination.scss +6 -6
- data/frontend/css/components/_popover.scss +4 -0
- data/frontend/css/components/_scopes.scss +55 -0
- data/frontend/css/components/_select.scss +66 -0
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_sort.scss +4 -5
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_table.scss +18 -7
- data/frontend/css/components/_tabs.scss +74 -0
- data/frontend/css/components/_tags.scss +25 -0
- data/{app/assets/stylesheets/trestle → frontend/css}/components/_timestamp.scss +1 -1
- data/frontend/css/components/_toolbars.scss +54 -0
- data/frontend/css/components/_turbolinks.scss +3 -0
- data/frontend/css/core/_dependencies.scss +5 -0
- data/{app/assets/stylesheets/trestle → frontend/css}/core/_mixins.scss +16 -14
- data/frontend/css/core/_typography.scss +55 -0
- data/frontend/css/icons/_fontawesome.scss +18 -0
- data/frontend/css/index.scss +51 -0
- data/{app/assets/stylesheets/trestle/core/_layout.scss → frontend/css/layout/_base.scss} +3 -32
- data/{app/assets/stylesheets/trestle/components → frontend/css/layout}/_content.scss +44 -18
- data/frontend/css/layout/_footer.scss +19 -0
- data/frontend/css/layout/_header.scss +27 -0
- data/{app/assets/stylesheets/trestle/components → frontend/css/layout}/_navigation.scss +21 -21
- data/frontend/css/layout/_sidebar.scss +258 -0
- data/frontend/css/support/_sprockets.scss +14 -0
- data/frontend/css/support/_webpack.scss +14 -0
- data/frontend/css/variables/_bootstrap.scss +174 -0
- data/frontend/css/variables/_trestle.scss +108 -0
- data/frontend/images/bright-squares.png +0 -0
- data/frontend/index.js +5 -0
- data/frontend/js/components/confirmation.js +30 -0
- data/frontend/js/components/datepicker.js +69 -0
- data/frontend/js/components/dialog.js +138 -0
- data/frontend/js/components/file.js +7 -0
- data/frontend/js/components/form.js +91 -0
- data/frontend/js/components/gallery.js +33 -0
- data/frontend/js/components/select.js +18 -0
- data/frontend/js/components/sidebar.js +78 -0
- data/frontend/js/components/table.js +30 -0
- data/frontend/js/components/tabs.js +59 -0
- data/frontend/js/components/tooltips.js +25 -0
- data/frontend/js/core/contexts.js +17 -0
- data/frontend/js/core/cookie.js +28 -0
- data/{app/assets/javascripts/trestle/core/_events.js → frontend/js/core/events.js} +27 -20
- data/{app/assets/javascripts/trestle/core/_l10n.js → frontend/js/core/i18n.js} +12 -11
- data/frontend/js/core/turbolinks.js +3 -0
- data/{app/assets/javascripts/trestle/core/_visit.js → frontend/js/core/visit.js} +10 -4
- data/frontend/js/index.js +61 -0
- data/{app/assets/stylesheets/trestle/_variables.scss → frontend/theme/trestle/_theme.scss} +0 -0
- data/{app/assets/stylesheets/trestle/_custom.scss → frontend/theme/trestle/_variables.scss} +1 -1
- data/frontend/theme/trestle/theme.scss +29 -0
- data/frontend/theme/trestle/theme/_defaults.scss +152 -0
- data/frontend/theme/trestle/theme/_functions.scss +44 -0
- data/frontend/theme/trestle/theme/_variables.scss +15 -0
- data/frontend/theme/trestle/theme/bootstrap/_alert.scss +19 -0
- data/frontend/theme/trestle/theme/bootstrap/_badge.scss +25 -0
- data/frontend/theme/trestle/theme/bootstrap/_buttons.scss +90 -0
- data/frontend/theme/trestle/theme/bootstrap/_color-vars.scss +11 -0
- data/frontend/theme/trestle/theme/bootstrap/_custom-forms.scss +93 -0
- data/frontend/theme/trestle/theme/bootstrap/_dropdown.scss +6 -0
- data/frontend/theme/trestle/theme/bootstrap/_forms.scss +6 -0
- data/frontend/theme/trestle/theme/bootstrap/_links.scss +7 -0
- data/frontend/theme/trestle/theme/bootstrap/_list-group.scss +31 -0
- data/frontend/theme/trestle/theme/bootstrap/_nav.scss +6 -0
- data/frontend/theme/trestle/theme/bootstrap/_pagination.scss +18 -0
- data/frontend/theme/trestle/theme/bootstrap/_progress.scss +3 -0
- data/frontend/theme/trestle/theme/bootstrap/_tables.scss +41 -0
- data/frontend/theme/trestle/theme/bootstrap/_utilities.scss +3 -0
- data/frontend/theme/trestle/theme/bootstrap/utilities/_background.scss +17 -0
- data/frontend/theme/trestle/theme/bootstrap/utilities/_borders.scss +5 -0
- data/frontend/theme/trestle/theme/bootstrap/utilities/_text.scss +18 -0
- data/frontend/theme/trestle/theme/trestle/_background.scss +61 -0
- data/frontend/theme/trestle/theme/trestle/_datepicker.scss +58 -0
- data/frontend/theme/trestle/theme/trestle/_headers.scss +4 -0
- data/frontend/theme/trestle/theme/trestle/_navbar.scss +15 -0
- data/frontend/theme/trestle/theme/trestle/_navigation.scss +5 -0
- data/frontend/theme/trestle/theme/trestle/_select2.scss +22 -0
- data/frontend/theme/trestle/theme/trestle/_tags.scss +12 -0
- data/frontend/theme/trestle/theme/trestle/_turbolinks.scss +3 -0
- data/lib/generators/trestle/install/install_generator.rb +3 -3
- data/lib/generators/trestle/install/templates/_theme.scss +13 -0
- data/lib/trestle.rb +0 -3
- data/lib/trestle/admin.rb +5 -1
- data/lib/trestle/configuration.rb +3 -0
- data/lib/trestle/engine.rb +12 -4
- data/lib/trestle/form/field.rb +26 -6
- data/lib/trestle/form/fields.rb +3 -0
- data/lib/trestle/form/fields/check_box.rb +12 -11
- data/lib/trestle/form/fields/check_box_helpers.rb +46 -0
- data/lib/trestle/form/fields/collection_check_boxes.rb +15 -5
- data/lib/trestle/form/fields/collection_radio_buttons.rb +15 -5
- data/lib/trestle/form/fields/date_picker.rb +1 -1
- data/lib/trestle/form/fields/file_field.rb +20 -1
- data/lib/trestle/form/fields/form_control.rb +4 -4
- data/lib/trestle/form/fields/form_group.rb +10 -7
- data/lib/trestle/form/fields/radio_button.rb +14 -7
- data/lib/trestle/form/fields/radio_button_helpers.rb +38 -0
- data/lib/trestle/form/fields/range_field.rb +10 -0
- data/lib/trestle/form/renderer.rb +1 -1
- data/lib/trestle/model_name.rb +4 -1
- data/lib/trestle/navigation/item.rb +1 -1
- data/lib/trestle/resource.rb +4 -0
- data/lib/trestle/toolbar/menu.rb +5 -2
- data/lib/trestle/version.rb +1 -1
- data/package.json +48 -0
- data/trestle.gemspec +5 -18
- data/webpack.config.js +103 -0
- data/yarn.lock +5962 -0
- metadata +188 -276
- data/.bowerrc +0 -6
- data/app/assets/images/trestle/textures/billie-holiday.png +0 -0
- data/app/assets/images/trestle/textures/bright-squares.png +0 -0
- data/app/assets/javascripts/trestle/components/_confirmation.js +0 -40
- data/app/assets/javascripts/trestle/components/_datepicker.js +0 -41
- data/app/assets/javascripts/trestle/components/_dialog.js +0 -136
- data/app/assets/javascripts/trestle/components/_errors.js +0 -11
- data/app/assets/javascripts/trestle/components/_form.js +0 -75
- data/app/assets/javascripts/trestle/components/_gallery.js +0 -27
- data/app/assets/javascripts/trestle/components/_select.js +0 -11
- data/app/assets/javascripts/trestle/components/_sidebar.js +0 -77
- data/app/assets/javascripts/trestle/components/_table.js +0 -21
- data/app/assets/javascripts/trestle/components/_tabs.js +0 -25
- data/app/assets/javascripts/trestle/components/_tooltips.js +0 -19
- data/app/assets/javascripts/trestle/core/_contexts.js +0 -13
- data/app/assets/javascripts/trestle/core/_cookies.js +0 -24
- data/app/assets/stylesheets/trestle/_support.scss +0 -9
- data/app/assets/stylesheets/trestle/admin.scss +0 -20
- data/app/assets/stylesheets/trestle/components/_alerts.scss +0 -87
- data/app/assets/stylesheets/trestle/components/_breadcrumbs.scss +0 -26
- data/app/assets/stylesheets/trestle/components/_confirmation.scss +0 -20
- data/app/assets/stylesheets/trestle/components/_fields.scss +0 -50
- data/app/assets/stylesheets/trestle/components/_flex-grid.scss +0 -16
- data/app/assets/stylesheets/trestle/components/_gallery.scss +0 -19
- data/app/assets/stylesheets/trestle/components/_header.scss +0 -16
- data/app/assets/stylesheets/trestle/components/_input-group.scss +0 -36
- data/app/assets/stylesheets/trestle/components/_media-grid.scss +0 -83
- data/app/assets/stylesheets/trestle/components/_modal.scss +0 -108
- data/app/assets/stylesheets/trestle/components/_popover.scss +0 -8
- data/app/assets/stylesheets/trestle/components/_scopes.scss +0 -50
- data/app/assets/stylesheets/trestle/components/_sidebar.scss +0 -236
- data/app/assets/stylesheets/trestle/components/_tabs.scss +0 -85
- data/app/assets/stylesheets/trestle/components/_tags.scss +0 -64
- data/app/assets/stylesheets/trestle/components/_toolbars.scss +0 -55
- data/app/assets/stylesheets/trestle/components/_turbolinks.scss +0 -3
- data/app/assets/stylesheets/trestle/components/_wells.scss +0 -47
- data/app/assets/stylesheets/trestle/core/_defaults.scss +0 -99
- data/app/assets/stylesheets/trestle/core/_typography.scss +0 -73
- data/app/helpers/trestle/panel_helper.rb +0 -24
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/bower.json +0 -15
- data/gemfiles/rails-4.2.gemfile +0 -16
- data/gemfiles/rails-5.0.gemfile +0 -16
- data/gemfiles/rails-5.1.gemfile +0 -16
- data/gemfiles/rails-5.2.gemfile +0 -16
- data/gemfiles/rails-edge.gemfile +0 -19
- data/lib/generators/trestle/install/templates/_variables.scss +0 -10
- data/vendor/assets/bower_components/trestle/bootstrap-confirmation2/bootstrap-confirmation.js +0 -455
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -288
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap-sprockets.js +0 -12
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap.js +0 -2377
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/affix.js +0 -162
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/alert.js +0 -94
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/button.js +0 -125
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/carousel.js +0 -237
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/collapse.js +0 -212
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js +0 -165
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/modal.js +0 -339
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/popover.js +0 -108
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/scrollspy.js +0 -172
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/tab.js +0 -155
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js +0 -520
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/javascripts/bootstrap/transition.js +0 -59
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/_bootstrap-compass.scss +0 -9
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss +0 -19
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/_bootstrap-sprockets.scss +0 -9
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/_bootstrap.scss +0 -56
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +0 -73
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +0 -68
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -28
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +0 -244
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +0 -168
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +0 -270
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +0 -36
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +0 -69
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +0 -37
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +0 -216
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +0 -617
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +0 -307
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +0 -84
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +0 -171
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +0 -54
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +0 -66
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +0 -130
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +0 -66
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +0 -40
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +0 -150
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +0 -662
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +0 -242
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +0 -424
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +0 -54
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +0 -89
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +0 -271
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +0 -131
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +0 -101
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +0 -87
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +0 -35
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -179
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +0 -161
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +0 -234
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_theme.scss +0 -291
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +0 -101
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +0 -298
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +0 -55
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +0 -874
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +0 -29
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +0 -14
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -12
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +0 -18
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +0 -65
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +0 -22
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +0 -88
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +0 -58
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -81
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +0 -122
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +0 -21
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +0 -33
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +0 -12
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +0 -32
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +0 -9
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +0 -8
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +0 -24
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +0 -24
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +0 -10
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-text.scss +0 -18
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_resize.scss +0 -6
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -21
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +0 -10
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -28
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -12
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +0 -8
- data/vendor/assets/bower_components/trestle/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +0 -222
- data/vendor/assets/bower_components/trestle/flatpickr/dist/flatpickr.css +0 -848
- data/vendor/assets/bower_components/trestle/flatpickr/dist/flatpickr.js +0 -2351
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ar.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/bg.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/bn.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js +0 -34
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cs.js +0 -20
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cy.js +0 -36
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/da.js +0 -18
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/de.js +0 -21
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/eo.js +0 -26
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/es.js +0 -20
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/et.js +0 -26
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/fa.js +0 -18
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/fi.js +0 -20
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/fr.js +0 -27
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/gr.js +0 -29
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/he.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/hi.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/hr.js +0 -17
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/hu.js +0 -25
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/id.js +0 -20
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/index.js +0 -97
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/it.js +0 -25
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ja.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ko.js +0 -18
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/lt.js +0 -25
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/lv.js +0 -16
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/mk.js +0 -19
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ms.js +0 -20
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/my.js +0 -20
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/nl.js +0 -27
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/no.js +0 -24
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/pa.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/pl.js +0 -18
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/pt.js +0 -17
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ro.js +0 -21
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ru.js +0 -16
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/si.js +0 -15
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sk.js +0 -21
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sl.js +0 -21
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sq.js +0 -14
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sr.js +0 -19
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sv.js +0 -21
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/th.js +0 -24
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/tr.js +0 -16
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/uk.js +0 -16
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/vn.js +0 -17
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/zh.js +0 -20
- data/vendor/assets/bower_components/trestle/font-awesome/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/bower_components/trestle/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/bower_components/trestle/font-awesome/fonts/fontawesome-webfont.svg +0 -2671
- data/vendor/assets/bower_components/trestle/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/bower_components/trestle/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/bower_components/trestle/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_animated.scss +0 -34
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_bordered-pulled.scss +0 -25
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_core.scss +0 -12
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_fixed-width.scss +0 -6
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_icons.scss +0 -789
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_larger.scss +0 -13
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_list.scss +0 -19
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_mixins.scss +0 -60
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_path.scss +0 -15
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_rotated-flipped.scss +0 -20
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_screen-reader.scss +0 -5
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_stacked.scss +0 -20
- data/vendor/assets/bower_components/trestle/font-awesome/scss/_variables.scss +0 -800
- data/vendor/assets/bower_components/trestle/font-awesome/scss/font-awesome.scss +0 -18
- data/vendor/assets/bower_components/trestle/ionicons/fonts/ionicons.eot +0 -0
- data/vendor/assets/bower_components/trestle/ionicons/fonts/ionicons.svg +0 -2230
- data/vendor/assets/bower_components/trestle/ionicons/fonts/ionicons.ttf +0 -0
- data/vendor/assets/bower_components/trestle/ionicons/fonts/ionicons.woff +0 -0
- data/vendor/assets/bower_components/trestle/ionicons/scss/_ionicons-font.scss +0 -27
- data/vendor/assets/bower_components/trestle/ionicons/scss/_ionicons-icons.scss +0 -1473
- data/vendor/assets/bower_components/trestle/ionicons/scss/_ionicons-variables.scss +0 -741
- data/vendor/assets/bower_components/trestle/ionicons/scss/ionicons.scss +0 -15
- data/vendor/assets/bower_components/trestle/jquery-ujs/src/rails.js +0 -555
- data/vendor/assets/bower_components/trestle/jquery/dist/jquery.js +0 -10253
- data/vendor/assets/bower_components/trestle/magnific-popup/dist/jquery.magnific-popup.js +0 -1860
- data/vendor/assets/bower_components/trestle/magnific-popup/dist/magnific-popup.css +0 -351
- data/vendor/assets/bower_components/trestle/select2-bootstrap-theme/src/select2-bootstrap.scss +0 -826
- data/vendor/assets/bower_components/trestle/select2/dist/css/select2.css +0 -484
- data/vendor/assets/bower_components/trestle/select2/dist/js/select2.full.js +0 -6457
- data/vendor/assets/javascripts/trestle/bootstrap-confirmation.js +0 -1
- data/vendor/assets/javascripts/trestle/bootstrap.js +0 -1
- data/vendor/assets/javascripts/trestle/flatpickr.js.erb +0 -7
- data/vendor/assets/javascripts/trestle/jquery.js +0 -1
- data/vendor/assets/javascripts/trestle/jquery_ujs.js +0 -1
- data/vendor/assets/javascripts/trestle/magnific-popup.js +0 -1
- data/vendor/assets/javascripts/trestle/select2.js +0 -1
- data/vendor/assets/stylesheets/trestle/bootstrap.scss +0 -4
- data/vendor/assets/stylesheets/trestle/flatpickr.scss +0 -1
- data/vendor/assets/stylesheets/trestle/font-awesome.scss +0 -26
- data/vendor/assets/stylesheets/trestle/ionicons.scss +0 -32
- data/vendor/assets/stylesheets/trestle/magnific-popup.scss +0 -13
- data/vendor/assets/stylesheets/trestle/select2.scss +0 -2
@@ -1,351 +0,0 @@
|
|
1
|
-
/* Magnific Popup CSS */
|
2
|
-
.mfp-bg {
|
3
|
-
top: 0;
|
4
|
-
left: 0;
|
5
|
-
width: 100%;
|
6
|
-
height: 100%;
|
7
|
-
z-index: 1042;
|
8
|
-
overflow: hidden;
|
9
|
-
position: fixed;
|
10
|
-
background: #0b0b0b;
|
11
|
-
opacity: 0.8; }
|
12
|
-
|
13
|
-
.mfp-wrap {
|
14
|
-
top: 0;
|
15
|
-
left: 0;
|
16
|
-
width: 100%;
|
17
|
-
height: 100%;
|
18
|
-
z-index: 1043;
|
19
|
-
position: fixed;
|
20
|
-
outline: none !important;
|
21
|
-
-webkit-backface-visibility: hidden; }
|
22
|
-
|
23
|
-
.mfp-container {
|
24
|
-
text-align: center;
|
25
|
-
position: absolute;
|
26
|
-
width: 100%;
|
27
|
-
height: 100%;
|
28
|
-
left: 0;
|
29
|
-
top: 0;
|
30
|
-
padding: 0 8px;
|
31
|
-
box-sizing: border-box; }
|
32
|
-
|
33
|
-
.mfp-container:before {
|
34
|
-
content: '';
|
35
|
-
display: inline-block;
|
36
|
-
height: 100%;
|
37
|
-
vertical-align: middle; }
|
38
|
-
|
39
|
-
.mfp-align-top .mfp-container:before {
|
40
|
-
display: none; }
|
41
|
-
|
42
|
-
.mfp-content {
|
43
|
-
position: relative;
|
44
|
-
display: inline-block;
|
45
|
-
vertical-align: middle;
|
46
|
-
margin: 0 auto;
|
47
|
-
text-align: left;
|
48
|
-
z-index: 1045; }
|
49
|
-
|
50
|
-
.mfp-inline-holder .mfp-content,
|
51
|
-
.mfp-ajax-holder .mfp-content {
|
52
|
-
width: 100%;
|
53
|
-
cursor: auto; }
|
54
|
-
|
55
|
-
.mfp-ajax-cur {
|
56
|
-
cursor: progress; }
|
57
|
-
|
58
|
-
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
|
59
|
-
cursor: -moz-zoom-out;
|
60
|
-
cursor: -webkit-zoom-out;
|
61
|
-
cursor: zoom-out; }
|
62
|
-
|
63
|
-
.mfp-zoom {
|
64
|
-
cursor: pointer;
|
65
|
-
cursor: -webkit-zoom-in;
|
66
|
-
cursor: -moz-zoom-in;
|
67
|
-
cursor: zoom-in; }
|
68
|
-
|
69
|
-
.mfp-auto-cursor .mfp-content {
|
70
|
-
cursor: auto; }
|
71
|
-
|
72
|
-
.mfp-close,
|
73
|
-
.mfp-arrow,
|
74
|
-
.mfp-preloader,
|
75
|
-
.mfp-counter {
|
76
|
-
-webkit-user-select: none;
|
77
|
-
-moz-user-select: none;
|
78
|
-
user-select: none; }
|
79
|
-
|
80
|
-
.mfp-loading.mfp-figure {
|
81
|
-
display: none; }
|
82
|
-
|
83
|
-
.mfp-hide {
|
84
|
-
display: none !important; }
|
85
|
-
|
86
|
-
.mfp-preloader {
|
87
|
-
color: #CCC;
|
88
|
-
position: absolute;
|
89
|
-
top: 50%;
|
90
|
-
width: auto;
|
91
|
-
text-align: center;
|
92
|
-
margin-top: -0.8em;
|
93
|
-
left: 8px;
|
94
|
-
right: 8px;
|
95
|
-
z-index: 1044; }
|
96
|
-
.mfp-preloader a {
|
97
|
-
color: #CCC; }
|
98
|
-
.mfp-preloader a:hover {
|
99
|
-
color: #FFF; }
|
100
|
-
|
101
|
-
.mfp-s-ready .mfp-preloader {
|
102
|
-
display: none; }
|
103
|
-
|
104
|
-
.mfp-s-error .mfp-content {
|
105
|
-
display: none; }
|
106
|
-
|
107
|
-
button.mfp-close,
|
108
|
-
button.mfp-arrow {
|
109
|
-
overflow: visible;
|
110
|
-
cursor: pointer;
|
111
|
-
background: transparent;
|
112
|
-
border: 0;
|
113
|
-
-webkit-appearance: none;
|
114
|
-
display: block;
|
115
|
-
outline: none;
|
116
|
-
padding: 0;
|
117
|
-
z-index: 1046;
|
118
|
-
box-shadow: none;
|
119
|
-
touch-action: manipulation; }
|
120
|
-
|
121
|
-
button::-moz-focus-inner {
|
122
|
-
padding: 0;
|
123
|
-
border: 0; }
|
124
|
-
|
125
|
-
.mfp-close {
|
126
|
-
width: 44px;
|
127
|
-
height: 44px;
|
128
|
-
line-height: 44px;
|
129
|
-
position: absolute;
|
130
|
-
right: 0;
|
131
|
-
top: 0;
|
132
|
-
text-decoration: none;
|
133
|
-
text-align: center;
|
134
|
-
opacity: 0.65;
|
135
|
-
padding: 0 0 18px 10px;
|
136
|
-
color: #FFF;
|
137
|
-
font-style: normal;
|
138
|
-
font-size: 28px;
|
139
|
-
font-family: Arial, Baskerville, monospace; }
|
140
|
-
.mfp-close:hover,
|
141
|
-
.mfp-close:focus {
|
142
|
-
opacity: 1; }
|
143
|
-
.mfp-close:active {
|
144
|
-
top: 1px; }
|
145
|
-
|
146
|
-
.mfp-close-btn-in .mfp-close {
|
147
|
-
color: #333; }
|
148
|
-
|
149
|
-
.mfp-image-holder .mfp-close,
|
150
|
-
.mfp-iframe-holder .mfp-close {
|
151
|
-
color: #FFF;
|
152
|
-
right: -6px;
|
153
|
-
text-align: right;
|
154
|
-
padding-right: 6px;
|
155
|
-
width: 100%; }
|
156
|
-
|
157
|
-
.mfp-counter {
|
158
|
-
position: absolute;
|
159
|
-
top: 0;
|
160
|
-
right: 0;
|
161
|
-
color: #CCC;
|
162
|
-
font-size: 12px;
|
163
|
-
line-height: 18px;
|
164
|
-
white-space: nowrap; }
|
165
|
-
|
166
|
-
.mfp-arrow {
|
167
|
-
position: absolute;
|
168
|
-
opacity: 0.65;
|
169
|
-
margin: 0;
|
170
|
-
top: 50%;
|
171
|
-
margin-top: -55px;
|
172
|
-
padding: 0;
|
173
|
-
width: 90px;
|
174
|
-
height: 110px;
|
175
|
-
-webkit-tap-highlight-color: transparent; }
|
176
|
-
.mfp-arrow:active {
|
177
|
-
margin-top: -54px; }
|
178
|
-
.mfp-arrow:hover,
|
179
|
-
.mfp-arrow:focus {
|
180
|
-
opacity: 1; }
|
181
|
-
.mfp-arrow:before,
|
182
|
-
.mfp-arrow:after {
|
183
|
-
content: '';
|
184
|
-
display: block;
|
185
|
-
width: 0;
|
186
|
-
height: 0;
|
187
|
-
position: absolute;
|
188
|
-
left: 0;
|
189
|
-
top: 0;
|
190
|
-
margin-top: 35px;
|
191
|
-
margin-left: 35px;
|
192
|
-
border: medium inset transparent; }
|
193
|
-
.mfp-arrow:after {
|
194
|
-
border-top-width: 13px;
|
195
|
-
border-bottom-width: 13px;
|
196
|
-
top: 8px; }
|
197
|
-
.mfp-arrow:before {
|
198
|
-
border-top-width: 21px;
|
199
|
-
border-bottom-width: 21px;
|
200
|
-
opacity: 0.7; }
|
201
|
-
|
202
|
-
.mfp-arrow-left {
|
203
|
-
left: 0; }
|
204
|
-
.mfp-arrow-left:after {
|
205
|
-
border-right: 17px solid #FFF;
|
206
|
-
margin-left: 31px; }
|
207
|
-
.mfp-arrow-left:before {
|
208
|
-
margin-left: 25px;
|
209
|
-
border-right: 27px solid #3F3F3F; }
|
210
|
-
|
211
|
-
.mfp-arrow-right {
|
212
|
-
right: 0; }
|
213
|
-
.mfp-arrow-right:after {
|
214
|
-
border-left: 17px solid #FFF;
|
215
|
-
margin-left: 39px; }
|
216
|
-
.mfp-arrow-right:before {
|
217
|
-
border-left: 27px solid #3F3F3F; }
|
218
|
-
|
219
|
-
.mfp-iframe-holder {
|
220
|
-
padding-top: 40px;
|
221
|
-
padding-bottom: 40px; }
|
222
|
-
.mfp-iframe-holder .mfp-content {
|
223
|
-
line-height: 0;
|
224
|
-
width: 100%;
|
225
|
-
max-width: 900px; }
|
226
|
-
.mfp-iframe-holder .mfp-close {
|
227
|
-
top: -40px; }
|
228
|
-
|
229
|
-
.mfp-iframe-scaler {
|
230
|
-
width: 100%;
|
231
|
-
height: 0;
|
232
|
-
overflow: hidden;
|
233
|
-
padding-top: 56.25%; }
|
234
|
-
.mfp-iframe-scaler iframe {
|
235
|
-
position: absolute;
|
236
|
-
display: block;
|
237
|
-
top: 0;
|
238
|
-
left: 0;
|
239
|
-
width: 100%;
|
240
|
-
height: 100%;
|
241
|
-
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
242
|
-
background: #000; }
|
243
|
-
|
244
|
-
/* Main image in popup */
|
245
|
-
img.mfp-img {
|
246
|
-
width: auto;
|
247
|
-
max-width: 100%;
|
248
|
-
height: auto;
|
249
|
-
display: block;
|
250
|
-
line-height: 0;
|
251
|
-
box-sizing: border-box;
|
252
|
-
padding: 40px 0 40px;
|
253
|
-
margin: 0 auto; }
|
254
|
-
|
255
|
-
/* The shadow behind the image */
|
256
|
-
.mfp-figure {
|
257
|
-
line-height: 0; }
|
258
|
-
.mfp-figure:after {
|
259
|
-
content: '';
|
260
|
-
position: absolute;
|
261
|
-
left: 0;
|
262
|
-
top: 40px;
|
263
|
-
bottom: 40px;
|
264
|
-
display: block;
|
265
|
-
right: 0;
|
266
|
-
width: auto;
|
267
|
-
height: auto;
|
268
|
-
z-index: -1;
|
269
|
-
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
270
|
-
background: #444; }
|
271
|
-
.mfp-figure small {
|
272
|
-
color: #BDBDBD;
|
273
|
-
display: block;
|
274
|
-
font-size: 12px;
|
275
|
-
line-height: 14px; }
|
276
|
-
.mfp-figure figure {
|
277
|
-
margin: 0; }
|
278
|
-
|
279
|
-
.mfp-bottom-bar {
|
280
|
-
margin-top: -36px;
|
281
|
-
position: absolute;
|
282
|
-
top: 100%;
|
283
|
-
left: 0;
|
284
|
-
width: 100%;
|
285
|
-
cursor: auto; }
|
286
|
-
|
287
|
-
.mfp-title {
|
288
|
-
text-align: left;
|
289
|
-
line-height: 18px;
|
290
|
-
color: #F3F3F3;
|
291
|
-
word-wrap: break-word;
|
292
|
-
padding-right: 36px; }
|
293
|
-
|
294
|
-
.mfp-image-holder .mfp-content {
|
295
|
-
max-width: 100%; }
|
296
|
-
|
297
|
-
.mfp-gallery .mfp-image-holder .mfp-figure {
|
298
|
-
cursor: pointer; }
|
299
|
-
|
300
|
-
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
|
301
|
-
/**
|
302
|
-
* Remove all paddings around the image on small screen
|
303
|
-
*/
|
304
|
-
.mfp-img-mobile .mfp-image-holder {
|
305
|
-
padding-left: 0;
|
306
|
-
padding-right: 0; }
|
307
|
-
.mfp-img-mobile img.mfp-img {
|
308
|
-
padding: 0; }
|
309
|
-
.mfp-img-mobile .mfp-figure:after {
|
310
|
-
top: 0;
|
311
|
-
bottom: 0; }
|
312
|
-
.mfp-img-mobile .mfp-figure small {
|
313
|
-
display: inline;
|
314
|
-
margin-left: 5px; }
|
315
|
-
.mfp-img-mobile .mfp-bottom-bar {
|
316
|
-
background: rgba(0, 0, 0, 0.6);
|
317
|
-
bottom: 0;
|
318
|
-
margin: 0;
|
319
|
-
top: auto;
|
320
|
-
padding: 3px 5px;
|
321
|
-
position: fixed;
|
322
|
-
box-sizing: border-box; }
|
323
|
-
.mfp-img-mobile .mfp-bottom-bar:empty {
|
324
|
-
padding: 0; }
|
325
|
-
.mfp-img-mobile .mfp-counter {
|
326
|
-
right: 5px;
|
327
|
-
top: 3px; }
|
328
|
-
.mfp-img-mobile .mfp-close {
|
329
|
-
top: 0;
|
330
|
-
right: 0;
|
331
|
-
width: 35px;
|
332
|
-
height: 35px;
|
333
|
-
line-height: 35px;
|
334
|
-
background: rgba(0, 0, 0, 0.6);
|
335
|
-
position: fixed;
|
336
|
-
text-align: center;
|
337
|
-
padding: 0; } }
|
338
|
-
|
339
|
-
@media all and (max-width: 900px) {
|
340
|
-
.mfp-arrow {
|
341
|
-
-webkit-transform: scale(0.75);
|
342
|
-
transform: scale(0.75); }
|
343
|
-
.mfp-arrow-left {
|
344
|
-
-webkit-transform-origin: 0;
|
345
|
-
transform-origin: 0; }
|
346
|
-
.mfp-arrow-right {
|
347
|
-
-webkit-transform-origin: 100%;
|
348
|
-
transform-origin: 100%; }
|
349
|
-
.mfp-container {
|
350
|
-
padding-left: 6px;
|
351
|
-
padding-right: 6px; } }
|
data/vendor/assets/bower_components/trestle/select2-bootstrap-theme/src/select2-bootstrap.scss
DELETED
@@ -1,826 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Variables
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Variables directly translating Bootstrap variables
|
6
|
-
// -------------------------
|
7
|
-
|
8
|
-
$s2bs-border-radius-base: $border-radius-base !default;
|
9
|
-
$s2bs-border-radius-large: $border-radius-large !default;
|
10
|
-
$s2bs-border-radius-small: $border-radius-small !default;
|
11
|
-
$s2bs-btn-default-bg: $btn-default-bg !default;
|
12
|
-
$s2bs-btn-default-border: $btn-default-border !default;
|
13
|
-
$s2bs-btn-default-color: $btn-default-color !default;
|
14
|
-
$s2bs-caret-width-base: $caret-width-base !default;
|
15
|
-
$s2bs-caret-width-large: $caret-width-large !default;
|
16
|
-
$s2bs-cursor-disabled: $cursor-disabled !default;
|
17
|
-
$s2bs-dropdown-header-color: $dropdown-header-color !default;
|
18
|
-
$s2bs-dropdown-link-active-bg: $dropdown-link-active-bg !default;
|
19
|
-
$s2bs-dropdown-link-active-color: $dropdown-link-active-color !default;
|
20
|
-
$s2bs-dropdown-link-disabled-color: $dropdown-link-disabled-color !default;
|
21
|
-
$s2bs-dropdown-link-hover-bg: $dropdown-link-hover-bg !default;
|
22
|
-
$s2bs-dropdown-link-hover-color: $dropdown-link-hover-color !default;
|
23
|
-
$s2bs-font-size-base: $font-size-base !default;
|
24
|
-
$s2bs-font-size-large: $font-size-large !default;
|
25
|
-
$s2bs-font-size-small: $font-size-small !default;
|
26
|
-
$s2bs-padding-base-horizontal: $padding-base-horizontal !default;
|
27
|
-
$s2bs-padding-large-horizontal: $padding-large-horizontal !default;
|
28
|
-
$s2bs-padding-small-horizontal: $padding-small-horizontal !default;
|
29
|
-
$s2bs-padding-base-vertical: $padding-base-vertical !default;
|
30
|
-
$s2bs-padding-large-vertical: $padding-large-vertical !default;
|
31
|
-
$s2bs-padding-small-vertical: $padding-small-vertical !default;
|
32
|
-
$s2bs-line-height-base: $line-height-base !default;
|
33
|
-
$s2bs-line-height-large: $line-height-large !default;
|
34
|
-
$s2bs-line-height-small: $line-height-small !default;
|
35
|
-
$s2bs-input-bg: $input-bg !default;
|
36
|
-
$s2bs-input-bg-disabled: $input-bg-disabled !default;
|
37
|
-
$s2bs-input-color: $input-color !default;
|
38
|
-
$s2bs-input-color-placeholder: $input-color-placeholder !default;
|
39
|
-
$s2bs-input-border: $input-border !default;
|
40
|
-
$s2bs-input-border-focus: $input-border-focus !default;
|
41
|
-
$s2bs-input-border-radius: $input-border-radius !default;
|
42
|
-
$s2bs-input-height-base: $input-height-base !default;
|
43
|
-
$s2bs-input-height-large: $input-height-large !default;
|
44
|
-
$s2bs-input-height-small: $input-height-small !default;
|
45
|
-
|
46
|
-
// Theme-specific variables
|
47
|
-
// -------------------------
|
48
|
-
|
49
|
-
$s2bs-dropdown-arrow-color: $s2bs-input-color-placeholder !default;
|
50
|
-
$s2bs-dropdown-box-shadow: 0 6px 12px rgba(0,0,0,.175) !default;
|
51
|
-
$s2bs-dropdown-box-shadow-above: 0px -6px 12px rgba(0,0,0,.175) !default;
|
52
|
-
$s2bs-clear-selection-color: $s2bs-dropdown-arrow-color !default;
|
53
|
-
$s2bs-clear-selection-hover-color: $s2bs-btn-default-color !default;
|
54
|
-
$s2bs-remove-choice-color: $s2bs-input-color-placeholder !default;
|
55
|
-
$s2bs-remove-choice-hover-color: $s2bs-btn-default-color !default;
|
56
|
-
$s2bs-selection-choice-border-radius: $s2bs-border-radius-base !default;
|
57
|
-
$s2bs-dropdown-header-padding-vertical: $s2bs-padding-base-vertical !default;
|
58
|
-
$s2bs-dropdown-header-font-size: $s2bs-font-size-small !default;
|
59
|
-
|
60
|
-
|
61
|
-
// Bootstrap defaults not available as pre-defined variables
|
62
|
-
// These should not be overridden.
|
63
|
-
// -------------------------
|
64
|
-
|
65
|
-
// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_forms.scss#L126
|
66
|
-
$s2bs-form-control-default-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;
|
67
|
-
|
68
|
-
// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/mixins/_forms.scss#L60
|
69
|
-
$s2bs-form-control-focus-box-shadow: $s2bs-form-control-default-box-shadow, 0 0 8px rgba($s2bs-input-border-focus, 0.6) !default;
|
70
|
-
|
71
|
-
// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_forms.scss#L127
|
72
|
-
$s2bs-form-control-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
//
|
78
|
-
// Mixins
|
79
|
-
// --------------------------------------------------
|
80
|
-
|
81
|
-
// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_forms.scss#L115
|
82
|
-
@mixin bootstrap-input-defaults {
|
83
|
-
@include box-shadow($s2bs-form-control-default-box-shadow);
|
84
|
-
background-color: $s2bs-input-bg;
|
85
|
-
border: 1px solid $s2bs-input-border;
|
86
|
-
border-radius: $s2bs-input-border-radius;
|
87
|
-
color: $s2bs-input-color;
|
88
|
-
font-size: $s2bs-font-size-base;
|
89
|
-
}
|
90
|
-
|
91
|
-
// @see http://getbootstrap.com/css/#forms-control-validation
|
92
|
-
// @see https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_forms.scss#L388
|
93
|
-
@mixin validation-state-focus($color) {
|
94
|
-
$shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($color, 20%);
|
95
|
-
|
96
|
-
.select2-dropdown,
|
97
|
-
.select2-selection {
|
98
|
-
border-color: $color;
|
99
|
-
}
|
100
|
-
|
101
|
-
.select2-container--focus .select2-selection,
|
102
|
-
.select2-container--open .select2-selection {
|
103
|
-
@include box-shadow($shadow);
|
104
|
-
border-color: darken($color, 10%);
|
105
|
-
}
|
106
|
-
|
107
|
-
&.select2-drop-active {
|
108
|
-
border-color: darken($color, 10%);
|
109
|
-
|
110
|
-
&.select2-drop.select2-drop-above {
|
111
|
-
border-top-color: darken($color, 10%);
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
// dropdown arrow when dropdown is open
|
117
|
-
@mixin dropdown-arrow {
|
118
|
-
.select2-selection--single {
|
119
|
-
/**
|
120
|
-
* Make the dropdown arrow point up while the dropdown is visible.
|
121
|
-
*/
|
122
|
-
|
123
|
-
.select2-selection__arrow b {
|
124
|
-
border-color: transparent transparent $s2bs-dropdown-arrow-color transparent;
|
125
|
-
border-width: 0 $s2bs-caret-width-large $s2bs-caret-width-large $s2bs-caret-width-large;
|
126
|
-
}
|
127
|
-
}
|
128
|
-
}
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
.select2-container--bootstrap {
|
135
|
-
display: block;
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
/*------------------------------------*\
|
141
|
-
#COMMON STYLES
|
142
|
-
\*------------------------------------*/
|
143
|
-
|
144
|
-
.select2-selection {
|
145
|
-
@include bootstrap-input-defaults;
|
146
|
-
outline: 0;
|
147
|
-
|
148
|
-
&.form-control {
|
149
|
-
border-radius: $s2bs-border-radius-base;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
/**
|
156
|
-
* Search field in the Select2 dropdown.
|
157
|
-
*/
|
158
|
-
|
159
|
-
.select2-search--dropdown {
|
160
|
-
.select2-search__field {
|
161
|
-
@include bootstrap-input-defaults;
|
162
|
-
}
|
163
|
-
}
|
164
|
-
|
165
|
-
/**
|
166
|
-
* No outline for all search fields - in the dropdown
|
167
|
-
* and inline in multi Select2s.
|
168
|
-
*/
|
169
|
-
|
170
|
-
.select2-search__field {
|
171
|
-
outline: 0;
|
172
|
-
|
173
|
-
&::-webkit-input-placeholder {
|
174
|
-
color: $s2bs-input-color-placeholder;
|
175
|
-
}
|
176
|
-
|
177
|
-
/* Firefox 18- */
|
178
|
-
&:-moz-placeholder {
|
179
|
-
color: $s2bs-input-color-placeholder;
|
180
|
-
}
|
181
|
-
|
182
|
-
/**
|
183
|
-
* Firefox 19+
|
184
|
-
*
|
185
|
-
* @see http://stackoverflow.com/questions/24236240/color-for-styled-placeholder-text-is-muted-in-firefox
|
186
|
-
*/
|
187
|
-
&::-moz-placeholder {
|
188
|
-
color: $s2bs-input-color-placeholder;
|
189
|
-
opacity: 1;
|
190
|
-
}
|
191
|
-
|
192
|
-
&:-ms-input-placeholder {
|
193
|
-
color: $s2bs-input-color-placeholder;
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
/**
|
198
|
-
* Adjust Select2's choices hover and selected styles to match
|
199
|
-
* Bootstrap 3's default dropdown styles.
|
200
|
-
*
|
201
|
-
* @see http://getbootstrap.com/components/#dropdowns
|
202
|
-
*/
|
203
|
-
|
204
|
-
.select2-results__option {
|
205
|
-
padding: $s2bs-padding-base-vertical $s2bs-padding-base-horizontal;
|
206
|
-
|
207
|
-
&[role=group] {
|
208
|
-
padding: 0;
|
209
|
-
}
|
210
|
-
|
211
|
-
/**
|
212
|
-
* Disabled results.
|
213
|
-
*
|
214
|
-
* @see https://select2.github.io/examples.html#disabled-results
|
215
|
-
*/
|
216
|
-
|
217
|
-
&[aria-disabled=true] {
|
218
|
-
color: $s2bs-dropdown-link-disabled-color;
|
219
|
-
cursor: $s2bs-cursor-disabled;
|
220
|
-
}
|
221
|
-
|
222
|
-
/**
|
223
|
-
* Hover state.
|
224
|
-
*/
|
225
|
-
|
226
|
-
&[aria-selected=true] {
|
227
|
-
background-color: $s2bs-dropdown-link-hover-bg;
|
228
|
-
color: $s2bs-dropdown-link-hover-color;
|
229
|
-
}
|
230
|
-
|
231
|
-
/**
|
232
|
-
* Selected state.
|
233
|
-
*/
|
234
|
-
|
235
|
-
&--highlighted[aria-selected] {
|
236
|
-
background-color: $s2bs-dropdown-link-active-bg;
|
237
|
-
color: $s2bs-dropdown-link-active-color;
|
238
|
-
}
|
239
|
-
|
240
|
-
.select2-results__option {
|
241
|
-
padding: $s2bs-padding-base-vertical $s2bs-padding-base-horizontal;
|
242
|
-
|
243
|
-
.select2-results__group {
|
244
|
-
padding-left: 0;
|
245
|
-
}
|
246
|
-
|
247
|
-
.select2-results__option {
|
248
|
-
margin-left: -$s2bs-padding-base-horizontal;
|
249
|
-
padding-left: $s2bs-padding-base-horizontal*2;
|
250
|
-
|
251
|
-
.select2-results__option {
|
252
|
-
margin-left: -$s2bs-padding-base-horizontal*2;
|
253
|
-
padding-left: $s2bs-padding-base-horizontal*3;
|
254
|
-
|
255
|
-
.select2-results__option {
|
256
|
-
margin-left: -$s2bs-padding-base-horizontal*3;
|
257
|
-
padding-left: $s2bs-padding-base-horizontal*4;
|
258
|
-
|
259
|
-
.select2-results__option {
|
260
|
-
margin-left: -$s2bs-padding-base-horizontal*4;
|
261
|
-
padding-left: $s2bs-padding-base-horizontal*5;
|
262
|
-
|
263
|
-
.select2-results__option {
|
264
|
-
margin-left: -$s2bs-padding-base-horizontal*5;
|
265
|
-
padding-left: $s2bs-padding-base-horizontal*6;
|
266
|
-
}
|
267
|
-
}
|
268
|
-
}
|
269
|
-
}
|
270
|
-
}
|
271
|
-
}
|
272
|
-
}
|
273
|
-
|
274
|
-
.select2-results__group {
|
275
|
-
color: $s2bs-dropdown-header-color;
|
276
|
-
display: block;
|
277
|
-
padding: $s2bs-dropdown-header-padding-vertical $s2bs-padding-base-horizontal;
|
278
|
-
font-size: $s2bs-dropdown-header-font-size;
|
279
|
-
line-height: $s2bs-line-height-base;
|
280
|
-
white-space: nowrap;
|
281
|
-
}
|
282
|
-
|
283
|
-
&.select2-container--focus,
|
284
|
-
&.select2-container--open {
|
285
|
-
.select2-selection {
|
286
|
-
@include box-shadow($s2bs-form-control-focus-box-shadow);
|
287
|
-
@include transition($s2bs-form-control-transition);
|
288
|
-
border-color: $s2bs-input-border-focus;
|
289
|
-
}
|
290
|
-
}
|
291
|
-
|
292
|
-
&.select2-container--open {
|
293
|
-
/**
|
294
|
-
* Make the dropdown arrow point up while the dropdown is visible.
|
295
|
-
*/
|
296
|
-
|
297
|
-
.select2-selection .select2-selection__arrow b {
|
298
|
-
border-color: transparent transparent $s2bs-dropdown-arrow-color transparent;
|
299
|
-
border-width: 0 $s2bs-caret-width-base $s2bs-caret-width-base $s2bs-caret-width-base;
|
300
|
-
}
|
301
|
-
|
302
|
-
/**
|
303
|
-
* Handle border radii of the container when the dropdown is showing.
|
304
|
-
*/
|
305
|
-
|
306
|
-
&.select2-container--below {
|
307
|
-
.select2-selection {
|
308
|
-
@include border-bottom-radius(0);
|
309
|
-
border-bottom-color: transparent;
|
310
|
-
}
|
311
|
-
}
|
312
|
-
|
313
|
-
&.select2-container--above {
|
314
|
-
.select2-selection {
|
315
|
-
@include border-top-radius(0);
|
316
|
-
border-top-color: transparent;
|
317
|
-
}
|
318
|
-
}
|
319
|
-
}
|
320
|
-
|
321
|
-
/**
|
322
|
-
* Clear the selection.
|
323
|
-
*/
|
324
|
-
|
325
|
-
.select2-selection__clear {
|
326
|
-
color: $s2bs-clear-selection-color;
|
327
|
-
cursor: pointer;
|
328
|
-
float: right;
|
329
|
-
font-weight: bold;
|
330
|
-
margin-right: 10px;
|
331
|
-
|
332
|
-
&:hover {
|
333
|
-
color: $s2bs-clear-selection-hover-color;
|
334
|
-
}
|
335
|
-
}
|
336
|
-
|
337
|
-
/**
|
338
|
-
* Address disabled Select2 styles.
|
339
|
-
*
|
340
|
-
* @see https://select2.github.io/examples.html#disabled
|
341
|
-
* @see http://getbootstrap.com/css/#forms-control-disabled
|
342
|
-
*/
|
343
|
-
|
344
|
-
&.select2-container--disabled {
|
345
|
-
.select2-selection {
|
346
|
-
border-color: $s2bs-input-border;
|
347
|
-
@include box-shadow(none);
|
348
|
-
}
|
349
|
-
|
350
|
-
.select2-selection,
|
351
|
-
.select2-search__field {
|
352
|
-
cursor: $s2bs-cursor-disabled;
|
353
|
-
}
|
354
|
-
|
355
|
-
.select2-selection,
|
356
|
-
.select2-selection--multiple .select2-selection__choice {
|
357
|
-
background-color: $s2bs-input-bg-disabled;
|
358
|
-
}
|
359
|
-
|
360
|
-
.select2-selection__clear,
|
361
|
-
.select2-selection--multiple .select2-selection__choice__remove {
|
362
|
-
display: none;
|
363
|
-
}
|
364
|
-
}
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
/*------------------------------------*\
|
371
|
-
#DROPDOWN
|
372
|
-
\*------------------------------------*/
|
373
|
-
|
374
|
-
/**
|
375
|
-
* Dropdown border color and box-shadow.
|
376
|
-
*/
|
377
|
-
|
378
|
-
.select2-dropdown {
|
379
|
-
@include box-shadow($s2bs-dropdown-box-shadow);
|
380
|
-
border-color: $s2bs-input-border-focus;
|
381
|
-
overflow-x: hidden;
|
382
|
-
margin-top: -1px;
|
383
|
-
|
384
|
-
&--above {
|
385
|
-
@include box-shadow($s2bs-dropdown-box-shadow-above);
|
386
|
-
margin-top: 1px;
|
387
|
-
}
|
388
|
-
}
|
389
|
-
|
390
|
-
/**
|
391
|
-
* Limit the dropdown height.
|
392
|
-
*/
|
393
|
-
|
394
|
-
.select2-results > .select2-results__options {
|
395
|
-
max-height: 200px;
|
396
|
-
overflow-y: auto;
|
397
|
-
}
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
/*------------------------------------*\
|
404
|
-
#SINGLE SELECT2
|
405
|
-
\*------------------------------------*/
|
406
|
-
|
407
|
-
.select2-selection--single {
|
408
|
-
height: $s2bs-input-height-base;
|
409
|
-
line-height: $s2bs-line-height-base;
|
410
|
-
padding: $s2bs-padding-base-vertical ($s2bs-padding-base-horizontal + $s2bs-caret-width-base*3) $s2bs-padding-base-vertical $s2bs-padding-base-horizontal;
|
411
|
-
|
412
|
-
/**
|
413
|
-
* Adjust the single Select2's dropdown arrow button appearance.
|
414
|
-
*/
|
415
|
-
|
416
|
-
.select2-selection__arrow {
|
417
|
-
position: absolute;
|
418
|
-
bottom: 0;
|
419
|
-
right: $s2bs-padding-base-horizontal;
|
420
|
-
top: 0;
|
421
|
-
width: $s2bs-caret-width-base;
|
422
|
-
|
423
|
-
b {
|
424
|
-
border-color: $s2bs-dropdown-arrow-color transparent transparent transparent;
|
425
|
-
border-style: solid;
|
426
|
-
border-width: $s2bs-caret-width-base $s2bs-caret-width-base 0 $s2bs-caret-width-base;
|
427
|
-
height: 0;
|
428
|
-
left: 0;
|
429
|
-
margin-left: -$s2bs-caret-width-base;
|
430
|
-
margin-top: -$s2bs-caret-width-base/2;
|
431
|
-
position: absolute;
|
432
|
-
top: 50%;
|
433
|
-
width: 0;
|
434
|
-
}
|
435
|
-
}
|
436
|
-
|
437
|
-
.select2-selection__rendered {
|
438
|
-
color: $s2bs-input-color;
|
439
|
-
padding: 0;
|
440
|
-
}
|
441
|
-
|
442
|
-
.select2-selection__placeholder {
|
443
|
-
color: $s2bs-input-color-placeholder;
|
444
|
-
}
|
445
|
-
}
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
/*------------------------------------*\
|
452
|
-
#MULTIPLE SELECT2
|
453
|
-
\*------------------------------------*/
|
454
|
-
|
455
|
-
.select2-selection--multiple {
|
456
|
-
min-height: $s2bs-input-height-base;
|
457
|
-
padding: 0;
|
458
|
-
height: auto;
|
459
|
-
|
460
|
-
.select2-selection__rendered {
|
461
|
-
box-sizing: border-box;
|
462
|
-
display: block;
|
463
|
-
line-height: $s2bs-line-height-base;
|
464
|
-
list-style: none;
|
465
|
-
margin: 0;
|
466
|
-
overflow: hidden;
|
467
|
-
padding: 0;
|
468
|
-
width: 100%;
|
469
|
-
text-overflow: ellipsis;
|
470
|
-
white-space: nowrap;
|
471
|
-
}
|
472
|
-
|
473
|
-
.select2-selection__placeholder {
|
474
|
-
color: $s2bs-input-color-placeholder;
|
475
|
-
float: left;
|
476
|
-
margin-top: 5px;
|
477
|
-
}
|
478
|
-
|
479
|
-
/**
|
480
|
-
* Make Multi Select2's choices match Bootstrap 3's default button styles.
|
481
|
-
*/
|
482
|
-
|
483
|
-
.select2-selection__choice {
|
484
|
-
color: $s2bs-input-color;
|
485
|
-
background: $s2bs-btn-default-bg;
|
486
|
-
border: 1px solid $s2bs-btn-default-border;
|
487
|
-
border-radius: $s2bs-selection-choice-border-radius;
|
488
|
-
cursor: default;
|
489
|
-
float: left;
|
490
|
-
margin: ($s2bs-padding-base-vertical - 1) 0 0 $s2bs-padding-base-horizontal/2;
|
491
|
-
padding: 0 $s2bs-padding-base-vertical;
|
492
|
-
}
|
493
|
-
|
494
|
-
/**
|
495
|
-
* Minus 2px borders.
|
496
|
-
*/
|
497
|
-
|
498
|
-
.select2-search--inline {
|
499
|
-
.select2-search__field {
|
500
|
-
background: transparent;
|
501
|
-
padding: 0 $s2bs-padding-base-horizontal;
|
502
|
-
height: $s2bs-input-height-base - 2;
|
503
|
-
line-height: $s2bs-line-height-base;
|
504
|
-
margin-top: 0;
|
505
|
-
min-width: 5em;
|
506
|
-
}
|
507
|
-
}
|
508
|
-
|
509
|
-
.select2-selection__choice__remove {
|
510
|
-
color: $s2bs-remove-choice-color;
|
511
|
-
cursor: pointer;
|
512
|
-
display: inline-block;
|
513
|
-
font-weight: bold;
|
514
|
-
margin-right: $s2bs-padding-base-vertical / 2;
|
515
|
-
|
516
|
-
&:hover {
|
517
|
-
color: $s2bs-remove-choice-hover-color;
|
518
|
-
}
|
519
|
-
}
|
520
|
-
|
521
|
-
/**
|
522
|
-
* Clear the selection.
|
523
|
-
*/
|
524
|
-
|
525
|
-
.select2-selection__clear {
|
526
|
-
margin-top: $s2bs-padding-base-vertical;
|
527
|
-
}
|
528
|
-
}
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
/**
|
535
|
-
* Address Bootstrap control sizing classes
|
536
|
-
*
|
537
|
-
* 1. Reset Bootstrap defaults.
|
538
|
-
* 2. Adjust the dropdown arrow button icon position.
|
539
|
-
*
|
540
|
-
* @see http://getbootstrap.com/css/#forms-control-sizes
|
541
|
-
*/
|
542
|
-
|
543
|
-
/* 1 */
|
544
|
-
.select2-selection--single.input-sm,
|
545
|
-
.input-group-sm & .select2-selection--single,
|
546
|
-
.form-group-sm & .select2-selection--single {
|
547
|
-
border-radius: $s2bs-border-radius-small;
|
548
|
-
font-size: $s2bs-font-size-small;
|
549
|
-
height: $s2bs-input-height-small;
|
550
|
-
line-height: $s2bs-line-height-small;
|
551
|
-
padding: $s2bs-padding-small-vertical $s2bs-padding-small-horizontal + $s2bs-caret-width-base*3 $s2bs-padding-small-vertical $s2bs-padding-small-horizontal;
|
552
|
-
|
553
|
-
/* 2 */
|
554
|
-
.select2-selection__arrow b {
|
555
|
-
margin-left: -$s2bs-padding-small-vertical;
|
556
|
-
}
|
557
|
-
}
|
558
|
-
|
559
|
-
.select2-selection--multiple.input-sm,
|
560
|
-
.input-group-sm & .select2-selection--multiple,
|
561
|
-
.form-group-sm & .select2-selection--multiple {
|
562
|
-
min-height: $s2bs-input-height-small;
|
563
|
-
border-radius: $s2bs-border-radius-small;
|
564
|
-
|
565
|
-
.select2-selection__choice {
|
566
|
-
font-size: $s2bs-font-size-small;
|
567
|
-
line-height: $s2bs-line-height-small;
|
568
|
-
margin: ($s2bs-padding-small-vertical - 1) 0 0 $s2bs-padding-small-horizontal/2;
|
569
|
-
padding: 0 $s2bs-padding-small-vertical;
|
570
|
-
}
|
571
|
-
|
572
|
-
.select2-search--inline .select2-search__field {
|
573
|
-
padding: 0 $s2bs-padding-small-horizontal;
|
574
|
-
font-size: $s2bs-font-size-small;
|
575
|
-
height: $s2bs-input-height-small - 2;
|
576
|
-
line-height: $s2bs-line-height-small;
|
577
|
-
}
|
578
|
-
|
579
|
-
.select2-selection__clear {
|
580
|
-
margin-top: $s2bs-padding-small-vertical;
|
581
|
-
}
|
582
|
-
}
|
583
|
-
|
584
|
-
.select2-selection--single.input-lg,
|
585
|
-
.input-group-lg & .select2-selection--single,
|
586
|
-
.form-group-lg & .select2-selection--single {
|
587
|
-
border-radius: $s2bs-border-radius-large;
|
588
|
-
font-size: $s2bs-font-size-large;
|
589
|
-
height: $s2bs-input-height-large;
|
590
|
-
line-height: $s2bs-line-height-large;
|
591
|
-
padding: $s2bs-padding-large-vertical $s2bs-padding-large-horizontal + $s2bs-caret-width-large*3 $s2bs-padding-large-vertical $s2bs-padding-large-horizontal;
|
592
|
-
|
593
|
-
/* 1 */
|
594
|
-
.select2-selection__arrow {
|
595
|
-
width: $s2bs-caret-width-large;
|
596
|
-
|
597
|
-
b {
|
598
|
-
border-width: $s2bs-caret-width-large $s2bs-caret-width-large 0 $s2bs-caret-width-large;
|
599
|
-
margin-left: -$s2bs-caret-width-large;
|
600
|
-
margin-left: -$s2bs-padding-large-vertical;
|
601
|
-
margin-top: -$s2bs-caret-width-large/2;
|
602
|
-
}
|
603
|
-
}
|
604
|
-
}
|
605
|
-
|
606
|
-
.select2-selection--multiple.input-lg,
|
607
|
-
.input-group-lg & .select2-selection--multiple,
|
608
|
-
.form-group-lg & .select2-selection--multiple {
|
609
|
-
min-height: $s2bs-input-height-large;
|
610
|
-
border-radius: $s2bs-border-radius-large;
|
611
|
-
|
612
|
-
.select2-selection__choice {
|
613
|
-
font-size: $s2bs-font-size-large;
|
614
|
-
line-height: $s2bs-line-height-large;
|
615
|
-
border-radius: $s2bs-selection-choice-border-radius;
|
616
|
-
margin: ($s2bs-padding-large-vertical - 1) 0 0 $s2bs-padding-large-horizontal/2;
|
617
|
-
padding: 0 $s2bs-padding-large-vertical;
|
618
|
-
}
|
619
|
-
|
620
|
-
.select2-search--inline .select2-search__field {
|
621
|
-
padding: 0 $s2bs-padding-large-horizontal;
|
622
|
-
font-size: $s2bs-font-size-large;
|
623
|
-
height: $s2bs-input-height-large - 2;
|
624
|
-
line-height: $s2bs-line-height-large;
|
625
|
-
}
|
626
|
-
|
627
|
-
.select2-selection__clear {
|
628
|
-
margin-top: $s2bs-padding-large-vertical;
|
629
|
-
}
|
630
|
-
}
|
631
|
-
|
632
|
-
.select2-selection.input-lg.select2-container--open {
|
633
|
-
@include dropdown-arrow;
|
634
|
-
}
|
635
|
-
|
636
|
-
.input-group-lg & .select2-selection {
|
637
|
-
&.select2-container--open {
|
638
|
-
@include dropdown-arrow;
|
639
|
-
}
|
640
|
-
}
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
/*------------------------------------*\
|
647
|
-
#RTL SUPPORT
|
648
|
-
\*------------------------------------*/
|
649
|
-
|
650
|
-
&[dir="rtl"] {
|
651
|
-
|
652
|
-
/**
|
653
|
-
* Single Select2
|
654
|
-
*
|
655
|
-
* 1. Makes sure that .select2-selection__placeholder is positioned
|
656
|
-
* correctly.
|
657
|
-
*/
|
658
|
-
|
659
|
-
.select2-selection--single {
|
660
|
-
padding-left: $s2bs-padding-base-horizontal + $s2bs-caret-width-base*3;
|
661
|
-
padding-right: $s2bs-padding-base-horizontal;
|
662
|
-
|
663
|
-
.select2-selection__rendered {
|
664
|
-
padding-right: 0;
|
665
|
-
padding-left: 0;
|
666
|
-
text-align: right; /* 1 */
|
667
|
-
}
|
668
|
-
|
669
|
-
.select2-selection__clear {
|
670
|
-
float: left;
|
671
|
-
}
|
672
|
-
|
673
|
-
.select2-selection__arrow {
|
674
|
-
left: $s2bs-padding-base-horizontal;
|
675
|
-
right: auto;
|
676
|
-
|
677
|
-
b {
|
678
|
-
margin-left: 0;
|
679
|
-
}
|
680
|
-
}
|
681
|
-
}
|
682
|
-
|
683
|
-
/**
|
684
|
-
* Multiple Select2
|
685
|
-
*/
|
686
|
-
|
687
|
-
.select2-selection--multiple {
|
688
|
-
.select2-selection__choice,
|
689
|
-
.select2-selection__placeholder,
|
690
|
-
.select2-search--inline {
|
691
|
-
float: right;
|
692
|
-
}
|
693
|
-
|
694
|
-
.select2-selection__choice {
|
695
|
-
margin-left: 0;
|
696
|
-
margin-right: $s2bs-padding-base-horizontal/2;
|
697
|
-
}
|
698
|
-
|
699
|
-
.select2-selection__choice__remove {
|
700
|
-
margin-left: 2px;
|
701
|
-
margin-right: auto;
|
702
|
-
}
|
703
|
-
}
|
704
|
-
}
|
705
|
-
}
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
/*------------------------------------*\
|
712
|
-
#ADDITIONAL GOODIES
|
713
|
-
\*------------------------------------*/
|
714
|
-
|
715
|
-
/**
|
716
|
-
* Address Bootstrap's validation states
|
717
|
-
*
|
718
|
-
* If a Select2 widget parent has one of Bootstrap's validation state modifier
|
719
|
-
* classes, adjust Select2's border colors and focus states accordingly.
|
720
|
-
* You may apply said classes to the Select2 dropdown (body > .select2-container)
|
721
|
-
* via JavaScript match Bootstraps' to make its styles match.
|
722
|
-
*
|
723
|
-
* @see http://getbootstrap.com/css/#forms-control-validation
|
724
|
-
*/
|
725
|
-
|
726
|
-
.has-warning {
|
727
|
-
@include validation-state-focus($state-warning-text);
|
728
|
-
}
|
729
|
-
|
730
|
-
.has-error {
|
731
|
-
@include validation-state-focus($state-danger-text);
|
732
|
-
}
|
733
|
-
|
734
|
-
.has-success {
|
735
|
-
@include validation-state-focus($state-success-text);
|
736
|
-
}
|
737
|
-
|
738
|
-
/**
|
739
|
-
* Select2 widgets in Bootstrap Input Groups
|
740
|
-
*
|
741
|
-
* @see http://getbootstrap.com/components/#input-groups
|
742
|
-
* @see https://github.com/twbs/bootstrap/blob/master/less/input-groups.less
|
743
|
-
*/
|
744
|
-
|
745
|
-
/**
|
746
|
-
* Reset rounded corners
|
747
|
-
*/
|
748
|
-
|
749
|
-
.input-group > .select2-hidden-accessible {
|
750
|
-
&:first-child + .select2-container--bootstrap > .selection > .select2-selection,
|
751
|
-
&:first-child + .select2-container--bootstrap > .selection > .select2-selection.form-control {
|
752
|
-
@include border-right-radius(0);
|
753
|
-
}
|
754
|
-
|
755
|
-
&:not(:first-child) + .select2-container--bootstrap:not(:last-child) > .selection > .select2-selection,
|
756
|
-
&:not(:first-child) + .select2-container--bootstrap:not(:last-child) > .selection > .select2-selection.form-control {
|
757
|
-
border-radius: 0;
|
758
|
-
}
|
759
|
-
|
760
|
-
&:not(:first-child):not(:last-child) + .select2-container--bootstrap:last-child > .selection > .select2-selection,
|
761
|
-
&:not(:first-child):not(:last-child) + .select2-container--bootstrap:last-child > .selection > .select2-selection.form-control {
|
762
|
-
@include border-left-radius(0);
|
763
|
-
}
|
764
|
-
}
|
765
|
-
|
766
|
-
.input-group > .select2-container--bootstrap {
|
767
|
-
display: table;
|
768
|
-
table-layout: fixed;
|
769
|
-
position: relative;
|
770
|
-
z-index: 2;
|
771
|
-
width: 100%;
|
772
|
-
margin-bottom: 0;
|
773
|
-
|
774
|
-
> .selection > .select2-selection.form-control {
|
775
|
-
float: none;
|
776
|
-
}
|
777
|
-
|
778
|
-
/**
|
779
|
-
* Adjust z-index like Bootstrap does to show the focus-box-shadow
|
780
|
-
* above appended buttons in .input-group and .form-group.
|
781
|
-
*/
|
782
|
-
|
783
|
-
&.select2-container--open, /* .form-group */
|
784
|
-
&.select2-container--focus /* .input-group */ {
|
785
|
-
z-index: 3;
|
786
|
-
}
|
787
|
-
|
788
|
-
/**
|
789
|
-
* Adjust alignment of Bootstrap buttons in Bootstrap Input Groups to address
|
790
|
-
* Multi Select2's height which - depending on how many elements have been selected -
|
791
|
-
* may grow taller than its initial size.
|
792
|
-
*
|
793
|
-
* @see http://getbootstrap.com/components/#input-groups
|
794
|
-
*/
|
795
|
-
|
796
|
-
&,
|
797
|
-
.input-group-btn,
|
798
|
-
.input-group-btn .btn {
|
799
|
-
vertical-align: top;
|
800
|
-
}
|
801
|
-
}
|
802
|
-
|
803
|
-
/**
|
804
|
-
* Temporary fix for https://github.com/select2/select2-bootstrap-theme/issues/9
|
805
|
-
*
|
806
|
-
* Provides `!important` for certain properties of the class applied to the
|
807
|
-
* original `<select>` element to hide it.
|
808
|
-
*
|
809
|
-
* @see https://github.com/select2/select2/pull/3301
|
810
|
-
* @see https://github.com/fk/select2/commit/31830c7b32cb3d8e1b12d5b434dee40a6e753ada
|
811
|
-
*/
|
812
|
-
|
813
|
-
.form-control.select2-hidden-accessible {
|
814
|
-
position: absolute !important;
|
815
|
-
width: 1px !important;
|
816
|
-
}
|
817
|
-
|
818
|
-
/**
|
819
|
-
* Display override for inline forms
|
820
|
-
*/
|
821
|
-
|
822
|
-
.form-inline .select2-container--bootstrap {
|
823
|
-
@media (min-width: $screen-sm-min) {
|
824
|
-
display: inline-block;
|
825
|
-
}
|
826
|
-
}
|