undercase 0.2.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +70 -0
- data/Rakefile +21 -0
- data/app/assets/fonts/FontAwesome/FontAwesome.otf +0 -0
- data/app/assets/fonts/FontAwesome/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/FontAwesome/fontawesome-webfont.svg +414 -0
- data/app/assets/fonts/FontAwesome/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/FontAwesome/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.svg +914 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-black-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.svg +812 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-blackit-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.svg +955 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-bold-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.svg +831 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-boldit-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.svg +905 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralight-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.svg +828 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-extralightit-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.svg +843 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-it-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +904 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.svg +830 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-lightit-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +978 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.svg +968 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semibold-webfont.woff +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.eot +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.svg +838 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.ttf +0 -0
- data/app/assets/fonts/Source-Sans-Pro/sourcesanspro-semiboldit-webfont.woff +0 -0
- data/app/assets/fonts/Undercase-Icons/Undercase-Icons.eot +0 -0
- data/app/assets/fonts/Undercase-Icons/Undercase-Icons.svg +72 -0
- data/app/assets/fonts/Undercase-Icons/Undercase-Icons.ttf +0 -0
- data/app/assets/fonts/Undercase-Icons/Undercase-Icons.woff +0 -0
- data/app/assets/images/avatar_male_small.png +0 -0
- data/app/assets/images/backgrounds/checkerboard_tile.png +0 -0
- data/app/assets/images/icons/calendar_datepicker.svg +18 -0
- data/app/assets/images/icons/checkbox-selected.svg +17 -0
- data/app/assets/images/icons/checkbox-unselected.svg +12 -0
- data/app/assets/images/icons/double-arrow-left.svg +13 -0
- data/app/assets/images/icons/double-arrow-right.svg +13 -0
- data/app/assets/images/icons/focus-child.svg +14 -0
- data/app/assets/images/icons/master-profile.svg +11 -0
- data/app/assets/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/ui-bg_flat_100_b8b8b8_40x100.png +0 -0
- data/app/assets/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/app/assets/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
- data/app/assets/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/images/ui-icons_ef8c08_256x240.png +0 -0
- data/app/assets/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/images/undercase/undercase_gem_logo.png +0 -0
- data/app/assets/javascripts/undercase/index.js +19 -0
- data/app/assets/javascripts/undercase/lib/BreakpointTell.js +9 -0
- data/app/assets/javascripts/undercase/lib/timezone.js +28 -0
- data/app/assets/javascripts/undercase/patterns/Filter.js +75 -0
- data/app/assets/javascripts/undercase/patterns/FlexibleSearchMenu.js +64 -0
- data/app/assets/javascripts/undercase/patterns/ToggleNavigationSearch.js +60 -0
- data/app/assets/javascripts/undercase/patterns/datepicker.js +36 -0
- data/app/assets/javascripts/undercase/patterns/expando.js +39 -0
- data/app/assets/javascripts/undercase/patterns/modal.js +60 -0
- data/app/assets/javascripts/undercase/patterns/tabs.js +26 -0
- data/app/assets/javascripts/undercase/patterns/timepicker.js +5 -0
- data/app/assets/javascripts/undercase/popover.js +26 -0
- data/app/assets/javascripts/undercase/presenter.js +55 -0
- data/app/assets/javascripts/undercase/show_code.js +35 -0
- data/app/assets/javascripts/undercase/vendor/date.js +879 -0
- data/app/assets/javascripts/undercase/vendor/jquery-extensions/jquery.calendrical.js +517 -0
- data/app/assets/javascripts/undercase/vendor/jquery-ui-1.10.3.js +14972 -0
- data/app/assets/javascripts/undercase/vendor/modernizr.custom.14960.js +764 -0
- data/app/assets/javascripts/undercase/vendor/underscore.js +1189 -0
- data/app/assets/stylesheets/undercase/libraries/_all.scss +38 -0
- data/app/assets/stylesheets/undercase/libraries/_borders.scss +20 -0
- data/app/assets/stylesheets/undercase/libraries/_colors.scss +41 -0
- data/app/assets/stylesheets/undercase/libraries/_constants.scss +76 -0
- data/app/assets/stylesheets/undercase/libraries/_groundwork_settings.scss +351 -0
- data/app/assets/stylesheets/undercase/libraries/_icon_codes.scss +369 -0
- data/app/assets/stylesheets/undercase/libraries/_mixins.scss +49 -0
- data/app/assets/stylesheets/undercase/libraries/mixins/_button.scss +124 -0
- data/app/assets/stylesheets/undercase/libraries/mixins/_forms.scss +33 -0
- data/app/assets/stylesheets/undercase/libraries/mixins/_layout.scss +23 -0
- data/app/assets/stylesheets/undercase/libraries/mixins/_typography.scss +99 -0
- data/app/assets/stylesheets/undercase/patterns/_all.scss +32 -0
- data/app/assets/stylesheets/undercase/patterns/_borders.scss +89 -0
- data/app/assets/stylesheets/undercase/patterns/_box_helpers.scss +39 -0
- data/app/assets/stylesheets/undercase/patterns/_buttons.scss +110 -0
- data/app/assets/stylesheets/undercase/patterns/_cards.scss +36 -0
- data/app/assets/stylesheets/undercase/patterns/_chevrons.scss +98 -0
- data/app/assets/stylesheets/undercase/patterns/_colors.scss +34 -0
- data/app/assets/stylesheets/undercase/patterns/_content_with_toolbar.scss +23 -0
- data/app/assets/stylesheets/undercase/patterns/_dropdowns.scss +49 -0
- data/app/assets/stylesheets/undercase/patterns/_filters.scss +121 -0
- data/app/assets/stylesheets/undercase/patterns/_font_faces.scss +32 -0
- data/app/assets/stylesheets/undercase/patterns/_forms.scss +617 -0
- data/app/assets/stylesheets/undercase/patterns/_horizontal_rules.scss +5 -0
- data/app/assets/stylesheets/undercase/patterns/_icons.scss +4 -0
- data/app/assets/stylesheets/undercase/patterns/_inline_message.scss +36 -0
- data/app/assets/stylesheets/undercase/patterns/_layout.scss +57 -0
- data/app/assets/stylesheets/undercase/patterns/_length_of_time.scss +10 -0
- data/app/assets/stylesheets/undercase/patterns/_links.scss +96 -0
- data/app/assets/stylesheets/undercase/patterns/_lists.scss +84 -0
- data/app/assets/stylesheets/undercase/patterns/_media.scss +15 -0
- data/app/assets/stylesheets/undercase/patterns/_modals.scss +114 -0
- data/app/assets/stylesheets/undercase/patterns/_navigation.scss +224 -0
- data/app/assets/stylesheets/undercase/patterns/_pagination.scss +33 -0
- data/app/assets/stylesheets/undercase/patterns/_person_placard.scss +52 -0
- data/app/assets/stylesheets/undercase/patterns/_popovers.scss +12 -0
- data/app/assets/stylesheets/undercase/patterns/_quiz.scss +67 -0
- data/app/assets/stylesheets/undercase/patterns/_site.scss +95 -0
- data/app/assets/stylesheets/undercase/patterns/_spinners.scss +23 -0
- data/app/assets/stylesheets/undercase/patterns/_tables.scss +111 -0
- data/app/assets/stylesheets/undercase/patterns/_tabs.scss +56 -0
- data/app/assets/stylesheets/undercase/patterns/_typography.scss +231 -0
- data/app/assets/stylesheets/undercase/patterns/undercase_icons/glyphs.scss +28 -0
- data/app/assets/stylesheets/undercase/patterns_new_front_end/_all.scss +6 -0
- data/app/assets/stylesheets/undercase/patterns_new_front_end/_cards.scss +248 -0
- data/app/assets/stylesheets/undercase/patterns_new_front_end/_links.scss +10 -0
- data/app/assets/stylesheets/undercase/patterns_new_front_end/_warnings.scss +32 -0
- data/app/assets/stylesheets/undercase/vendor_static/_all.scss +12 -0
- data/app/assets/stylesheets/undercase/vendor_static/_calendrical.scss +105 -0
- data/app/assets/stylesheets/undercase/vendor_static/_icons.scss +422 -0
- data/app/assets/stylesheets/undercase/vendor_static/_jquery-ui-1.8.13.custom.scss +615 -0
- data/app/assets/stylesheets/undercase_frame/_dummy_site.scss +307 -0
- data/app/assets/stylesheets/undercase_frame/vendor/coderay.css +118 -0
- data/app/assets/stylesheets/undercase_frame_application.css.scss +18 -0
- data/app/assets/stylesheets/undercase_frame_vendor_static.scss +4 -0
- data/app/controllers/undercase/application_controller.rb +4 -0
- data/app/controllers/undercase/patterns_controller.rb +13 -0
- data/app/helpers/undercase/application_helper.rb +86 -0
- data/app/helpers/undercase/pattern_helper.rb +7 -0
- data/app/inputs/currency_input.rb +20 -0
- data/app/inputs/date_picker_input.rb +77 -0
- data/app/inputs/date_time_picker_input.rb +141 -0
- data/app/inputs/radio_as_accessible_input.rb +33 -0
- data/app/inputs/radio_with_clear_input.rb +41 -0
- data/app/models/dummy_form_object.rb +24 -0
- data/app/views/layouts/undercase/application.html.haml +49 -0
- data/app/views/undercase/patterns/_blue_dotted_link_caps.html.haml +2 -0
- data/app/views/undercase/patterns/_blue_link.html.haml +2 -0
- data/app/views/undercase/patterns/_blue_link_clean.html.haml +2 -0
- data/app/views/undercase/patterns/_cc_button_auto.html.haml +8 -0
- data/app/views/undercase/patterns/_cc_button_flat_blue.html.haml +2 -0
- data/app/views/undercase/patterns/_cc_button_flat_gray.html.haml +7 -0
- data/app/views/undercase/patterns/_cc_button_flat_gray_split.html.haml +4 -0
- data/app/views/undercase/patterns/_cc_button_flat_green.html.haml +2 -0
- data/app/views/undercase/patterns/_cc_button_gray.html.haml +1 -0
- data/app/views/undercase/patterns/_cc_button_icon.html.haml +2 -0
- data/app/views/undercase/patterns/_cc_button_wire_auto.html.haml +8 -0
- data/app/views/undercase/patterns/_cc_link_smartbar.html.haml +2 -0
- data/app/views/undercase/patterns/_chevrons.html.haml +38 -0
- data/app/views/undercase/patterns/_colors.html.haml +12 -0
- data/app/views/undercase/patterns/_content_with_toolbar.html.haml +6 -0
- data/app/views/undercase/patterns/_dropdown.html.haml +21 -0
- data/app/views/undercase/patterns/_filters.html.haml +210 -0
- data/app/views/undercase/patterns/_filters_show_only.html.haml +77 -0
- data/app/views/undercase/patterns/_gray_link.html.haml +2 -0
- data/app/views/undercase/patterns/_grid.html.haml +0 -0
- data/app/views/undercase/patterns/_icon_classes.html.haml +8 -0
- data/app/views/undercase/patterns/_icon_custom.html.haml +12 -0
- data/app/views/undercase/patterns/_inline_message.html.haml +5 -0
- data/app/views/undercase/patterns/_length_of_time.html.haml +12 -0
- data/app/views/undercase/patterns/_list_circle.html.haml +4 -0
- data/app/views/undercase/patterns/_list_disc.html.haml +4 -0
- data/app/views/undercase/patterns/_navigation.html.haml +40 -0
- data/app/views/undercase/patterns/_pagination.html.haml +17 -0
- data/app/views/undercase/patterns/_pattern.html.haml +27 -0
- data/app/views/undercase/patterns/_person_placard.html.haml +103 -0
- data/app/views/undercase/patterns/_popover.html.haml +9 -0
- data/app/views/undercase/patterns/_tables_mobile.html.haml +23 -0
- data/app/views/undercase/patterns/_tables_not_desktop.html.haml +21 -0
- data/app/views/undercase/patterns/_tables_small_mobile.html.haml +23 -0
- data/app/views/undercase/patterns/_tables_small_tablet.html.haml +25 -0
- data/app/views/undercase/patterns/_typography.html.haml +16 -0
- data/app/views/undercase/patterns/_typography_body_em.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_body_p.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_body_strong.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_body_thin.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_body_underline.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_body_uppercase.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_heading_1.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_heading_2.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_heading_3.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_heading_4.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_heading_thin.html.haml +1 -0
- data/app/views/undercase/patterns/_typography_links_general.html.haml +2 -0
- data/app/views/undercase/patterns/_typography_links_navigation.html.haml +2 -0
- data/app/views/undercase/patterns/_typography_links_page_banner.html.haml +2 -0
- data/app/views/undercase/patterns/_uc_borders_blue.html.haml +2 -0
- data/app/views/undercase/patterns/_uc_borders_gray.html.haml +2 -0
- data/app/views/undercase/patterns/_uc_borders_hover_blue.html.haml +3 -0
- data/app/views/undercase/patterns/_uc_borders_left.html.haml +4 -0
- data/app/views/undercase/patterns/_uc_borders_lighter_gray.html.haml +3 -0
- data/app/views/undercase/patterns/_uc_borders_middle_blue_2.html.haml +1 -0
- data/app/views/undercase/patterns/_uc_borders_middle_gray.html.haml +2 -0
- data/app/views/undercase/patterns/_uc_borders_yellow.html.haml +1 -0
- data/app/views/undercase/patterns/_uc_card.html.haml +40 -0
- data/app/views/undercase/patterns/_uc_dialog_loading.html.haml +2 -0
- data/app/views/undercase/patterns/_uc_errors.html.haml +1 -0
- data/app/views/undercase/patterns/_uc_forms_check_boxes.html.haml +7 -0
- data/app/views/undercase/patterns/_uc_forms_check_boxes_boolean.html.haml +20 -0
- data/app/views/undercase/patterns/_uc_forms_checkbutton.html.haml +14 -0
- data/app/views/undercase/patterns/_uc_forms_conditionally_required.html.haml +19 -0
- data/app/views/undercase/patterns/_uc_forms_currency_input.html.haml +7 -0
- data/app/views/undercase/patterns/_uc_forms_date_picker.html.haml +9 -0
- data/app/views/undercase/patterns/_uc_forms_date_time_picker.html.haml +9 -0
- data/app/views/undercase/patterns/_uc_forms_disabled_field.html.haml +8 -0
- data/app/views/undercase/patterns/_uc_forms_dropdown.html.haml +10 -0
- data/app/views/undercase/patterns/_uc_forms_dropdown_with_optgroups.html.haml +10 -0
- data/app/views/undercase/patterns/_uc_forms_full_name.html.haml +32 -0
- data/app/views/undercase/patterns/_uc_forms_grouped_inputs.html.haml +17 -0
- data/app/views/undercase/patterns/_uc_forms_large_field.html.haml +8 -0
- data/app/views/undercase/patterns/_uc_forms_medium_field.html.haml +8 -0
- data/app/views/undercase/patterns/_uc_forms_phone.html.haml +26 -0
- data/app/views/undercase/patterns/_uc_forms_radio_button_clear_link.html.haml +7 -0
- data/app/views/undercase/patterns/_uc_forms_radio_buttons.html.haml +7 -0
- data/app/views/undercase/patterns/_uc_forms_radio_buttons_breathe.html.haml +11 -0
- data/app/views/undercase/patterns/_uc_forms_radio_buttons_horizontal.html.haml +11 -0
- data/app/views/undercase/patterns/_uc_forms_search.html.haml +23 -0
- data/app/views/undercase/patterns/_uc_forms_short_name.html.haml +20 -0
- data/app/views/undercase/patterns/_uc_forms_small_field.html.haml +8 -0
- data/app/views/undercase/patterns/_uc_forms_textarea.html.haml +9 -0
- data/app/views/undercase/patterns/_uc_forms_tiny_field.html.haml +8 -0
- data/app/views/undercase/patterns/_uc_list_comma.html.haml +4 -0
- data/app/views/undercase/patterns/_uc_list_ordered_alpha.html.haml +12 -0
- data/app/views/undercase/patterns/_uc_list_ordered_decimal.html.haml +12 -0
- data/app/views/undercase/patterns/_uc_list_pipe.html.haml +4 -0
- data/app/views/undercase/patterns/_uc_media.html.haml +6 -0
- data/app/views/undercase/patterns/_uc_modal_basic.html.haml +28 -0
- data/app/views/undercase/patterns/_uc_modal_exception.html.haml +34 -0
- data/app/views/undercase/patterns/_uc_modal_with_linked.html.haml +37 -0
- data/app/views/undercase/patterns/_uc_quiz_questions.html.haml +12 -0
- data/app/views/undercase/patterns/_uc_tabs.html.haml +16 -0
- data/app/views/undercase/patterns/index.html.haml +48 -0
- data/app/views/undercase/patterns/show.html.haml +7 -0
- data/app/views/undercase/popups/_dropdown.html.haml +5 -0
- data/config/initializers/dotiw.rb +1 -0
- data/config/initializers/simple_form.rb +147 -0
- data/config/routes.rb +4 -0
- data/config/tddium.yml +17 -0
- data/config/undercase-icons-regular.yml +41 -0
- data/lib/tasks/undercase.rake +51 -0
- data/lib/undercase.rb +15 -0
- data/lib/undercase/categories.yml +12 -0
- data/lib/undercase/category.rb +20 -0
- data/lib/undercase/engine.rb +13 -0
- data/lib/undercase/pattern.rb +68 -0
- data/lib/undercase/patterns/blue_dotted_link_caps.yml +4 -0
- data/lib/undercase/patterns/blue_link.yml +4 -0
- data/lib/undercase/patterns/blue_link_clean.yml +4 -0
- data/lib/undercase/patterns/cc_button_auto.yml +4 -0
- data/lib/undercase/patterns/cc_button_flat_blue.yml +4 -0
- data/lib/undercase/patterns/cc_button_flat_gray.yml +4 -0
- data/lib/undercase/patterns/cc_button_flat_gray_split.yml +9 -0
- data/lib/undercase/patterns/cc_button_flat_green.yml +27 -0
- data/lib/undercase/patterns/cc_button_gray.yml +4 -0
- data/lib/undercase/patterns/cc_button_icon.yml +4 -0
- data/lib/undercase/patterns/cc_button_wire_auto.yml +5 -0
- data/lib/undercase/patterns/cc_link_smartbar.yml +4 -0
- data/lib/undercase/patterns/chevrons.yml +4 -0
- data/lib/undercase/patterns/colors.yml +5 -0
- data/lib/undercase/patterns/content_with_toolbar.yml +4 -0
- data/lib/undercase/patterns/dropdown.yml +4 -0
- data/lib/undercase/patterns/filters.yml +5 -0
- data/lib/undercase/patterns/filters_show_only.yml +5 -0
- data/lib/undercase/patterns/gray_link.yml +4 -0
- data/lib/undercase/patterns/grid.yml +4 -0
- data/lib/undercase/patterns/icon_classes.yml +5 -0
- data/lib/undercase/patterns/icon_custom.yml +4 -0
- data/lib/undercase/patterns/inline_message.yml +4 -0
- data/lib/undercase/patterns/length_of_time.yml +4 -0
- data/lib/undercase/patterns/list_circle.yml +4 -0
- data/lib/undercase/patterns/list_disc.yml +4 -0
- data/lib/undercase/patterns/navigation.yml +4 -0
- data/lib/undercase/patterns/pagination.yml +4 -0
- data/lib/undercase/patterns/person_placard.yml +4 -0
- data/lib/undercase/patterns/popover.yml +4 -0
- data/lib/undercase/patterns/tables_mobile.yml +4 -0
- data/lib/undercase/patterns/tables_not_desktop.yml +4 -0
- data/lib/undercase/patterns/tables_small_tablet.yml +4 -0
- data/lib/undercase/patterns/typography.yml +4 -0
- data/lib/undercase/patterns/typography_body_em.yml +4 -0
- data/lib/undercase/patterns/typography_body_p.yml +4 -0
- data/lib/undercase/patterns/typography_body_strong.yml +4 -0
- data/lib/undercase/patterns/typography_body_thin.yml +4 -0
- data/lib/undercase/patterns/typography_body_underline.yml +4 -0
- data/lib/undercase/patterns/typography_body_uppercase.yml +4 -0
- data/lib/undercase/patterns/typography_heading_1.yml +4 -0
- data/lib/undercase/patterns/typography_heading_2.yml +4 -0
- data/lib/undercase/patterns/typography_heading_3.yml +4 -0
- data/lib/undercase/patterns/typography_heading_4.yml +4 -0
- data/lib/undercase/patterns/typography_heading_thin.yml +4 -0
- data/lib/undercase/patterns/typography_links_general.yml +4 -0
- data/lib/undercase/patterns/typography_links_navigation.yml +4 -0
- data/lib/undercase/patterns/typography_links_page_banner.yml +4 -0
- data/lib/undercase/patterns/uc_borders_blue.yml +4 -0
- data/lib/undercase/patterns/uc_borders_gray.yml +4 -0
- data/lib/undercase/patterns/uc_borders_hover_blue.yml +4 -0
- data/lib/undercase/patterns/uc_borders_left.yml +4 -0
- data/lib/undercase/patterns/uc_borders_lighter_gray.yml +4 -0
- data/lib/undercase/patterns/uc_borders_middle_blue_2.yml +4 -0
- data/lib/undercase/patterns/uc_borders_middle_gray.yml +4 -0
- data/lib/undercase/patterns/uc_borders_yellow.yml +4 -0
- data/lib/undercase/patterns/uc_card.yml +5 -0
- data/lib/undercase/patterns/uc_dialog_loading.yml +4 -0
- data/lib/undercase/patterns/uc_errors.yml +5 -0
- data/lib/undercase/patterns/uc_forms_check_boxes.yml +4 -0
- data/lib/undercase/patterns/uc_forms_check_boxes_boolean.yml +4 -0
- data/lib/undercase/patterns/uc_forms_checkbutton.yml +4 -0
- data/lib/undercase/patterns/uc_forms_conditionally_required.yml +4 -0
- data/lib/undercase/patterns/uc_forms_currency_input.yml +4 -0
- data/lib/undercase/patterns/uc_forms_date_picker.yml +4 -0
- data/lib/undercase/patterns/uc_forms_date_time_picker.yml +4 -0
- data/lib/undercase/patterns/uc_forms_disabled_field.yml +4 -0
- data/lib/undercase/patterns/uc_forms_dropdown.yml +4 -0
- data/lib/undercase/patterns/uc_forms_dropdown_with_optgroups.yml +4 -0
- data/lib/undercase/patterns/uc_forms_full_name.yml +4 -0
- data/lib/undercase/patterns/uc_forms_grouped_inputs.yml +4 -0
- data/lib/undercase/patterns/uc_forms_large_field.yml +4 -0
- data/lib/undercase/patterns/uc_forms_medium_field.yml +4 -0
- data/lib/undercase/patterns/uc_forms_phone.yml +4 -0
- data/lib/undercase/patterns/uc_forms_radio_button_clear_link.yml +4 -0
- data/lib/undercase/patterns/uc_forms_radio_buttons.yml +4 -0
- data/lib/undercase/patterns/uc_forms_radio_buttons_breathe.yml +4 -0
- data/lib/undercase/patterns/uc_forms_radio_buttons_horizontal.yml +4 -0
- data/lib/undercase/patterns/uc_forms_search.yml +4 -0
- data/lib/undercase/patterns/uc_forms_short_name.yml +4 -0
- data/lib/undercase/patterns/uc_forms_small_field.yml +4 -0
- data/lib/undercase/patterns/uc_forms_textarea.yml +4 -0
- data/lib/undercase/patterns/uc_forms_tiny_field.yml +4 -0
- data/lib/undercase/patterns/uc_list_comma.yml +4 -0
- data/lib/undercase/patterns/uc_list_ordered_alpha.yml +4 -0
- data/lib/undercase/patterns/uc_list_ordered_decimal.yml +4 -0
- data/lib/undercase/patterns/uc_list_pipe.yml +4 -0
- data/lib/undercase/patterns/uc_media.yml +4 -0
- data/lib/undercase/patterns/uc_modal_basic.yml +4 -0
- data/lib/undercase/patterns/uc_modal_exception.yml +4 -0
- data/lib/undercase/patterns/uc_modal_with_linked.yml +4 -0
- data/lib/undercase/patterns/uc_quiz_questions.yml +4 -0
- data/lib/undercase/patterns/uc_tabs.yml +4 -0
- data/lib/undercase/templates/fontcustom/glyphs.scss +6 -0
- data/lib/undercase/version.rb +3 -0
- data/public/timezones/Makefile +523 -0
- data/public/timezones/africa +1194 -0
- data/public/timezones/antarctica +411 -0
- data/public/timezones/asia +2751 -0
- data/public/timezones/australasia +1726 -0
- data/public/timezones/backward +117 -0
- data/public/timezones/etcetera +81 -0
- data/public/timezones/europe +2973 -0
- data/public/timezones/factory +10 -0
- data/public/timezones/iso3166.tab +276 -0
- data/public/timezones/leapseconds +100 -0
- data/public/timezones/northamerica +3254 -0
- data/public/timezones/pacificnew +28 -0
- data/public/timezones/solar87 +390 -0
- data/public/timezones/solar88 +390 -0
- data/public/timezones/solar89 +395 -0
- data/public/timezones/southamerica +1718 -0
- data/public/timezones/systemv +38 -0
- data/public/timezones/yearistype.sh +38 -0
- data/public/timezones/zone.tab +444 -0
- metadata +789 -0
@@ -0,0 +1,98 @@
|
|
1
|
+
$border-radius--chevrons: 30px;
|
2
|
+
|
3
|
+
.uc-chevrons {
|
4
|
+
@include border-radius($border-radius--chevrons);
|
5
|
+
border: $light-border-width solid $lighter-gray;
|
6
|
+
display: table;
|
7
|
+
height: 46px;
|
8
|
+
overflow: hidden;
|
9
|
+
table-layout: fixed;
|
10
|
+
width: 100%;
|
11
|
+
|
12
|
+
> li + li {
|
13
|
+
border-left: 1px solid $lighter-gray;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.uc-chevrons__item {
|
18
|
+
@include font-size-px-to-rem($small, true);
|
19
|
+
color: $middle-gray;
|
20
|
+
display: table-cell;
|
21
|
+
font-weight: $semibold-weight;
|
22
|
+
text-align: center;
|
23
|
+
text-transform: uppercase;
|
24
|
+
vertical-align: middle;
|
25
|
+
|
26
|
+
// IE fix
|
27
|
+
// overflow hidden on uc-chevrons does not work in IE
|
28
|
+
&:first-child {
|
29
|
+
@include border-left-radius($border-radius--chevrons);
|
30
|
+
}
|
31
|
+
&:last-child {
|
32
|
+
@include border-right-radius($border-radius--chevrons);
|
33
|
+
}
|
34
|
+
@media #{$small-tablet} {
|
35
|
+
@include border-radius($border-radius--chevrons);
|
36
|
+
@include font-size-px-to-rem($font-size, true);
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
.uc-chevrons__item--past {
|
41
|
+
background-color: $lighter-gray2;
|
42
|
+
@media #{$small-tablet} {
|
43
|
+
display: none;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.uc-chevrons__item--present {
|
48
|
+
background-color: $sky-blue;
|
49
|
+
color: $dark-gray;
|
50
|
+
font-weight: $semibold-weight;
|
51
|
+
}
|
52
|
+
|
53
|
+
.uc-chevrons__item--future {
|
54
|
+
@media #{$small-tablet} {
|
55
|
+
display: none;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.uc-chevrons__item__content {
|
60
|
+
position: relative;
|
61
|
+
padding: $gutter/2 $gutter;
|
62
|
+
|
63
|
+
&:after {
|
64
|
+
@include icon-inline-block;
|
65
|
+
margin-top: -7px; // half the font-size of the content to center the icon
|
66
|
+
padding-right: $gutter/2;
|
67
|
+
position: absolute;
|
68
|
+
top: 50%;
|
69
|
+
right: 0;
|
70
|
+
@media #{$small-tablet} {
|
71
|
+
padding-right: $gutter*3;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.uc-chevrons__item--past .uc-chevrons__item__content {
|
77
|
+
padding-right: $gutter*2;
|
78
|
+
|
79
|
+
&:after {
|
80
|
+
content: $uc-icon-check;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.uc-chevrons__item:not(:last-child).uc-chevrons__item--present .uc-chevrons__item__content {
|
85
|
+
padding-right: $gutter*2;
|
86
|
+
|
87
|
+
&:after {
|
88
|
+
content: $uc-icon-arrow-right;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.uc-chevrons-placeholder {
|
93
|
+
display: none;
|
94
|
+
|
95
|
+
@media #{$small-tablet} {
|
96
|
+
display: inline-block;
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
//
|
2
|
+
// COLOR CLASSES
|
3
|
+
//
|
4
|
+
.c-red {
|
5
|
+
color: $red;
|
6
|
+
}
|
7
|
+
.c-yellow {
|
8
|
+
color: $yellow;
|
9
|
+
}
|
10
|
+
.c-middle-gray {
|
11
|
+
color: $middle-gray;
|
12
|
+
}
|
13
|
+
.c-blue {
|
14
|
+
color: $blue;
|
15
|
+
}
|
16
|
+
|
17
|
+
//
|
18
|
+
// BACKGROUND COLOR CLASSES
|
19
|
+
//
|
20
|
+
.bc-white {
|
21
|
+
background-color: white;
|
22
|
+
}
|
23
|
+
.bc-gray {
|
24
|
+
background-color: $light-gray;
|
25
|
+
}
|
26
|
+
.bc-lightest-gray {
|
27
|
+
background-color: $lightest-gray;
|
28
|
+
}
|
29
|
+
.bc-lighter-gray2 {
|
30
|
+
background-color: $lighter-gray2;
|
31
|
+
}
|
32
|
+
.bc-hover-blue {
|
33
|
+
background-color: $hover-blue;
|
34
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.content-with-toolbar {
|
2
|
+
position: relative;
|
3
|
+
|
4
|
+
.toolbar {
|
5
|
+
position: absolute;
|
6
|
+
top: 3px;
|
7
|
+
right: 0;
|
8
|
+
|
9
|
+
a {
|
10
|
+
margin: 0 $gutter/4 0 $gutter*1.85;
|
11
|
+
|
12
|
+
&:hover,
|
13
|
+
&:hover:before,
|
14
|
+
&:hover:after {
|
15
|
+
color: $button-blue;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.uc-link-close, .uc-link-edit {
|
20
|
+
font-size: $medium+2;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
// from https://github.com/twbs/bootstrap-sass/blob/44d139e896a2bc1bd623f9cbcb714465ff3ed11f/vendor/assets/stylesheets/bootstrap/mixins/_nav-divider.scss
|
2
|
+
@mixin nav-divider($color: #e5e5e5) {
|
3
|
+
height: $medium-border-width;
|
4
|
+
margin: (($line-height-computed / 2) - 1) $gutter*2;
|
5
|
+
overflow: hidden;
|
6
|
+
background-color: $color;
|
7
|
+
}
|
8
|
+
|
9
|
+
// from https://github.com/twbs/bootstrap-sass/blob/44d139e896a2bc1bd623f9cbcb714465ff3ed11f/vendor/assets/stylesheets/bootstrap/mixins/_reset-filter.scss
|
10
|
+
@mixin reset-filter() {
|
11
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
12
|
+
}
|
13
|
+
|
14
|
+
// Load bootstrap dropdown styles
|
15
|
+
@import "bootstrap/dropdowns";
|
16
|
+
|
17
|
+
.dropdown-menu {
|
18
|
+
a {
|
19
|
+
text-decoration: none;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
// set things up for drawing a triangle
|
24
|
+
.dropdown-menu {
|
25
|
+
margin-top: $popover-arrow-outer-width;
|
26
|
+
}
|
27
|
+
// add triangle pointing up at the top of the menu
|
28
|
+
.dropdown-arrow {
|
29
|
+
@include transform(rotate(-45deg));
|
30
|
+
background: $white;
|
31
|
+
border-right: 1px solid $light-gray;
|
32
|
+
border-top: 1px solid $light-gray;
|
33
|
+
height: 15px;
|
34
|
+
width: 15px;
|
35
|
+
position: absolute;
|
36
|
+
top: -8px;
|
37
|
+
left: 2 * $popover-arrow-outer-width;
|
38
|
+
z-index: -1;
|
39
|
+
}
|
40
|
+
// right aligned dropdown
|
41
|
+
.dropdown-menu.right {
|
42
|
+
right: 0;
|
43
|
+
left: auto;
|
44
|
+
|
45
|
+
.dropdown-arrow {
|
46
|
+
right: 2 * $popover-arrow-outer-width;
|
47
|
+
left: auto;
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
//
|
2
|
+
// Filters
|
3
|
+
//
|
4
|
+
|
5
|
+
.uc-filter {
|
6
|
+
border-bottom: 1px solid $lighter-gray;
|
7
|
+
|
8
|
+
input[type=checkbox] { @include hide-accessible; } /* to hide the checkbox itself */
|
9
|
+
|
10
|
+
input[type=checkbox]:focus + label {
|
11
|
+
color: $link-blue;
|
12
|
+
}
|
13
|
+
|
14
|
+
input[type=checkbox]:focus + label:before {
|
15
|
+
/* outline: 1px dotted $middle-gray; */
|
16
|
+
box-shadow: 0 0 1px 2px $button-blue;
|
17
|
+
@include border-radius(3px);
|
18
|
+
color: $button-blue;
|
19
|
+
}
|
20
|
+
|
21
|
+
input[type=checkbox] + label:before {
|
22
|
+
@include font-size-px-to-rem($icon-size);
|
23
|
+
font-family: Undercase-Icons;
|
24
|
+
line-height: 1em;
|
25
|
+
margin-right: $gutter/2;
|
26
|
+
margin-bottom: 3px;
|
27
|
+
color: $light-gray;
|
28
|
+
float: left;
|
29
|
+
-moz-transform: scale(1.0, 1.0); /* Adjust anti-aliasing to prevent gap inside box-shadow on Windows */
|
30
|
+
}
|
31
|
+
|
32
|
+
input[type=checkbox] + label:before {
|
33
|
+
content: "\f105"; /* unchecked icon */
|
34
|
+
}
|
35
|
+
|
36
|
+
input[type=checkbox]:checked + label:before {
|
37
|
+
content: "\f104"; /* checked icon */
|
38
|
+
color: $link-blue;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.uc-filter__header {
|
43
|
+
background-color: $lightest-gray;
|
44
|
+
border: 1px solid $light-gray;
|
45
|
+
border-left: none;
|
46
|
+
padding: $gutter;
|
47
|
+
}
|
48
|
+
|
49
|
+
.uc-filter__body {
|
50
|
+
border-right: 1px solid $lighter-gray;
|
51
|
+
}
|
52
|
+
|
53
|
+
.uc-filter-heading {
|
54
|
+
color: $middle-gray;
|
55
|
+
line-height: 1.14;
|
56
|
+
text-transform: uppercase;
|
57
|
+
}
|
58
|
+
|
59
|
+
.uc-filter-heading__category {
|
60
|
+
@include font-size-px-to-rem(15px);
|
61
|
+
display: block;
|
62
|
+
font-weight: 600;
|
63
|
+
}
|
64
|
+
|
65
|
+
.uc-filter-clear {
|
66
|
+
display: none;
|
67
|
+
float: right;
|
68
|
+
}
|
69
|
+
|
70
|
+
.uc-filter-facets {
|
71
|
+
> li {
|
72
|
+
border-top: 1px dotted $lighter-gray;
|
73
|
+
&:first-child {
|
74
|
+
border-top: none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.uc-filter-subfacets-container {
|
80
|
+
padding: $gutter*1.5 $gutter $gutter*0.5 $gutter*3;
|
81
|
+
border-top: 1px dotted $lighter-gray;
|
82
|
+
}
|
83
|
+
|
84
|
+
.uc-filter-subfacets {
|
85
|
+
> li {
|
86
|
+
margin-bottom: $gutter;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.uc-filter-facets__facet {
|
91
|
+
position: relative;
|
92
|
+
}
|
93
|
+
|
94
|
+
.uc-filter-facets__facet__left-col {
|
95
|
+
padding: $gutter*1.5 $gutter;
|
96
|
+
width: 80%;
|
97
|
+
}
|
98
|
+
|
99
|
+
.uc-filter-facets__facet__left-col--no-subfacets {
|
100
|
+
padding: $gutter*1.5 $gutter;
|
101
|
+
}
|
102
|
+
|
103
|
+
.uc-filter-facets__facet__left-col.uc-form-field--boolean {
|
104
|
+
margin-bottom: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
.uc-filter-facets__facet__right-col {
|
108
|
+
border-left: 1px dotted $lighter-gray;
|
109
|
+
position: absolute;
|
110
|
+
width: 20%;
|
111
|
+
top: 0;
|
112
|
+
right: 0;
|
113
|
+
bottom: 0;
|
114
|
+
&:before {
|
115
|
+
display: block;
|
116
|
+
font-size: 18px;
|
117
|
+
padding-top: $gutter*1.5;
|
118
|
+
margin: 0 auto;
|
119
|
+
width: 12px;
|
120
|
+
}
|
121
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
//
|
2
|
+
// mixin for bullet proof font declaration syntax
|
3
|
+
//
|
4
|
+
@mixin declare-font-face($font-family, $font-filename, $font-weight : normal, $font-style :normal, $font-stretch : normal) {
|
5
|
+
@font-face {
|
6
|
+
font-family: '#{$font-family}';
|
7
|
+
src: url(font-path('#{$font-family}/#{$font-filename}.eot'));
|
8
|
+
src: url(font-path('#{$font-family}/#{$font-filename}.eot?#iefix')) format('embedded-opentype'),
|
9
|
+
url(font-path('#{$font-family}/#{$font-filename}.woff')) format('woff'),
|
10
|
+
url(font-path('#{$font-family}/#{$font-filename}.ttf')) format('truetype'),
|
11
|
+
url(font-path('#{$font-family}/#{$font-filename}.svg##{$font-family}')) format('svg');
|
12
|
+
font-weight: $font-weight;
|
13
|
+
font-style: $font-style;
|
14
|
+
font-stretch: $font-stretch;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
@include declare-font-face(FontAwesome, 'fontawesome-webfont');
|
19
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-extralight-webfont', $extralight-weight);
|
20
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-extralight-webfont', $extralight-weight, italic);
|
21
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-light-webfont', $light-weight);
|
22
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-light-webfont', $light-weight, italic);
|
23
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-regular-webfont', normal);
|
24
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-it-webfont', normal, italic);
|
25
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-semibold-webfont', $semibold-weight);
|
26
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-semiboldit-webfont', $semibold-weight, italic);
|
27
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-bold-webfont', bold);
|
28
|
+
@include declare-font-face(Source-Sans-Pro, 'sourcesanspro-boldit-webfont', bold, italic);
|
29
|
+
@include declare-font-face(Undercase-Icons, 'Undercase-Icons');
|
30
|
+
// @include declare-font-face('Source Sans Pro', 'sourcesanspro-black-webfont', 800);
|
31
|
+
// @include declare-font-face('Source Sans Pro', 'sourcesanspro-blackit-webfont', 800, italic);
|
32
|
+
|
@@ -0,0 +1,617 @@
|
|
1
|
+
//
|
2
|
+
// Local Variables
|
3
|
+
//
|
4
|
+
$uc-form--search-height: 58px;
|
5
|
+
|
6
|
+
.uc-form-flow-margin {
|
7
|
+
@include uc-form-flow-margin;
|
8
|
+
}
|
9
|
+
|
10
|
+
//
|
11
|
+
// UNDERCASE FORM
|
12
|
+
//
|
13
|
+
input,
|
14
|
+
select,
|
15
|
+
textarea {
|
16
|
+
@include uc-field-style;
|
17
|
+
display: block;
|
18
|
+
width: 100%;
|
19
|
+
@media #{$tablet} {
|
20
|
+
max-width: 369px;
|
21
|
+
}
|
22
|
+
margin: 0;
|
23
|
+
}
|
24
|
+
|
25
|
+
select,
|
26
|
+
textarea,
|
27
|
+
[type=text],
|
28
|
+
[type=password],
|
29
|
+
[type=search],
|
30
|
+
[type=email],
|
31
|
+
[type=date],
|
32
|
+
[type=time],
|
33
|
+
[type=number] {
|
34
|
+
&[disabled] {
|
35
|
+
background-color: $lightest-gray;
|
36
|
+
border: $light-border-width solid $light-gray4;
|
37
|
+
color: $light-gray;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
[type=radio],
|
42
|
+
[type=checkbox],
|
43
|
+
[type=file] {
|
44
|
+
display: inline;
|
45
|
+
margin: 0;
|
46
|
+
padding: 0;
|
47
|
+
border: none;
|
48
|
+
background: transparent;
|
49
|
+
height: auto;
|
50
|
+
line-height: normal;
|
51
|
+
width: auto;
|
52
|
+
}
|
53
|
+
|
54
|
+
[type=radio],
|
55
|
+
[type=checkbox] {
|
56
|
+
cursor: pointer;
|
57
|
+
}
|
58
|
+
|
59
|
+
[disabled] {
|
60
|
+
cursor: default;
|
61
|
+
}
|
62
|
+
|
63
|
+
.uc-form__input--full-width {
|
64
|
+
max-width: none;
|
65
|
+
}
|
66
|
+
|
67
|
+
option {
|
68
|
+
padding: $gutter/2 $gutter;
|
69
|
+
&:after {
|
70
|
+
content: "\A0"
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
optgroup {
|
75
|
+
padding: $gutter/2 0 $gutter/2 $gutter;
|
76
|
+
font-family: inherit;
|
77
|
+
font-weight: $semibold-weight;
|
78
|
+
font-style: normal;
|
79
|
+
color: $dark-gray;
|
80
|
+
}
|
81
|
+
|
82
|
+
.uc-select--initial-width {
|
83
|
+
width: initial;
|
84
|
+
}
|
85
|
+
|
86
|
+
.uc-select--multiple-options {
|
87
|
+
height: initial;
|
88
|
+
}
|
89
|
+
|
90
|
+
input[type="radio"],
|
91
|
+
input[type="checkbox"] {
|
92
|
+
margin-right: $gutter;
|
93
|
+
margin-left: 1px;
|
94
|
+
padding: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
textarea {
|
98
|
+
height: 100px;
|
99
|
+
}
|
100
|
+
|
101
|
+
::-moz-placeholder {
|
102
|
+
color: $middle-gray;
|
103
|
+
}
|
104
|
+
|
105
|
+
.uc-nest {
|
106
|
+
padding-left: $gutter*3;
|
107
|
+
margin-top: $gutter;
|
108
|
+
}
|
109
|
+
|
110
|
+
.uc-fieldset-buttons {
|
111
|
+
text-align: center;
|
112
|
+
|
113
|
+
input,
|
114
|
+
a,
|
115
|
+
button {
|
116
|
+
margin-left: $gutter*2;
|
117
|
+
&:first-child {
|
118
|
+
margin-left: 0;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
//
|
124
|
+
// LABELS AND LEGENDS
|
125
|
+
//
|
126
|
+
[type=checkbox]:hover + label,
|
127
|
+
[type=radio]:hover + label,
|
128
|
+
[type=checkbox] + label:hover,
|
129
|
+
[type=radio] + label:hover {
|
130
|
+
color: $link-blue;
|
131
|
+
cursor: pointer;
|
132
|
+
[disabled] {
|
133
|
+
cursor: default;
|
134
|
+
color: inherit;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
[type=checkbox][disabled] + label,
|
139
|
+
[type=radio][disabled] + label {
|
140
|
+
cursor: default;
|
141
|
+
color: $middle-gray;
|
142
|
+
}
|
143
|
+
|
144
|
+
.uc-form-label {
|
145
|
+
@include uc-label;
|
146
|
+
}
|
147
|
+
.uc-form-legend {
|
148
|
+
@include uc-label;
|
149
|
+
}
|
150
|
+
.uc-form__legend--heading {
|
151
|
+
@extend .uc-t-h3;
|
152
|
+
@extend .uc-bordered-heading;
|
153
|
+
width: 100%;
|
154
|
+
}
|
155
|
+
.uc-form-label--secondary {
|
156
|
+
font-weight: normal;
|
157
|
+
}
|
158
|
+
|
159
|
+
//
|
160
|
+
// FIELDSETS
|
161
|
+
//
|
162
|
+
.uc-form-fieldset-radio-with-clear {
|
163
|
+
fieldset {
|
164
|
+
float: right;
|
165
|
+
display: inline-block;
|
166
|
+
padding: 0;
|
167
|
+
margin: 0;
|
168
|
+
}
|
169
|
+
a {
|
170
|
+
@extend .blue-link;
|
171
|
+
float: right;
|
172
|
+
}
|
173
|
+
.uc-form-collection-item {
|
174
|
+
display: inline-block;
|
175
|
+
padding-left: $gutter * 2;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
.uc-form-fieldset-checkbox-list {
|
180
|
+
@include uc-form-flow-margin;
|
181
|
+
|
182
|
+
}
|
183
|
+
|
184
|
+
.uc-form__fieldset--grouped {
|
185
|
+
margin-bottom: $gutter/2;
|
186
|
+
> legend {
|
187
|
+
margin-bottom: $gutter;
|
188
|
+
}
|
189
|
+
.uc-form-field {
|
190
|
+
margin-bottom: $gutter*1.5;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
//
|
195
|
+
// INPUT COLLECTIONS
|
196
|
+
//
|
197
|
+
.uc-form-fieldset-collection{
|
198
|
+
@include uc-form-flow-margin;
|
199
|
+
|
200
|
+
}
|
201
|
+
|
202
|
+
.uc-form-collection-item {
|
203
|
+
margin-bottom: $gutter / 2;
|
204
|
+
margin-left: $gutter * 2.2;
|
205
|
+
|
206
|
+
input[type="radio"],
|
207
|
+
input[type="checkbox"]{
|
208
|
+
margin-left: -($gutter * 2.2);
|
209
|
+
}
|
210
|
+
@media #{$not-desktop} {
|
211
|
+
margin-bottom: $gutter;
|
212
|
+
}
|
213
|
+
.uc-form-fieldset-collection & {
|
214
|
+
display: block;
|
215
|
+
}
|
216
|
+
.uc-form-fieldset-collection--horizontal & {
|
217
|
+
display: inline-block;
|
218
|
+
margin-left: $gutter * 2.5;
|
219
|
+
&:first-of-type {
|
220
|
+
margin-left: 0;
|
221
|
+
}
|
222
|
+
input[type="radio"],
|
223
|
+
input[type="checkbox"]{
|
224
|
+
margin-left: 1px;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
.uc-form-fieldset-collection--breathe & {
|
228
|
+
padding-top: $gutter;
|
229
|
+
padding-bottom: $gutter;
|
230
|
+
padding-left: $gutter;
|
231
|
+
margin-bottom: 0;
|
232
|
+
}
|
233
|
+
input {
|
234
|
+
display: inline-block;
|
235
|
+
width: auto;
|
236
|
+
margin-right: $gutter;
|
237
|
+
@media #{$not-desktop} {
|
238
|
+
margin-top: $gutter / 2;
|
239
|
+
}
|
240
|
+
}
|
241
|
+
label {
|
242
|
+
padding-top: 1px;
|
243
|
+
vertical-align: bottom;
|
244
|
+
@media #{$small-tablet} {
|
245
|
+
font-size: $uc-form-embiggened-input-font-size; // should follow input size increase
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
.uc-form-fieldset-collection--horizontal-question {
|
250
|
+
@extend .uc-form-fieldset-collection--horizontal;
|
251
|
+
margin-bottom: 0;
|
252
|
+
|
253
|
+
.uc-form-legend {
|
254
|
+
width: 30%;
|
255
|
+
float: left;
|
256
|
+
text-align: right;
|
257
|
+
padding-right: $gutter;
|
258
|
+
color: $middle-gray;
|
259
|
+
font-weight: normal;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
//
|
264
|
+
// NESTED FIELDS
|
265
|
+
//
|
266
|
+
.uc-form__fieldset--with-nested-collection {
|
267
|
+
@include uc-form-flow-margin;
|
268
|
+
|
269
|
+
& .uc-form-fieldset-collection {
|
270
|
+
margin-bottom: 0;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
.uc-form-field--nested {
|
275
|
+
margin-left: $gutter*2.5;
|
276
|
+
}
|
277
|
+
|
278
|
+
//
|
279
|
+
// CUSTOM FIELDS
|
280
|
+
//
|
281
|
+
.uc-form-field {
|
282
|
+
@include uc-form-flow-margin;
|
283
|
+
}
|
284
|
+
|
285
|
+
.uc-form-field--collective-inputs {
|
286
|
+
margin-bottom: $gutter;
|
287
|
+
}
|
288
|
+
.uc-form-field--boolean {
|
289
|
+
margin-bottom: $gutter/2;
|
290
|
+
@media #{$not-desktop} {
|
291
|
+
margin-bottom: $gutter;
|
292
|
+
}
|
293
|
+
|
294
|
+
> label {
|
295
|
+
display: inline;
|
296
|
+
font-weight: $normal-weight;
|
297
|
+
margin-bottom: 0;
|
298
|
+
@media #{$small-tablet} {
|
299
|
+
font-size: $uc-form-embiggened-input-font-size;
|
300
|
+
}
|
301
|
+
}
|
302
|
+
}
|
303
|
+
|
304
|
+
.uc-form-field--boolean--solo {
|
305
|
+
input[type="checkbox"] {
|
306
|
+
margin-right: $gutter / 2;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
|
310
|
+
.uc-form-field-date {
|
311
|
+
max-width: 126px;
|
312
|
+
@media #{$not-desktop} {
|
313
|
+
max-width: 150px;
|
314
|
+
}
|
315
|
+
|
316
|
+
@media #{$desktop} {
|
317
|
+
input {
|
318
|
+
background-image: image-url('icons/calendar_datepicker.svg');
|
319
|
+
background-repeat: no-repeat;
|
320
|
+
background-position: 95% center;
|
321
|
+
background-size: 18px;
|
322
|
+
}
|
323
|
+
}
|
324
|
+
}
|
325
|
+
.uc-form-field-time {
|
326
|
+
max-width: 90px;
|
327
|
+
@media #{$not-desktop} {
|
328
|
+
max-width: 110px;
|
329
|
+
}
|
330
|
+
}
|
331
|
+
.uc-form-fieldset-datetime {
|
332
|
+
legend {
|
333
|
+
@include uc-label;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
|
337
|
+
.uc-form-field-datetime-date {
|
338
|
+
display: inline-block;
|
339
|
+
@media #{$not-desktop} {
|
340
|
+
display: block;
|
341
|
+
}
|
342
|
+
}
|
343
|
+
.uc-form-field-datetime-time {
|
344
|
+
display: inline-block;
|
345
|
+
padding-left: $gutter;
|
346
|
+
|
347
|
+
@media #{$not-desktop} {
|
348
|
+
display: block;
|
349
|
+
margin-top: $gutter;
|
350
|
+
padding-left: 0;
|
351
|
+
}
|
352
|
+
}
|
353
|
+
.uc-form-field-datetime-timezone {
|
354
|
+
padding: 0.5em;
|
355
|
+
display: inline-block;
|
356
|
+
vertical-align: top;
|
357
|
+
}
|
358
|
+
|
359
|
+
.uc-form-field-checkbutton {
|
360
|
+
@include border-radius(5px);
|
361
|
+
text-transform: uppercase;
|
362
|
+
position: relative;
|
363
|
+
border: $solid-yellow-border;
|
364
|
+
background-color: $white;
|
365
|
+
display: inline-block;
|
366
|
+
padding-left: $gutter * 3;
|
367
|
+
padding-right: $gutter;
|
368
|
+
line-height: 29px;
|
369
|
+
vertical-align: baseline;
|
370
|
+
text-align: center;
|
371
|
+
cursor: pointer;
|
372
|
+
background-position: 5px center;
|
373
|
+
|
374
|
+
&.current {
|
375
|
+
background-color: $yellow;
|
376
|
+
}
|
377
|
+
|
378
|
+
&.hard-left {
|
379
|
+
margin-left: 0;
|
380
|
+
}
|
381
|
+
|
382
|
+
input[type=checkbox] {
|
383
|
+
position: absolute;
|
384
|
+
left: 10px;
|
385
|
+
top: 8px;
|
386
|
+
}
|
387
|
+
|
388
|
+
.edit & {
|
389
|
+
border: $solid-blue-border;
|
390
|
+
color: $dark-gray;
|
391
|
+
}
|
392
|
+
@media #{$mobile} {
|
393
|
+
margin-bottom: $gutter;
|
394
|
+
width: 100%;
|
395
|
+
}
|
396
|
+
& + & {
|
397
|
+
@media #{$not-mobile} {
|
398
|
+
margin-left: $gutter/2;
|
399
|
+
}
|
400
|
+
}
|
401
|
+
}
|
402
|
+
|
403
|
+
//
|
404
|
+
// ERRORS
|
405
|
+
//
|
406
|
+
.uc-asterisk-required {
|
407
|
+
&:before {
|
408
|
+
@include icon-inline-block;
|
409
|
+
content: $uc-icon-asterisk;
|
410
|
+
color: $red;
|
411
|
+
padding-right: $gutter / 2;
|
412
|
+
font-size: $small;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
|
416
|
+
label.required,
|
417
|
+
legend.required,
|
418
|
+
fieldset.required legend {
|
419
|
+
&:after {
|
420
|
+
@include icon-inline-block;
|
421
|
+
content: $uc-icon-asterisk;
|
422
|
+
color: $red;
|
423
|
+
margin-left: $gutter / 2;
|
424
|
+
font-size: $small;
|
425
|
+
}
|
426
|
+
}
|
427
|
+
|
428
|
+
.uc-form-field,
|
429
|
+
.uc-form-fieldset-collection {
|
430
|
+
.error {
|
431
|
+
@extend .uc-error;
|
432
|
+
display: block;
|
433
|
+
padding-top: $gutter / 2;
|
434
|
+
}
|
435
|
+
}
|
436
|
+
|
437
|
+
.uc-error {
|
438
|
+
color: $red;
|
439
|
+
}
|
440
|
+
|
441
|
+
//
|
442
|
+
// uc-form__inline
|
443
|
+
//
|
444
|
+
.uc-form__inline__fields {
|
445
|
+
position: relative;
|
446
|
+
input,
|
447
|
+
select {
|
448
|
+
display: inline-block;
|
449
|
+
margin: 0;
|
450
|
+
padding-top: .3em;
|
451
|
+
padding-left: .5em;
|
452
|
+
padding-right: .5em;
|
453
|
+
}
|
454
|
+
}
|
455
|
+
|
456
|
+
.uc-form__inline__fields--with-prefix {
|
457
|
+
@extend .uc-form__inline__fields;
|
458
|
+
padding-left: 140px;
|
459
|
+
}
|
460
|
+
.uc-form__inline__fields--with-prefix-and-suffix {
|
461
|
+
@extend .uc-form__inline__fields;
|
462
|
+
padding-left: 140px;
|
463
|
+
padding-right: 34px;
|
464
|
+
}
|
465
|
+
.uc-form__inline__fields--with-prefix-and-suffix--search {
|
466
|
+
@media #{$mobile} {
|
467
|
+
padding-left: 62px;
|
468
|
+
padding-right: 70px;
|
469
|
+
border-bottom: 8px solid $light-gray;
|
470
|
+
}
|
471
|
+
}
|
472
|
+
|
473
|
+
.uc-form__inline__fields--with-suffix {
|
474
|
+
@extend .uc-form__inline__fields;
|
475
|
+
padding-right: 34px;
|
476
|
+
}
|
477
|
+
|
478
|
+
.uc-form__inline__fields__prefix {
|
479
|
+
display: inline-block;
|
480
|
+
position: absolute;
|
481
|
+
top: 0;
|
482
|
+
left: 0;
|
483
|
+
width: 140px;
|
484
|
+
overflow: hidden;
|
485
|
+
height: 2.3em;
|
486
|
+
@media #{$small-tablet} {
|
487
|
+
font-size: $uc-form-embiggened-input-font-size;
|
488
|
+
}
|
489
|
+
&:after{
|
490
|
+
@include icon-inline-block;
|
491
|
+
content: $uc-icon-caret-down;
|
492
|
+
position: absolute;
|
493
|
+
top: 7px;
|
494
|
+
right: 8px;
|
495
|
+
pointer-events: none;
|
496
|
+
font-size: 1.3em;
|
497
|
+
}
|
498
|
+
}
|
499
|
+
|
500
|
+
.uc-form__inline__fields__prefix--search {
|
501
|
+
@media #{$mobile} {
|
502
|
+
background-color: $white;
|
503
|
+
border: 1px solid $light-gray;
|
504
|
+
border-right: 0;
|
505
|
+
padding: $gutter*1.5 $gutter;
|
506
|
+
width: 62px;
|
507
|
+
height: $uc-form--search-height;
|
508
|
+
&:before {
|
509
|
+
@include icon-inline-block;
|
510
|
+
content: $uc-icon-search;
|
511
|
+
@include font-size-px-to-rem(26px);
|
512
|
+
}
|
513
|
+
&:after {
|
514
|
+
position: static;
|
515
|
+
}
|
516
|
+
}
|
517
|
+
}
|
518
|
+
|
519
|
+
.uc-form__inline__fields__prefix__select {
|
520
|
+
@include border-right-radius(0);
|
521
|
+
@include border-left-radius(3px);
|
522
|
+
@include appearance(none);
|
523
|
+
background-color: $lighter-gray; // to override .uc-form select
|
524
|
+
line-height: 1.75em;
|
525
|
+
white-space: nowrap;
|
526
|
+
width: 200px; // to override .uc-form-field coming from simple-form
|
527
|
+
}
|
528
|
+
|
529
|
+
.uc-form__inline__fields__prefix__select--search {
|
530
|
+
@media #{$mobile} {
|
531
|
+
opacity: 0;
|
532
|
+
position: absolute;
|
533
|
+
top: 0;
|
534
|
+
left: 0;
|
535
|
+
width: 100%;
|
536
|
+
height: 100%;
|
537
|
+
}
|
538
|
+
}
|
539
|
+
|
540
|
+
.uc-form-field--search {
|
541
|
+
margin-bottom: 0;
|
542
|
+
@media #{$mobile} {
|
543
|
+
> input {
|
544
|
+
height: $uc-form--search-height;
|
545
|
+
border-left: 0;
|
546
|
+
border-right: 0;
|
547
|
+
}
|
548
|
+
}
|
549
|
+
}
|
550
|
+
|
551
|
+
.uc-form__inline__fields__fill {
|
552
|
+
display: inline-block;
|
553
|
+
vertical-align: top;
|
554
|
+
width: 100%;
|
555
|
+
input {
|
556
|
+
@include appearance(none);
|
557
|
+
@include border-radius(0); // to override .uc-form input
|
558
|
+
width: 100%;
|
559
|
+
}
|
560
|
+
}
|
561
|
+
.uc-form__inline__fields__suffix {
|
562
|
+
@include border-right-radius(3px);
|
563
|
+
@include border-left-radius(0);
|
564
|
+
background-color: $lighter-gray;
|
565
|
+
border-bottom: 1px solid $light-gray;
|
566
|
+
border-left: 1px solid $light-gray;
|
567
|
+
border-right: 1px solid $light-gray;
|
568
|
+
border-top: 1px solid $light-gray;
|
569
|
+
cursor: pointer;
|
570
|
+
color: $dark-gray;
|
571
|
+
display: inline-block;
|
572
|
+
height: 2.3em;
|
573
|
+
margin: 0;
|
574
|
+
padding: 0;
|
575
|
+
position: absolute;
|
576
|
+
right: 0;
|
577
|
+
text-align: center;
|
578
|
+
text-shadow: none;
|
579
|
+
text-transform: none;
|
580
|
+
top: 0;
|
581
|
+
vertical-align: top;
|
582
|
+
width: 35px;
|
583
|
+
|
584
|
+
@media #{$small-tablet} {
|
585
|
+
font-size: $uc-form-embiggened-input-font-size;
|
586
|
+
}
|
587
|
+
}
|
588
|
+
|
589
|
+
.uc-form__inline__fields__suffix--search {
|
590
|
+
@media #{$mobile} {
|
591
|
+
width: 70px;
|
592
|
+
height: $uc-form--search-height;
|
593
|
+
line-height: $uc-form--search-height;
|
594
|
+
font-size: 1rem;
|
595
|
+
@include border-radius(0);
|
596
|
+
}
|
597
|
+
}
|
598
|
+
|
599
|
+
.uc-form__inline__fields__suffix--search__go {
|
600
|
+
background: transparent;
|
601
|
+
height: 100%;
|
602
|
+
width: 100%;
|
603
|
+
cursor: pointer;
|
604
|
+
@media #{$mobile} {
|
605
|
+
display: none;
|
606
|
+
}
|
607
|
+
}
|
608
|
+
|
609
|
+
.uc-form__inline__fields__suffix--search__cancel {
|
610
|
+
display: none;
|
611
|
+
@media #{$mobile} {
|
612
|
+
display: block;
|
613
|
+
line-height: $uc-form--search-height;
|
614
|
+
text-decoration: none;
|
615
|
+
}
|
616
|
+
}
|
617
|
+
|