express_admin 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -1
- data/app/assets/images/express_admin/appexpress_logo_dark.png +0 -0
- data/app/assets/javascripts/express_admin.js +1 -4
- data/app/assets/javascripts/express_admin/admin.js +0 -2
- data/app/assets/javascripts/express_admin/scrollTableBody.js +127 -0
- data/app/assets/stylesheets/express_admin.css +1 -1
- data/app/assets/stylesheets/express_admin/components/_main_menu.sass +5 -0
- data/app/assets/stylesheets/express_admin/components/_megadropdown.sass +0 -5
- data/app/assets/stylesheets/express_admin/components/_module_sidebar.sass +9 -0
- data/app/assets/stylesheets/express_admin/components/_pane.sass +9 -0
- data/app/assets/stylesheets/express_admin/components/_widget_box.sass +10 -0
- data/app/assets/stylesheets/express_admin/globals/_foundation_overrides.sass +612 -0
- data/app/assets/stylesheets/express_admin/globals/_mixins.sass +9 -0
- data/app/assets/stylesheets/express_admin/globals/_typography.sass +8 -16
- data/app/assets/stylesheets/express_admin/globals/_variables.sass +18 -12
- data/app/assets/stylesheets/express_admin/screen.sass +16 -9
- data/app/assets/stylesheets/express_admin/sections/_header.sass +8 -94
- data/app/assets/stylesheets/express_admin/sections/_main_content.sass +3 -61
- data/app/assets/stylesheets/express_admin/sections/_main_region.sass +9 -0
- data/app/assets/stylesheets/express_admin/sections/_page_body.sass +6 -0
- data/app/assets/stylesheets/express_admin/sections/_page_sidebar.sass +5 -0
- data/app/assets/stylesheets/express_admin/sections/_sidebar_region.sass +7 -0
- data/app/assets/stylesheets/express_admin/shared/_buttons.sass +2 -31
- data/app/assets/stylesheets/express_admin/shared/_forms.sass +3 -97
- data/app/assets/stylesheets/express_admin/shared/_layout_components.sass +60 -0
- data/app/assets/stylesheets/express_admin/shared/_messages.sass +1 -1
- data/app/assets/stylesheets/express_admin/shared/_tables.sass +12 -67
- data/app/assets/stylesheets/express_admin/shared/_trees.sass +27 -0
- data/app/components/express_admin/addon_sidebar_component.rb +5 -9
- data/app/components/express_admin/h_box.rb +16 -0
- data/app/components/express_admin/layout_component.rb +14 -0
- data/app/components/express_admin/main_region.rb +1 -1
- data/app/components/express_admin/pane.rb +37 -0
- data/app/components/express_admin/sidebar_region.rb +2 -4
- data/app/components/express_admin/smart_form.rb +63 -27
- data/app/components/express_admin/smart_table.rb +131 -41
- data/app/components/express_admin/v_box.rb +16 -0
- data/app/components/express_admin/widget_box.rb +2 -2
- data/app/helpers/express_admin/admin_helper.rb +14 -9
- data/app/views/layouts/express_admin/admin.html.et +7 -11
- data/app/views/shared/express_admin/_navigation_bar.html.et +17 -13
- data/app/views/shared/express_admin/_navigation_bar_profile.html.et +0 -2
- data/app/views/shared/express_admin/_title.html.et +6 -8
- data/lib/express_admin/engine.rb +1 -1
- data/lib/express_admin/menu.rb +7 -2
- data/lib/express_admin/version.rb +1 -1
- data/lib/generators/express_admin/install/install_generator.rb +4 -4
- data/lib/generators/express_admin/install/templates/controllers/admin_controller.rb.erb +1 -1
- data/lib/generators/express_admin/scaffold/scaffold_generator.rb +10 -2
- data/lib/generators/express_admin/scaffold/templates/index.html.et.erb +1 -1
- data/test/dummy/app/controllers/admin/categories_controller.rb +12 -0
- data/test/dummy/app/controllers/admin/widgets_controller.rb +12 -0
- data/test/dummy/app/models/category.rb +3 -0
- data/test/dummy/app/models/tag.rb +4 -0
- data/test/dummy/app/models/widget.rb +7 -0
- data/test/dummy/app/models/widget_tag.rb +4 -0
- data/test/dummy/app/views/admin/categories/index.html.et +10 -0
- data/test/dummy/app/views/admin/widgets/index.html.et +10 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20150525221206_create_widgets.rb +15 -0
- data/test/dummy/db/migrate/20150525221228_create_categories.rb +9 -0
- data/test/dummy/db/migrate/20150610081108_create_tags.rb +7 -0
- data/test/dummy/db/migrate/20150610081204_create_widget_tags.rb +8 -0
- data/test/dummy/db/schema.rb +26 -5
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +35 -0
- data/test/dummy/log/test.log +33428 -0
- data/test/dummy/test/components/smart_form_test.rb +93 -0
- data/test/dummy/test/components/smart_table_test.rb +137 -0
- data/test/dummy/test/fixtures/categories.yml +8 -0
- data/test/dummy/test/fixtures/tags.yml +14 -0
- data/test/dummy/test/fixtures/widget_tags.yml +10 -0
- data/test/dummy/test/fixtures/widgets.yml +20 -0
- data/test/dummy/test/models/category_test.rb +13 -0
- data/test/dummy/test/models/tag_test.rb +13 -0
- data/test/dummy/test/models/widget_tag_test.rb +13 -0
- data/test/dummy/test/models/widget_test.rb +13 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0fNukwCUjSC_GRsVIMtSMVdZkd5bq5eShMcGCrCVolc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1c4REJHKdQH9bwZhZ7Ixshmy_1jAzXc3-9OiDCDyRlk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1rKHSaJsgLcnfIJRWYdYy7IimMCKcdI-I_ABekUargk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2kMk5s4FKAOWE1z_MvFIKHmdvNDzyoknoi39xL7KwJw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2oGeKB_QtwWpX3sJNHocsJiBZT60x_cwV_nSGh_HS-A.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2rQDWRzFxOlBnczJ1BLfE2yCPVvrhgLGfAI7VSM54wk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3S9nnUmEIG4-hDY6cVc82GFUUWicNxtpFfWwJAmJSkI.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4WErFdugnc8uWYwUE9vVfw4xxCgknECdpWhn8teZbLk.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/4a7epNa5R1jeKCtFsJKTdVqMEQm5p0clABRPIiKegMo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/57pjjkzReNE1L9yodewGebfd0AwnfQb33rtJjSTNpLc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7vpDV8GyXVfyuFIkRrrkOwUXyIaCmf22tBPDpvhCUUc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Cpj6WyqdggDUkeQl_Ut3P9sUtPHPXXwkmZ92TfIJGJ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DwepgSdLiEklsJWIJItEY_ZW-nOjjeHqcdQwBtu0mus.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FOJpwMQCx9V9wfhJQKFa2f7BjfP7vyS7M3o6VX0nAI0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GStmpiXE4g01i-UTlSKq8B9yS69WpAp0YH7vWyESBwI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/H53ZZ50FwJjYUOMH60F7cpINgkh9tOF4R3L6ANoH6tU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HY86Fwn8VPlIysY56uV-wu90bISxrXeiCtwDXg94Glg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IcNDN_pmsAcLAMv6CST75OwOucmYm3q2099jn4tB0H8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JpdfSFVzivQn6TFSivlys3nV3VzD8cT0ET8uqbptxV4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KYe0_GIi-cNX0eRteBB0aixVATrVRo7Z3BaWFCgc7yg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LsiO4sLQfM0GvyEYhaC2E54rCurTkewg7YJX-sWBctI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/NDViKg4-yspkY1tX9IQWnh1-LkiKqIohBqtRlYZZQcs.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OXsmreTQ3MNzGsrV1eEoW72VZQ52hQ0HiuTr0ImnqHA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PuMvTyv89E8wfRqbWNMhTH3PAE61uCCHgpEsgdOzMXQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pvp8CVIKYjspNrgzEvgleujifrrdfATzWbwALDzQNE4.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PzcOUndLc-O-VBR2SDM2rFkiqh-iqknTEgEAXDLKfdc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QbX1HRM7KX85_PeVHcd6VJM6sqzUCWXEEYZX7CAG0eA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UDHqQKrYSSvXfCbiJjXzmJh2Q6T5hLO80aaPvs9n-74.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UFtISk01WwcjjWcPLyjeHX3bgBqZHGQcb0Z4KFNmduA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UWvG-0WgVYHVxrtLU32uumROQuSjJv_M_svW1B8YxhY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UruI7_ZpuzDnmNir9hzUa_r8oiuuIfVTco19ACdxwRw.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VQ2-2HlkGd1XVIHlwRGcgDsjto3oE-50-4E3HGdt8uU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VezioHwyk87G6TWkkYX88tBHC6QToVGOU5geZ54Ts5A.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WfQ-xKbnwqaKy-UQa8spczc9qocIL_jZE4cyRZftjfA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XPpCqlT8yHTnQNHKRxjnilUBvAs6klpgWXneFU15U78.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XXTM8o6vkSxhxxm8P_orbeCZvxb8nMk7cjdwvUNL1io.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XyRQXY_oj8GLw9z8lj2dknGu45jbX5lK8ko7TePosPE.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/YDMOayx363vI7odbkHMVI-_RxkOoVP2Hb7FX0mFVFE0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z88gJS67lNABJgUB18JzXrnGkVbYfXQvjqm7mSJIv3o.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_k4X14Cc-2Y4gc47s7PaWtAaG_zcq1ICJInTYNp6bI4.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_kr_dP4VVnM8s8ZMdiNBSpuPqkQVx46FUdCTDH4XR70.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_y-BPEZTh3iXcaPJkcP9-krjw-V8LMhop4VGxUEUDsY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/afi__XQzjsqMT3svcCGlVD_YrHEWQZAEbJt4CgYaCkw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bdqS7lHa0nBN-mqdSomfMK-S6ct2TAn0z9kVzFBwQPM.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/csH89NDps1_QU4E0p0HHZti2XLd_etKYDqM9cPsNpps.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ePtEu-AuU0iZ2J02ZafF9yOJVd8VVdV2KSheiJYlXzA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eTRff0YXBw-Tx9VEMxb-Es8NwqjHCXiaosBLxijl3I8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fRkrxaDYzRDIvxEUGZBFbW5ocAlmDQNg8_LRcOJJOzI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/goVFgqSk0CBOXpbwLNd-enc31BvXm1S8cMSJ3zbxRYI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hPH6lLkPX0EzSG_eBprMMUnmFs9y89AOarfyhGoAFGc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hgfrt0FmGrYD5SJVJhlsUPtL9usJvw3vZrW4dqQq16Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hiZg7FLw7SFa7S-BQ8CKWdAqFVUZy2HVb2chmQijM-g.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iKb8yzw0EdFpNkayUbc16U7olK7iwE2xIs_6b_xIEtI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/iY03Ztj2YhBWadK8LHOKR3Hj1W7PLss0v85Q6Nj7E3Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ipLhCJrCCVwH7l_p1quUi2xS6POFlVHfZCqIymk8CoI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ipTot5AshDPhFtCBNfXROxutQlCrYkvsXsy3fcVT0Nw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/j5CxYBAeuD-bGDZUBh-pA0mEPCSVFDZsJm3x7QED4g0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/jr4uhEONyFYm0QhfEOMqv05S-BeUP7gw1gQl3GIFyAI.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kGO7_IQtBwpe93nSTKj6cCWGm0fZ_NoXltdw8E_74CQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/le9WohG3eSGbBMySdKkdvkHXW8yipO8w4iQZCCCQb3M.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mtmR_XlvnlYbOPmP1EkOj96q2Z5OQNv4HkeFj9DwEXQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nU1obIDVHUhN-3yRA6B9U5aO8wsd6zh1tyVtSROJewk.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oZ6SMNNft5SCbvNtWXkGQwKQPVwXoJRMV7VUJfWHc2k.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oygs10cGTBBo7Mj97CjFRTrSrFR7Qi3MnHNR_WQvIps.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p0Gnpai0VYzEsAXH_5t9huZ3dO0v6JKRH0PIH--q-XA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pu9xM8T2O07hU3PafxbOLjg2vJxbbHE3qnIK9JHqVhA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qEHftZrJ-Da_nsvX4UOaALyIt0mwnOuE2TdtBPGAWEw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rtdpq5fxIYMKM43QyOIluEECg2NP5OA-7Zi8yuowZSI.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ujFa5Hu76zd1O6nO2G7WcgnOWZyTOMKLajazyMXAL_I.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uovLHiJZBoVnD7CXYj2WZYmAbBcqGLQOzu4Voz5Fx8c.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uyHm0KHsHpJhn-wv69exuuyU4kyJtW3DDQLP7tCD7e4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/v50nc5cuqpLxjepk7XsBmomcmFARYlHQRtq8yOv8AY0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vAh5eTPxI929yxRCyXgbKTWat5cZiVSOyX0UeTveXGE.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vKiuNu1fQitE151bh0Tr2Ufkc80jWzchPjxaHkpjQL8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x-3lyh5i4qS-Q9E3X2uj2LthTOxsndFTrFXBsPPo6hI.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x3xQgAyjbrGTXy2FX2UzGG77agJgt_xsyNBuofrvY_E.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xQqBwKYWFPxZm5tidxsRKk23Z3q-OLRmKQUlMjRev_c.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yZNo-6dzWGUNCJDnmqm7X5YB5FOxjYp_l8aKS6KaZOg.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zV58Nou0R2EJG875wLND6wF9ES4diVi1fP7B_B6eCzw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zxPFYKpkfNJtui1ekitdNMaGAo39fefm-oJCnILEEQ8.cache +1 -0
- data/test/fixtures/widgets.yml +20 -0
- data/test/lib/express_admin/menu_test.rb +1 -1
- data/test/{fixtures/express_admin → support}/test_menu.yml +0 -0
- data/test/test_helper.rb +25 -5
- data/vendor/gems/express_templates/Gemfile +16 -0
- data/vendor/gems/express_templates/Gemfile.lock +153 -0
- data/vendor/gems/express_templates/LICENSE +21 -0
- data/vendor/gems/express_templates/README.md +152 -0
- data/vendor/gems/express_templates/Rakefile +32 -0
- data/vendor/gems/express_templates/diagrams/diagram.graffle +2404 -0
- data/vendor/gems/express_templates/diagrams/diagram_express_templates.png +0 -0
- data/vendor/gems/express_templates/diagrams/diagram_haml_erb.png +0 -0
- data/vendor/gems/express_templates/express_templates-0.5.0.gem +0 -0
- data/vendor/gems/express_templates/express_templates.gemspec +29 -0
- data/vendor/gems/express_templates/lib/core_extensions/proc.rb +90 -0
- data/vendor/gems/express_templates/lib/core_extensions/string.rb +25 -0
- data/vendor/gems/express_templates/lib/express_templates.rb +19 -0
- data/vendor/gems/express_templates/lib/express_templates/compiler.rb +36 -0
- data/vendor/gems/express_templates/lib/express_templates/components.rb +18 -0
- data/vendor/gems/express_templates/lib/express_templates/components/base.rb +54 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/adoptable.rb +20 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/building.rb +14 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/conditionality.rb +54 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/configurable.rb +90 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/iterating.rb +75 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/parenting.rb +72 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/rendering.rb +30 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/resourceful.rb +135 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/templating.rb +198 -0
- data/vendor/gems/express_templates/lib/express_templates/components/capabilities/wrapping.rb +84 -0
- data/vendor/gems/express_templates/lib/express_templates/components/column.rb +13 -0
- data/vendor/gems/express_templates/lib/express_templates/components/container.rb +7 -0
- data/vendor/gems/express_templates/lib/express_templates/components/content_for.rb +42 -0
- data/vendor/gems/express_templates/lib/express_templates/components/for_each.rb +30 -0
- data/vendor/gems/express_templates/lib/express_templates/components/form_rails_support.rb +22 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms.rb +17 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/basic_fields.rb +53 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/checkbox.rb +37 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/express_form.rb +57 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/form_component.rb +64 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/form_support.rb +13 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/option_support.rb +65 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/radio.rb +84 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/select.rb +105 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/select_collection.rb +57 -0
- data/vendor/gems/express_templates/lib/express_templates/components/forms/submit.rb +26 -0
- data/vendor/gems/express_templates/lib/express_templates/components/null_wrap.rb +41 -0
- data/vendor/gems/express_templates/lib/express_templates/components/row.rb +28 -0
- data/vendor/gems/express_templates/lib/express_templates/components/table_for.rb +163 -0
- data/vendor/gems/express_templates/lib/express_templates/components/tree_for.rb +86 -0
- data/vendor/gems/express_templates/lib/express_templates/components/unless_block.rb +40 -0
- data/vendor/gems/express_templates/lib/express_templates/expander.rb +140 -0
- data/vendor/gems/express_templates/lib/express_templates/indenter.rb +47 -0
- data/vendor/gems/express_templates/lib/express_templates/interpolator.rb +36 -0
- data/vendor/gems/express_templates/lib/express_templates/macro.rb +45 -0
- data/vendor/gems/express_templates/lib/express_templates/markup.rb +9 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/html_tag.rb +62 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/tag.rb +150 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/wrapper.rb +94 -0
- data/vendor/gems/express_templates/lib/express_templates/markup/yielder.rb +21 -0
- data/vendor/gems/express_templates/lib/express_templates/renderer.rb +11 -0
- data/vendor/gems/express_templates/lib/express_templates/template/handler.rb +15 -0
- data/vendor/gems/express_templates/lib/express_templates/version.rb +3 -0
- data/vendor/gems/express_templates/lib/tasks/express_templates.rake +4 -0
- data/vendor/gems/express_templates/test/compiler_test.rb +9 -0
- data/vendor/gems/express_templates/test/components/base_test.rb +44 -0
- data/vendor/gems/express_templates/test/components/capabilities/resourceful_test.rb +63 -0
- data/vendor/gems/express_templates/test/components/column_test.rb +11 -0
- data/vendor/gems/express_templates/test/components/conditionality_test.rb +37 -0
- data/vendor/gems/express_templates/test/components/configurable_test.rb +43 -0
- data/vendor/gems/express_templates/test/components/container_test.rb +66 -0
- data/vendor/gems/express_templates/test/components/content_for_test.rb +60 -0
- data/vendor/gems/express_templates/test/components/forms/basic_fields_test.rb +52 -0
- data/vendor/gems/express_templates/test/components/forms/checkbox_test.rb +44 -0
- data/vendor/gems/express_templates/test/components/forms/express_form_test.rb +108 -0
- data/vendor/gems/express_templates/test/components/forms/radio_test.rb +96 -0
- data/vendor/gems/express_templates/test/components/forms/select_test.rb +146 -0
- data/vendor/gems/express_templates/test/components/forms/submit_test.rb +12 -0
- data/vendor/gems/express_templates/test/components/iterating_test.rb +127 -0
- data/vendor/gems/express_templates/test/components/null_wrap_test.rb +28 -0
- data/vendor/gems/express_templates/test/components/row_test.rb +16 -0
- data/vendor/gems/express_templates/test/components/table_for_test.rb +211 -0
- data/vendor/gems/express_templates/test/components/tree_for_test.rb +103 -0
- data/vendor/gems/express_templates/test/core_extensions/proc_test.rb +71 -0
- data/vendor/gems/express_templates/test/core_extensions/string_test.rb +20 -0
- data/vendor/gems/express_templates/test/dummy/Rakefile +6 -0
- data/vendor/gems/express_templates/test/dummy/app/assets/javascripts/application.js +13 -0
- data/vendor/gems/express_templates/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/vendor/gems/express_templates/test/dummy/app/controllers/application_controller.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/app/controllers/hello_controller.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/app/helpers/application_helper.rb +2 -0
- data/vendor/gems/express_templates/test/dummy/app/views/hello/show.html.et +5 -0
- data/vendor/gems/express_templates/test/dummy/app/views/layouts/application.html.et +15 -0
- data/vendor/gems/express_templates/test/dummy/bin/bundle +3 -0
- data/vendor/gems/express_templates/test/dummy/bin/rails +4 -0
- data/vendor/gems/express_templates/test/dummy/bin/rake +4 -0
- data/vendor/gems/express_templates/test/dummy/config.ru +4 -0
- data/vendor/gems/express_templates/test/dummy/config/application.rb +26 -0
- data/vendor/gems/express_templates/test/dummy/config/boot.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/config/environment.rb +5 -0
- data/vendor/gems/express_templates/test/dummy/config/environments/development.rb +37 -0
- data/vendor/gems/express_templates/test/dummy/config/environments/production.rb +82 -0
- data/vendor/gems/express_templates/test/dummy/config/environments/test.rb +40 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/assets.rb +8 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/inflections.rb +16 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/mime_types.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/session_store.rb +3 -0
- data/vendor/gems/express_templates/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/vendor/gems/express_templates/test/dummy/config/locales/en.yml +23 -0
- data/vendor/gems/express_templates/test/dummy/config/routes.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/config/secrets.yml +22 -0
- data/vendor/gems/express_templates/test/dummy/log/test.log +15987 -0
- data/vendor/gems/express_templates/test/dummy/public/404.html +67 -0
- data/vendor/gems/express_templates/test/dummy/public/422.html +67 -0
- data/vendor/gems/express_templates/test/dummy/public/500.html +66 -0
- data/vendor/gems/express_templates/test/dummy/public/favicon.ico +0 -0
- data/vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb +14 -0
- data/vendor/gems/express_templates/test/dummy/test/helpers/hello_helper_test.rb +4 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-1ax0k6FO5drSUN6jbogg4G0JliUHLffvQUvzSePKxA.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-cDLO4NJHMndDHchOLz8KLD7QBc68WtaAbYxK2r6GsU.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0t68EIwZ96sAqQSxFka9MQyIk4viw8ZIoREMCGiJRx0.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/28LzLLDYjhr3jmu0GxjZ-ms5Bol6JilDRXpg8Zgbjqs.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2zt1IbQCnmzGyeZS_I4sYQzrgneSCKIJBRxcffVHlWY.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5AeGDyXQbv_BTj3PD4MJpNnGVwUxLsA8H1VcwB69_wE.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/B0RgtiEmqwrCQuw4AnDa3fdENtJeBtO_TqtGJuWOeNs.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/D-tMNp19G2zWOPPhnQRUm4K8DPa8SpKPfGALkkofTeE.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EDVlXrcn_wEfaZ5nc_4QJBT7lPiIBcX96jBo7PBz-vc.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Eso3tkb79hXQ1XdQgjbV03KyQwSeZFAHxVHImsjQ-HQ.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/I8LhheC1OlOyvp_qY8kWpqKcZFiqv_BO-l5bExvDEi0.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Kf4VrP5sW-qzziYSN-m7p4nETjLiEwwwRfwUOm7rOr0.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Pd5YOD1DAL7QtTnwETZYBCabg5DkCFgbjt4iuBOcSoY.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QJ0Z8hROMfWpY6f5Chb7GSuDHE4gpabKVQTr9BCZe9s.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/T1pSAx767vY7X1UDN0vdF7YGEkI5wMSVUKopsdvp7kI.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/VlSPFPDK05c7ImadRiRVKzsaa6e15RwX77QR3NYabME.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Y7_BbgB9jgJIWYjDCsASySd26DTfPADAu_3DDnLlFog.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bSfZQxeyghTF4WIVnzGavxlg9afmSNuqcW6bA1Bm1OA.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fvD_ZNFRzd8Sc4PoTjyHPnkg4f7WMietFunnKqNjlvc.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/g2xQygPqA5kMmp5L3wVGWaUIhdVsxFmOel9FF6M0Fuw.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hKbgrf5CbMO8pe9fCHc-rI5mp1ejAhivBfvfDxBNhQA.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kaif59owjUr3HBharCH5GUxU6KoW_zXD9a9JiTjIYPY.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kpvKX5UlhhoLJv-faeq7Ibv2KQh4ROjTiarh13gHuWI.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lfyrNtbNtwuTXAWlmPCKTS-D3FHoPTY6h53wnUN36-A.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lyDRhWNhfDw_YCCSbxQw_iOIV3eTfeAoX6mTREuVZSA.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p17lC0HAHCtk1ds_NHl9xhEyMtRjfQInw1c6fmFWguc.cache +0 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/p1cwnBd8RQBm9x5HzDmiiU7RhvnxhPX8VTfi0tTElJY.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qT6_0ti_v6fAjS3wETXqvTkr6W0LP4PB942uLYQzWK8.cache +3 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/qzU7DVwQZ7z6i6pYUpssYsAj0y33GN83B4O1bLvkW_4.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/r56eI1z7iFKeySym_9zw5hVOPjb0d6IQPn5pAYTKk04.cache +2 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rGWvoeLyiyqb813IXgfDpDxks23JQoLLZOa69bzKPE8.cache +1 -0
- data/vendor/gems/express_templates/test/dummy/tmp/cache/assets/test/sprockets/v3.0/y8T65xpx0s3RgT_YiqWEEXIaBsgK4woCNSuZ1zjQZBk.cache +2 -0
- data/vendor/gems/express_templates/test/expander_stack_test.rb +41 -0
- data/vendor/gems/express_templates/test/expander_test.rb +99 -0
- data/vendor/gems/express_templates/test/express_templates_test.rb +19 -0
- data/vendor/gems/express_templates/test/handler_test.rb +122 -0
- data/vendor/gems/express_templates/test/indenter_test.rb +27 -0
- data/vendor/gems/express_templates/test/interpolator_test.rb +80 -0
- data/vendor/gems/express_templates/test/markup/tag_test.rb +149 -0
- data/vendor/gems/express_templates/test/markup/wrapper_test.rb +42 -0
- data/vendor/gems/express_templates/test/markup/yielder_test.rb +9 -0
- data/vendor/gems/express_templates/test/performance_test.rb +93 -0
- data/vendor/gems/express_templates/test/test_helper.rb +28 -0
- data/vendor/gems/foundation_apps_styles/Gemfile +4 -0
- data/vendor/gems/foundation_apps_styles/LICENSE.txt +21 -0
- data/vendor/gems/foundation_apps_styles/README.md +41 -0
- data/vendor/gems/foundation_apps_styles/Rakefile +13 -0
- data/vendor/gems/foundation_apps_styles/bin/console +14 -0
- data/vendor/gems/foundation_apps_styles/bin/setup +7 -0
- data/vendor/gems/foundation_apps_styles/foundation_apps_styles.gemspec +24 -0
- data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles.rb +6 -0
- data/vendor/gems/foundation_apps_styles/lib/foundation_apps_styles/version.rb +3 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/account.svg +44 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/action.svg +38 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/ban.svg +17 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bell.svg +22 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/bookmark.svg +14 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cart.svg +35 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/chevron.svg +28 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-check.svg +25 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/circle-x.svg +25 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/cog.svg +17 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/comment-square.svg +14 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/dashboard.svg +38 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/document.svg +28 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/envelope.svg +44 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/flag.svg +24 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/home.svg +28 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/lock.svg +55 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/magnifying-glass.svg +26 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/person.svg +62 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/reload.svg +19 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/share-boxed.svg +17 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/star.svg +14 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/thumb.svg +38 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/iconic/zoom.svg +56 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_global.scss +131 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_includes.scss +33 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/_settings.scss +614 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_accordion.scss +72 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_action-sheet.scss +265 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_block-list.scss +360 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button-group.scss +197 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_button.scss +205 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_card.scss +93 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_extras.scss +54 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_forms.scss +460 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_grid.scss +422 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_iconic.scss +95 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_label.scss +134 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_list.scss +19 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_menu-bar.scss +382 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_modal.scss +129 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_motion.scss +525 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_notification.scss +207 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_off-canvas.scss +169 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_panel.scss +134 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_popup.scss +68 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_switch.scss +134 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_tabs.scss +100 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_title-bar.scss +135 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_typography.scss +345 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/components/_utilities.scss +160 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation-apps.css +6146 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/foundation.scss +50 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_breakpoints.scss +154 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_functions.scss +343 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_images.scss +19 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/helpers/_mixins.scss +123 -0
- data/vendor/gems/foundation_apps_styles/vendor/assets/stylesheets/vendor/_normalize.scss +424 -0
- metadata +512 -36
- data/app/assets/stylesheets/express_admin/foundation_and_overrides.scss +0 -1443
- data/app/assets/stylesheets/express_admin/sections/_devise.sass +0 -42
- data/app/assets/stylesheets/express_admin/sections/_sidebar.sass +0 -42
- data/app/assets/stylesheets/express_admin/shared/_labels.sass +0 -16
- data/app/assets/stylesheets/express_admin/shared/_navigation.sass +0 -20
- data/lib/generators/express_admin/scaffold/templates/show.html.et.erb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb2a9cf8ada844b82e6985aa04ba62459fa55abe
|
4
|
+
data.tar.gz: a5daac5f4438d062802e21c33bc4d018e410d4f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2defacf4587cae2d0009bfd4dc23213d5073fdc8e4ce2a898fa55106ee1747bfdcfe0fb5b58e0e9815ff75047fd7411dcfb0b25feaa3ff7d55ab8a0567ea0068
|
7
|
+
data.tar.gz: 8624c91cabbc239fb53399f17824f56ab4c48f4d7940fb047e18acbe4d5bedf4e1e47c939bf3be984611ef5d64715e9d4ebff9b044b4b7b6007eb90ad641dbb3
|
data/Rakefile
CHANGED
@@ -17,6 +17,8 @@ end
|
|
17
17
|
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
|
18
18
|
load 'rails/tasks/engine.rake'
|
19
19
|
|
20
|
+
|
21
|
+
|
20
22
|
Bundler::GemHelper.install_tasks
|
21
23
|
|
22
24
|
require 'rake/testtask'
|
@@ -24,7 +26,7 @@ require 'rake/testtask'
|
|
24
26
|
Rake::TestTask.new(:test) do |t|
|
25
27
|
t.libs << 'lib'
|
26
28
|
t.libs << 'test'
|
27
|
-
t.pattern = 'test
|
29
|
+
t.pattern = 'test/**/*_test.rb'
|
28
30
|
t.verbose = false
|
29
31
|
end
|
30
32
|
|
Binary file
|
@@ -0,0 +1,127 @@
|
|
1
|
+
(function ($) {
|
2
|
+
var defaults = {
|
3
|
+
rowsToDisplay: 10
|
4
|
+
};
|
5
|
+
|
6
|
+
var scrollBarWidth = 15, fixedTableWidth;
|
7
|
+
|
8
|
+
$.fn.scrollTableBody = function(options) {
|
9
|
+
options = $.extend(defaults, options);
|
10
|
+
|
11
|
+
var table = this;
|
12
|
+
|
13
|
+
wrapTable(table, options);
|
14
|
+
alignColumns(table);
|
15
|
+
|
16
|
+
var resizeAlignFunction = function () { alignOnResize(table); };
|
17
|
+
var canDebounce = typeof _ == 'function' && typeof _.debounce == 'function';
|
18
|
+
if (canDebounce) resizeAlignFunction = _.debounce(resizeAlignFunction, 150);
|
19
|
+
$(window).resize(resizeAlignFunction);
|
20
|
+
};
|
21
|
+
|
22
|
+
function wrapTable(table, options) {
|
23
|
+
var existingClasses = table.attr('class');
|
24
|
+
var existingMarginBottom = table.css('margin-bottom');
|
25
|
+
table.css('margin-bottom', 0);
|
26
|
+
var rowHeight = table.find('tbody tr:first').outerHeight();
|
27
|
+
var tableHeight = rowHeight * options.rowsToDisplay;
|
28
|
+
|
29
|
+
var headerTable = $('<table style="table-layout:fixed;width:auto;margin-bottom:0;" class="jqstb-header-table ' + existingClasses + '"><thead><tr><td></td></tr></thead></table>'),
|
30
|
+
footerTable = $('<table style="table-layout:fixed;width:auto;margin-bottom:' + existingMarginBottom + ';" class="jqstb-footer-table ' + existingClasses + '"><tfoot><tr><td></td></tr></tfoot></table>'),
|
31
|
+
scrollDiv = '<div class="jqstb-scroll" style="height:' + tableHeight + 'px;overflow-y:auto"></div>';
|
32
|
+
|
33
|
+
// Insert the table that will hold the fixed header and footer, and insert the div that will get scrolled
|
34
|
+
table.before(headerTable).before(scrollDiv).after(footerTable);
|
35
|
+
}
|
36
|
+
|
37
|
+
function alignColumns(table) {
|
38
|
+
table.each(function (index) {
|
39
|
+
// To minimize "Flash of Unstyled Content" (FOUC), set the relevant variables before manipulating the DOM
|
40
|
+
var $dataTable = $(this);
|
41
|
+
var $headerTable = $('table.jqstb-header-table').eq(index);
|
42
|
+
var $footerTable = $('table.jqstb-footer-table').eq(index);
|
43
|
+
|
44
|
+
// Place main table data inside of relevant scrollable div (using jQuery eq() and index)
|
45
|
+
var $scrollDiv = $('div.jqstb-scroll').eq(index);
|
46
|
+
$scrollDiv.prepend($dataTable);
|
47
|
+
var scrollEl = $scrollDiv[0];
|
48
|
+
|
49
|
+
var hasHorizontalScroll = scrollEl.clientWidth < scrollEl.scrollWidth;
|
50
|
+
$scrollDiv.outerWidth(fixedTableWidth + scrollBarWidth + 2);
|
51
|
+
|
52
|
+
if (hasHorizontalScroll) {
|
53
|
+
var dataTableWidth = $dataTable.outerWidth();
|
54
|
+
$headerTable.width(dataTableWidth);
|
55
|
+
$footerTable.width(dataTableWidth);
|
56
|
+
$scrollDiv.outerWidth(scrollEl.clientWidth);
|
57
|
+
var scrollDivWidth = $scrollDiv.outerWidth();
|
58
|
+
|
59
|
+
var width = scrollDivWidth - scrollBarWidth;
|
60
|
+
|
61
|
+
var $headerScrollDiv = $('<div style="overflow:hidden;width:' + width + 'px" class="jqstb-header-scroll"></div>');
|
62
|
+
$headerTable.wrap($headerScrollDiv);
|
63
|
+
|
64
|
+
var $footerScrollDiv = $('<div style="overflow:hidden;width:' + width + 'px" class="jqstb-footer-scroll"></div>');
|
65
|
+
$footerTable.wrap($footerScrollDiv);
|
66
|
+
|
67
|
+
$scrollDiv.on('scroll', function() {
|
68
|
+
$('div.jqstb-header-scroll').scrollLeft($(this).scrollLeft());
|
69
|
+
$('div.jqstb-footer-scroll').scrollLeft($(this).scrollLeft());
|
70
|
+
});
|
71
|
+
}
|
72
|
+
|
73
|
+
// Force column widths to be set for each header column
|
74
|
+
$dataTable.find('thead tr:first th, tbody tr:first td').each(function () {
|
75
|
+
$(this).outerWidth($(this).outerWidth());
|
76
|
+
});
|
77
|
+
|
78
|
+
// Insert header data into fixed header table
|
79
|
+
$headerTable.find('thead').replaceWith($dataTable.children('caption, thead').clone());
|
80
|
+
|
81
|
+
// Force column widths to be set for each footer column
|
82
|
+
$dataTable.find('tfoot tr:first td').each(function () {
|
83
|
+
$(this).outerWidth($(this).outerWidth());
|
84
|
+
});
|
85
|
+
|
86
|
+
// Insert footer data into fixed footer table
|
87
|
+
$footerTable.find('tfoot').replaceWith($dataTable.children('tfoot').clone());
|
88
|
+
|
89
|
+
// Hide original caption, header, and footer
|
90
|
+
$dataTable.children('caption, thead, tfoot').hide();
|
91
|
+
});
|
92
|
+
}
|
93
|
+
|
94
|
+
function alignOnResize(table) {
|
95
|
+
table.each(function (index) {
|
96
|
+
var $dataTable = $(this);
|
97
|
+
var $headerTable = $('table.jqstb-header-table').eq(index);
|
98
|
+
var $footerTable = $('table.jqstb-footer-table').eq(index);
|
99
|
+
|
100
|
+
// Temporarily show the inner table's header and footer since the dom calculates width based on them being visible
|
101
|
+
$dataTable.children('thead, tfoot').show();
|
102
|
+
|
103
|
+
var scrollEl = $('div.jqstb-scroll')[0];
|
104
|
+
var hasHorizontalScroll = scrollEl.clientWidth < scrollEl.scrollWidth;
|
105
|
+
if (hasHorizontalScroll) {
|
106
|
+
var scrollDivWidth = $('div.jqstb-scroll').outerWidth();
|
107
|
+
$('div.jqstb-header-scroll').outerWidth(scrollDivWidth - scrollBarWidth);
|
108
|
+
$('div.jqstb-footer-scroll').outerWidth(scrollDivWidth - scrollBarWidth);
|
109
|
+
}
|
110
|
+
|
111
|
+
// Force column widths to be set for each header column
|
112
|
+
var $headerColumns = $headerTable.find('thead tr:first th');
|
113
|
+
$dataTable.find('thead tr:first th').each(function (i) {
|
114
|
+
$headerColumns.eq(i).outerWidth($(this).outerWidth());
|
115
|
+
});
|
116
|
+
|
117
|
+
// Force column widths to be set for each footer column
|
118
|
+
var $footerColumns = $footerTable.find('tfoot tr:first td');
|
119
|
+
$dataTable.find('tfoot tr:first td').each(function (i) {
|
120
|
+
$footerColumns.eq(i).outerWidth($(this).outerWidth());
|
121
|
+
});
|
122
|
+
|
123
|
+
// Hide the inner table's header and footer when we're done
|
124
|
+
$dataTable.children('thead, tfoot').hide();
|
125
|
+
});
|
126
|
+
}
|
127
|
+
})(jQuery);
|
@@ -48,11 +48,9 @@
|
|
48
48
|
text-decoration: underline
|
49
49
|
|
50
50
|
.main
|
51
|
-
@include grid-column(9)
|
52
51
|
|
53
52
|
|
54
53
|
.extra
|
55
|
-
@include grid-column(3)
|
56
54
|
ul
|
57
55
|
li
|
58
56
|
float: inherit
|
@@ -66,6 +64,3 @@
|
|
66
64
|
li, a
|
67
65
|
width: 100%
|
68
66
|
|
69
|
-
@media #{$small-up}
|
70
|
-
.dropdown-wrapper
|
71
|
-
padding: 10px 0
|
@@ -0,0 +1,612 @@
|
|
1
|
+
// FOUNDATION FOR APPS SETTINGS
|
2
|
+
// ----------------------------
|
3
|
+
//
|
4
|
+
// Table of Contents:
|
5
|
+
//
|
6
|
+
// 1. CSS Exports
|
7
|
+
// 2. Global Styles
|
8
|
+
// 3. Breakpoints
|
9
|
+
// 4. Typography
|
10
|
+
// 5. Grid
|
11
|
+
// 6. Button
|
12
|
+
// 7. Accordion
|
13
|
+
// 8. Action Sheet
|
14
|
+
// 9. Block List
|
15
|
+
// 10. Button Group
|
16
|
+
// 11. Card
|
17
|
+
// 12. Extras
|
18
|
+
// 13. Forms
|
19
|
+
// 14. Iconic
|
20
|
+
// 15. Label
|
21
|
+
// 16. Menu Bar
|
22
|
+
// 17. Modal
|
23
|
+
// 18. Motion UI
|
24
|
+
// 19. Notification
|
25
|
+
// 20. Off-canvas
|
26
|
+
// 21. Panel
|
27
|
+
// 22. Popup
|
28
|
+
// 23. Switch
|
29
|
+
// 24. Tabs
|
30
|
+
// 25. Title Bar
|
31
|
+
|
32
|
+
// 1. CSS Exports
|
33
|
+
// - - - - - - - - - - - - - - -
|
34
|
+
|
35
|
+
// Change any value in this map from "true" to "false" to disable that component's CSS class output. You'll still be able to use the component's mixins, but none of our pre-written classes will be in your CSS.
|
36
|
+
|
37
|
+
// $include-css: (
|
38
|
+
// accordion: true,
|
39
|
+
// action-sheet: true,
|
40
|
+
// block-list: true,
|
41
|
+
// button: true,
|
42
|
+
// button-group: true,
|
43
|
+
// card: true,
|
44
|
+
// coloring: true,
|
45
|
+
// extras: true,
|
46
|
+
// forms: true,
|
47
|
+
// grid: true,
|
48
|
+
// iconic: true,
|
49
|
+
// label: true,
|
50
|
+
// badge: true,
|
51
|
+
// list: true,
|
52
|
+
// menu-bar: true,
|
53
|
+
// modal: true,
|
54
|
+
// motion: true,
|
55
|
+
// notification: true,
|
56
|
+
// off-canvas: true,
|
57
|
+
// panel: true,
|
58
|
+
// popup: true,
|
59
|
+
// switch: true,
|
60
|
+
// tabs: true,
|
61
|
+
// title-bar: true,
|
62
|
+
// typography: true,
|
63
|
+
// utilities: true,
|
64
|
+
// );
|
65
|
+
|
66
|
+
// 2. Global Styles
|
67
|
+
// - - - - - - - - - - - - - - -
|
68
|
+
|
69
|
+
// This sets 1rem to be 16px
|
70
|
+
// $rem-base: 16px;
|
71
|
+
|
72
|
+
// The default font-size is set to 100% of the browser style sheet (usually 16px)
|
73
|
+
// for compatibility with browser-based text zoom or user-set defaults.
|
74
|
+
|
75
|
+
// Since the typical default browser font-size is 16px, that makes the calculation for grid size.
|
76
|
+
// If you want your base font-size to be different and not have it affect the grid breakpoints,
|
77
|
+
// set $rem-base to $base-font-size and make sure $base-font-size is a px value.
|
78
|
+
// $base-font-size: 100%;
|
79
|
+
|
80
|
+
// $base-line-height is 24px while $base-font-size is 16px
|
81
|
+
// $base-line-height: 1.5;
|
82
|
+
|
83
|
+
// Text selector helpers
|
84
|
+
// $headers: "h1,h2,h3,h4,h5,h6";
|
85
|
+
|
86
|
+
// We use these to define default font weights
|
87
|
+
// $font-weight-normal: normal;
|
88
|
+
// $font-weight-bold: bold;
|
89
|
+
|
90
|
+
// We use these to control various global styles
|
91
|
+
// $body-background: #fff;
|
92
|
+
// $body-font-color: #222;
|
93
|
+
// $body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
|
94
|
+
// $body-font-weight: $font-weight-normal;
|
95
|
+
// $body-font-style: normal;
|
96
|
+
// $body-antialiased: true;
|
97
|
+
|
98
|
+
// Application Colors
|
99
|
+
$primary-color: #477db0
|
100
|
+
$secondary-color: #f9f9f9
|
101
|
+
// $alert-color: #F04124;
|
102
|
+
$info-color: rgba(#94bde1, .1)
|
103
|
+
// $success-color: #43AC6A;
|
104
|
+
// $warning-color: #F08A24;
|
105
|
+
$dark-color: #444
|
106
|
+
// $gray: #dfdfdf;
|
107
|
+
// $gray-dark: darken($gray, 8);
|
108
|
+
// $gray-light: lighten($gray, 8);
|
109
|
+
|
110
|
+
// We use these to make sure border radius matches unless we want it different.
|
111
|
+
// $global-radius: 4px;
|
112
|
+
// $global-rounded: 1000px;
|
113
|
+
|
114
|
+
// We use this for default spacing
|
115
|
+
// $global-padding: 1rem;
|
116
|
+
// $global-spacing: rem-calc(15);
|
117
|
+
|
118
|
+
// 3. Breakpoints
|
119
|
+
// - - - - - - - - - - - - - - -
|
120
|
+
|
121
|
+
// These are our named breakpoints. You can use them in our breakpoint function like this: @include breakpoint(medium) { // Medium and larger styles }
|
122
|
+
// $breakpoints: (
|
123
|
+
// small: rem-calc(0),
|
124
|
+
// medium: rem-calc(640),
|
125
|
+
// large: rem-calc(1200),
|
126
|
+
// xlarge: rem-calc(1440),
|
127
|
+
// xxlarge: rem-calc(1920),
|
128
|
+
// );
|
129
|
+
|
130
|
+
// All of the names in this list will be output as classes in your CSS, like small-12, medium-6, and so on.
|
131
|
+
// $breakpoint-classes: (small medium large);
|
132
|
+
|
133
|
+
// 4. Typography
|
134
|
+
// - - - - - - - - - - - - - - -
|
135
|
+
|
136
|
+
// We use these to control header font styles
|
137
|
+
// $header-font-family: $body-font-family;
|
138
|
+
// $header-font-weight: $font-weight-normal;
|
139
|
+
// $header-font-style: $font-weight-normal;
|
140
|
+
// $header-font-color: #222;
|
141
|
+
// $header-line-height: 1.4;
|
142
|
+
// $header-top-margin: .2rem;
|
143
|
+
// $header-bottom-margin: .5rem;
|
144
|
+
// $header-text-rendering: optimizeLegibility;
|
145
|
+
|
146
|
+
// We use these to control header font sizes
|
147
|
+
// $h1-font-size: rem-calc(44);
|
148
|
+
// $h2-font-size: rem-calc(37);
|
149
|
+
// $h3-font-size: rem-calc(27);
|
150
|
+
// $h4-font-size: rem-calc(23);
|
151
|
+
// $h5-font-size: rem-calc(18);
|
152
|
+
// $h6-font-size: 1rem;
|
153
|
+
|
154
|
+
// We use these to control header size reduction on small screens
|
155
|
+
// $h1-font-reduction: rem-calc(10);
|
156
|
+
// $h2-font-reduction: rem-calc(10);
|
157
|
+
// $h3-font-reduction: rem-calc(5);
|
158
|
+
// $h4-font-reduction: rem-calc(5);
|
159
|
+
// $h5-font-reduction: 0;
|
160
|
+
// $h6-font-reduction: 0;
|
161
|
+
|
162
|
+
// These control how subheaders are styled.
|
163
|
+
// $subheader-line-height: 1.4;
|
164
|
+
// $subheader-font-color: scale-color($header-font-color, $lightness: 35%);
|
165
|
+
// $subheader-font-weight: $font-weight-normal;
|
166
|
+
// $subheader-top-margin: .2rem;
|
167
|
+
// $subheader-bottom-margin: .5rem;
|
168
|
+
|
169
|
+
// A general <small> styling
|
170
|
+
// $small-font-size: 60%;
|
171
|
+
// $small-font-color: scale-color($header-font-color, $lightness: 35%);
|
172
|
+
|
173
|
+
// We use these to style paragraphs
|
174
|
+
// $paragraph-font-family: inherit;
|
175
|
+
// $paragraph-font-weight: $font-weight-normal;
|
176
|
+
// $paragraph-font-size: 1rem;
|
177
|
+
// $paragraph-line-height: 1.6;
|
178
|
+
// $paragraph-margin-bottom: rem-calc(20);
|
179
|
+
// $paragraph-aside-font-size: rem-calc(14);
|
180
|
+
// $paragraph-aside-line-height: 1.35;
|
181
|
+
// $paragraph-aside-font-style: italic;
|
182
|
+
// $paragraph-text-rendering: optimizeLegibility;
|
183
|
+
|
184
|
+
// We use these to style <code> tags
|
185
|
+
// $code-color: grayscale($primary-color);
|
186
|
+
// $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
|
187
|
+
// $code-font-weight: $font-weight-normal;
|
188
|
+
// $code-background-color: scale-color($secondary-color, $lightness: 70%);
|
189
|
+
// $code-border-size: 1px;
|
190
|
+
// $code-border-style: solid;
|
191
|
+
// $code-border-color: scale-color($code-background-color, $lightness: -10%);
|
192
|
+
// $code-padding: rem-calc(2) rem-calc(5) rem-calc(1);
|
193
|
+
|
194
|
+
// We use these to style anchors
|
195
|
+
// $anchor-text-decoration: none;
|
196
|
+
// $anchor-text-decoration-hover: none;
|
197
|
+
// $anchor-font-color: $primary-color;
|
198
|
+
// $anchor-font-color-hover: scale-color($anchor-font-color, $lightness: -14%);
|
199
|
+
|
200
|
+
// We use these to style the <hr> element
|
201
|
+
// $hr-border-width: 1px;
|
202
|
+
// $hr-border-style: solid;
|
203
|
+
// $hr-border-color: #ddd;
|
204
|
+
// $hr-margin: rem-calc(20);
|
205
|
+
|
206
|
+
// We use these to style lists
|
207
|
+
// $list-font-family: $paragraph-font-family;
|
208
|
+
// $list-font-size: $paragraph-font-size;
|
209
|
+
// $list-line-height: $paragraph-line-height;
|
210
|
+
// $list-margin-bottom: $paragraph-margin-bottom;
|
211
|
+
// $list-style-position: outside;
|
212
|
+
// $list-side-margin: 1.1rem;
|
213
|
+
// $list-ordered-side-margin: 1.4rem;
|
214
|
+
// $list-side-margin-no-bullet: 0;
|
215
|
+
// $list-nested-margin: rem-calc(20);
|
216
|
+
// $definition-list-header-weight: $font-weight-bold;
|
217
|
+
// $definition-list-header-margin-bottom: .3rem;
|
218
|
+
// $definition-list-margin-bottom: rem-calc(12);
|
219
|
+
|
220
|
+
// We use these to style blockquotes
|
221
|
+
// $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
|
222
|
+
// $blockquote-padding: rem-calc(9 20 0 19);
|
223
|
+
// $blockquote-border: 1px solid #ddd;
|
224
|
+
// $blockquote-cite-font-size: rem-calc(13);
|
225
|
+
// $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
|
226
|
+
// $blockquote-cite-link-color: $blockquote-cite-font-color;
|
227
|
+
|
228
|
+
// Acronym styles
|
229
|
+
// $acronym-underline: 1px dotted #ddd;
|
230
|
+
|
231
|
+
// 5. Grid
|
232
|
+
// - - - - - - - - - - - - - - -
|
233
|
+
|
234
|
+
// $container-width: rem-calc(900);
|
235
|
+
// $block-padding: $global-padding;
|
236
|
+
// $total-columns: 12;
|
237
|
+
// $block-grid-max-size: 6;
|
238
|
+
|
239
|
+
// 6. Button
|
240
|
+
// - - - - - - - - - - - - - - -
|
241
|
+
|
242
|
+
// $button-padding: 0.85em 1em;
|
243
|
+
// $button-margin: 0 $global-padding $global-padding 0;
|
244
|
+
// $button-style: solid;
|
245
|
+
// $button-background: $primary-color;
|
246
|
+
// $button-background-hover: scale-color($button-background, $lightness: -15%);
|
247
|
+
// $button-color: auto;
|
248
|
+
// $button-radius: 0;
|
249
|
+
// $button-sizes: (
|
250
|
+
// tiny: 0.7,
|
251
|
+
// small: 0.8,
|
252
|
+
// medium: 1,
|
253
|
+
// large: 1.3,
|
254
|
+
// );
|
255
|
+
// $button-font-size: 0.9rem;
|
256
|
+
// $button-opacity-disabled: 0.5;
|
257
|
+
// $button-tag-selector: false;
|
258
|
+
|
259
|
+
// 7. Accordion
|
260
|
+
// - - - - - - - - - - - - - - -
|
261
|
+
|
262
|
+
// $accordion-border: 1px solid $gray-dark;
|
263
|
+
|
264
|
+
// $accordion-title-background: $gray-light;
|
265
|
+
// $accordion-title-background-hover: smartscale($accordion-title-background, 5%);
|
266
|
+
// $accordion-title-background-active: smartscale($accordion-title-background, 3%);
|
267
|
+
// $accordion-title-color: isitlight($accordion-title-background);
|
268
|
+
// $accordion-title-color-active: isitlight($accordion-title-background);
|
269
|
+
|
270
|
+
// $accordion-title-padding: $global-padding;
|
271
|
+
// $accordion-content-padding: $global-padding;
|
272
|
+
|
273
|
+
// 8. Action Sheet
|
274
|
+
// - - - - - - - - - - - - - - -
|
275
|
+
|
276
|
+
// $actionsheet-background: white;
|
277
|
+
// $actionsheet-border-color: #ccc;
|
278
|
+
// $actionsheet-animate: transform opacity;
|
279
|
+
// $actionsheet-animation-speed: 0.25s;
|
280
|
+
// $actionsheet-width: 300px;
|
281
|
+
// $actionsheet-radius: 4px;
|
282
|
+
// $actionsheet-shadow: 0 -3px 10px rgba(black, 0.25);
|
283
|
+
// $actionsheet-padding: $global-padding;
|
284
|
+
// $actionsheet-tail-size: 10px;
|
285
|
+
|
286
|
+
// $actionsheet-popup-shadow: 0 0 10px rgba(black, 0.25);
|
287
|
+
|
288
|
+
// $actionsheet-link-color: #000;
|
289
|
+
// $actionsheet-link-background-hover: smartscale($actionsheet-background);
|
290
|
+
|
291
|
+
// 9. Block List
|
292
|
+
// - - - - - - - - - - - - - - -
|
293
|
+
|
294
|
+
// $blocklist-background: #fff;
|
295
|
+
// $blocklist-fullbleed: true;
|
296
|
+
// $blocklist-fontsize: 1rem;
|
297
|
+
|
298
|
+
// $blocklist-item-padding: 0.8rem 1rem;
|
299
|
+
// $blocklist-item-color: isitlight($blocklist-background, #000, #fff);
|
300
|
+
// $blocklist-item-background-hover: smartscale($blocklist-background, 4.5%);
|
301
|
+
// $blocklist-item-color-disabled: #999;
|
302
|
+
// $blocklist-item-border: 1px solid smartscale($blocklist-background, 18.5%);
|
303
|
+
|
304
|
+
// $blocklist-item-label-color: scale-color($blocklist-item-color, $lightness: 60%);
|
305
|
+
// $blocklist-item-icon-size: 0.8;
|
306
|
+
|
307
|
+
// $blocklist-header-fontsize: 0.8em;
|
308
|
+
// $blocklist-header-color: smartscale($blocklist-item-color, 40%);
|
309
|
+
// $blocklist-header-uppercase: true;
|
310
|
+
|
311
|
+
// $blocklist-check-icons: true;
|
312
|
+
|
313
|
+
// 10. Button Group
|
314
|
+
// - - - - - - - - - - - - - - -
|
315
|
+
|
316
|
+
// $btngroup-background: $primary-color;
|
317
|
+
// $btngroup-color: #fff;
|
318
|
+
// $btngroup-radius: $button-radius;
|
319
|
+
|
320
|
+
// 11. Card
|
321
|
+
// - - - - - - - - - - - - - - -
|
322
|
+
|
323
|
+
// $card-background: #fff;
|
324
|
+
// $card-color: isitlight($card-background);
|
325
|
+
// $card-border: 1px solid smartscale($card-background, 7%);
|
326
|
+
// $card-radius: $global-radius;
|
327
|
+
// $card-shadow: 0 1px 2px rgba(#000, 0.2);
|
328
|
+
// $card-padding: $global-padding;
|
329
|
+
// $card-margin: 0.5rem;
|
330
|
+
|
331
|
+
// $card-divider-background: smartscale($card-background, 7%);
|
332
|
+
|
333
|
+
// 12. Extras
|
334
|
+
// - - - - - - - - - - - - - - -
|
335
|
+
|
336
|
+
// $closebutton-position: (top right);
|
337
|
+
// $closebutton-size: 2em;
|
338
|
+
// $closebutton-lineheight: 0.5;
|
339
|
+
// $closebutton-color: #999;
|
340
|
+
// $closebutton-color-hover: #333;
|
341
|
+
|
342
|
+
// $thumbnail-padding: 0.5rem;
|
343
|
+
// $thumbnail-shadow: 0 3px 15px rgba(black, 0.25);
|
344
|
+
|
345
|
+
// 13. Forms
|
346
|
+
// - - - - - - - - - - - - - - -
|
347
|
+
|
348
|
+
// Basic form variables
|
349
|
+
// $form-fontsize: 1rem;
|
350
|
+
// $form-padding: 0.5rem;
|
351
|
+
|
352
|
+
// Text fields
|
353
|
+
// $input-color: #000;
|
354
|
+
// $input-color-hover: $input-color;
|
355
|
+
// $input-color-focus: $input-color;
|
356
|
+
// $input-background: #fff;
|
357
|
+
// $input-background-hover: $input-background;
|
358
|
+
// $input-background-focus: $input-background;
|
359
|
+
// $input-background-disabled: smartscale($input-background);
|
360
|
+
// $input-border: 1px solid #ccc;
|
361
|
+
// $input-border-hover: 1px solid #bbb;
|
362
|
+
// $input-border-focus: 1px solid #999;
|
363
|
+
// $input-cursor-disabled: not-allowed;
|
364
|
+
|
365
|
+
// Select menus
|
366
|
+
// $select-color: #000;
|
367
|
+
// $select-background: #fafafa;
|
368
|
+
// $select-background-hover: smartscale($select-background, 4%);
|
369
|
+
// $select-arrow: true;
|
370
|
+
// $select-arrow-color: $select-color;
|
371
|
+
|
372
|
+
// Labels
|
373
|
+
// $form-label-fontsize: 0.9rem;
|
374
|
+
// $form-label-margin: 0.5rem;
|
375
|
+
// $form-label-color: #333;
|
376
|
+
|
377
|
+
// Inline labels
|
378
|
+
// $inlinelabel-color: #333;
|
379
|
+
// $inlinelabel-background: #eee;
|
380
|
+
// $inlinelabel-border: $input-border;
|
381
|
+
|
382
|
+
// Range slider
|
383
|
+
// $slider-background: #ddd;
|
384
|
+
// $slider-height: 1rem;
|
385
|
+
// $slider-radius: 0px;
|
386
|
+
// $slider-thumb-height: 1.5rem;
|
387
|
+
// $slider-thumb-color: $primary-color;
|
388
|
+
// $slider-thumb-radius: 0px;
|
389
|
+
|
390
|
+
// Progress and meter
|
391
|
+
// $meter-height: 1.5rem;
|
392
|
+
// $meter-background: #ccc;
|
393
|
+
// $meter-fill: $primary-color;
|
394
|
+
// $meter-fill-high: $success-color;
|
395
|
+
// $meter-fill-medium: #e7cf00;
|
396
|
+
// $meter-fill-low: $alert-color;
|
397
|
+
// $meter-radius: 0;
|
398
|
+
|
399
|
+
// 14. Iconic
|
400
|
+
// - - - - - - - - - - - - - - -
|
401
|
+
|
402
|
+
// $iconic-primary-fill: $primary-color;
|
403
|
+
// $iconic-primary-stroke: $primary-color;
|
404
|
+
// $iconic-accent-fill: $iconic-primary-fill;
|
405
|
+
// $iconic-accent-stroke: $iconic-accent-fill;
|
406
|
+
|
407
|
+
// 15. Label
|
408
|
+
// - - - - - - - - - - - - - - -
|
409
|
+
|
410
|
+
// $label-fontsize: 0.8rem;
|
411
|
+
// $label-padding: ($global-padding / 3) ($global-padding / 2);
|
412
|
+
// $label-radius: 0;
|
413
|
+
// $label-background: $primary-color;
|
414
|
+
// $label-color: isitlight($primary-color);
|
415
|
+
|
416
|
+
// $badge-fontsize: 0.8em;
|
417
|
+
// $badge-diameter: 1.5rem;
|
418
|
+
// $badge-background: $primary-color;
|
419
|
+
// $badge-color: #fff;
|
420
|
+
|
421
|
+
// 16. Menu Bar
|
422
|
+
// - - - - - - - - - - - - - - -
|
423
|
+
|
424
|
+
// $menubar-fontsize: 1rem;
|
425
|
+
// $menubar-background: #fff;
|
426
|
+
// $menubar-background-hover: smartscale($menubar-background, 7%);
|
427
|
+
// $menubar-background-active: $menubar-background-hover;
|
428
|
+
// $menubar-color: isitlight($menubar-background);
|
429
|
+
// $menubar-color-hover: $menubar-color;
|
430
|
+
// $menubar-color-active: $menubar-color-hover;
|
431
|
+
|
432
|
+
// $menubar-item-padding: $global-padding;
|
433
|
+
// $menubar-icon-size: 25px;
|
434
|
+
// $menubar-icon-spacing: $menubar-item-padding;
|
435
|
+
|
436
|
+
// 17. Modal
|
437
|
+
// - - - - - - - - - - - - - - -
|
438
|
+
|
439
|
+
// $modal-background: #fff;
|
440
|
+
// $modal-border: 0;
|
441
|
+
// $modal-radius: 0px;
|
442
|
+
// $modal-shadow: none;
|
443
|
+
// $modal-zindex: 1000;
|
444
|
+
// $modal-sizes: (
|
445
|
+
// tiny: 300px,
|
446
|
+
// small: 500px,
|
447
|
+
// medium: 600px,
|
448
|
+
// large: 800px,
|
449
|
+
// );
|
450
|
+
|
451
|
+
// $modal-overlay-class: 'modal-overlay';
|
452
|
+
// $modal-overlay-background: rgba(#333, 0.7);
|
453
|
+
|
454
|
+
// 18. Motion UI
|
455
|
+
// - - - - - - - - - - - - - - -
|
456
|
+
|
457
|
+
// Classes to use when triggering in/out animations
|
458
|
+
// $motion-class: (
|
459
|
+
// in: "ng-enter",
|
460
|
+
// out: "ng-leave",
|
461
|
+
// );
|
462
|
+
// $motion-class-active: (
|
463
|
+
// in: "ng-enter-active",
|
464
|
+
// out: "ng-leave-active",
|
465
|
+
// );
|
466
|
+
// $motion-class-stagger: (
|
467
|
+
// in: "ng-enter-stagger",
|
468
|
+
// out: "ng-leave-stagger",
|
469
|
+
// );
|
470
|
+
// $motion-class-showhide: (
|
471
|
+
// in: "ng-hide-remove",
|
472
|
+
// out: "ng-hide-add",
|
473
|
+
// );
|
474
|
+
// $motion-class-showhide-active: (
|
475
|
+
// in: "ng-hide-remove-active",
|
476
|
+
// out: "ng-hide-add-active",
|
477
|
+
// );
|
478
|
+
|
479
|
+
// Set if movement-based transitions should also fade the element in and out
|
480
|
+
// $motion-slide-and-fade: false;
|
481
|
+
// $motion-hinge-and-fade: true;
|
482
|
+
// $motion-scale-and-fade: true;
|
483
|
+
// $motion-spin-and-fade: true;
|
484
|
+
|
485
|
+
// Default speed for transitions and animations
|
486
|
+
// $motion-duration-default: 500ms;
|
487
|
+
|
488
|
+
// Slow and fast modifiders
|
489
|
+
// $motion-duration-slow: 750ms;
|
490
|
+
// $motion-duration-fast: 250ms;
|
491
|
+
// $motion-stagger-duration-default: 150ms;
|
492
|
+
// $motion-stagger-duration-short: 50ms;
|
493
|
+
// $motion-stagger-duration-long: 300ms;
|
494
|
+
|
495
|
+
// Default timing function for transitions and animations
|
496
|
+
// $motion-timing-default: ease;
|
497
|
+
|
498
|
+
// Built-in and custom easing functions
|
499
|
+
// Every item in this map becomes a CSS class
|
500
|
+
// $motion-timings: (
|
501
|
+
// linear: linear,
|
502
|
+
// ease: ease,
|
503
|
+
// easeIn: ease-in,
|
504
|
+
// easeOut: ease-out,
|
505
|
+
// easeInOut: ease-in-out,
|
506
|
+
// bounceIn: cubic-bezier(0.485, 0.155, 0.240, 1.245),
|
507
|
+
// bounceOut: cubic-bezier(0.485, 0.155, 0.515, 0.845),
|
508
|
+
// bounceInOut: cubic-bezier(0.760, -0.245, 0.240, 1.245),
|
509
|
+
// );
|
510
|
+
|
511
|
+
// Default delay for all transitions and animations
|
512
|
+
// $motion-delay-default: 0;
|
513
|
+
// Short and long delay modifiers
|
514
|
+
// $motion-delay-short: 300ms;
|
515
|
+
// $motion-delay-long: 700ms;
|
516
|
+
|
517
|
+
// 19. Notification
|
518
|
+
// - - - - - - - - - - - - - - -
|
519
|
+
|
520
|
+
// $notification-default-position: right top;
|
521
|
+
// $notification-width: rem-calc(400);
|
522
|
+
// $notification-offset: $global-padding;
|
523
|
+
|
524
|
+
// $notification-background: $primary-color;
|
525
|
+
// $notification-color: white;
|
526
|
+
// $notification-padding: $global-padding;
|
527
|
+
// $notification-radius: 4px;
|
528
|
+
|
529
|
+
// $notification-icon-size: 60px;
|
530
|
+
// $notification-icon-margin: $global-padding;
|
531
|
+
// $notification-icon-align: top;
|
532
|
+
|
533
|
+
|
534
|
+
// 20. Off-canvas
|
535
|
+
// - - - - - - - - - - - - - - -
|
536
|
+
|
537
|
+
// $offcanvas-size-horizontal: 250px;
|
538
|
+
// $offcanvas-size-vertical: 250px;
|
539
|
+
|
540
|
+
// $offcanvas-background: #fff;
|
541
|
+
// $offcanvas-color: isitlight($offcanvas-background);
|
542
|
+
// $offcanvas-padding: 0;
|
543
|
+
// $offcanvas-shadow: 3px 0 10px rgba(black, 0.25);
|
544
|
+
// $offcanvas-animation-speed: 0.25s;
|
545
|
+
|
546
|
+
// $offcanvas-frame-selector: '.grid-frame';
|
547
|
+
|
548
|
+
// 21. Panel
|
549
|
+
// - - - - - - - - - - - - - - -
|
550
|
+
|
551
|
+
// $panel-size-horizontal: 300px;
|
552
|
+
// $panel-size-vertical: 300px;
|
553
|
+
// $panel-padding: 0;
|
554
|
+
|
555
|
+
// $panel-background: #fff;
|
556
|
+
// $panel-shadow: 3px 0 10px rgba(black, 0.25);
|
557
|
+
|
558
|
+
// DEPRECATED: these variables will be removed in a future version.
|
559
|
+
// $panel-animation-speed: 0.25s;
|
560
|
+
|
561
|
+
// 22. Popup
|
562
|
+
// - - - - - - - - - - - - - - -
|
563
|
+
|
564
|
+
// $popup-width: rem-calc(300);
|
565
|
+
// $popup-background: #fff;
|
566
|
+
// $popup-border: 0;
|
567
|
+
// $popup-radius: 0;
|
568
|
+
// $popup-shadow: 0 0 10px rgba(#000, 0.25);
|
569
|
+
|
570
|
+
// 23. Switch
|
571
|
+
// - - - - - - - - - - - - - - -
|
572
|
+
|
573
|
+
// $switch-width: rem-calc(50);
|
574
|
+
// $switch-height: rem-calc(32);
|
575
|
+
// $switch-background: #ccc;
|
576
|
+
// $switch-background-active: $primary-color;
|
577
|
+
// $switch-border: 0;
|
578
|
+
// $switch-radius: 9999px;
|
579
|
+
// $switch-animation-speed: 0.15s;
|
580
|
+
|
581
|
+
// $switch-paddle-color: white;
|
582
|
+
// $switch-paddle-offset: 4px;
|
583
|
+
|
584
|
+
// 24. Tabs
|
585
|
+
// - - - - - - - - - - - - - - -
|
586
|
+
|
587
|
+
// $tabstrip-background: transparent;
|
588
|
+
|
589
|
+
// $tab-title-background: $gray-light;
|
590
|
+
// $tab-title-background-hover: smartscale($tab-title-background, 5%);
|
591
|
+
// $tab-title-background-active: smartscale($tab-title-background, 3%);
|
592
|
+
// $tab-title-color: isitlight($tab-title-background);
|
593
|
+
// $tab-title-color-active: $tab-title-color;
|
594
|
+
|
595
|
+
// $tab-title-padding: $global-padding;
|
596
|
+
// $tab-content-padding: $global-padding;
|
597
|
+
|
598
|
+
// 25. Title Bar
|
599
|
+
// - - - - - - - - - - - - - - -
|
600
|
+
|
601
|
+
// $titlebar-center-width: 50%;
|
602
|
+
// $titlebar-side-width: (100% - $titlebar-center-width) / 2;
|
603
|
+
// $titlebar-background: #eee;
|
604
|
+
// $titlebar-color: #000;
|
605
|
+
// $titlebar-border: 1px solid #ccc;
|
606
|
+
// $titlebar-padding: $global-padding;
|
607
|
+
// $titlebar-item-classes: (
|
608
|
+
// center: 'center',
|
609
|
+
// left: 'left',
|
610
|
+
// right: 'right',
|
611
|
+
// title: 'title',
|
612
|
+
// );
|