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
Binary file
|
@@ -0,0 +1,72 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3
|
+
<!--
|
4
|
+
2014-8-15: Created.
|
5
|
+
-->
|
6
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
7
|
+
<metadata>
|
8
|
+
Created by FontForge 20120731 at Fri Aug 15 17:43:22 2014
|
9
|
+
By Suffolk
|
10
|
+
Created by Suffolk with FontForge 2.0 (http://fontforge.sf.net)
|
11
|
+
</metadata>
|
12
|
+
<defs>
|
13
|
+
<font id="Undercase-Icons" horiz-adv-x="512" >
|
14
|
+
<font-face
|
15
|
+
font-family="Undercase-Icons"
|
16
|
+
font-weight="500"
|
17
|
+
font-stretch="normal"
|
18
|
+
units-per-em="512"
|
19
|
+
panose-1="2 0 6 9 0 0 0 0 0 0"
|
20
|
+
ascent="448"
|
21
|
+
descent="-64"
|
22
|
+
bbox="0 -66.8447 512 449"
|
23
|
+
underline-thickness="25.6"
|
24
|
+
underline-position="-51.2"
|
25
|
+
unicode-range="U+F101-F107"
|
26
|
+
/>
|
27
|
+
<missing-glyph />
|
28
|
+
<glyph glyph-name="uniF107" unicode=""
|
29
|
+
d="M12.7998 -17.0664c0 4.2666 0 8.5332 4.2666 12.7998l200.533 196.267l-200.533 196.267c-4.2666 4.2666 -4.2666 8.5332 -4.2666 12.7998s0 8.5332 4.2666 12.7998l25.6006 25.6006c4.2666 4.2666 8.5332 4.2666 12.7998 4.2666s8.5332 0 12.7998 -4.2666
|
30
|
+
l230.4 -234.667c4.2666 -4.2666 8.5332 -8.5332 8.5332 -12.7998s0 -8.5332 -4.2666 -12.7998l-234.667 -234.667c-4.2666 -4.2666 -8.5332 -4.2666 -12.7998 -4.2666s-8.5332 0 -12.7998 4.2666l-25.6006 25.6006c-4.2666 4.2666 -4.2666 8.5332 -4.2666 12.7998z
|
31
|
+
M204.8 -17.0664c0 4.2666 0 8.5332 4.2666 12.7998l200.533 196.267l-196.267 196.267c-4.2666 4.2666 -8.5332 8.5332 -8.5332 12.7998s0 8.5332 4.2666 12.7998l25.6006 25.6006c4.2666 4.2666 8.5332 4.2666 12.7998 4.2666s8.5332 0 12.7998 -4.2666l234.667 -234.667
|
32
|
+
c4.2666 -4.2666 4.2666 -8.5332 4.2666 -12.7998s0 -8.5332 -4.2666 -12.7998l-234.667 -234.667c-4.2666 -4.2666 -8.5332 -4.2666 -12.7998 -4.2666s-8.5332 0 -12.7998 4.2666l-21.334 25.6006c-4.2666 4.2666 -8.5332 8.5332 -8.5332 12.7998z" />
|
33
|
+
<glyph glyph-name="uniF105" unicode=""
|
34
|
+
d="M424.3 416.4h-336.6c-14.9004 0 -29 -5.90039 -39.6006 -16.5c-10.5996 -10.6006 -16.5 -24.7002 -16.5 -39.6006v-336.7c0 -14.8994 5.90039 -29 16.5 -39.5996c10.6006 -10.5996 24.7002 -16.5 39.6006 -16.5h336.6c14.9004 0 29 5.90039 39.6006 16.5
|
35
|
+
c10.5996 10.5996 16.5 24.7002 16.5 39.5996v336.7c0 14.9004 -5.90039 29 -16.5 39.6006c-10.6006 10.5996 -24.7002 16.5 -39.6006 16.5zM424.3 444.5v0c46.2998 0 84.2002 -37.9004 84.2998 -84.2002v-336.7c0 -46.2998 -37.8994 -84.1992 -84.1992 -84.1992h-336.7
|
36
|
+
c-46.2998 0 -84.2002 37.8994 -84.2002 84.1992v336.7c0 46.2998 37.9004 84.2002 84.2002 84.2002h336.6z" />
|
37
|
+
<glyph glyph-name="uniF106" unicode=""
|
38
|
+
d="M499.2 401.066c0 -4.2666 0 -8.5332 -4.2666 -12.7998l-200.533 -196.267l196.267 -196.267c4.2666 -4.2666 4.2666 -8.5332 4.2666 -12.7998s0 -8.5332 -4.2666 -12.7998l-21.334 -25.6006c-4.2666 -4.2666 -8.5332 -4.2666 -12.7998 -4.2666s-8.5332 0 -12.7998 4.2666
|
39
|
+
l-230.4 234.667c-4.2666 4.2666 -8.5332 8.5332 -8.5332 12.7998s0 8.5332 4.2666 12.7998l234.667 234.667c4.2666 4.2666 8.5332 4.2666 12.7998 4.2666s8.5332 0 12.7998 -4.2666l25.6006 -25.6006c4.2666 -4.2666 4.2666 -8.5332 4.2666 -12.7998zM307.2 401.066
|
40
|
+
c0 -4.2666 0 -8.5332 -4.2666 -12.7998l-200.533 -196.267l196.267 -196.267c4.2666 -4.2666 4.2666 -8.5332 4.2666 -12.7998s0 -8.5332 -4.2666 -12.7998l-25.6006 -25.6006c-4.2666 -4.2666 -8.5332 -4.2666 -12.7998 -4.2666s-8.5332 0 -12.7998 4.2666l-230.4 234.667
|
41
|
+
c-4.2666 4.2666 -4.2666 8.5332 -4.2666 12.7998s0 8.5332 4.2666 12.7998l234.667 234.667c4.2666 0 8.5332 4.2666 12.7998 4.2666s8.5332 0 12.7998 -4.2666l21.334 -25.6006c4.2666 -4.2666 8.5332 -8.5332 8.5332 -12.7998z" />
|
42
|
+
<glyph glyph-name="uniF103" unicode=""
|
43
|
+
d="M17.0664 -27.0225v364.089c0 11.3779 5.68945 19.9111 11.3779 25.6006c5.68945 5.68848 17.0664 11.3779 25.6006 11.3779h36.9775v28.4443c0 11.377 5.68848 22.7549 14.2217 31.2881c8.5332 8.53418 19.9111 14.2227 31.2891 14.2227h17.0664
|
44
|
+
c11.3779 0 22.7559 -5.68848 31.2891 -14.2227c8.5332 -8.5332 14.2227 -19.9111 14.2227 -31.2881v-28.4443h110.934v28.4443c0 11.377 5.68848 22.7549 14.2217 31.2881c8.5332 8.53418 19.9111 14.2227 31.2891 14.2227h17.0664
|
45
|
+
c11.3779 0 22.7559 -5.68848 31.2891 -14.2227c8.5332 -8.5332 14.2227 -19.9111 14.2227 -31.2881v-28.4443h36.9775c8.5332 0 17.0664 -2.84473 25.5996 -11.3779s11.3779 -17.0674 11.3779 -25.6006v-366.933c0 -8.53418 -2.84473 -17.0674 -11.3779 -25.6006
|
46
|
+
s-17.0664 -11.3779 -25.5996 -11.3779h-401.066c-8.53418 0 -17.0674 2.84473 -25.6006 11.3779c-5.68848 8.5332 -11.3779 17.0664 -11.3779 28.4443zM54.0449 183.467h82.4883v82.4883h-82.4883v-82.4883zM54.0449 72.5332h82.4883v91.0225h-82.4883v-91.0225z
|
47
|
+
M54.0449 -27.0225h82.4883v82.4893h-82.4883v-82.4893zM128 320c0 -2.84473 0 -5.68848 2.84473 -5.68848c2.84375 -2.84473 2.84375 -2.84473 5.68848 -2.84473h17.0664c2.84473 0 5.68945 0 5.68945 2.84473c2.84473 2.84375 2.84473 2.84375 2.84473 5.68848v82.4893
|
48
|
+
c0 2.84375 0 5.68848 -2.84473 5.68848c0 2.84473 0 2.84473 -2.84473 2.84473h-19.9111c-2.84473 0 -5.68848 0 -5.68848 -2.84473c-2.84473 0 -2.84473 -2.84473 -2.84473 -5.68848v-82.4893zM156.444 183.467h91.0225v82.4883h-91.0225v-82.4883zM156.444 72.5332
|
49
|
+
h91.0225v91.0225h-91.0225v-91.0225zM156.444 -27.0225h91.0225v82.4893h-91.0225v-82.4893zM264.533 183.467h91.0225v82.4883h-91.0225v-82.4883zM264.533 72.5332h91.0225v91.0225h-91.0225v-91.0225zM264.533 -27.0225h91.0225v82.4893h-91.0225v-82.4893zM347.022 320
|
50
|
+
c0 -2.84473 0 -5.68848 2.84375 -5.68848c2.84473 -2.84473 2.84473 -2.84473 5.68945 -2.84473h17.0664c2.84473 0 5.68945 0 5.68945 2.84473c2.84375 2.84375 2.84375 2.84375 2.84375 5.68848v82.4893c0 2.84375 0 5.68848 -2.84375 5.68848
|
51
|
+
c-2.84473 2.84473 -2.84473 2.84473 -5.68945 2.84473h-17.0664c-2.84473 0 -5.68945 0 -5.68945 -2.84473c-2.84375 -2.84473 -2.84375 -2.84473 -2.84375 -5.68848v-82.4893zM375.467 183.467h82.4883v82.4883h-82.4883v-82.4883zM375.467 72.5332h82.4883v91.0225
|
52
|
+
h-82.4883v-91.0225zM375.467 -27.0225h82.4883v82.4893h-82.4883v-82.4893z" />
|
53
|
+
<glyph glyph-name="uniF104" unicode=""
|
54
|
+
d="M424.3 416.4h-336.6c-14.9004 0 -29 -5.90039 -39.6006 -16.5c-10.5996 -10.6006 -16.5 -24.7002 -16.5 -39.6006v-336.7c0 -14.8994 5.90039 -29 16.5 -39.5996c10.6006 -10.5996 24.7002 -16.5 39.6006 -16.5h336.6c14.9004 0 29 5.90039 39.6006 16.5
|
55
|
+
c10.5996 10.5996 16.5 24.7002 16.5 39.5996v336.7c0 14.9004 -5.90039 29 -16.5 39.6006c-10.6006 10.5996 -24.7002 16.5 -39.6006 16.5zM424.3 444.5v0c46.2998 0 84.2002 -37.9004 84.2998 -84.2002v-336.7c0 -46.2998 -37.8994 -84.1992 -84.1992 -84.1992h-336.7
|
56
|
+
c-46.2998 0 -84.2002 37.8994 -84.2002 84.1992v336.7c0 46.2998 37.9004 84.2002 84.2002 84.2002h336.6zM126.5 191c0 4.90039 1.7002 9.09961 5.2002 12.5996l25.2002 25.2002c3.39941 3.5 7.59961 5.2002 12.5996 5.2002s9.09961 -1.7002 12.5996 -5.2002
|
57
|
+
l54.4004 -54.5996l121.5 121.6c3.5 3.40039 7.7002 5.2002 12.5996 5.2002c4.90039 0 9.10059 -1.7002 12.6006 -5.2002l25.2002 -25.2002c3.39941 -3.5 5.19922 -7.69922 5.19922 -12.5996s-1.69922 -9.09961 -5.19922 -12.5996l-134.101 -134l-25.2002 -25.2002
|
58
|
+
c-3.5 -3.5 -7.69922 -5.2002 -12.5996 -5.2002s-9.09961 1.7002 -12.5996 5.2002l-25.2002 25.2002l-67 67c-3.5 3.5 -5.2002 7.69922 -5.2002 12.5996z" />
|
59
|
+
<glyph glyph-name="uniF102" unicode=""
|
60
|
+
d="M512 193l-67.5996 -50.5l33.2998 -77.5l-83.7998 -9.90039l-9.90039 -83.7998l-77.5 33.2998l-50.5 -67.5996l-50.5 67.5996l-77.5 -33.2998l-9.90039 83.7998l-83.7998 9.90039l33.2998 77.5l-67.5996 50.5l67.5996 50.5l-33.2998 77.5l83.7998 9.90039l9.90039 83.7998
|
61
|
+
l77.5 -33.2998l50.5 67.5996l50.5 -67.5996l77.5 33.2998l9.90039 -83.7998l83.7998 -9.90039l-33.2998 -77.5zM254.2 316.5c-30.2998 0 -54.9004 -24.5996 -54.9004 -54.9004c0 -30.2998 24.6006 -54.8994 54.9004 -54.8994s54.8994 24.5996 54.8994 54.8994
|
62
|
+
c0 30.3008 -24.5996 54.9004 -54.8994 54.9004zM316.7 83c22.7998 0 38.2002 14.7998 38.2002 38c0 32.2998 -7.60059 82.9004 -49.5 82.9004c-4.40039 0 -23.2002 -20 -51.2002 -20s-46.7998 19.5996 -51.2002 19.5996c-41.9004 0 -49.5 -50.0996 -49.5 -82.4004
|
63
|
+
c0 -23.1992 15.5 -38.0996 38.2002 -38.0996h125z" />
|
64
|
+
<glyph glyph-name="uniF101" unicode=""
|
65
|
+
d="M370 145.9c53.7002 -29 129.9 -96.2002 122.6 -176.7c-10.6992 -1.7002 -128.1 -33.2002 -230.3 -33.2002c-130.5 0 -230.899 31.5 -231.1 33.2002c-7.10059 80.3994 69 147.399 122.6 176.399c-10.7002 15.8008 -16.5996 30.2002 -19.5 40.6006
|
66
|
+
c-38.8994 32.7998 -35.2998 84.3994 -22.8994 96.5c-6.2002 55.8994 19.3994 165.3 150.699 165.3c107 0 159.5 -76.4004 150 -165.2c0.300781 -0.299805 0.600586 -0.700195 0.900391 -1c12 -13.8994 9.09961 -33.2002 5.2002 -48.5
|
67
|
+
c-6.7002 -26.3994 -18.1006 -40.0996 -29 -47.0996c-3 -14.6006 -18.4004 -39.1006 -19.2002 -40.2998zM129.9 261.4c-1.2002 -36 17.7998 -58.7002 29 -57.2002c10.5 -65.1006 66.5996 -96.9004 103.199 -96.9004c39.2002 0 91.7002 32.7998 102.7 97
|
68
|
+
c4.90039 0.600586 18.5 2 26.7998 34.7998c6.5 25.4004 -0.299805 29.5 -5.2998 29.5c-1.39941 0 -21 -23.2998 -56.5 -17.1992c-45 7.5 -131.6 70.1992 -131.6 70.1992c-53 -7.59961 -45.4004 -106 -45.4004 -106l-11.2998 35zM472.7 -12.9004
|
69
|
+
c-0.700195 54.1006 -43.2002 99.4004 -117 139.5c-7.2998 -7.59961 -41.6006 -42.6992 -93.6006 -42.6992c-50.6992 0 -82 30.7998 -93.6992 42.6992c-46.6006 -24.7998 -116.7 -76.2998 -116.7 -139.6c21.8994 -6.7998 102.7 -27.5996 210.6 -27.5996
|
70
|
+
c72.2998 0 139.3 9.2998 210.4 27.6992z" />
|
71
|
+
</font>
|
72
|
+
</defs></svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
|
6
|
+
<g>
|
7
|
+
<path fill="#343434" d="M0.6,16.7V3.9C0.6,3.5,0.8,3.2,1,3s0.6-0.4,0.9-0.4h1.3v-1c0-0.4,0.2-0.8,0.5-1.1C4,0.2,4.4,0,4.8,0h0.6
|
8
|
+
c0.4,0,0.8,0.2,1.1,0.5c0.3,0.3,0.5,0.7,0.5,1.1v1h3.9v-1c0-0.4,0.2-0.8,0.5-1.1C11.7,0.2,12.1,0,12.5,0h0.6c0.4,0,0.8,0.2,1.1,0.5
|
9
|
+
c0.3,0.3,0.5,0.7,0.5,1.1v1h1.3c0.3,0,0.6,0.1,0.9,0.4c0.3,0.3,0.4,0.6,0.4,0.9v12.9c0,0.3-0.1,0.6-0.4,0.9
|
10
|
+
c-0.3,0.3-0.6,0.4-0.9,0.4H1.9c-0.3,0-0.6-0.1-0.9-0.4C0.8,17.4,0.6,17.1,0.6,16.7z M1.9,9.3h2.9V6.4H1.9V9.3z M1.9,13.2h2.9V10
|
11
|
+
H1.9V13.2z M1.9,16.7h2.9v-2.9H1.9V16.7z M4.5,4.5c0,0.1,0,0.2,0.1,0.2c0.1,0.1,0.1,0.1,0.2,0.1h0.6c0.1,0,0.2,0,0.2-0.1
|
12
|
+
c0.1-0.1,0.1-0.1,0.1-0.2V1.6c0-0.1,0-0.2-0.1-0.2C5.6,1.3,5.6,1.3,5.5,1.3H4.8c-0.1,0-0.2,0-0.2,0.1C4.5,1.4,4.5,1.5,4.5,1.6V4.5z
|
13
|
+
M5.5,9.3h3.2V6.4H5.5V9.3z M5.5,13.2h3.2V10H5.5V13.2z M5.5,16.7h3.2v-2.9H5.5V16.7z M9.3,9.3h3.2V6.4H9.3V9.3z M9.3,13.2h3.2V10
|
14
|
+
H9.3V13.2z M9.3,16.7h3.2v-2.9H9.3V16.7z M12.2,4.5c0,0.1,0,0.2,0.1,0.2c0.1,0.1,0.1,0.1,0.2,0.1h0.6c0.1,0,0.2,0,0.2-0.1
|
15
|
+
c0.1-0.1,0.1-0.1,0.1-0.2V1.6c0-0.1,0-0.2-0.1-0.2c-0.1-0.1-0.1-0.1-0.2-0.1h-0.6c-0.1,0-0.2,0-0.2,0.1c-0.1,0.1-0.1,0.1-0.1,0.2
|
16
|
+
V4.5z M13.2,9.3h2.9V6.4h-2.9V9.3z M13.2,13.2h2.9V10h-2.9V13.2z M13.2,16.7h2.9v-2.9h-2.9V16.7z"/>
|
17
|
+
</g>
|
18
|
+
</svg>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
|
6
|
+
<g>
|
7
|
+
<path d="M424.3,31.6c14.9,0,29,5.9,39.6,16.5c10.6,10.6,16.5,24.7,16.5,39.6v336.7c0,14.9-5.9,29-16.5,39.6
|
8
|
+
c-10.6,10.6-24.7,16.5-39.6,16.5H87.7c-14.9,0-29-5.9-39.6-16.5c-10.6-10.6-16.5-24.7-16.5-39.6V87.7c0-14.9,5.9-29,16.5-39.6
|
9
|
+
s24.7-16.5,39.6-16.5H424.3 M424.3,3.5H87.7C41.4,3.5,3.5,41.4,3.5,87.7v336.7c0,46.3,37.9,84.2,84.2,84.2h336.7
|
10
|
+
c46.3,0,84.2-37.9,84.2-84.2V87.7C508.5,41.4,470.6,3.5,424.3,3.5L424.3,3.5z"/>
|
11
|
+
</g>
|
12
|
+
<g>
|
13
|
+
<path d="M126.5,257c0-4.9,1.7-9.1,5.2-12.6l25.2-25.2c3.4-3.5,7.6-5.2,12.6-5.2s9.1,1.7,12.6,5.2l54.4,54.6L358,152.2
|
14
|
+
c3.5-3.4,7.7-5.2,12.6-5.2c4.9,0,9.1,1.7,12.6,5.2l25.2,25.2c3.4,3.5,5.2,7.7,5.2,12.6c0,4.9-1.7,9.1-5.2,12.6L274.3,336.6
|
15
|
+
l-25.2,25.2c-3.5,3.5-7.7,5.2-12.6,5.2c-4.9,0-9.1-1.7-12.6-5.2l-25.2-25.2l-67-67C128.2,266.1,126.5,261.9,126.5,257z"/>
|
16
|
+
</g>
|
17
|
+
</svg>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
|
6
|
+
<g>
|
7
|
+
<path d="M424.3,31.6c14.9,0,29,5.9,39.6,16.5c10.6,10.6,16.5,24.7,16.5,39.6v336.7c0,14.9-5.9,29-16.5,39.6
|
8
|
+
c-10.6,10.6-24.7,16.5-39.6,16.5H87.7c-14.9,0-29-5.9-39.6-16.5c-10.6-10.6-16.5-24.7-16.5-39.6V87.7c0-14.9,5.9-29,16.5-39.6
|
9
|
+
s24.7-16.5,39.6-16.5H424.3 M424.3,3.5H87.7C41.4,3.5,3.5,41.4,3.5,87.7v336.7c0,46.3,37.9,84.2,84.2,84.2h336.7
|
10
|
+
c46.3,0,84.2-37.9,84.2-84.2V87.7C508.5,41.4,470.6,3.5,424.3,3.5L424.3,3.5z"/>
|
11
|
+
</g>
|
12
|
+
</svg>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 12 12" enable-background="new 0 0 12 12" xml:space="preserve">
|
6
|
+
<g>
|
7
|
+
<path d="M11.7,1.1c0,0.1,0,0.2-0.1,0.3L6.9,6l4.6,4.6c0.1,0.1,0.1,0.2,0.1,0.3c0,0.1,0,0.2-0.1,0.3L11,11.8
|
8
|
+
c-0.1,0.1-0.2,0.1-0.3,0.1c-0.1,0-0.2,0-0.3-0.1L5,6.3C4.9,6.2,4.8,6.1,4.8,6c0-0.1,0-0.2,0.1-0.3l5.5-5.5c0.1-0.1,0.2-0.1,0.3-0.1
|
9
|
+
c0.1,0,0.2,0,0.3,0.1l0.6,0.6C11.7,0.9,11.7,1,11.7,1.1z M7.2,1.1c0,0.1,0,0.2-0.1,0.3L2.4,6L7,10.6c0.1,0.1,0.1,0.2,0.1,0.3
|
10
|
+
c0,0.1,0,0.2-0.1,0.3l-0.6,0.6c-0.1,0.1-0.2,0.1-0.3,0.1c-0.1,0-0.2,0-0.3-0.1L0.4,6.3C0.3,6.2,0.3,6.1,0.3,6c0-0.1,0-0.2,0.1-0.3
|
11
|
+
l5.5-5.5C6,0.2,6.1,0.1,6.2,0.1c0.1,0,0.2,0,0.3,0.1L7,0.8C7.1,0.9,7.2,1,7.2,1.1z"/>
|
12
|
+
</g>
|
13
|
+
</svg>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 12 12" enable-background="new 0 0 12 12" xml:space="preserve">
|
6
|
+
<g>
|
7
|
+
<path d="M0.3,10.9c0-0.1,0-0.2,0.1-0.3L5.1,6L0.4,1.4C0.3,1.3,0.3,1.2,0.3,1.1c0-0.1,0-0.2,0.1-0.3L1,0.2c0.1-0.1,0.2-0.1,0.3-0.1
|
8
|
+
c0.1,0,0.2,0,0.3,0.1L7,5.7C7.1,5.8,7.2,5.9,7.2,6c0,0.1,0,0.2-0.1,0.3l-5.5,5.5c-0.1,0.1-0.2,0.1-0.3,0.1c-0.1,0-0.2,0-0.3-0.1
|
9
|
+
l-0.6-0.6C0.3,11.1,0.3,11,0.3,10.9z M4.8,10.9c0-0.1,0-0.2,0.1-0.3L9.6,6L5,1.4C4.9,1.3,4.8,1.2,4.8,1.1c0-0.1,0-0.2,0.1-0.3
|
10
|
+
l0.6-0.6c0.1-0.1,0.2-0.1,0.3-0.1c0.1,0,0.2,0,0.3,0.1l5.5,5.5c0.1,0.1,0.1,0.2,0.1,0.3c0,0.1,0,0.2-0.1,0.3l-5.5,5.5
|
11
|
+
c-0.1,0.1-0.2,0.1-0.3,0.1c-0.1,0-0.2,0-0.3-0.1L5,11.2C4.9,11.1,4.8,11,4.8,10.9z"/>
|
12
|
+
</g>
|
13
|
+
</svg>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
|
6
|
+
<path fill="#010101" d="M370,302.1c0.8-1.2,16.2-25.7,19.2-40.3c10.9-7,22.3-20.7,29-47.1c3.9-15.3,6.8-34.6-5.2-48.5
|
7
|
+
c-0.3-0.3-0.6-0.7-0.9-1C421.6,76.4,369.1,0,262.1,0C130.8,0,105.2,109.4,111.4,165.3c-12.4,12.1-16,63.7,22.9,96.5
|
8
|
+
c2.9,10.4,8.8,24.8,19.5,40.6c-53.6,29-129.7,96-122.6,176.4c0.2,1.7,100.6,33.2,231.1,33.2c102.2,0,219.6-31.5,230.3-33.2
|
9
|
+
C499.9,398.3,423.7,331.1,370,302.1z M129.9,186.6l11.6,10.8l11.3,35c0,0-7.6-98.4,45.4-106c0,0,86.6,62.7,131.6,70.2
|
10
|
+
c35.5,6.1,55.1-17.2,56.5-17.2c5,0,11.8,4.1,5.3,29.5c-8.3,32.8-21.9,34.2-26.8,34.8c-11,64.2-63.5,97-102.7,97
|
11
|
+
c-36.6,0-92.7-31.8-103.2-96.9C147.7,245.3,128.7,222.6,129.9,186.6z M472.7,460.9c-71.1,18.4-138.1,27.7-210.4,27.7
|
12
|
+
c-107.9,0-188.7-20.8-210.6-27.6c0-63.3,70.1-114.8,116.7-139.6c11.7,11.9,43,42.7,93.7,42.7c52,0,86.3-35.1,93.6-42.7
|
13
|
+
C429.5,361.5,472,406.8,472.7,460.9z"/>
|
14
|
+
</svg>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
|
6
|
+
<path d="M512,255l-67.6-50.5l33.3-77.5l-83.8-9.9L384,33.3l-77.5,33.3L256-1l-50.5,67.6L128,33.3l-9.9,83.8L34.3,127l33.3,77.5
|
7
|
+
L0,255l67.6,50.5L34.3,383l83.8,9.9l9.9,83.8l77.5-33.3L256,511l50.5-67.6l77.5,33.3l9.9-83.8l83.8-9.9l-33.3-77.5L512,255z
|
8
|
+
M254.2,131.5c30.3,0,54.9,24.6,54.9,54.9s-24.6,54.9-54.9,54.9s-54.9-24.6-54.9-54.9S223.9,131.5,254.2,131.5z M316.7,365h-125
|
9
|
+
c-22.7,0-38.2-14.9-38.2-38.1c0-32.3,7.6-82.4,49.5-82.4c4.4,0,23.2,19.6,51.2,19.6c28,0,46.8-20,51.2-20
|
10
|
+
c41.9,0,49.5,50.6,49.5,82.9C354.9,350.2,339.5,365,316.7,365z"/>
|
11
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
//= require jquery
|
2
|
+
//= require jquery_ujs
|
3
|
+
//= require_self
|
4
|
+
//= require_tree ./vendor
|
5
|
+
//= require_tree ./lib
|
6
|
+
//= require ./presenter
|
7
|
+
//= require ./show_code
|
8
|
+
//= require ./popover
|
9
|
+
//= require_tree ./patterns
|
10
|
+
//= require groundworkcss/components/equalizeColumns
|
11
|
+
//= require bootstrap/tooltip
|
12
|
+
//= require bootstrap/popover
|
13
|
+
//= require bootstrap/dropdown
|
14
|
+
//= require bootstrap/tab
|
15
|
+
|
16
|
+
window.undercase = window.undercase || {};
|
17
|
+
$(document).ready(function() {
|
18
|
+
window.undercase.present();
|
19
|
+
});
|
@@ -0,0 +1,28 @@
|
|
1
|
+
(function(timezoneJS) {
|
2
|
+
var callbacks = [];
|
3
|
+
var generateAbbreviation = function(date) {
|
4
|
+
return (new timezoneJS.Date(date, 'America/New_York')).getTimezoneAbbreviation();
|
5
|
+
};
|
6
|
+
|
7
|
+
timezoneJS.casebook = {
|
8
|
+
initialized: false,
|
9
|
+
init: function() {
|
10
|
+
timezoneJS.timezone.zoneFileBasePath = '/timezones';
|
11
|
+
timezoneJS.timezone.init({
|
12
|
+
callback: function() {
|
13
|
+
timezoneJS.casebook.initialized = true;
|
14
|
+
_.each(callbacks, function(callback) { callback() });
|
15
|
+
}
|
16
|
+
});
|
17
|
+
},
|
18
|
+
getTimezoneAbbreviation: function(date, callback) {
|
19
|
+
if(!timezoneJS.casebook.initialized) {
|
20
|
+
callbacks.push( function() { callback(generateAbbreviation(date)) } );
|
21
|
+
} else {
|
22
|
+
callback(generateAbbreviation(date));
|
23
|
+
}
|
24
|
+
}
|
25
|
+
};
|
26
|
+
|
27
|
+
timezoneJS.casebook.init();
|
28
|
+
}(timezoneJS));
|
@@ -0,0 +1,75 @@
|
|
1
|
+
(function($) {
|
2
|
+
$(document).on('Filter:present', function(event){
|
3
|
+
var section = $(event.target);
|
4
|
+
var clearLink = $('.js-clear-filters-link', section);
|
5
|
+
var facets = $('.js-filter__facet', section);
|
6
|
+
var subFacets = $('.js-filter__sub-facet', section);
|
7
|
+
|
8
|
+
// Facet changed
|
9
|
+
facets.on('change', function(event) {
|
10
|
+
var facet = $(event.target);
|
11
|
+
updateSubFacets(facet);
|
12
|
+
if(facet.attr('checked')) {
|
13
|
+
facet.trigger('expandFilters');
|
14
|
+
clearLink.show();
|
15
|
+
}
|
16
|
+
hideClearLink();
|
17
|
+
});
|
18
|
+
|
19
|
+
function updateSubFacets(facet) {
|
20
|
+
var filterSet = facet.closest('.js-filter');
|
21
|
+
var subFacetsInFilterSet = $('.js-filter__sub-facet', filterSet);
|
22
|
+
var facetChecked = facet.is(':checked');
|
23
|
+
|
24
|
+
if(facetChecked) {
|
25
|
+
if (filterSet.hasClass('js-filter-show-only')) {
|
26
|
+
return;
|
27
|
+
}
|
28
|
+
subFacetsInFilterSet.attr('checked', 'checked');
|
29
|
+
} else {
|
30
|
+
subFacetsInFilterSet.attr('checked', false);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
// Sub-Facet changed
|
35
|
+
subFacets.on('change', function(event) {
|
36
|
+
var subFacet = $(event.target);
|
37
|
+
updateFacet(subFacet);
|
38
|
+
if(subFacet.attr('checked')) {
|
39
|
+
clearLink.show();
|
40
|
+
}
|
41
|
+
hideClearLink();
|
42
|
+
});
|
43
|
+
|
44
|
+
function updateFacet(subFacet) {
|
45
|
+
var filterSet = subFacet.closest('.js-filter');
|
46
|
+
var facet = $('.js-filter__facet', filterSet);
|
47
|
+
|
48
|
+
var subFacetsChecked = $('.js-filter__sub-facet:checked', filterSet);
|
49
|
+
if(subFacetsChecked.length === 0) {
|
50
|
+
if (filterSet.hasClass('js-filter-show-only')) {
|
51
|
+
return;
|
52
|
+
}
|
53
|
+
facet.attr('checked', false);
|
54
|
+
} else {
|
55
|
+
facet.attr('checked', 'checked');
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
// Clear link clicked
|
60
|
+
clearLink.on('click', function(event){
|
61
|
+
event.preventDefault();
|
62
|
+
facets.attr('checked', false);
|
63
|
+
subFacets.attr('checked', false);
|
64
|
+
clearLink.hide();
|
65
|
+
});
|
66
|
+
|
67
|
+
// Miscellaneous functions
|
68
|
+
function hideClearLink() {
|
69
|
+
var facetsChecked = $('.js-filter__facet:checked', section);
|
70
|
+
if(facetsChecked.length === 0) {
|
71
|
+
clearLink.hide();
|
72
|
+
}
|
73
|
+
}
|
74
|
+
});
|
75
|
+
})(jQuery);
|
@@ -0,0 +1,64 @@
|
|
1
|
+
(function($) {
|
2
|
+
$(document).on('FlexibleSearchMenu:present', function(event){
|
3
|
+
var $element = $(event.target);
|
4
|
+
var $flexibleSelectContainer = $element.find('.js-flexible-container');
|
5
|
+
var $flexibleSelect = $flexibleSelectContainer.find('.js-flexible-select');
|
6
|
+
|
7
|
+
var ARROW_PADDING = 30;
|
8
|
+
var OVERFLOW_PADDING = 30;
|
9
|
+
var DEFAULT_PADDING = parseInt($flexibleSelect.css('padding-left'), 10);
|
10
|
+
|
11
|
+
var flexibleSearchMenu = {
|
12
|
+
|
13
|
+
init: function() {
|
14
|
+
this.resizeSearchMenu();
|
15
|
+
this.bind();
|
16
|
+
},
|
17
|
+
|
18
|
+
bind: function() {
|
19
|
+
$flexibleSelect.on('change', function() {
|
20
|
+
flexibleSearchMenu.resizeSearchMenu();
|
21
|
+
});
|
22
|
+
|
23
|
+
$(window).on('resize', function() {
|
24
|
+
if (window.undercase.BreakpointTell.isMobile()) {
|
25
|
+
flexibleSearchMenu.clearResizedCss();
|
26
|
+
} else {
|
27
|
+
flexibleSearchMenu.resizeSearchMenu();
|
28
|
+
}
|
29
|
+
});
|
30
|
+
},
|
31
|
+
|
32
|
+
resizeSearchMenu: function() {
|
33
|
+
var calculatedWidth = this.getTextWidth() + DEFAULT_PADDING + ARROW_PADDING;
|
34
|
+
|
35
|
+
if (window.undercase.BreakpointTell.isMobile()) {
|
36
|
+
$flexibleSelectContainer.css('width', '');
|
37
|
+
return;
|
38
|
+
}
|
39
|
+
|
40
|
+
$element.css('padding-left', calculatedWidth);
|
41
|
+
$flexibleSelectContainer.css('width', calculatedWidth);
|
42
|
+
$flexibleSelect.css('width', calculatedWidth + OVERFLOW_PADDING);
|
43
|
+
},
|
44
|
+
|
45
|
+
clearResizedCss: function() {
|
46
|
+
$element.css('padding-left', '');
|
47
|
+
$flexibleSelectContainer.css('width', '');
|
48
|
+
$flexibleSelect.css('width', '');
|
49
|
+
},
|
50
|
+
|
51
|
+
getTextWidth: function() {
|
52
|
+
this.flexibleSelectValue = $flexibleSelect.children(':selected').text();
|
53
|
+
this.hiddenSpan = $('<span>' + this.flexibleSelectValue + '</span>').hide().appendTo(document.body)
|
54
|
+
this.hiddenSpan.css("font-size", ($flexibleSelect.css("font-size")));
|
55
|
+
|
56
|
+
return this.hiddenSpan.width();
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
flexibleSearchMenu.init();
|
61
|
+
|
62
|
+
});
|
63
|
+
|
64
|
+
})(jQuery);
|