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,33 @@
|
|
1
|
+
//
|
2
|
+
// FORM-SPECIFIC MIXINS
|
3
|
+
//
|
4
|
+
@mixin uc-field-style {
|
5
|
+
@include border-radius(3px);
|
6
|
+
padding: 0.4em;
|
7
|
+
font-family: $font-family;
|
8
|
+
font-size: $font-size;
|
9
|
+
line-height: 1.5em;
|
10
|
+
height: 2.3em;
|
11
|
+
background-color: white;
|
12
|
+
border: $light-border-width solid $border-color;
|
13
|
+
@media #{$small-tablet} {
|
14
|
+
font-size: $uc-form-embiggened-input-font-size;
|
15
|
+
}
|
16
|
+
&:focus {
|
17
|
+
border: $solid-middle-blue-2-border;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
@mixin uc-form-flow-margin {
|
22
|
+
margin-bottom: $gutter * 2;
|
23
|
+
}
|
24
|
+
|
25
|
+
@mixin uc-label {
|
26
|
+
display: block;
|
27
|
+
margin-bottom: $gutter*0.5;
|
28
|
+
font-weight: $semibold-weight;
|
29
|
+
color: $dark-gray;
|
30
|
+
@media #{$small-tablet} {
|
31
|
+
font-size: $uc-form-embiggened-label-font-size;
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
//
|
2
|
+
// CUSTOM RESOPNSIVE SO WE DONT HAVE TO EXTEND GROUNDWORK
|
3
|
+
//
|
4
|
+
@mixin groundwork-column {
|
5
|
+
float: left;
|
6
|
+
position: relative;
|
7
|
+
}
|
8
|
+
@mixin respond-small-tablet {
|
9
|
+
@include groundwork-column;
|
10
|
+
@if $responsive {
|
11
|
+
@media #{$small-tablet} {
|
12
|
+
width:100% !important;
|
13
|
+
float:none;
|
14
|
+
clear:both;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
@mixin groundwork-centered {
|
20
|
+
float: none !important;
|
21
|
+
margin-left: auto !important;
|
22
|
+
margin-right: auto !important;
|
23
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
//
|
2
|
+
// REM TOOLS
|
3
|
+
//
|
4
|
+
@mixin font-size-px-to-rem($new-font-size, $give-line-height: false) {
|
5
|
+
font-size: ($new-font-size / $font-size) * 1rem;
|
6
|
+
@if $give-line-height {
|
7
|
+
line-height: ($new-font-size / $font-size) * 1.2rem;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
//
|
12
|
+
// ICON
|
13
|
+
//
|
14
|
+
@mixin icon-inline-block {
|
15
|
+
display: inline-block;
|
16
|
+
font-family: $icon-font-family;
|
17
|
+
font-style: normal;
|
18
|
+
font-weight: $normal-weight;
|
19
|
+
line-height: 1;
|
20
|
+
text-decoration: none;
|
21
|
+
-webkit-font-smoothing: antialiased;
|
22
|
+
-moz-osx-font-smoothing: grayscale;
|
23
|
+
}
|
24
|
+
|
25
|
+
//
|
26
|
+
// REFACTORED TYPOGRAPHY
|
27
|
+
//
|
28
|
+
// type-[SIZE]-[WEIGHT]-[STYLE]
|
29
|
+
@mixin type-x-large-normal-normal {
|
30
|
+
font-size: $x-large;
|
31
|
+
line-height: $large-line-height;
|
32
|
+
font-style: normal;
|
33
|
+
font-weight: $normal-weight;
|
34
|
+
}
|
35
|
+
@mixin type-x-large-normal-bold {
|
36
|
+
font-size: $x-large;
|
37
|
+
line-height: $large-line-height;
|
38
|
+
font-style: normal;
|
39
|
+
font-weight: $bold-weight;
|
40
|
+
}
|
41
|
+
@mixin type-huge-normal-semibold {
|
42
|
+
font-size: $huge;
|
43
|
+
line-height: $huge-line-height;
|
44
|
+
font-style: normal;
|
45
|
+
font-weight: $semibold-weight;
|
46
|
+
}
|
47
|
+
@mixin type-tiny-normal-semibold {
|
48
|
+
font-size: $small;
|
49
|
+
line-height: $small-line-height;
|
50
|
+
font-style: normal;
|
51
|
+
font-weight: $semibold-weight;
|
52
|
+
}
|
53
|
+
@mixin type-small-normal-normal {
|
54
|
+
font-size: $small;
|
55
|
+
line-height: $small-line-height;
|
56
|
+
font-style: normal;
|
57
|
+
font-weight: $normal-weight;
|
58
|
+
}
|
59
|
+
@mixin type-small-normal-semibold {
|
60
|
+
font-size: $small;
|
61
|
+
line-height: $small-line-height;
|
62
|
+
font-style: normal;
|
63
|
+
font-weight: $semibold-weight;
|
64
|
+
}
|
65
|
+
@mixin type-medium-normal-normal {
|
66
|
+
font-size: $medium;
|
67
|
+
line-height: $small-line-height;
|
68
|
+
font-style: normal;
|
69
|
+
font-weight: $normal-weight;
|
70
|
+
}
|
71
|
+
@mixin type-medium-normal-semibold {
|
72
|
+
font-size: $medium;
|
73
|
+
line-height: $small-line-height;
|
74
|
+
font-style: normal;
|
75
|
+
font-weight: $semibold-weight;
|
76
|
+
}
|
77
|
+
@mixin type-medium-small-italic-semibold {
|
78
|
+
font-size: $medium-small;
|
79
|
+
line-height: $small-line-height;
|
80
|
+
font-style: italic;
|
81
|
+
font-weight: $semibold-weight;
|
82
|
+
}
|
83
|
+
@mixin type-medium-small-normal-normal {
|
84
|
+
font-size: $medium-small;
|
85
|
+
line-height: $small-line-height;
|
86
|
+
font-style: normal;
|
87
|
+
font-weight: $normal-weight;
|
88
|
+
}
|
89
|
+
@mixin type-medium-small-normal-semibold {
|
90
|
+
font-size: $medium-small;
|
91
|
+
line-height: $small-line-height;
|
92
|
+
font-style: normal;
|
93
|
+
font-weight: $semibold-weight;
|
94
|
+
}
|
95
|
+
@mixin type-small-italic-normal {
|
96
|
+
font-size: $small;
|
97
|
+
font-style: italic;
|
98
|
+
}
|
99
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
@import 'borders';
|
2
|
+
@import 'box_helpers';
|
3
|
+
@import 'buttons';
|
4
|
+
@import 'cards';
|
5
|
+
@import 'chevrons';
|
6
|
+
@import 'colors';
|
7
|
+
@import 'compass/reset';
|
8
|
+
@import 'content_with_toolbar';
|
9
|
+
@import 'dropdowns';
|
10
|
+
@import 'filters';
|
11
|
+
@import 'font_faces';
|
12
|
+
@import 'forms';
|
13
|
+
@import 'icons';
|
14
|
+
@import 'inline_message';
|
15
|
+
@import 'layout';
|
16
|
+
@import 'length_of_time';
|
17
|
+
@import 'links';
|
18
|
+
@import 'lists';
|
19
|
+
@import 'media';
|
20
|
+
@import 'modals';
|
21
|
+
@import 'navigation';
|
22
|
+
@import 'pagination';
|
23
|
+
@import 'popovers';
|
24
|
+
@import 'quiz';
|
25
|
+
@import 'site';
|
26
|
+
@import 'spinners';
|
27
|
+
@import 'tables';
|
28
|
+
@import 'tabs';
|
29
|
+
@import 'typography';
|
30
|
+
@import 'horizontal_rules';
|
31
|
+
@import 'undercase_icons/glyphs';
|
32
|
+
@import 'person_placard';
|
@@ -0,0 +1,89 @@
|
|
1
|
+
//
|
2
|
+
// left border sensitive to edit mode
|
3
|
+
//
|
4
|
+
.uc-editable-border-left {
|
5
|
+
border-left: $solid-yellow-border;
|
6
|
+
.new &,
|
7
|
+
.edit & {
|
8
|
+
border-left: $solid-blue-border;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
//
|
13
|
+
// gray
|
14
|
+
//
|
15
|
+
.uc-border-top-gray-dotted {
|
16
|
+
border-top: $light-border-width dotted $light-gray;
|
17
|
+
}
|
18
|
+
.uc-border-bottom-gray-dotted {
|
19
|
+
border-bottom: $dotted-light-gray-border;
|
20
|
+
}
|
21
|
+
|
22
|
+
//
|
23
|
+
// middle-gray
|
24
|
+
//
|
25
|
+
.uc-border-bottom-middle-gray {
|
26
|
+
border-bottom: $solid-light-gray-border;
|
27
|
+
}
|
28
|
+
.uc-border-bottom-middle-gray-dotted {
|
29
|
+
border-bottom: $dotted-middle-gray-border;
|
30
|
+
}
|
31
|
+
|
32
|
+
//
|
33
|
+
// light gray
|
34
|
+
//
|
35
|
+
.uc-border--light-gray {
|
36
|
+
border: $solid-light-gray-border;
|
37
|
+
}
|
38
|
+
|
39
|
+
//
|
40
|
+
// lighter-gray
|
41
|
+
//
|
42
|
+
.uc-border--lighter-gray {
|
43
|
+
border: $light-border-width solid $lighter-gray;
|
44
|
+
}
|
45
|
+
.uc-border-top-lighter-gray {
|
46
|
+
border-top: $light-border-width solid $lighter-gray;
|
47
|
+
}
|
48
|
+
.uc-border-bottom-lighter-gray {
|
49
|
+
border-bottom: $light-border-width solid $lighter-gray;
|
50
|
+
}
|
51
|
+
|
52
|
+
//
|
53
|
+
// blue
|
54
|
+
//
|
55
|
+
.uc-border-bottom-blue {
|
56
|
+
border-bottom: $solid-middle-blue-2-border;
|
57
|
+
}
|
58
|
+
.uc-border-top--blue-dotted {
|
59
|
+
border-top: $dotted-middle-blue-2-border;
|
60
|
+
}
|
61
|
+
|
62
|
+
//
|
63
|
+
// middle-blue-2
|
64
|
+
//
|
65
|
+
.uc-border-bottom-solid-middle-blue-2 {
|
66
|
+
border-bottom: $solid-middle-blue-2-border;
|
67
|
+
}
|
68
|
+
|
69
|
+
//
|
70
|
+
// yellow
|
71
|
+
//
|
72
|
+
.uc-border-top-yellow-dotted {
|
73
|
+
border-top: $dotted-yellow-border;
|
74
|
+
}
|
75
|
+
|
76
|
+
//
|
77
|
+
// TODO: Does not belong here. Make it a separate pattern
|
78
|
+
// blue background and border on hover
|
79
|
+
//
|
80
|
+
.uc-border-blue-on-hover {
|
81
|
+
border: $light-border-width solid $white;
|
82
|
+
border-radius: 5px;
|
83
|
+
padding: $gutter/2;
|
84
|
+
|
85
|
+
&:hover {
|
86
|
+
border: $light-border-width solid $light-blue;
|
87
|
+
background-color: $hover-blue;
|
88
|
+
}
|
89
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.one-and-a-half-padded {
|
2
|
+
padding: $gutter*1.5;
|
3
|
+
}
|
4
|
+
|
5
|
+
.one-and-a-half-pad-top {
|
6
|
+
padding-top: $gutter*1.5;
|
7
|
+
}
|
8
|
+
|
9
|
+
.one-and-a-half-pad-right {
|
10
|
+
padding-right: $gutter*1.5;
|
11
|
+
}
|
12
|
+
|
13
|
+
.one-and-a-half-pad-bottom {
|
14
|
+
padding-bottom: $gutter*1.5;
|
15
|
+
}
|
16
|
+
|
17
|
+
.one-and-a-half-pad-left {
|
18
|
+
padding-left: $gutter*1.5;
|
19
|
+
}
|
20
|
+
|
21
|
+
.one-and-a-half-gapped {
|
22
|
+
margin: $gutter*1.5;
|
23
|
+
}
|
24
|
+
|
25
|
+
.one-and-a-half-gap-top {
|
26
|
+
margin-top: $gutter*1.5;
|
27
|
+
}
|
28
|
+
|
29
|
+
.one-and-a-half-gap-right {
|
30
|
+
margin-right: $gutter*1.5;
|
31
|
+
}
|
32
|
+
|
33
|
+
.one-and-a-half-gap-bottom {
|
34
|
+
margin-bottom: $gutter*1.5;
|
35
|
+
}
|
36
|
+
|
37
|
+
.one-and-a-half-gap-left {
|
38
|
+
margin-left: $gutter*1.5;
|
39
|
+
}
|
@@ -0,0 +1,110 @@
|
|
1
|
+
//
|
2
|
+
// NEW FLAT BUTTONS
|
3
|
+
//
|
4
|
+
.cc-button-primary {
|
5
|
+
@include cc-button-flat-primary(white, $medium-orange, darken($medium-orange, 5%));
|
6
|
+
}
|
7
|
+
.cc-button-flat-green-primary {
|
8
|
+
@include cc-button-flat-primary(white, #198466, darken(#198466, 7), rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.08));
|
9
|
+
}
|
10
|
+
.cc-button-flat-gray-primary {
|
11
|
+
@include cc-button-flat-primary($dark-gray, $lighter-gray, $light-gray2, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0.04));
|
12
|
+
}
|
13
|
+
@-moz-document url-prefix() {
|
14
|
+
a.cc-button-flat-gray-primary,
|
15
|
+
a.cc-button-flat-green-primary {
|
16
|
+
padding:11px 21px;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.cc-button-secondary {
|
21
|
+
@include cc-button-flat-secondary(white, $medium-orange, darken($medium-orange, 5%));
|
22
|
+
}
|
23
|
+
.cc-button-flat-blue-secondary {
|
24
|
+
@include cc-button-flat-secondary(white, $link-blue, $darker-blue, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.08));
|
25
|
+
}
|
26
|
+
.cc-button-flat-gray-secondary {
|
27
|
+
@include cc-button-flat-secondary($dark-gray, $lighter-gray, $light-gray2, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0.04));
|
28
|
+
}
|
29
|
+
|
30
|
+
@-moz-document url-prefix() {
|
31
|
+
input.cc-button-flat-gray-secondary,
|
32
|
+
input.cc-button-flat-blue-secondary {
|
33
|
+
padding:3px 14px;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
//
|
38
|
+
// SPLIT BUTTON
|
39
|
+
//
|
40
|
+
.uc-button--flat-gray--split {
|
41
|
+
position: relative;
|
42
|
+
display: table;
|
43
|
+
}
|
44
|
+
.uc-button--flat-gray--split--left {
|
45
|
+
@include cc-button-flat-secondary($dark-gray, $lighter-gray, $light-gray2, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0.04));
|
46
|
+
@include border-left-radius(3px);
|
47
|
+
@include border-right-radius(0px);
|
48
|
+
margin: 0;
|
49
|
+
padding: $gutter/2 $gutter;
|
50
|
+
display: table-cell;
|
51
|
+
min-width: 98px;
|
52
|
+
max-width: 200px;
|
53
|
+
overflow: hidden;
|
54
|
+
}
|
55
|
+
|
56
|
+
.uc-button--flat-gray--split--right {
|
57
|
+
@include cc-button-flat-secondary($dark-gray, $lighter-gray, $light-gray2, rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0.04));
|
58
|
+
@include border-left-radius(0);
|
59
|
+
@include border-right-radius(3px);
|
60
|
+
margin: 0;
|
61
|
+
padding: $gutter/2;
|
62
|
+
width: 22px;
|
63
|
+
min-width: 22px;
|
64
|
+
&:after {
|
65
|
+
@include icon-inline-block;
|
66
|
+
content: $uc-icon-caret-down;
|
67
|
+
}
|
68
|
+
|
69
|
+
display: table-cell;
|
70
|
+
}
|
71
|
+
|
72
|
+
//
|
73
|
+
// LEGACY BUTTONS
|
74
|
+
//
|
75
|
+
.cc-button-auto {
|
76
|
+
@include cc-button;
|
77
|
+
@include cc-button-min-width;
|
78
|
+
.show &,
|
79
|
+
.index & {
|
80
|
+
@include cc-button-color-fade($white, $medium-orange, $medium-orange, $medium-orange, $light-orange);
|
81
|
+
}
|
82
|
+
.new &,
|
83
|
+
.edit & {
|
84
|
+
@include cc-button-color-fade($white, $blue, $blue, $blue, $middle-blue-2); }
|
85
|
+
}
|
86
|
+
.cc-button-gray {
|
87
|
+
@include cc-button;
|
88
|
+
@include cc-button-min-width;
|
89
|
+
@include cc-button-color-fade($dark-gray, $lighter-gray, $light-gray, $lighter-gray, darken($lighter-gray,5%));
|
90
|
+
text-shadow: 0 0 1px $lighter-gray;
|
91
|
+
}
|
92
|
+
.cc-button-icon {
|
93
|
+
@include cc-button;
|
94
|
+
@include cc-button-color-fade($dark-gray, $lighter-gray, $light-gray, $lighter-gray, darken($lighter-gray,5%));
|
95
|
+
text-shadow: 0 0 1px $lighter-gray;
|
96
|
+
padding: 0 $gutter;
|
97
|
+
&.cc-button-icon--suffix {
|
98
|
+
@include border-left-radius(0);
|
99
|
+
}
|
100
|
+
}
|
101
|
+
.cc-button-wire-auto {
|
102
|
+
.show &,
|
103
|
+
.index & {
|
104
|
+
@include cc-button-wire($medium-orange, $white, $medium-orange);
|
105
|
+
}
|
106
|
+
.new &,
|
107
|
+
.edit & {
|
108
|
+
@include cc-button-wire($blue, $white, $blue);
|
109
|
+
}
|
110
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// add new
|
2
|
+
.uc-add-new-button {
|
3
|
+
&:before {
|
4
|
+
@include icon-inline-block;
|
5
|
+
content: $uc-icon-plus-circle;
|
6
|
+
padding-right: $gutter;
|
7
|
+
font-size: $x-large;
|
8
|
+
vertical-align: middle;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.uc-emphasized-box--blue {
|
13
|
+
padding: $gutter;
|
14
|
+
background-color: $hover-blue;
|
15
|
+
@include border-radius($small-border-radius);
|
16
|
+
}
|
17
|
+
|
18
|
+
.uc-emphasized-box__label {
|
19
|
+
font-weight: $semibold-weight;
|
20
|
+
}
|
21
|
+
|
22
|
+
.uc-card__nested-form {
|
23
|
+
@include border-radius($small-border-radius);
|
24
|
+
background-color: $sky-blue;
|
25
|
+
padding: $gutter;
|
26
|
+
border: $solid-blue-border;
|
27
|
+
}
|
28
|
+
.uc-card__nested-form--white {
|
29
|
+
@extend .uc-card__nested-form;
|
30
|
+
background-color: white;
|
31
|
+
}
|
32
|
+
|
33
|
+
.uc-bordered-heading {
|
34
|
+
border-bottom: solid 1px $light-gray;
|
35
|
+
margin-bottom: $gutter;
|
36
|
+
}
|