lato_core 1.1.5 → 2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -0
- data/README.md +29 -0
- data/Rakefile +1 -22
- data/app/assets/config/lato_core_manifest.js +2 -0
- data/app/assets/fonts/lato_core/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/lato_core/fontawesome-webfont.svg +2671 -0
- data/app/assets/fonts/lato_core/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/lato_core/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/lato_core/fontawesome-webfont.woff2 +0 -0
- data/app/assets/fonts/lato_core/lato-bold-webfont.eot +0 -0
- data/app/assets/fonts/lato_core/lato-bold-webfont.svg +4551 -0
- data/app/assets/fonts/lato_core/lato-bold-webfont.ttf +0 -0
- data/app/assets/fonts/lato_core/lato-bold-webfont.woff +0 -0
- data/app/assets/fonts/lato_core/lato-bold-webfont.woff2 +0 -0
- data/app/assets/fonts/lato_core/lato-regular-webfont.eot +0 -0
- data/app/assets/fonts/lato_core/lato-regular-webfont.svg +4241 -0
- data/app/assets/fonts/lato_core/lato-regular-webfont.ttf +0 -0
- data/app/assets/fonts/lato_core/lato-regular-webfont.woff +0 -0
- data/app/assets/fonts/lato_core/lato-regular-webfont.woff2 +0 -0
- data/app/assets/images/lato_core/editor-icons.svg +1 -0
- data/app/assets/images/lato_core/logo-negative.svg +13 -0
- data/app/assets/images/lato_core/logo.svg +1 -0
- data/app/assets/images/lato_core/user.png +0 -0
- data/app/assets/javascripts/lato_core/application.js +28 -0
- data/app/assets/javascripts/lato_core/initializers/Charts.js +36 -0
- data/app/assets/javascripts/lato_core/initializers/Elements.js +67 -0
- data/app/assets/javascripts/lato_core/initializers/Inputs.js +201 -0
- data/app/assets/javascripts/lato_core/initializers/Layout.js +37 -0
- data/app/assets/javascripts/lato_core/initializers/SortableManager.js +66 -0
- data/app/assets/javascripts/lato_core/interfaces/Modal.js +28 -0
- data/app/assets/javascripts/lato_core/vendors/Sortable.min.js +2 -0
- data/app/assets/javascripts/lato_core/vendors/chart.bundle.js +17220 -0
- data/app/assets/javascripts/lato_core/vendors/dropzone.js +1767 -0
- data/app/assets/javascripts/lato_core/vendors/jquery.datetimepicker.full.js +3243 -0
- data/app/assets/javascripts/lato_core/vendors/jquery.floatThead.js +1106 -0
- data/app/assets/javascripts/lato_core/vendors/jquery.selectize.js +3829 -0
- data/app/assets/javascripts/lato_core/vendors/jquery.trumbowyg.js +1603 -0
- data/app/assets/stylesheets/lato_core/application.scss +23 -0
- data/app/assets/stylesheets/lato_core/base/_base.scss +35 -0
- data/app/assets/stylesheets/lato_core/base/_button.scss +23 -0
- data/app/assets/stylesheets/lato_core/base/_grid.scss +258 -0
- data/app/assets/stylesheets/lato_core/base/_helpers.scss +29 -0
- data/app/assets/stylesheets/lato_core/base/_mixin.scss +37 -0
- data/app/assets/stylesheets/lato_core/base/_normalize.scss +424 -0
- data/app/assets/stylesheets/lato_core/base/_table.scss +47 -0
- data/app/assets/stylesheets/lato_core/base/_typography.scss +23 -0
- data/app/assets/stylesheets/lato_core/cells/_cells.scss +4 -0
- data/app/assets/stylesheets/lato_core/cells/charts/_bar.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/charts/_charts.scss +2 -0
- data/app/assets/stylesheets/lato_core/cells/charts/_general.scss +7 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_block.scss +12 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_button.scss +132 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_buttongroup.scss +25 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_code.scss +8 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_elements.scss +10 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_flash.scss +74 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_modal.scss +76 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_pagination.scss +64 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_row.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_table.scss +57 -0
- data/app/assets/stylesheets/lato_core/cells/elements/_title.scss +32 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_checkbox.scss +42 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_datetime.scss +23 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_dropzone.scss +12 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_editor.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_email.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_form.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_general.scss +51 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_geolocalization.scss +12 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_inputs.scss +14 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_number.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_password.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_select.scss +47 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_sortableblock.scss +51 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_text.scss +3 -0
- data/app/assets/stylesheets/lato_core/cells/inputs/_textarea.scss +25 -0
- data/app/assets/stylesheets/lato_core/cells/widgets/_index.scss +74 -0
- data/app/assets/stylesheets/lato_core/cells/widgets/_widgets.scss +1 -0
- data/app/assets/stylesheets/lato_core/layouts/_admin.scss +352 -0
- data/app/assets/stylesheets/lato_core/layouts/_authentication.scss +10 -0
- data/app/assets/stylesheets/lato_core/layouts/_layouts.scss +2 -0
- data/app/assets/stylesheets/lato_core/pages/_dashboard.scss +35 -0
- data/app/assets/stylesheets/lato_core/pages/_login.scss +7 -0
- data/app/assets/stylesheets/lato_core/pages/_pages.scss +2 -0
- data/app/assets/stylesheets/lato_core/partials/_dynamic_data_to_js.scss +3 -0
- data/app/assets/stylesheets/lato_core/partials/_partials.scss +1 -0
- data/app/assets/stylesheets/lato_core/theme.scss.erb +127 -0
- data/app/assets/stylesheets/lato_core/vendors/_datetimepicker.css +568 -0
- data/app/assets/stylesheets/lato_core/vendors/_dropzone.css +388 -0
- data/app/assets/stylesheets/lato_core/vendors/_fontawesome.css +2341 -0
- data/app/assets/stylesheets/lato_core/vendors/_scrollbar.css +904 -0
- data/app/assets/stylesheets/lato_core/vendors/_selectize.css +324 -0
- data/app/assets/stylesheets/lato_core/vendors/_trumbowyg.css +584 -0
- data/app/assets/stylesheets/lato_core/vendors/_vendors.scss +6 -0
- data/app/assets/stylesheets/lato_core/widgets/_systeminfo.scss +21 -0
- data/app/assets/stylesheets/lato_core/widgets/_widgets.scss +1 -0
- data/app/cells/lato_core/charts/bar/vertical/cell.rb +57 -0
- data/app/cells/lato_core/charts/bar/vertical/views/show.html.erb +7 -0
- data/app/cells/lato_core/elements/block/cell.rb +39 -0
- data/app/cells/lato_core/elements/block/views/close.html.erb +1 -0
- data/app/cells/lato_core/elements/block/views/open.html.erb +4 -0
- data/app/cells/lato_core/elements/button/cell.rb +59 -0
- data/app/cells/lato_core/elements/button/views/button.html.erb +27 -0
- data/app/cells/lato_core/elements/button/views/link.html.erb +65 -0
- data/app/cells/lato_core/elements/buttongroup/cell.rb +33 -0
- data/app/cells/lato_core/elements/buttongroup/views/show.html.erb +7 -0
- data/app/cells/lato_core/elements/code/cell.rb +36 -0
- data/app/cells/lato_core/elements/code/views/close.html.erb +2 -0
- data/app/cells/lato_core/elements/code/views/open.html.erb +2 -0
- data/app/cells/lato_core/elements/flash/cell.rb +35 -0
- data/app/cells/lato_core/elements/flash/views/show.html.erb +11 -0
- data/app/cells/lato_core/elements/icon/cell.rb +31 -0
- data/app/cells/lato_core/elements/icon/views/show.html.erb +1 -0
- data/app/cells/lato_core/elements/modal/cell.rb +31 -0
- data/app/cells/lato_core/elements/modal/views/show.html.erb +21 -0
- data/app/cells/lato_core/elements/pagination/cell.rb +68 -0
- data/app/cells/lato_core/elements/pagination/views/show.html.erb +59 -0
- data/app/cells/lato_core/elements/row/cell.rb +37 -0
- data/app/cells/lato_core/elements/row/views/close.html.erb +1 -0
- data/app/cells/lato_core/elements/row/views/open.html.erb +3 -0
- data/app/cells/lato_core/elements/table/body/cell.rb +37 -0
- data/app/cells/lato_core/elements/table/body/views/close.html.erb +1 -0
- data/app/cells/lato_core/elements/table/body/views/open.html.erb +3 -0
- data/app/cells/lato_core/elements/table/container/cell.rb +41 -0
- data/app/cells/lato_core/elements/table/container/views/close.html.erb +2 -0
- data/app/cells/lato_core/elements/table/container/views/open.html.erb +7 -0
- data/app/cells/lato_core/elements/table/head/cell.rb +33 -0
- data/app/cells/lato_core/elements/table/head/views/show.html.erb +7 -0
- data/app/cells/lato_core/elements/table/row/cell.rb +49 -0
- data/app/cells/lato_core/elements/table/row/views/show.html.erb +35 -0
- data/app/cells/lato_core/elements/title/cell.rb +52 -0
- data/app/cells/lato_core/elements/title/views/show.html.erb +4 -0
- data/app/cells/lato_core/inputs/checkbox/cell.rb +38 -0
- data/app/cells/lato_core/inputs/checkbox/views/show.html.erb +20 -0
- data/app/cells/lato_core/inputs/datetime/cell.rb +53 -0
- data/app/cells/lato_core/inputs/datetime/views/show.html.erb +19 -0
- data/app/cells/lato_core/inputs/dropzone/cell.rb +37 -0
- data/app/cells/lato_core/inputs/dropzone/views/show.html.erb +24 -0
- data/app/cells/lato_core/inputs/editor/cell.rb +37 -0
- data/app/cells/lato_core/inputs/editor/views/show.html.erb +12 -0
- data/app/cells/lato_core/inputs/email/cell.rb +40 -0
- data/app/cells/lato_core/inputs/email/views/show.html.erb +19 -0
- data/app/cells/lato_core/inputs/form/cell.rb +39 -0
- data/app/cells/lato_core/inputs/form/views/close.html.erb +1 -0
- data/app/cells/lato_core/inputs/form/views/open.html.erb +12 -0
- data/app/cells/lato_core/inputs/geolocalization/cell.rb +51 -0
- data/app/cells/lato_core/inputs/geolocalization/views/show.html.erb +26 -0
- data/app/cells/lato_core/inputs/number/cell.rb +44 -0
- data/app/cells/lato_core/inputs/number/views/show.html.erb +25 -0
- data/app/cells/lato_core/inputs/password/cell.rb +42 -0
- data/app/cells/lato_core/inputs/password/views/show.html.erb +21 -0
- data/app/cells/lato_core/inputs/select/cell.rb +56 -0
- data/app/cells/lato_core/inputs/select/views/show.html.erb +25 -0
- data/app/cells/lato_core/inputs/shared/help.html.erb +7 -0
- data/app/cells/lato_core/inputs/shared/label.html.erb +11 -0
- data/app/cells/lato_core/inputs/sortableblock/cell.rb +39 -0
- data/app/cells/lato_core/inputs/sortableblock/views/show.html.erb +40 -0
- data/app/cells/lato_core/inputs/text/cell.rb +42 -0
- data/app/cells/lato_core/inputs/text/views/show.html.erb +21 -0
- data/app/cells/lato_core/inputs/textarea/cell.rb +41 -0
- data/app/cells/lato_core/inputs/textarea/views/show.html.erb +16 -0
- data/app/cells/lato_core/widgets/index/cell.rb +215 -0
- data/app/cells/lato_core/widgets/index/views/partials/new.html.erb +3 -0
- data/app/cells/lato_core/widgets/index/views/partials/pagination.html.erb +3 -0
- data/app/cells/lato_core/widgets/index/views/partials/search.html.erb +17 -0
- data/app/cells/lato_core/widgets/index/views/show.html.erb +45 -0
- data/app/controllers/lato_core/api/api_controller.rb +5 -0
- data/app/controllers/lato_core/application_controller.rb +9 -1
- data/app/controllers/lato_core/back/authentication_controller.rb +33 -99
- data/app/controllers/lato_core/back/back_controller.rb +5 -14
- data/app/controllers/lato_core/back/dashboard_controller.rb +13 -0
- data/app/controllers/lato_core/back/superusers_controller.rb +97 -113
- data/app/controllers/lato_core/doc/cells_charts_controller.rb +7 -0
- data/app/controllers/lato_core/doc/cells_elements_controller.rb +31 -0
- data/app/controllers/lato_core/doc/cells_inputs_controller.rb +33 -0
- data/app/controllers/lato_core/doc/cells_widgets_controller.rb +10 -0
- data/app/controllers/lato_core/doc/doc_controller.rb +17 -0
- data/app/controllers/lato_core/doc/general_controller.rb +13 -0
- data/app/helpers/lato_core/application_helper.rb +4 -0
- data/app/jobs/lato_core/application_job.rb +4 -0
- data/app/mailers/lato_core/application_mailer.rb +2 -5
- data/app/models/lato_core/application_record.rb +5 -0
- data/app/models/lato_core/superuser.rb +11 -16
- data/app/models/lato_core/superuser/entity_helpers.rb +29 -0
- data/app/views/lato_core/back/authentication/index.html.erb +25 -0
- data/app/views/lato_core/back/dashboard/index.html.erb +29 -0
- data/app/views/lato_core/back/superusers/edit.html.erb +10 -15
- data/app/views/lato_core/back/superusers/index.html.erb +16 -27
- data/app/views/lato_core/back/superusers/new.html.erb +8 -13
- data/app/views/lato_core/back/superusers/shared/_form.html.erb +47 -55
- data/app/views/lato_core/back/superusers/show.html.erb +65 -1
- data/app/views/lato_core/doc/cells_charts/bar_vertical.erb +64 -0
- data/app/views/lato_core/doc/cells_elements/block.html.erb +172 -0
- data/app/views/lato_core/doc/cells_elements/button.html.erb +375 -0
- data/app/views/lato_core/doc/cells_elements/buttongroup.html.erb +101 -0
- data/app/views/lato_core/doc/cells_elements/flash_messages.html.erb +123 -0
- data/app/views/lato_core/doc/cells_elements/icon.html.erb +58 -0
- data/app/views/lato_core/doc/cells_elements/modal.html.erb +89 -0
- data/app/views/lato_core/doc/cells_elements/pagination.html.erb +149 -0
- data/app/views/lato_core/doc/cells_elements/row.html.erb +62 -0
- data/app/views/lato_core/doc/cells_elements/table.html.erb +272 -0
- data/app/views/lato_core/doc/cells_elements/table_body.html.erb +118 -0
- data/app/views/lato_core/doc/cells_elements/table_head.html.erb +110 -0
- data/app/views/lato_core/doc/cells_elements/table_row.html.erb +212 -0
- data/app/views/lato_core/doc/cells_elements/title.html.erb +70 -0
- data/app/views/lato_core/doc/cells_inputs/checkbox.html.erb +101 -0
- data/app/views/lato_core/doc/cells_inputs/datetime.html.erb +178 -0
- data/app/views/lato_core/doc/cells_inputs/dropzone.html.erb +114 -0
- data/app/views/lato_core/doc/cells_inputs/editor.html.erb +59 -0
- data/app/views/lato_core/doc/cells_inputs/email.html.erb +79 -0
- data/app/views/lato_core/doc/cells_inputs/form.html.erb +242 -0
- data/app/views/lato_core/doc/cells_inputs/geolocalization.html.erb +157 -0
- data/app/views/lato_core/doc/cells_inputs/number.html.erb +100 -0
- data/app/views/lato_core/doc/cells_inputs/password.html.erb +79 -0
- data/app/views/lato_core/doc/cells_inputs/select.html.erb +124 -0
- data/app/views/lato_core/doc/cells_inputs/sortableblock.html.erb +72 -0
- data/app/views/lato_core/doc/cells_inputs/text.html.erb +204 -0
- data/app/views/lato_core/doc/cells_inputs/textarea.html.erb +104 -0
- data/app/views/lato_core/doc/cells_widgets/index.html.erb +163 -0
- data/app/views/lato_core/doc/doc/index.html.erb +95 -0
- data/app/views/lato_core/doc/general/generators.html.erb +60 -0
- data/app/views/lato_core/doc/general/installation.html.erb +49 -0
- data/app/views/lato_core/doc/general/languages.html.erb +67 -0
- data/app/views/lato_core/doc/general/personalization.html.erb +177 -0
- data/app/views/lato_core/doc/shared/_modal_content.html.erb +4 -0
- data/app/views/lato_core/doc/shared/_sortableblock_partial.html.erb +1 -0
- data/app/views/lato_core/partials/_dynamic_data_to_js.html.erb +3 -0
- data/app/views/lato_core/partials/_gmaps.html.erb +5 -0
- data/app/views/lato_core/widgets/_systeminfo.html.erb +15 -0
- data/app/views/layouts/lato_core/admin.html.erb +44 -0
- data/app/views/layouts/lato_core/authentication.html.erb +22 -0
- data/app/views/layouts/lato_core/partials/_back.html.erb +5 -0
- data/app/views/layouts/lato_core/partials/_load_javascript.html.erb +4 -0
- data/app/views/layouts/lato_core/partials/_load_partials.html.erb +5 -0
- data/app/views/layouts/lato_core/partials/_load_stylesheet.html.erb +4 -0
- data/app/views/layouts/lato_core/partials/_logo.html.erb +9 -0
- data/app/views/layouts/lato_core/partials/_menu.html.erb +67 -0
- data/app/views/layouts/lato_core/partials/_profile.html.erb +19 -0
- data/app/views/layouts/lato_core/partials/_title.html.erb +3 -0
- data/app/views/layouts/lato_core/partials/_widgets.html.erb +13 -0
- data/config/configs.yml +102 -0
- data/config/initializers/assets.rb +9 -0
- data/config/initializers/init_system.rb +39 -0
- data/config/languages/default.yml +63 -0
- data/config/languages/it.yml +63 -0
- data/config/routes.rb +10 -13
- data/config/routes/api.rb +3 -0
- data/config/routes/back.rb +10 -0
- data/config/routes/doc.rb +48 -0
- data/db/migrate/20160224181217_create_lato_core_superusers.rb +8 -2
- data/lib/generators/lato_core/crud_generator.rb +26 -0
- data/lib/generators/lato_core/initializer_generator.rb +46 -0
- data/lib/generators/lato_core/templates/assets/images/logo.svg +13 -0
- data/{config/initializers/lists.rb → lib/generators/lato_core/templates/assets/javascripts/application.js} +0 -0
- data/lib/generators/lato_core/templates/assets/stylesheets/application.scss +2 -0
- data/lib/generators/lato_core/templates/assets/stylesheets/theme.scss.erb +13 -0
- data/lib/generators/lato_core/templates/controllers/application_controller.rb +13 -0
- data/lib/generators/lato_core/templates/controllers/crud_controller.rb +87 -0
- data/lib/generators/lato_core/templates/views/application/index.html.erb +16 -0
- data/lib/generators/lato_core/templates/views/crud/edit.html.erb +18 -0
- data/lib/generators/lato_core/templates/views/crud/index.html.erb +29 -0
- data/lib/generators/lato_core/templates/views/crud/new.html.erb +18 -0
- data/lib/generators/lato_core/templates/views/crud/shared/_form.html.erb +25 -0
- data/lib/generators/lato_core/templates/views/crud/show.html.erb +16 -0
- data/lib/lato_core.rb +6 -5
- data/lib/lato_core/cell.rb +28 -0
- data/lib/lato_core/engine.rb +16 -13
- data/lib/lato_core/helper.rb +11 -0
- data/lib/lato_core/helpers/cells.rb +20 -0
- data/lib/lato_core/helpers/general.rb +16 -0
- data/lib/lato_core/interface.rb +17 -14
- data/lib/lato_core/interfaces/apihelpers.rb +39 -0
- data/lib/lato_core/interfaces/application.rb +65 -0
- data/lib/lato_core/interfaces/authentication.rb +41 -0
- data/lib/lato_core/interfaces/cells.rb +41 -0
- data/lib/lato_core/interfaces/general.rb +39 -0
- data/lib/lato_core/interfaces/layout.rb +213 -0
- data/lib/lato_core/interfaces/modules.rb +110 -0
- data/lib/lato_core/interfaces/token.rb +25 -0
- data/lib/lato_core/version.rb +3 -0
- data/lib/tasks/lato_core_tasks.rake +4 -8
- data/lib/tasks/lato_tasks.rake +83 -0
- metadata +407 -33
- data/app/controllers/lato_core/api/v1/api_controller.rb +0 -8
- data/app/mailers/lato_core/superusers_mailer.rb +0 -27
- data/app/views/lato_core/back/authentication/login.html.erb +0 -45
- data/app/views/lato_core/back/authentication/password_edit.html.erb +0 -45
- data/app/views/lato_core/back/authentication/password_forget.html.erb +0 -36
- data/app/views/lato_core/back/back/home.html.erb +0 -20
- data/app/views/lato_core/mailers/layouts/mailer.html.erb +0 -9
- data/app/views/lato_core/mailers/layouts/mailer.text.erb +0 -1
- data/app/views/lato_core/mailers/superusers/notify.html.erb +0 -2
- data/app/views/lato_core/mailers/superusers/recover_password.html.erb +0 -4
- data/config/config.yml +0 -8
- data/config/example.yml +0 -66
- data/config/initializers/init.rb +0 -15
- data/config/initializers/ram.rb +0 -14
- data/lang/default.yml +0 -61
- data/lang/en.yml +0 -61
- data/lib/lato_core/interface/authentication.rb +0 -26
- data/lib/lato_core/interface/cache.rb +0 -23
- data/lib/lato_core/interface/communication.rb +0 -87
- data/lib/lato_core/interface/languages.rb +0 -51
- data/lib/lato_core/interface/navigation.rb +0 -95
- data/lib/lato_core/interface/session.rb +0 -57
- data/lib/lato_core/interface/superusers.rb +0 -134
@@ -0,0 +1,23 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*/
|
14
|
+
|
15
|
+
|
16
|
+
@import "theme";
|
17
|
+
@import "vendors/vendors";
|
18
|
+
@import "base/base";
|
19
|
+
@import "cells/cells";
|
20
|
+
@import "layouts/layouts";
|
21
|
+
@import "widgets/widgets";
|
22
|
+
@import "partials/partials";
|
23
|
+
@import "pages/pages";
|
@@ -0,0 +1,35 @@
|
|
1
|
+
@import "mixin";
|
2
|
+
@import "normalize";
|
3
|
+
@import "helpers";
|
4
|
+
@import "typography";
|
5
|
+
@import "grid";
|
6
|
+
@import "button";
|
7
|
+
@import "table";
|
8
|
+
|
9
|
+
html {
|
10
|
+
box-sizing: border-box;
|
11
|
+
}
|
12
|
+
|
13
|
+
*, *:before, *:after {
|
14
|
+
box-sizing: inherit;
|
15
|
+
}
|
16
|
+
|
17
|
+
body {
|
18
|
+
background: $body_background;
|
19
|
+
font-family: $body_font_family;
|
20
|
+
font-size: $body_font_size;
|
21
|
+
overflow-x: hidden;
|
22
|
+
|
23
|
+
&.stop-scrolling {
|
24
|
+
height: 100%;
|
25
|
+
overflow: hidden;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
a {
|
30
|
+
color: $color_main;
|
31
|
+
}
|
32
|
+
|
33
|
+
li {
|
34
|
+
margin: 3px 0;
|
35
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.button {
|
2
|
+
cursor: pointer;
|
3
|
+
text-decoration: none;
|
4
|
+
display: inline-block;
|
5
|
+
width: auto;
|
6
|
+
background-color: $color_main;
|
7
|
+
color: $color_white;
|
8
|
+
font-weight: 500;
|
9
|
+
padding: 8px 12px;
|
10
|
+
border-radius: 10px;
|
11
|
+
margin: 2.5px;
|
12
|
+
outline: 0;
|
13
|
+
border: none;
|
14
|
+
transition: all 0.25s;
|
15
|
+
|
16
|
+
&:focus {
|
17
|
+
background-color: darken($color_main, 5);
|
18
|
+
}
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
background-color: darken($color_main, 10);
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,258 @@
|
|
1
|
+
@mixin gridSharedStyle() {
|
2
|
+
box-sizing: border-box;
|
3
|
+
display: inline-block;
|
4
|
+
float: left;
|
5
|
+
margin: 7.5px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.row {
|
9
|
+
@include clearfix;
|
10
|
+
}
|
11
|
+
|
12
|
+
@media(max-width:767px) {
|
13
|
+
.xs-12 {
|
14
|
+
@include gridSharedStyle;
|
15
|
+
width: calc(100% - 15px);
|
16
|
+
}
|
17
|
+
|
18
|
+
.xs-11 {
|
19
|
+
@include gridSharedStyle;
|
20
|
+
width: calc(91.6666% - 15px);
|
21
|
+
}
|
22
|
+
|
23
|
+
.xs-10 {
|
24
|
+
@include gridSharedStyle;
|
25
|
+
width: calc(83.3333% - 15px);
|
26
|
+
}
|
27
|
+
|
28
|
+
.xs-9 {
|
29
|
+
@include gridSharedStyle;
|
30
|
+
width: calc(75% - 15px);
|
31
|
+
}
|
32
|
+
|
33
|
+
.xs-8 {
|
34
|
+
@include gridSharedStyle;
|
35
|
+
width: calc(66.6666% - 15px);
|
36
|
+
}
|
37
|
+
|
38
|
+
.xs-7 {
|
39
|
+
@include gridSharedStyle;
|
40
|
+
width: calc(58.3333% - 15px);
|
41
|
+
}
|
42
|
+
|
43
|
+
.xs-6 {
|
44
|
+
@include gridSharedStyle;
|
45
|
+
width: calc(50% - 15px);
|
46
|
+
}
|
47
|
+
|
48
|
+
.xs-5 {
|
49
|
+
@include gridSharedStyle;
|
50
|
+
width: calc(41.6666% - 15px);
|
51
|
+
}
|
52
|
+
|
53
|
+
.xs-4 {
|
54
|
+
@include gridSharedStyle;
|
55
|
+
width: calc(33.3333% - 15px);
|
56
|
+
}
|
57
|
+
|
58
|
+
.xs-3 {
|
59
|
+
@include gridSharedStyle;
|
60
|
+
width: calc(25% - 15px);
|
61
|
+
}
|
62
|
+
|
63
|
+
.xs-2 {
|
64
|
+
@include gridSharedStyle;
|
65
|
+
width: calc(16.6666% - 15px);
|
66
|
+
}
|
67
|
+
|
68
|
+
.xs-1 {
|
69
|
+
@include gridSharedStyle;
|
70
|
+
width: calc(8.3333% - 15px);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
@media(min-width: 768px) {
|
75
|
+
.sm-12 {
|
76
|
+
@include gridSharedStyle;
|
77
|
+
width: calc(100% - 15px);
|
78
|
+
}
|
79
|
+
|
80
|
+
.sm-11 {
|
81
|
+
@include gridSharedStyle;
|
82
|
+
width: calc(91.6666% - 15px);
|
83
|
+
}
|
84
|
+
|
85
|
+
.sm-10 {
|
86
|
+
@include gridSharedStyle;
|
87
|
+
width: calc(83.3333% - 15px);
|
88
|
+
}
|
89
|
+
|
90
|
+
.sm-9 {
|
91
|
+
@include gridSharedStyle;
|
92
|
+
width: calc(75% - 15px);
|
93
|
+
}
|
94
|
+
|
95
|
+
.sm-8 {
|
96
|
+
@include gridSharedStyle;
|
97
|
+
width: calc(66.6666% - 15px);
|
98
|
+
}
|
99
|
+
|
100
|
+
.sm-7 {
|
101
|
+
@include gridSharedStyle;
|
102
|
+
width: calc(58.3333% - 15px);
|
103
|
+
}
|
104
|
+
|
105
|
+
.sm-6 {
|
106
|
+
@include gridSharedStyle;
|
107
|
+
width: calc(50% - 15px);
|
108
|
+
}
|
109
|
+
|
110
|
+
.sm-5 {
|
111
|
+
@include gridSharedStyle;
|
112
|
+
width: calc(41.6666% - 15px);
|
113
|
+
}
|
114
|
+
|
115
|
+
.sm-4 {
|
116
|
+
@include gridSharedStyle;
|
117
|
+
width: calc(33.3333% - 15px);
|
118
|
+
}
|
119
|
+
|
120
|
+
.sm-3 {
|
121
|
+
@include gridSharedStyle;
|
122
|
+
width: calc(25% - 15px);
|
123
|
+
}
|
124
|
+
|
125
|
+
.sm-2 {
|
126
|
+
@include gridSharedStyle;
|
127
|
+
width: calc(16.6666% - 15px);
|
128
|
+
}
|
129
|
+
|
130
|
+
.sm-1 {
|
131
|
+
@include gridSharedStyle;
|
132
|
+
width: calc(8.3333% - 15px);
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
@media(min-width: 992px) {
|
137
|
+
.md-12 {
|
138
|
+
@include gridSharedStyle;
|
139
|
+
width: calc(100% - 15px);
|
140
|
+
}
|
141
|
+
|
142
|
+
.md-11 {
|
143
|
+
@include gridSharedStyle;
|
144
|
+
width: calc(91.6666% - 15px);
|
145
|
+
}
|
146
|
+
|
147
|
+
.md-10 {
|
148
|
+
@include gridSharedStyle;
|
149
|
+
width: calc(83.3333% - 15px);
|
150
|
+
}
|
151
|
+
|
152
|
+
.md-9 {
|
153
|
+
@include gridSharedStyle;
|
154
|
+
width: calc(75% - 15px);
|
155
|
+
}
|
156
|
+
|
157
|
+
.md-8 {
|
158
|
+
@include gridSharedStyle;
|
159
|
+
width: calc(66.6666% - 15px);
|
160
|
+
}
|
161
|
+
|
162
|
+
.md-7 {
|
163
|
+
@include gridSharedStyle;
|
164
|
+
width: calc(58.3333% - 15px);
|
165
|
+
}
|
166
|
+
|
167
|
+
.md-6 {
|
168
|
+
@include gridSharedStyle;
|
169
|
+
width: calc(50% - 15px);
|
170
|
+
}
|
171
|
+
|
172
|
+
.md-5 {
|
173
|
+
@include gridSharedStyle;
|
174
|
+
width: calc(41.6666% - 15px);
|
175
|
+
}
|
176
|
+
|
177
|
+
.md-4 {
|
178
|
+
@include gridSharedStyle;
|
179
|
+
width: calc(33.3333% - 15px);
|
180
|
+
}
|
181
|
+
|
182
|
+
.md-3 {
|
183
|
+
@include gridSharedStyle;
|
184
|
+
width: calc(25% - 15px);
|
185
|
+
}
|
186
|
+
|
187
|
+
.md-2 {
|
188
|
+
@include gridSharedStyle;
|
189
|
+
width: calc(16.6666% - 15px);
|
190
|
+
}
|
191
|
+
|
192
|
+
.md-1 {
|
193
|
+
@include gridSharedStyle;
|
194
|
+
width: calc(8.3333% - 15px);
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
@media(min-width: 1200px) {
|
199
|
+
.lg-12 {
|
200
|
+
@include gridSharedStyle;
|
201
|
+
width: calc(100% - 15px);
|
202
|
+
}
|
203
|
+
|
204
|
+
.lg-11 {
|
205
|
+
@include gridSharedStyle;
|
206
|
+
width: calc(91.6666% - 15px);
|
207
|
+
}
|
208
|
+
|
209
|
+
.lg-10 {
|
210
|
+
@include gridSharedStyle;
|
211
|
+
width: calc(83.3333% - 15px);
|
212
|
+
}
|
213
|
+
|
214
|
+
.lg-9 {
|
215
|
+
@include gridSharedStyle;
|
216
|
+
width: calc(75% - 15px);
|
217
|
+
}
|
218
|
+
|
219
|
+
.lg-8 {
|
220
|
+
@include gridSharedStyle;
|
221
|
+
width: calc(66.6666% - 15px);
|
222
|
+
}
|
223
|
+
|
224
|
+
.lg-7 {
|
225
|
+
@include gridSharedStyle;
|
226
|
+
width: calc(58.3333% - 15px);
|
227
|
+
}
|
228
|
+
|
229
|
+
.lg-6 {
|
230
|
+
@include gridSharedStyle;
|
231
|
+
width: calc(50% - 15px);
|
232
|
+
}
|
233
|
+
|
234
|
+
.lg-5 {
|
235
|
+
@include gridSharedStyle;
|
236
|
+
width: calc(41.6666% - 15px);
|
237
|
+
}
|
238
|
+
|
239
|
+
.lg-4 {
|
240
|
+
@include gridSharedStyle;
|
241
|
+
width: calc(33.3333% - 15px);
|
242
|
+
}
|
243
|
+
|
244
|
+
.lg-3 {
|
245
|
+
@include gridSharedStyle;
|
246
|
+
width: calc(25% - 15px);
|
247
|
+
}
|
248
|
+
|
249
|
+
.lg-2 {
|
250
|
+
@include gridSharedStyle;
|
251
|
+
width: calc(16.6666% - 15px);
|
252
|
+
}
|
253
|
+
|
254
|
+
.lg-1 {
|
255
|
+
@include gridSharedStyle;
|
256
|
+
width: calc(8.3333% - 15px);
|
257
|
+
}
|
258
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// Align text:
|
2
|
+
|
3
|
+
.text-left {
|
4
|
+
text-align: left !important;
|
5
|
+
}
|
6
|
+
|
7
|
+
.text-center {
|
8
|
+
text-align: center !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
.text-right {
|
12
|
+
text-align: right !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Varius style change:
|
16
|
+
|
17
|
+
.no-background {
|
18
|
+
background-color: transparent !important;
|
19
|
+
background-image: none !important;
|
20
|
+
}
|
21
|
+
|
22
|
+
.no-padding {
|
23
|
+
padding: 0 !important;
|
24
|
+
}
|
25
|
+
|
26
|
+
.no-shadow {
|
27
|
+
box-shadow: none !important;
|
28
|
+
text-shadow: none !important;
|
29
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
// Clearfix
|
2
|
+
@mixin clearfix {
|
3
|
+
&:after {
|
4
|
+
content: "";
|
5
|
+
display: table;
|
6
|
+
clear: both;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
// Center an element (need position: relative to the container)
|
11
|
+
@mixin centerElement($xy) {
|
12
|
+
position: absolute;
|
13
|
+
@if $xy == xy {
|
14
|
+
left: 50%;
|
15
|
+
top: 50%;
|
16
|
+
bottom: auto;
|
17
|
+
right: auto;
|
18
|
+
transform: translate(-50%, -50%);
|
19
|
+
}
|
20
|
+
@else if $xy == x {
|
21
|
+
left: 50%;
|
22
|
+
right: auto;
|
23
|
+
transform: translateX(-50%);
|
24
|
+
}
|
25
|
+
@else if $xy == y {
|
26
|
+
top: 50%;
|
27
|
+
bottom: auto;
|
28
|
+
transform: translateY(-50%);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
// Set text to one line.
|
33
|
+
@mixin oneLineText {
|
34
|
+
overflow: hidden;
|
35
|
+
white-space: nowrap;
|
36
|
+
text-overflow: ellipsis;
|
37
|
+
}
|
@@ -0,0 +1,424 @@
|
|
1
|
+
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Set default font family to sans-serif.
|
5
|
+
* 2. Prevent iOS and IE text size adjust after device orientation change,
|
6
|
+
* without disabling user zoom.
|
7
|
+
*/
|
8
|
+
|
9
|
+
html {
|
10
|
+
font-family: sans-serif; /* 1 */
|
11
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
12
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
13
|
+
}
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Remove default margin.
|
17
|
+
*/
|
18
|
+
|
19
|
+
body {
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* HTML5 display definitions
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
28
|
+
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
29
|
+
* and Firefox.
|
30
|
+
* Correct `block` display not defined for `main` in IE 11.
|
31
|
+
*/
|
32
|
+
|
33
|
+
article,
|
34
|
+
aside,
|
35
|
+
details,
|
36
|
+
figcaption,
|
37
|
+
figure,
|
38
|
+
footer,
|
39
|
+
header,
|
40
|
+
hgroup,
|
41
|
+
main,
|
42
|
+
menu,
|
43
|
+
nav,
|
44
|
+
section,
|
45
|
+
summary {
|
46
|
+
display: block;
|
47
|
+
}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
51
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
52
|
+
*/
|
53
|
+
|
54
|
+
audio,
|
55
|
+
canvas,
|
56
|
+
progress,
|
57
|
+
video {
|
58
|
+
display: inline-block; /* 1 */
|
59
|
+
vertical-align: baseline; /* 2 */
|
60
|
+
}
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
64
|
+
* Remove excess height in iOS 5 devices.
|
65
|
+
*/
|
66
|
+
|
67
|
+
audio:not([controls]) {
|
68
|
+
display: none;
|
69
|
+
height: 0;
|
70
|
+
}
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Address `[hidden]` styling not present in IE 8/9/10.
|
74
|
+
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
75
|
+
*/
|
76
|
+
|
77
|
+
[hidden],
|
78
|
+
template {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* Links
|
83
|
+
========================================================================== */
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Remove the gray background color from active links in IE 10.
|
87
|
+
*/
|
88
|
+
|
89
|
+
a {
|
90
|
+
background-color: transparent;
|
91
|
+
}
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Improve readability of focused elements when they are also in an
|
95
|
+
* active/hover state.
|
96
|
+
*/
|
97
|
+
|
98
|
+
a:active,
|
99
|
+
a:hover {
|
100
|
+
outline: 0;
|
101
|
+
}
|
102
|
+
|
103
|
+
/* Text-level semantics
|
104
|
+
========================================================================== */
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
108
|
+
*/
|
109
|
+
|
110
|
+
abbr[title] {
|
111
|
+
border-bottom: 1px dotted;
|
112
|
+
}
|
113
|
+
|
114
|
+
/**
|
115
|
+
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
116
|
+
*/
|
117
|
+
|
118
|
+
b,
|
119
|
+
strong {
|
120
|
+
font-weight: bold;
|
121
|
+
}
|
122
|
+
|
123
|
+
/**
|
124
|
+
* Address styling not present in Safari and Chrome.
|
125
|
+
*/
|
126
|
+
|
127
|
+
dfn {
|
128
|
+
font-style: italic;
|
129
|
+
}
|
130
|
+
|
131
|
+
/**
|
132
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
133
|
+
* contexts in Firefox 4+, Safari, and Chrome.
|
134
|
+
*/
|
135
|
+
|
136
|
+
h1 {
|
137
|
+
font-size: 2em;
|
138
|
+
margin: 0.67em 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
/**
|
142
|
+
* Address styling not present in IE 8/9.
|
143
|
+
*/
|
144
|
+
|
145
|
+
mark {
|
146
|
+
background: #ff0;
|
147
|
+
color: #000;
|
148
|
+
}
|
149
|
+
|
150
|
+
/**
|
151
|
+
* Address inconsistent and variable font size in all browsers.
|
152
|
+
*/
|
153
|
+
|
154
|
+
small {
|
155
|
+
font-size: 80%;
|
156
|
+
}
|
157
|
+
|
158
|
+
/**
|
159
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
160
|
+
*/
|
161
|
+
|
162
|
+
sub,
|
163
|
+
sup {
|
164
|
+
font-size: 75%;
|
165
|
+
line-height: 0;
|
166
|
+
position: relative;
|
167
|
+
vertical-align: baseline;
|
168
|
+
}
|
169
|
+
|
170
|
+
sup {
|
171
|
+
top: -0.5em;
|
172
|
+
}
|
173
|
+
|
174
|
+
sub {
|
175
|
+
bottom: -0.25em;
|
176
|
+
}
|
177
|
+
|
178
|
+
/* Embedded content
|
179
|
+
========================================================================== */
|
180
|
+
|
181
|
+
/**
|
182
|
+
* Remove border when inside `a` element in IE 8/9/10.
|
183
|
+
*/
|
184
|
+
|
185
|
+
img {
|
186
|
+
border: 0;
|
187
|
+
}
|
188
|
+
|
189
|
+
/**
|
190
|
+
* Correct overflow not hidden in IE 9/10/11.
|
191
|
+
*/
|
192
|
+
|
193
|
+
svg:not(:root) {
|
194
|
+
overflow: hidden;
|
195
|
+
}
|
196
|
+
|
197
|
+
/* Grouping content
|
198
|
+
========================================================================== */
|
199
|
+
|
200
|
+
/**
|
201
|
+
* Address margin not present in IE 8/9 and Safari.
|
202
|
+
*/
|
203
|
+
|
204
|
+
figure {
|
205
|
+
margin: 1em 40px;
|
206
|
+
}
|
207
|
+
|
208
|
+
/**
|
209
|
+
* Address differences between Firefox and other browsers.
|
210
|
+
*/
|
211
|
+
|
212
|
+
hr {
|
213
|
+
box-sizing: content-box;
|
214
|
+
height: 0;
|
215
|
+
}
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Contain overflow in all browsers.
|
219
|
+
*/
|
220
|
+
|
221
|
+
pre {
|
222
|
+
overflow: auto;
|
223
|
+
}
|
224
|
+
|
225
|
+
/**
|
226
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
227
|
+
*/
|
228
|
+
|
229
|
+
code,
|
230
|
+
kbd,
|
231
|
+
pre,
|
232
|
+
samp {
|
233
|
+
font-family: monospace, monospace;
|
234
|
+
font-size: 1em;
|
235
|
+
}
|
236
|
+
|
237
|
+
/* Forms
|
238
|
+
========================================================================== */
|
239
|
+
|
240
|
+
/**
|
241
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
242
|
+
* styling of `select`, unless a `border` property is set.
|
243
|
+
*/
|
244
|
+
|
245
|
+
/**
|
246
|
+
* 1. Correct color not being inherited.
|
247
|
+
* Known issue: affects color of disabled elements.
|
248
|
+
* 2. Correct font properties not being inherited.
|
249
|
+
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
250
|
+
*/
|
251
|
+
|
252
|
+
button,
|
253
|
+
input,
|
254
|
+
optgroup,
|
255
|
+
select,
|
256
|
+
textarea {
|
257
|
+
color: inherit; /* 1 */
|
258
|
+
font: inherit; /* 2 */
|
259
|
+
margin: 0; /* 3 */
|
260
|
+
}
|
261
|
+
|
262
|
+
/**
|
263
|
+
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
264
|
+
*/
|
265
|
+
|
266
|
+
button {
|
267
|
+
overflow: visible;
|
268
|
+
}
|
269
|
+
|
270
|
+
/**
|
271
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
272
|
+
* All other form control elements do not inherit `text-transform` values.
|
273
|
+
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
274
|
+
* Correct `select` style inheritance in Firefox.
|
275
|
+
*/
|
276
|
+
|
277
|
+
button,
|
278
|
+
select {
|
279
|
+
text-transform: none;
|
280
|
+
}
|
281
|
+
|
282
|
+
/**
|
283
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
284
|
+
* and `video` controls.
|
285
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
286
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
287
|
+
* `input` and others.
|
288
|
+
*/
|
289
|
+
|
290
|
+
button,
|
291
|
+
html input[type="button"], /* 1 */
|
292
|
+
input[type="reset"],
|
293
|
+
input[type="submit"] {
|
294
|
+
-webkit-appearance: button; /* 2 */
|
295
|
+
cursor: pointer; /* 3 */
|
296
|
+
}
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Re-set default cursor for disabled elements.
|
300
|
+
*/
|
301
|
+
|
302
|
+
button[disabled],
|
303
|
+
html input[disabled] {
|
304
|
+
cursor: default;
|
305
|
+
}
|
306
|
+
|
307
|
+
/**
|
308
|
+
* Remove inner padding and border in Firefox 4+.
|
309
|
+
*/
|
310
|
+
|
311
|
+
button::-moz-focus-inner,
|
312
|
+
input::-moz-focus-inner {
|
313
|
+
border: 0;
|
314
|
+
padding: 0;
|
315
|
+
}
|
316
|
+
|
317
|
+
/**
|
318
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
319
|
+
* the UA stylesheet.
|
320
|
+
*/
|
321
|
+
|
322
|
+
input {
|
323
|
+
line-height: normal;
|
324
|
+
}
|
325
|
+
|
326
|
+
/**
|
327
|
+
* It's recommended that you don't attempt to style these elements.
|
328
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
329
|
+
*
|
330
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
331
|
+
* 2. Remove excess padding in IE 8/9/10.
|
332
|
+
*/
|
333
|
+
|
334
|
+
input[type="checkbox"],
|
335
|
+
input[type="radio"] {
|
336
|
+
box-sizing: border-box; /* 1 */
|
337
|
+
padding: 0; /* 2 */
|
338
|
+
}
|
339
|
+
|
340
|
+
/**
|
341
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
342
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
343
|
+
* decrement button to change from `default` to `text`.
|
344
|
+
*/
|
345
|
+
|
346
|
+
input[type="number"]::-webkit-inner-spin-button,
|
347
|
+
input[type="number"]::-webkit-outer-spin-button {
|
348
|
+
height: auto;
|
349
|
+
}
|
350
|
+
|
351
|
+
/**
|
352
|
+
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
353
|
+
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
354
|
+
*/
|
355
|
+
|
356
|
+
input[type="search"] {
|
357
|
+
-webkit-appearance: textfield; /* 1 */
|
358
|
+
box-sizing: content-box; /* 2 */
|
359
|
+
}
|
360
|
+
|
361
|
+
/**
|
362
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
363
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
364
|
+
* padding (and `textfield` appearance).
|
365
|
+
*/
|
366
|
+
|
367
|
+
input[type="search"]::-webkit-search-cancel-button,
|
368
|
+
input[type="search"]::-webkit-search-decoration {
|
369
|
+
-webkit-appearance: none;
|
370
|
+
}
|
371
|
+
|
372
|
+
/**
|
373
|
+
* Define consistent border, margin, and padding.
|
374
|
+
*/
|
375
|
+
|
376
|
+
fieldset {
|
377
|
+
border: 1px solid #c0c0c0;
|
378
|
+
margin: 0 2px;
|
379
|
+
padding: 0.35em 0.625em 0.75em;
|
380
|
+
}
|
381
|
+
|
382
|
+
/**
|
383
|
+
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
384
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
385
|
+
*/
|
386
|
+
|
387
|
+
legend {
|
388
|
+
border: 0; /* 1 */
|
389
|
+
padding: 0; /* 2 */
|
390
|
+
}
|
391
|
+
|
392
|
+
/**
|
393
|
+
* Remove default vertical scrollbar in IE 8/9/10/11.
|
394
|
+
*/
|
395
|
+
|
396
|
+
textarea {
|
397
|
+
overflow: auto;
|
398
|
+
}
|
399
|
+
|
400
|
+
/**
|
401
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
402
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
403
|
+
*/
|
404
|
+
|
405
|
+
optgroup {
|
406
|
+
font-weight: bold;
|
407
|
+
}
|
408
|
+
|
409
|
+
/* Tables
|
410
|
+
========================================================================== */
|
411
|
+
|
412
|
+
/**
|
413
|
+
* Remove most spacing between table cells.
|
414
|
+
*/
|
415
|
+
|
416
|
+
table {
|
417
|
+
border-collapse: collapse;
|
418
|
+
border-spacing: 0;
|
419
|
+
}
|
420
|
+
|
421
|
+
td,
|
422
|
+
th {
|
423
|
+
padding: 0;
|
424
|
+
}
|