yattho_view_components 0.0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/app/assets/javascripts/yattho_view_components.js +1 -1
- data/app/assets/javascripts/yattho_view_components.js.map +1 -1
- data/app/assets/styles/yattho_view_components.css +3 -5958
- data/app/assets/styles/yattho_view_components.css.map +1 -1
- data/app/components/yattho/alpha/action_list.css +1 -697
- data/app/components/yattho/alpha/action_list.css.json +1 -1
- data/app/components/yattho/alpha/action_list.css.map +1 -1
- data/app/components/yattho/alpha/auto_complete.css +1 -130
- data/app/components/yattho/alpha/auto_complete.css.json +1 -1
- data/app/components/yattho/alpha/auto_complete.css.map +1 -1
- data/app/components/yattho/alpha/banner.css +1 -131
- data/app/components/yattho/alpha/banner.css.json +1 -1
- data/app/components/yattho/alpha/banner.css.map +1 -1
- data/app/components/yattho/alpha/button_marketing.css +1 -211
- data/app/components/yattho/alpha/button_marketing.css.json +1 -1
- data/app/components/yattho/alpha/button_marketing.css.map +1 -1
- data/app/components/yattho/alpha/dialog.css +1 -613
- data/app/components/yattho/alpha/dialog.css.json +1 -1
- data/app/components/yattho/alpha/dialog.css.map +1 -1
- data/app/components/yattho/alpha/dropdown.css +1 -264
- data/app/components/yattho/alpha/dropdown.css.json +1 -1
- data/app/components/yattho/alpha/dropdown.css.map +1 -1
- data/app/components/yattho/alpha/layout.css +1 -398
- data/app/components/yattho/alpha/layout.css.json +1 -1
- data/app/components/yattho/alpha/layout.css.map +1 -1
- data/app/components/yattho/alpha/menu.css +1 -117
- data/app/components/yattho/alpha/menu.css.json +1 -1
- data/app/components/yattho/alpha/menu.css.map +1 -1
- data/app/components/yattho/alpha/modal_dialog.js +2 -0
- data/app/components/yattho/alpha/segmented_control.css +1 -164
- data/app/components/yattho/alpha/segmented_control.css.json +1 -1
- data/app/components/yattho/alpha/segmented_control.css.map +1 -1
- data/app/components/yattho/alpha/tab_nav.css +1 -106
- data/app/components/yattho/alpha/tab_nav.css.json +1 -1
- data/app/components/yattho/alpha/tab_nav.css.map +1 -1
- data/app/components/yattho/alpha/text_field.css +3 -836
- data/app/components/yattho/alpha/text_field.css.json +1 -1
- data/app/components/yattho/alpha/text_field.css.map +1 -1
- data/app/components/yattho/alpha/toggle_switch.css +1 -253
- data/app/components/yattho/alpha/toggle_switch.css.json +1 -1
- data/app/components/yattho/alpha/toggle_switch.css.map +1 -1
- data/app/components/yattho/alpha/underline_nav.css +1 -148
- data/app/components/yattho/alpha/underline_nav.css.json +1 -1
- data/app/components/yattho/alpha/underline_nav.css.map +1 -1
- data/app/components/yattho/beta/avatar.css +1 -74
- data/app/components/yattho/beta/avatar.css.json +1 -1
- data/app/components/yattho/beta/avatar.css.map +1 -1
- data/app/components/yattho/beta/avatar_stack.css +1 -138
- data/app/components/yattho/beta/avatar_stack.css.json +1 -1
- data/app/components/yattho/beta/avatar_stack.css.map +1 -1
- data/app/components/yattho/beta/blankslate.css +1 -90
- data/app/components/yattho/beta/blankslate.css.map +1 -1
- data/app/components/yattho/beta/border_box.css +1 -279
- data/app/components/yattho/beta/border_box.css.json +1 -1
- data/app/components/yattho/beta/border_box.css.map +1 -1
- data/app/components/yattho/beta/breadcrumbs.css +1 -27
- data/app/components/yattho/beta/breadcrumbs.css.json +1 -1
- data/app/components/yattho/beta/breadcrumbs.css.map +1 -1
- data/app/components/yattho/beta/button.css +1 -365
- data/app/components/yattho/beta/button.css.json +1 -1
- data/app/components/yattho/beta/button.css.map +1 -1
- data/app/components/yattho/beta/counter.css +1 -36
- data/app/components/yattho/beta/counter.css.map +1 -1
- data/app/components/yattho/beta/flash.css +1 -150
- data/app/components/yattho/beta/flash.css.json +1 -1
- data/app/components/yattho/beta/flash.css.map +1 -1
- data/app/components/yattho/beta/label.css +1 -105
- data/app/components/yattho/beta/label.css.json +1 -1
- data/app/components/yattho/beta/label.css.map +1 -1
- data/app/components/yattho/beta/link.css +1 -62
- data/app/components/yattho/beta/link.css.json +1 -1
- data/app/components/yattho/beta/link.css.map +1 -1
- data/app/components/yattho/beta/popover.css +1 -235
- data/app/components/yattho/beta/popover.css.json +1 -1
- data/app/components/yattho/beta/popover.css.map +1 -1
- data/app/components/yattho/beta/progress_bar.css +1 -26
- data/app/components/yattho/beta/progress_bar.css.json +1 -1
- data/app/components/yattho/beta/progress_bar.css.map +1 -1
- data/app/components/yattho/beta/state.css +1 -50
- data/app/components/yattho/beta/state.css.json +1 -1
- data/app/components/yattho/beta/state.css.map +1 -1
- data/app/components/yattho/beta/subhead.css +1 -54
- data/app/components/yattho/beta/subhead.css.json +1 -1
- data/app/components/yattho/beta/subhead.css.map +1 -1
- data/app/components/yattho/beta/timeline_item.css +1 -95
- data/app/components/yattho/beta/timeline_item.css.json +1 -1
- data/app/components/yattho/beta/timeline_item.css.map +1 -1
- data/app/components/yattho/beta/truncate.css +1 -37
- data/app/components/yattho/beta/truncate.css.json +1 -1
- data/app/components/yattho/beta/truncate.css.map +1 -1
- data/app/components/yattho/truncate.css +1 -30
- data/app/components/yattho/truncate.css.json +1 -1
- data/app/components/yattho/truncate.css.map +1 -1
- data/lib/yattho/view_components/version.rb +1 -1
- metadata +3 -353
- data/previews/docs/alpha_auto_complete_item_preview/default.html.erb +0 -10
- data/previews/docs/alpha_auto_complete_item_preview.rb +0 -7
- data/previews/docs/alpha_auto_complete_preview/default.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_clear_button.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_custom_classes_for_the_input.html.erb +0 -3
- data/previews/docs/alpha_auto_complete_preview/with_custom_classes_for_the_results.html.erb +0 -10
- data/previews/docs/alpha_auto_complete_preview/with_icon.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_icon_and_non_visible_label.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_inline_label.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview/with_non_visible_label.html.erb +0 -1
- data/previews/docs/alpha_auto_complete_preview.rb +0 -21
- data/previews/docs/alpha_banner_preview/custom_icon.html.erb +0 -1
- data/previews/docs/alpha_banner_preview/dismissible.html.erb +0 -1
- data/previews/docs/alpha_banner_preview/full_width.html.erb +0 -1
- data/previews/docs/alpha_banner_preview/schemes.html.erb +0 -6
- data/previews/docs/alpha_banner_preview/with_action_button.html.erb +0 -4
- data/previews/docs/alpha_banner_preview/with_custom_action.html.erb +0 -6
- data/previews/docs/alpha_banner_preview.rb +0 -17
- data/previews/docs/alpha_button_marketing_preview/schemes.html.erb +0 -6
- data/previews/docs/alpha_button_marketing_preview/sizes.html.erb +0 -2
- data/previews/docs/alpha_button_marketing_preview.rb +0 -9
- data/previews/docs/alpha_dialog_preview/dialog_with_cancel_and_submit_buttons.html.erb +0 -13
- data/previews/docs/alpha_dialog_preview.rb +0 -7
- data/previews/docs/alpha_dropdown_preview/customizing_menu_items.html.erb +0 -11
- data/previews/docs/alpha_dropdown_preview/customizing_the_button.html.erb +0 -12
- data/previews/docs/alpha_dropdown_preview/default.html.erb +0 -11
- data/previews/docs/alpha_dropdown_preview/menu_as_list.html.erb +0 -13
- data/previews/docs/alpha_dropdown_preview/with_caret.html.erb +0 -12
- data/previews/docs/alpha_dropdown_preview/with_direction.html.erb +0 -12
- data/previews/docs/alpha_dropdown_preview/with_dividers.html.erb +0 -16
- data/previews/docs/alpha_dropdown_preview.rb +0 -19
- data/previews/docs/alpha_hellip_button_preview/default.html.erb +0 -1
- data/previews/docs/alpha_hellip_button_preview/inline.html.erb +0 -1
- data/previews/docs/alpha_hellip_button_preview/styling_the_button.html.erb +0 -1
- data/previews/docs/alpha_hellip_button_preview.rb +0 -11
- data/previews/docs/alpha_hidden_text_expander_preview/default.html.erb +0 -1
- data/previews/docs/alpha_hidden_text_expander_preview/inline.html.erb +0 -1
- data/previews/docs/alpha_hidden_text_expander_preview/styling_the_button.html.erb +0 -1
- data/previews/docs/alpha_hidden_text_expander_preview.rb +0 -11
- data/previews/docs/alpha_image_crop_preview/cropper_with_a_custom_loader.html.erb +0 -3
- data/previews/docs/alpha_image_crop_preview/simple_cropper.html.erb +0 -1
- data/previews/docs/alpha_image_crop_preview/square_cropper.html.erb +0 -1
- data/previews/docs/alpha_image_crop_preview.rb +0 -11
- data/previews/docs/alpha_image_preview/custom_size.html.erb +0 -2
- data/previews/docs/alpha_image_preview/default.html.erb +0 -2
- data/previews/docs/alpha_image_preview/helper.html.erb +0 -2
- data/previews/docs/alpha_image_preview/lazy_loading.html.erb +0 -2
- data/previews/docs/alpha_image_preview.rb +0 -13
- data/previews/docs/alpha_layout_preview/changing_when_to_render_layout_as_columns.html.erb +0 -12
- data/previews/docs/alpha_layout_preview/default.html.erb +0 -5
- data/previews/docs/alpha_layout_preview/main_widths.html.erb +0 -16
- data/previews/docs/alpha_layout_preview/sidebar_placement.html.erb +0 -8
- data/previews/docs/alpha_layout_preview/sidebar_placement_as_row.html.erb +0 -12
- data/previews/docs/alpha_layout_preview/sidebar_widths.html.erb +0 -12
- data/previews/docs/alpha_layout_preview.rb +0 -17
- data/previews/docs/alpha_menu_preview/default.html.erb +0 -17
- data/previews/docs/alpha_menu_preview.rb +0 -7
- data/previews/docs/alpha_nav_list_preview/expandable_sub_items.html.erb +0 -24
- data/previews/docs/alpha_nav_list_preview/items_and_headings.html.erb +0 -12
- data/previews/docs/alpha_nav_list_preview/leading_and_trailing_visuals.html.erb +0 -17
- data/previews/docs/alpha_nav_list_preview/trailing_action.html.erb +0 -12
- data/previews/docs/alpha_nav_list_preview.rb +0 -13
- data/previews/docs/alpha_octicon_symbols_preview/symbol_dictionary.html.erb +0 -4
- data/previews/docs/alpha_octicon_symbols_preview.rb +0 -7
- data/previews/docs/alpha_segmented_control_preview/basic_usage.html.erb +0 -6
- data/previews/docs/alpha_segmented_control_preview/fill_width_of_parent.html.erb +0 -5
- data/previews/docs/alpha_segmented_control_preview/small.html.erb +0 -6
- data/previews/docs/alpha_segmented_control_preview/with_icons.html.erb +0 -5
- data/previews/docs/alpha_segmented_control_preview/with_icons_only.html.erb +0 -5
- data/previews/docs/alpha_segmented_control_preview.rb +0 -15
- data/previews/docs/alpha_tab_container_preview/default.html.erb +0 -16
- data/previews/docs/alpha_tab_container_preview.rb +0 -7
- data/previews/docs/alpha_tab_nav_preview/adding_extra_content_after_the_tabs.html.erb +0 -10
- data/previews/docs/alpha_tab_nav_preview/customizing_the_body.html.erb +0 -5
- data/previews/docs/alpha_tab_nav_preview/default_with_div.html.erb +0 -5
- data/previews/docs/alpha_tab_nav_preview/default_with_nav.html.erb +0 -5
- data/previews/docs/alpha_tab_nav_preview/with_extra_content.html.erb +0 -8
- data/previews/docs/alpha_tab_nav_preview/with_icons_and_counters.html.erb +0 -15
- data/previews/docs/alpha_tab_nav_preview.rb +0 -17
- data/previews/docs/alpha_tab_panels_preview/default.html.erb +0 -14
- data/previews/docs/alpha_tab_panels_preview.rb +0 -7
- data/previews/docs/alpha_text_field_preview/default.html.erb +0 -1
- data/previews/docs/alpha_text_field_preview/disabled.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/full_width.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/invalid.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/with_a_caption.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/with_a_clear_button.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview/with_a_leading_visual.html.erb +0 -9
- data/previews/docs/alpha_text_field_preview/with_a_validation_message.html.erb +0 -7
- data/previews/docs/alpha_text_field_preview.rb +0 -21
- data/previews/docs/alpha_toggle_switch_preview/checked.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/checked_and_disabled.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/default.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/disabled.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/small.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview/with_status_label_positioned_at_the_end.html.erb +0 -1
- data/previews/docs/alpha_toggle_switch_preview.rb +0 -17
- data/previews/docs/alpha_tooltip_preview/as_a_label_for_an_iconbutton.html.erb +0 -1
- data/previews/docs/alpha_tooltip_preview/as_a_supplementary_description_for_a_button.html.erb +0 -4
- data/previews/docs/alpha_tooltip_preview/as_a_supplementary_description_for_an_iconbutton.html.erb +0 -1
- data/previews/docs/alpha_tooltip_preview/directly_using_tooltip.html.erb +0 -4
- data/previews/docs/alpha_tooltip_preview/with_direction.html.erb +0 -32
- data/previews/docs/alpha_tooltip_preview.rb +0 -15
- data/previews/docs/alpha_underline_nav_preview/align_right.html.erb +0 -11
- data/previews/docs/alpha_underline_nav_preview/customizing_the_body.html.erb +0 -5
- data/previews/docs/alpha_underline_nav_preview/default_with_nav.html.erb +0 -7
- data/previews/docs/alpha_underline_nav_preview/with_div.html.erb +0 -7
- data/previews/docs/alpha_underline_nav_preview/with_icons_and_counters.html.erb +0 -18
- data/previews/docs/alpha_underline_nav_preview.rb +0 -15
- data/previews/docs/alpha_underline_panels_preview/default.html.erb +0 -17
- data/previews/docs/alpha_underline_panels_preview.rb +0 -7
- data/previews/docs/beta_auto_complete_item_preview/default.html.erb +0 -6
- data/previews/docs/beta_auto_complete_item_preview.rb +0 -7
- data/previews/docs/beta_auto_complete_preview/full_width_field.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/inset_variant.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/leading_visual.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/monospace_variant.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/trailing_action.html.erb +0 -1
- data/previews/docs/beta_auto_complete_preview/visually_hidden_label.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/with_custom_classes_for_the_input.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview/with_custom_classes_for_the_results.html.erb +0 -3
- data/previews/docs/beta_auto_complete_preview.rb +0 -21
- data/previews/docs/beta_avatar_preview/default.html.erb +0 -1
- data/previews/docs/beta_avatar_preview/link.html.erb +0 -1
- data/previews/docs/beta_avatar_preview/square.html.erb +0 -1
- data/previews/docs/beta_avatar_preview/with_size.html.erb +0 -7
- data/previews/docs/beta_avatar_preview.rb +0 -13
- data/previews/docs/beta_avatar_stack_preview/align_right.html.erb +0 -5
- data/previews/docs/beta_avatar_stack_preview/default.html.erb +0 -5
- data/previews/docs/beta_avatar_stack_preview/with_tooltip.html.erb +0 -5
- data/previews/docs/beta_avatar_stack_preview.rb +0 -11
- data/previews/docs/beta_base_button_preview/block.html.erb +0 -2
- data/previews/docs/beta_base_button_preview.rb +0 -7
- data/previews/docs/beta_blankslate_preview/basic.html.erb +0 -4
- data/previews/docs/beta_blankslate_preview/custom_content.html.erb +0 -6
- data/previews/docs/beta_blankslate_preview/icon.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview/loading.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview/primary_action.html.erb +0 -6
- data/previews/docs/beta_blankslate_preview/primary_and_secondary_actions.html.erb +0 -7
- data/previews/docs/beta_blankslate_preview/secondary_action.html.erb +0 -6
- data/previews/docs/beta_blankslate_preview/using_an_image.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview/variations.html.erb +0 -8
- data/previews/docs/beta_blankslate_preview/with_border.html.erb +0 -5
- data/previews/docs/beta_blankslate_preview.rb +0 -25
- data/previews/docs/beta_border_box_header_preview/default.html.erb +0 -4
- data/previews/docs/beta_border_box_header_preview/with_title.html.erb +0 -3
- data/previews/docs/beta_border_box_header_preview.rb +0 -9
- data/previews/docs/beta_border_box_preview/header_with_title_body_rows_and_footer.html.erb +0 -21
- data/previews/docs/beta_border_box_preview/padding_density.html.erb +0 -14
- data/previews/docs/beta_border_box_preview/row_colors.html.erb +0 -14
- data/previews/docs/beta_border_box_preview.rb +0 -11
- data/previews/docs/beta_breadcrumbs_preview/basic.html.erb +0 -5
- data/previews/docs/beta_breadcrumbs_preview.rb +0 -7
- data/previews/docs/beta_button_group_preview/default.html.erb +0 -8
- data/previews/docs/beta_button_group_preview/sizes.html.erb +0 -7
- data/previews/docs/beta_button_group_preview.rb +0 -9
- data/previews/docs/beta_button_preview/full_width.html.erb +0 -2
- data/previews/docs/beta_button_preview/schemes.html.erb +0 -4
- data/previews/docs/beta_button_preview/sizes.html.erb +0 -2
- data/previews/docs/beta_button_preview/with_leading_and_trailing_visuals.html.erb +0 -5
- data/previews/docs/beta_button_preview/with_leading_visual.html.erb +0 -4
- data/previews/docs/beta_button_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/beta_button_preview/with_trailing_visual.html.erb +0 -4
- data/previews/docs/beta_button_preview.rb +0 -19
- data/previews/docs/beta_clipboard_copy_preview/copying_from_an_element.html.erb +0 -2
- data/previews/docs/beta_clipboard_copy_preview/default.html.erb +0 -1
- data/previews/docs/beta_clipboard_copy_preview/with_text_instead_of_icons.html.erb +0 -3
- data/previews/docs/beta_clipboard_copy_preview.rb +0 -11
- data/previews/docs/beta_close_button_preview/default.html.erb +0 -1
- data/previews/docs/beta_close_button_preview.rb +0 -7
- data/previews/docs/beta_counter_preview/default.html.erb +0 -1
- data/previews/docs/beta_counter_preview/schemes.html.erb +0 -2
- data/previews/docs/beta_counter_preview.rb +0 -9
- data/previews/docs/beta_details_preview/default.html.erb +0 -9
- data/previews/docs/beta_details_preview.rb +0 -7
- data/previews/docs/beta_flash_preview/dismissible.html.erb +0 -1
- data/previews/docs/beta_flash_preview/full_width.html.erb +0 -1
- data/previews/docs/beta_flash_preview/icon.html.erb +0 -1
- data/previews/docs/beta_flash_preview/schemes.html.erb +0 -4
- data/previews/docs/beta_flash_preview/with_actions.html.erb +0 -6
- data/previews/docs/beta_flash_preview.rb +0 -15
- data/previews/docs/beta_heading_preview/default.html.erb +0 -6
- data/previews/docs/beta_heading_preview.rb +0 -7
- data/previews/docs/beta_icon_button_preview/custom_tooltip_direction.html.erb +0 -2
- data/previews/docs/beta_icon_button_preview/default.html.erb +0 -2
- data/previews/docs/beta_icon_button_preview/schemes.html.erb +0 -3
- data/previews/docs/beta_icon_button_preview/with_an_aria_description.html.erb +0 -1
- data/previews/docs/beta_icon_button_preview.rb +0 -13
- data/previews/docs/beta_label_preview/inline.html.erb +0 -2
- data/previews/docs/beta_label_preview/schemes.html.erb +0 -10
- data/previews/docs/beta_label_preview/sizes.html.erb +0 -2
- data/previews/docs/beta_label_preview.rb +0 -11
- data/previews/docs/beta_link_preview/default.html.erb +0 -1
- data/previews/docs/beta_link_preview/muted.html.erb +0 -1
- data/previews/docs/beta_link_preview/schemes.html.erb +0 -2
- data/previews/docs/beta_link_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/beta_link_preview/without_underline.html.erb +0 -1
- data/previews/docs/beta_link_preview.rb +0 -15
- data/previews/docs/beta_markdown_preview/default.html.erb +0 -260
- data/previews/docs/beta_markdown_preview.rb +0 -7
- data/previews/docs/beta_octicon_preview/default.html.erb +0 -2
- data/previews/docs/beta_octicon_preview/helper.html.erb +0 -1
- data/previews/docs/beta_octicon_preview/medium.html.erb +0 -1
- data/previews/docs/beta_octicon_preview.rb +0 -11
- data/previews/docs/beta_popover_preview/caret_position.html.erb +0 -8
- data/previews/docs/beta_popover_preview/default.html.erb +0 -8
- data/previews/docs/beta_popover_preview/large.html.erb +0 -8
- data/previews/docs/beta_popover_preview/with_multiple_elements_in_the_body.html.erb +0 -11
- data/previews/docs/beta_popover_preview.rb +0 -13
- data/previews/docs/beta_progress_bar_preview/default.html.erb +0 -3
- data/previews/docs/beta_progress_bar_preview/large.html.erb +0 -3
- data/previews/docs/beta_progress_bar_preview/multiple_items.html.erb +0 -5
- data/previews/docs/beta_progress_bar_preview/small.html.erb +0 -3
- data/previews/docs/beta_progress_bar_preview.rb +0 -13
- data/previews/docs/beta_relative_time_preview/default.html.erb +0 -1
- data/previews/docs/beta_relative_time_preview/elapsed_time.html.erb +0 -1
- data/previews/docs/beta_relative_time_preview/past_time.html.erb +0 -1
- data/previews/docs/beta_relative_time_preview.rb +0 -11
- data/previews/docs/beta_spinner_preview/default.html.erb +0 -1
- data/previews/docs/beta_spinner_preview/large.html.erb +0 -1
- data/previews/docs/beta_spinner_preview/small.html.erb +0 -1
- data/previews/docs/beta_spinner_preview.rb +0 -11
- data/previews/docs/beta_state_preview/default.html.erb +0 -1
- data/previews/docs/beta_state_preview/schemes.html.erb +0 -4
- data/previews/docs/beta_state_preview/sizes.html.erb +0 -2
- data/previews/docs/beta_state_preview.rb +0 -11
- data/previews/docs/beta_subhead_preview/default.html.erb +0 -8
- data/previews/docs/beta_subhead_preview/with_actions.html.erb +0 -15
- data/previews/docs/beta_subhead_preview/with_dangerous_heading.html.erb +0 -8
- data/previews/docs/beta_subhead_preview/with_long_description.html.erb +0 -6
- data/previews/docs/beta_subhead_preview/without_border.html.erb +0 -8
- data/previews/docs/beta_subhead_preview.rb +0 -15
- data/previews/docs/beta_text_preview/default.html.erb +0 -2
- data/previews/docs/beta_text_preview.rb +0 -7
- data/previews/docs/beta_timeline_item_preview/default.html.erb +0 -7
- data/previews/docs/beta_timeline_item_preview.rb +0 -7
- data/previews/docs/beta_truncate_preview/advanced_multiple_items.html.erb +0 -9
- data/previews/docs/beta_truncate_preview/default.html.erb +0 -1
- data/previews/docs/beta_truncate_preview/expand_on_hover_or_focus.html.erb +0 -6
- data/previews/docs/beta_truncate_preview/max_widths.html.erb +0 -5
- data/previews/docs/beta_truncate_preview/max_widths_on_new_lines.html.erb +0 -11
- data/previews/docs/beta_truncate_preview/multiple_items.html.erb +0 -6
- data/previews/docs/beta_truncate_preview.rb +0 -17
- data/previews/docs/blankslate_component_preview/action_button.html.erb +0 -8
- data/previews/docs/blankslate_component_preview/basic.html.erb +0 -4
- data/previews/docs/blankslate_component_preview/custom_content.html.erb +0 -5
- data/previews/docs/blankslate_component_preview/icon.html.erb +0 -5
- data/previews/docs/blankslate_component_preview/link.html.erb +0 -7
- data/previews/docs/blankslate_component_preview/loading.html.erb +0 -6
- data/previews/docs/blankslate_component_preview/variations.html.erb +0 -8
- data/previews/docs/blankslate_component_preview.rb +0 -19
- data/previews/docs/box_preview/color_and_padding.html.erb +0 -1
- data/previews/docs/box_preview/default.html.erb +0 -1
- data/previews/docs/box_preview.rb +0 -9
- data/previews/docs/button_component_preview/block.html.erb +0 -2
- data/previews/docs/button_component_preview/schemes.html.erb +0 -6
- data/previews/docs/button_component_preview/sizes.html.erb +0 -2
- data/previews/docs/button_component_preview/with_dropdown_caret.html.erb +0 -3
- data/previews/docs/button_component_preview/with_leading_and_trailing_visuals.html.erb +0 -5
- data/previews/docs/button_component_preview/with_leading_visual.html.erb +0 -4
- data/previews/docs/button_component_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/button_component_preview/with_trailing_visual.html.erb +0 -4
- data/previews/docs/button_component_preview.rb +0 -21
- data/previews/docs/dropdown_preview/customizing_menu_items.html.erb +0 -11
- data/previews/docs/dropdown_preview/customizing_the_button.html.erb +0 -12
- data/previews/docs/dropdown_preview/default.html.erb +0 -11
- data/previews/docs/dropdown_preview/menu_as_list.html.erb +0 -13
- data/previews/docs/dropdown_preview/with_caret.html.erb +0 -12
- data/previews/docs/dropdown_preview/with_direction.html.erb +0 -12
- data/previews/docs/dropdown_preview/with_dividers.html.erb +0 -16
- data/previews/docs/dropdown_preview.rb +0 -19
- data/previews/docs/hellip_button_preview/default.html.erb +0 -1
- data/previews/docs/hellip_button_preview/inline.html.erb +0 -1
- data/previews/docs/hellip_button_preview/styling_the_button.html.erb +0 -1
- data/previews/docs/hellip_button_preview.rb +0 -11
- data/previews/docs/icon_button_preview/custom_tooltip_direction.html.erb +0 -2
- data/previews/docs/icon_button_preview/default.html.erb +0 -2
- data/previews/docs/icon_button_preview/in_a_borderbox.html.erb +0 -7
- data/previews/docs/icon_button_preview/schemes.html.erb +0 -3
- data/previews/docs/icon_button_preview/with_an_aria_description.html.erb +0 -1
- data/previews/docs/icon_button_preview.rb +0 -15
- data/previews/docs/label_component_preview/inline.html.erb +0 -2
- data/previews/docs/label_component_preview/schemes.html.erb +0 -10
- data/previews/docs/label_component_preview/sizes.html.erb +0 -2
- data/previews/docs/label_component_preview.rb +0 -11
- data/previews/docs/layout_component_preview/default.html.erb +0 -4
- data/previews/docs/layout_component_preview/left_sidebar.html.erb +0 -4
- data/previews/docs/layout_component_preview.rb +0 -9
- data/previews/docs/link_component_preview/default.html.erb +0 -1
- data/previews/docs/link_component_preview/muted.html.erb +0 -1
- data/previews/docs/link_component_preview/schemes.html.erb +0 -2
- data/previews/docs/link_component_preview/with_tooltip.html.erb +0 -4
- data/previews/docs/link_component_preview/without_underline.html.erb +0 -1
- data/previews/docs/link_component_preview.rb +0 -15
- data/previews/docs/local_time_preview/all_the_options.html.erb +0 -1
- data/previews/docs/local_time_preview/default.html.erb +0 -1
- data/previews/docs/local_time_preview/with_initial_content.html.erb +0 -4
- data/previews/docs/local_time_preview.rb +0 -11
- data/previews/docs/markdown_preview/default.html.erb +0 -260
- data/previews/docs/markdown_preview.rb +0 -7
- data/previews/docs/menu_component_preview/default.html.erb +0 -17
- data/previews/docs/menu_component_preview.rb +0 -7
- data/previews/docs/navigation_tab_component_preview/default.html.erb +0 -6
- data/previews/docs/navigation_tab_component_preview/inside_a_list.html.erb +0 -3
- data/previews/docs/navigation_tab_component_preview/with_custom_html.html.erb +0 -5
- data/previews/docs/navigation_tab_component_preview/with_icons_and_counters.html.erb +0 -13
- data/previews/docs/navigation_tab_component_preview.rb +0 -13
- data/previews/docs/octicon_component_preview/default.html.erb +0 -2
- data/previews/docs/octicon_component_preview/helper.html.erb +0 -1
- data/previews/docs/octicon_component_preview/medium.html.erb +0 -1
- data/previews/docs/octicon_component_preview.rb +0 -11
- data/previews/docs/octicon_symbols_component_preview/symbol_dictionary.html.erb +0 -4
- data/previews/docs/octicon_symbols_component_preview.rb +0 -7
- data/previews/docs/popover_component_preview/caret_position.html.erb +0 -8
- data/previews/docs/popover_component_preview/default.html.erb +0 -8
- data/previews/docs/popover_component_preview/large.html.erb +0 -8
- data/previews/docs/popover_component_preview/with_multiple_elements_in_the_body.html.erb +0 -11
- data/previews/docs/popover_component_preview.rb +0 -13
- data/previews/docs/spinner_component_preview/default.html.erb +0 -1
- data/previews/docs/spinner_component_preview/large.html.erb +0 -1
- data/previews/docs/spinner_component_preview/small.html.erb +0 -1
- data/previews/docs/spinner_component_preview.rb +0 -11
- data/previews/docs/state_component_preview/default.html.erb +0 -1
- data/previews/docs/state_component_preview/schemes.html.erb +0 -4
- data/previews/docs/state_component_preview/sizes.html.erb +0 -2
- data/previews/docs/state_component_preview.rb +0 -11
- data/previews/docs/subhead_component_preview/default.html.erb +0 -8
- data/previews/docs/subhead_component_preview/with_actions.html.erb +0 -15
- data/previews/docs/subhead_component_preview/with_dangerous_heading.html.erb +0 -8
- data/previews/docs/subhead_component_preview/with_long_description.html.erb +0 -6
- data/previews/docs/subhead_component_preview/without_border.html.erb +0 -8
- data/previews/docs/subhead_component_preview.rb +0 -15
- data/previews/docs/tab_container_component_preview/default.html.erb +0 -16
- data/previews/docs/tab_container_component_preview.rb +0 -7
- data/previews/docs/time_ago_component_preview/default.html.erb +0 -1
- data/previews/docs/time_ago_component_preview.rb +0 -7
- data/previews/docs/timeline_item_component_preview/default.html.erb +0 -7
- data/previews/docs/timeline_item_component_preview.rb +0 -7
- data/previews/docs/tooltip_preview/default.html.erb +0 -3
- data/previews/docs/tooltip_preview/with_a_direction.html.erb +0 -3
- data/previews/docs/tooltip_preview/with_an_alignment.html.erb +0 -3
- data/previews/docs/tooltip_preview/without_a_delay.html.erb +0 -3
- data/previews/docs/tooltip_preview/wrapping_another_component.html.erb +0 -5
- data/previews/docs/tooltip_preview.rb +0 -15
- data/previews/docs/truncate_preview/custom_size.html.erb +0 -1
- data/previews/docs/truncate_preview/default.html.erb +0 -3
- data/previews/docs/truncate_preview/expandable.html.erb +0 -1
- data/previews/docs/truncate_preview/inline.html.erb +0 -1
- data/previews/docs/truncate_preview/with_html_content.html.erb +0 -3
- data/previews/docs/truncate_preview.rb +0 -15
@@ -1,148 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.UnderlineNav {
|
4
|
-
display: flex;
|
5
|
-
min-height: var(--base-size-48, 48px);
|
6
|
-
overflow-x: auto;
|
7
|
-
overflow-y: hidden;
|
8
|
-
box-shadow: inset 0 -1px 0 var(--color-border-muted);
|
9
|
-
-webkit-overflow-scrolling: auto;
|
10
|
-
justify-content: space-between;
|
11
|
-
}
|
12
|
-
|
13
|
-
.UnderlineNav .Counter {
|
14
|
-
margin-left: var(--yattho-control-medium-gap, 8px);
|
15
|
-
color: var(--color-fg-default);
|
16
|
-
background-color: var(--color-neutral-muted);
|
17
|
-
}
|
18
|
-
|
19
|
-
.UnderlineNav .Counter--primary {
|
20
|
-
color: var(--color-fg-on-emphasis);
|
21
|
-
background-color: var(--color-neutral-emphasis);
|
22
|
-
}
|
23
|
-
|
24
|
-
.UnderlineNav-body {
|
25
|
-
display: flex;
|
26
|
-
align-items: center;
|
27
|
-
gap: var(--yattho-control-medium-gap, 8px);
|
28
|
-
list-style: none;
|
29
|
-
}
|
30
|
-
|
31
|
-
.UnderlineNav-item {
|
32
|
-
position: relative;
|
33
|
-
display: flex;
|
34
|
-
padding: 0 var(--yattho-control-medium-paddingInline-condensed, 8px);
|
35
|
-
font-size: var(--yattho-text-body-size-medium, 14px);
|
36
|
-
line-height: 30px;
|
37
|
-
color: var(--color-fg-default);
|
38
|
-
text-align: center;
|
39
|
-
white-space: nowrap;
|
40
|
-
cursor: pointer;
|
41
|
-
background-color: transparent;
|
42
|
-
border: 0;
|
43
|
-
border-radius: var(--yattho-borderRadius-medium, 6px);
|
44
|
-
align-items: center;
|
45
|
-
}
|
46
|
-
|
47
|
-
.UnderlineNav-item:hover,
|
48
|
-
.UnderlineNav-item:focus,
|
49
|
-
.UnderlineNav-item:focus-visible {
|
50
|
-
color: var(--color-fg-default);
|
51
|
-
text-decoration: none;
|
52
|
-
border-bottom-color: var(--color-neutral-muted);
|
53
|
-
outline-offset: -2px;
|
54
|
-
transition: border-bottom-color 0.12s ease-out;
|
55
|
-
}
|
56
|
-
|
57
|
-
/* renders a visibly hidden "copy" of the label in bold, reserving box space for when label becomes bold on selected */
|
58
|
-
|
59
|
-
.UnderlineNav-item [data-content]::before {
|
60
|
-
display: block;
|
61
|
-
height: 0;
|
62
|
-
font-weight: var(--base-text-weight-semibold, 600);
|
63
|
-
visibility: hidden;
|
64
|
-
content: attr(data-content);
|
65
|
-
}
|
66
|
-
|
67
|
-
/* increase touch target area */
|
68
|
-
|
69
|
-
.UnderlineNav-item::before {
|
70
|
-
position: absolute;
|
71
|
-
top: 50%;
|
72
|
-
left: 50%;
|
73
|
-
width: 100%;
|
74
|
-
height: 100%;
|
75
|
-
min-height: 48px;
|
76
|
-
content: "";
|
77
|
-
transform: translateX(-50%) translateY(-50%);
|
78
|
-
}
|
79
|
-
|
80
|
-
/* hover state was "sticking" on mobile after click */
|
81
|
-
|
82
|
-
@media (pointer: fine) {
|
83
|
-
.UnderlineNav-item:hover {
|
84
|
-
color: var(--color-fg-default);
|
85
|
-
text-decoration: none;
|
86
|
-
background: var(--color-action-list-item-default-hover-bg);
|
87
|
-
transition: background 0.12s ease-out;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
.UnderlineNav-item.selected,
|
92
|
-
.UnderlineNav-item[role='tab'][aria-selected='true'],
|
93
|
-
.UnderlineNav-item[aria-current]:not([aria-current='false']) {
|
94
|
-
font-weight: var(--base-text-weight-semibold, 600);
|
95
|
-
color: var(--color-fg-default);
|
96
|
-
border-bottom-color: var(--color-yattho-border-active);
|
97
|
-
|
98
|
-
/* current/selected underline */
|
99
|
-
}
|
100
|
-
|
101
|
-
.UnderlineNav-item.selected::after, .UnderlineNav-item[role='tab'][aria-selected='true']::after, .UnderlineNav-item[aria-current]:not([aria-current='false'])::after {
|
102
|
-
position: absolute;
|
103
|
-
right: 50%;
|
104
|
-
bottom: calc(50% - 25px); /* 48px total height / 2 (24px) + 1px */
|
105
|
-
width: 100%;
|
106
|
-
height: 2px;
|
107
|
-
content: '';
|
108
|
-
background: var(--color-yattho-border-active);
|
109
|
-
border-radius: var(--yattho-borderRadius-medium, 6px);
|
110
|
-
transform: translate(50%, -50%);
|
111
|
-
}
|
112
|
-
|
113
|
-
.UnderlineNav--right {
|
114
|
-
justify-content: flex-end;
|
115
|
-
}
|
116
|
-
|
117
|
-
.UnderlineNav--right .UnderlineNav-actions {
|
118
|
-
flex: 1 1 auto;
|
119
|
-
}
|
120
|
-
|
121
|
-
.UnderlineNav-actions {
|
122
|
-
align-self: center;
|
123
|
-
}
|
124
|
-
|
125
|
-
.UnderlineNav--full {
|
126
|
-
display: block;
|
127
|
-
|
128
|
-
/* required for underline to align with additional wrapper element */
|
129
|
-
}
|
130
|
-
|
131
|
-
.UnderlineNav--full .UnderlineNav-body {
|
132
|
-
min-height: var(--base-size-48, 48px);
|
133
|
-
}
|
134
|
-
|
135
|
-
.UnderlineNav-octicon {
|
136
|
-
display: inline !important;
|
137
|
-
}
|
138
|
-
|
139
|
-
.UnderlineNav-octicon {
|
140
|
-
margin-right: var(--yattho-control-medium-gap, 8px);
|
141
|
-
color: var(--color-fg-muted);
|
142
|
-
fill: var(--color-fg-muted);
|
143
|
-
}
|
144
|
-
|
145
|
-
.UnderlineNav-container {
|
146
|
-
display: flex;
|
147
|
-
justify-content: space-between;
|
148
|
-
}
|
1
|
+
.UnderlineNav{-webkit-overflow-scrolling:auto;box-shadow:inset 0 -1px 0 var(--color-border-muted);display:flex;justify-content:space-between;min-height:var(--base-size-48,48px);overflow-x:auto;overflow-y:hidden}.UnderlineNav .Counter{background-color:var(--color-neutral-muted);color:var(--color-fg-default);margin-left:var(--yattho-control-medium-gap,8px)}.UnderlineNav .Counter--primary{background-color:var(--color-neutral-emphasis);color:var(--color-fg-on-emphasis)}.UnderlineNav-body{align-items:center;display:flex;gap:var(--yattho-control-medium-gap,8px);list-style:none}.UnderlineNav-item{align-items:center;background-color:initial;border:0;border-radius:var(--yattho-borderRadius-medium,6px);color:var(--color-fg-default);cursor:pointer;display:flex;font-size:var(--yattho-text-body-size-medium,14px);line-height:30px;padding:0 var(--yattho-control-medium-paddingInline-condensed,8px);position:relative;text-align:center;white-space:nowrap}.UnderlineNav-item:focus,.UnderlineNav-item:focus-visible,.UnderlineNav-item:hover{border-bottom-color:var(--color-neutral-muted);color:var(--color-fg-default);outline-offset:-2px;text-decoration:none;transition:border-bottom-color .12s ease-out}.UnderlineNav-item [data-content]:before{content:attr(data-content);display:block;font-weight:var(--base-text-weight-semibold,600);height:0;visibility:hidden}.UnderlineNav-item:before{content:"";height:100%;left:50%;min-height:48px;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:100%}@media (pointer:fine){.UnderlineNav-item:hover{background:var(--color-action-list-item-default-hover-bg);color:var(--color-fg-default);text-decoration:none;transition:background .12s ease-out}}.UnderlineNav-item.selected,.UnderlineNav-item[aria-current]:not([aria-current=false]),.UnderlineNav-item[role=tab][aria-selected=true]{border-bottom-color:var(--color-yattho-border-active);color:var(--color-fg-default);font-weight:var(--base-text-weight-semibold,600)}.UnderlineNav-item.selected:after,.UnderlineNav-item[aria-current]:not([aria-current=false]):after,.UnderlineNav-item[role=tab][aria-selected=true]:after{background:var(--color-yattho-border-active);border-radius:var(--yattho-borderRadius-medium,6px);bottom:calc(50% - 25px);content:"";height:2px;position:absolute;right:50%;transform:translate(50%,-50%);width:100%}.UnderlineNav--right{justify-content:flex-end}.UnderlineNav--right .UnderlineNav-actions{flex:1 1 auto}.UnderlineNav-actions{align-self:center}.UnderlineNav--full{display:block}.UnderlineNav--full .UnderlineNav-body{min-height:var(--base-size-48,48px)}.UnderlineNav-octicon{fill:var(--color-fg-muted);color:var(--color-fg-muted);display:inline!important;margin-right:var(--yattho-control-medium-gap,8px)}.UnderlineNav-container{display:flex;justify-content:space-between}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"alpha/underline_nav","selectors":[".UnderlineNav",".UnderlineNav .Counter",".UnderlineNav .Counter--primary",".UnderlineNav-body",".UnderlineNav-item",".UnderlineNav-item:
|
1
|
+
{"name":"alpha/underline_nav","selectors":[".UnderlineNav",".UnderlineNav .Counter",".UnderlineNav .Counter--primary",".UnderlineNav-body",".UnderlineNav-item",".UnderlineNav-item:focus",".UnderlineNav-item:focus-visible",".UnderlineNav-item:hover",".UnderlineNav-item [data-content]:before",".UnderlineNav-item:before",".UnderlineNav-item.selected",".UnderlineNav-item[aria-current]:not([aria-current=false])",".UnderlineNav-item[role=tab][aria-selected=true]",".UnderlineNav-item.selected:after",".UnderlineNav-item[aria-current]:not([aria-current=false]):after",".UnderlineNav-item[role=tab][aria-selected=true]:after",".UnderlineNav--right",".UnderlineNav--right .UnderlineNav-actions",".UnderlineNav-actions",".UnderlineNav--full",".UnderlineNav--full .UnderlineNav-body",".UnderlineNav-octicon",".UnderlineNav-container"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["underline_nav.pcss","<no source>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["underline_nav.pcss","<no source>"],"names":[],"mappings":"AAEA,cAME,+BAAgC,CADhC,mDAAoD,CAJpD,YAAa,CAMb,6BAA8B,CAL9B,mCAAqC,CACrC,eAAgB,CAChB,iBAeF,CAVE,uBAGE,2CAA4C,CAD5C,6BAA8B,CAD9B,gDAGF,CAEA,gCAEE,8CAA+C,CAD/C,iCAEF,CAGF,mBAEE,kBAAmB,CADnB,YAAa,CAEb,wCAA0C,CAC1C,eACF,CAEA,mBAaE,kBAAmB,CAHnB,wBAA6B,CAC7B,QAAS,CACT,mDAAqD,CANrD,6BAA8B,CAG9B,cAAe,CAPf,YAAa,CAEb,kDAAoD,CACpD,gBAAiB,CAFjB,kEAAoE,CAFpE,iBAAkB,CAMlB,iBAAkB,CAClB,kBA6DF,CAtDE,mFAKE,8CAA+C,CAF/C,6BAA8B,CAG9B,mBAAoB,CAFpB,oBAAqB,CAGrB,4CACF,CAGA,yCAKE,0BAA2B,CAJ3B,aAAc,CAEd,gDAAkD,CADlD,QAAS,CAET,iBAEF,CAIE,0BClEJ,WAAA,YAAA,SAAA,gBAAA,kBAAA,QAAA,4CAAA,UDkE8B,CAI5B,sBACE,yBAGE,yDAA0D,CAF1D,6BAA8B,CAC9B,oBAAqB,CAErB,mCACF,CACF,CAEA,wIAKE,qDAAsD,CADtD,6BAA8B,CAD9B,gDAgBF,CAXE,0JAOE,4CAA6C,CAC7C,mDAAqD,CALrD,uBAAwB,CAGxB,UAAW,CADX,UAAW,CAJX,iBAAkB,CAClB,SAAU,CAOV,6BAA+B,CAL/B,UAMF,CAIJ,qBACE,wBAKF,CAHE,2CACE,aACF,CAGF,sBACE,iBACF,CAEA,oBACE,aAMF,CAHE,uCACE,mCACF,CAGF,sBAIE,0BAA2B,CAD3B,2BAA4B,CAF5B,wBAA0B,CAC1B,iDAGF,CAEA,wBACE,YAAa,CACb,6BACF","file":"underline_nav.css","sourcesContent":["/* UnderlineNav */\n\n.UnderlineNav {\n display: flex;\n min-height: var(--base-size-48, 48px);\n overflow-x: auto;\n overflow-y: hidden;\n box-shadow: inset 0 -1px 0 var(--color-border-muted);\n -webkit-overflow-scrolling: auto;\n justify-content: space-between;\n\n & .Counter {\n margin-left: var(--yattho-control-medium-gap, 8px);\n color: var(--color-fg-default);\n background-color: var(--color-neutral-muted);\n }\n\n & .Counter--primary {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-neutral-emphasis);\n }\n}\n\n.UnderlineNav-body {\n display: flex;\n align-items: center;\n gap: var(--yattho-control-medium-gap, 8px);\n list-style: none;\n}\n\n.UnderlineNav-item {\n position: relative;\n display: flex;\n padding: 0 var(--yattho-control-medium-paddingInline-condensed, 8px);\n font-size: var(--yattho-text-body-size-medium, 14px);\n line-height: 30px;\n color: var(--color-fg-default);\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n background-color: transparent;\n border: 0;\n border-radius: var(--yattho-borderRadius-medium, 6px);\n align-items: center;\n\n &:hover,\n &:focus,\n &:focus-visible {\n color: var(--color-fg-default);\n text-decoration: none;\n border-bottom-color: var(--color-neutral-muted);\n outline-offset: -2px;\n transition: border-bottom-color 0.12s ease-out;\n }\n\n /* renders a visibly hidden \"copy\" of the label in bold, reserving box space for when label becomes bold on selected */\n & [data-content]::before {\n display: block;\n height: 0;\n font-weight: var(--base-text-weight-semibold, 600);\n visibility: hidden;\n content: attr(data-content);\n }\n\n /* increase touch target area */\n &::before {\n @mixin minTouchTarget 48px;\n }\n\n /* hover state was \"sticking\" on mobile after click */\n @media (pointer: fine) {\n &:hover {\n color: var(--color-fg-default);\n text-decoration: none;\n background: var(--color-action-list-item-default-hover-bg);\n transition: background 0.12s ease-out;\n }\n }\n\n &.selected,\n &[role='tab'][aria-selected='true'],\n &[aria-current]:not([aria-current='false']) {\n font-weight: var(--base-text-weight-semibold, 600);\n color: var(--color-fg-default);\n border-bottom-color: var(--color-yattho-border-active);\n\n /* current/selected underline */\n &::after {\n position: absolute;\n right: 50%;\n bottom: calc(50% - 25px); /* 48px total height / 2 (24px) + 1px */\n width: 100%;\n height: 2px;\n content: '';\n background: var(--color-yattho-border-active);\n border-radius: var(--yattho-borderRadius-medium, 6px);\n transform: translate(50%, -50%);\n }\n }\n}\n\n.UnderlineNav--right {\n justify-content: flex-end;\n\n & .UnderlineNav-actions {\n flex: 1 1 auto;\n }\n}\n\n.UnderlineNav-actions {\n align-self: center;\n}\n\n.UnderlineNav--full {\n display: block;\n\n /* required for underline to align with additional wrapper element */\n & .UnderlineNav-body {\n min-height: var(--base-size-48, 48px);\n }\n}\n\n.UnderlineNav-octicon {\n display: inline !important;\n margin-right: var(--yattho-control-medium-gap, 8px);\n color: var(--color-fg-muted);\n fill: var(--color-fg-muted);\n}\n\n.UnderlineNav-container {\n display: flex;\n justify-content: space-between;\n}",null]}
|
@@ -1,74 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.avatar {
|
4
|
-
display: inline-block;
|
5
|
-
overflow: hidden; /* Ensure page layout in Firefox should images fail to load */
|
6
|
-
line-height: 1;
|
7
|
-
vertical-align: middle;
|
8
|
-
background-color: var(--color-avatar-bg); /* adds opaque bg to transparent avatars */
|
9
|
-
border-radius: var(--yattho-borderRadius-medium, 6px);
|
10
|
-
flex-shrink: 0;
|
11
|
-
box-shadow: 0 0 0 1px var(--color-avatar-border);
|
12
|
-
}
|
13
|
-
|
14
|
-
.avatar-link {
|
15
|
-
float: left;
|
16
|
-
line-height: 1;
|
17
|
-
}
|
18
|
-
|
19
|
-
/* User for example on /stars and /user for grids of avatars */
|
20
|
-
|
21
|
-
.avatar-group-item {
|
22
|
-
display: inline-block;
|
23
|
-
margin-bottom: 3px;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* Border radius */
|
27
|
-
|
28
|
-
.avatar-1,
|
29
|
-
.avatar-2,
|
30
|
-
.avatar-small {
|
31
|
-
border-radius: var(--yattho-borderRadius-small, 4px);
|
32
|
-
}
|
33
|
-
|
34
|
-
/* Sizes */
|
35
|
-
|
36
|
-
.avatar-1 {
|
37
|
-
width: var(--base-size-16, 16px);
|
38
|
-
height: var(--base-size-16, 16px);
|
39
|
-
}
|
40
|
-
|
41
|
-
.avatar-2 {
|
42
|
-
width: var(--base-size-20, 20px);
|
43
|
-
height: var(--base-size-20, 20px);
|
44
|
-
}
|
45
|
-
|
46
|
-
.avatar-3 {
|
47
|
-
width: var(--base-size-24, 24px);
|
48
|
-
height: var(--base-size-24, 24px);
|
49
|
-
}
|
50
|
-
|
51
|
-
.avatar-4 {
|
52
|
-
width: var(--base-size-28, 28px);
|
53
|
-
height: var(--base-size-28, 28px);
|
54
|
-
}
|
55
|
-
|
56
|
-
.avatar-5 {
|
57
|
-
width: var(--base-size-32, 32px);
|
58
|
-
height: var(--base-size-32, 32px);
|
59
|
-
}
|
60
|
-
|
61
|
-
.avatar-6 {
|
62
|
-
width: var(--base-size-40, 40px);
|
63
|
-
height: var(--base-size-40, 40px);
|
64
|
-
}
|
65
|
-
|
66
|
-
.avatar-7 {
|
67
|
-
width: var(--base-size-48, 48px);
|
68
|
-
height: var(--base-size-48, 48px);
|
69
|
-
}
|
70
|
-
|
71
|
-
.avatar-8 {
|
72
|
-
width: var(--base-size-64, 64px);
|
73
|
-
height: var(--base-size-64, 64px);
|
74
|
-
}
|
1
|
+
.avatar{background-color:var(--color-avatar-bg);border-radius:var(--yattho-borderRadius-medium,6px);box-shadow:0 0 0 1px var(--color-avatar-border);display:inline-block;flex-shrink:0;line-height:1;overflow:hidden;vertical-align:middle}.avatar-link{float:left;line-height:1}.avatar-group-item{display:inline-block;margin-bottom:3px}.avatar-1,.avatar-2,.avatar-small{border-radius:var(--yattho-borderRadius-small,4px)}.avatar-1{height:var(--base-size-16,16px);width:var(--base-size-16,16px)}.avatar-2{height:var(--base-size-20,20px);width:var(--base-size-20,20px)}.avatar-3{height:var(--base-size-24,24px);width:var(--base-size-24,24px)}.avatar-4{height:var(--base-size-28,28px);width:var(--base-size-28,28px)}.avatar-5{height:var(--base-size-32,32px);width:var(--base-size-32,32px)}.avatar-6{height:var(--base-size-40,40px);width:var(--base-size-40,40px)}.avatar-7{height:var(--base-size-48,48px);width:var(--base-size-48,48px)}.avatar-8{height:var(--base-size-64,64px);width:var(--base-size-64,64px)}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"beta/avatar","selectors":[".avatar",".avatar-link",".avatar-group-item",".avatar-1","
|
1
|
+
{"name":"beta/avatar","selectors":[".avatar",".avatar-link",".avatar-group-item",".avatar-1",".avatar-2",".avatar-small",".avatar-3",".avatar-4",".avatar-5",".avatar-6",".avatar-7",".avatar-8"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["avatar.pcss"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["avatar.pcss"],"names":[],"mappings":"AAEA,QAKE,uCAAwC,CACxC,mDAAqD,CAErD,+CAAgD,CAPhD,oBAAqB,CAMrB,aAAc,CAJd,aAAc,CADd,eAAgB,CAEhB,qBAKF,CAEA,aACE,UAAW,CACX,aACF,CAGA,mBACE,oBAAqB,CACrB,iBACF,CAIA,kCAGE,kDACF,CAIA,UAEE,+BAAiC,CADjC,8BAEF,CAEA,UAEE,+BAAiC,CADjC,8BAEF,CAEA,UAEE,+BAAiC,CADjC,8BAEF,CAEA,UAEE,+BAAiC,CADjC,8BAEF,CAEA,UAEE,+BAAiC,CADjC,8BAEF,CAEA,UAEE,+BAAiC,CADjC,8BAEF,CAEA,UAEE,+BAAiC,CADjC,8BAEF,CAEA,UAEE,+BAAiC,CADjC,8BAEF","file":"avatar.css","sourcesContent":["/* avatar */\n\n.avatar {\n display: inline-block;\n overflow: hidden; /* Ensure page layout in Firefox should images fail to load */\n line-height: 1;\n vertical-align: middle;\n background-color: var(--color-avatar-bg); /* adds opaque bg to transparent avatars */\n border-radius: var(--yattho-borderRadius-medium, 6px);\n flex-shrink: 0;\n box-shadow: 0 0 0 1px var(--color-avatar-border);\n}\n\n.avatar-link {\n float: left;\n line-height: 1;\n}\n\n/* User for example on /stars and /user for grids of avatars */\n.avatar-group-item {\n display: inline-block;\n margin-bottom: 3px;\n}\n\n/* Border radius */\n\n.avatar-1,\n.avatar-2,\n.avatar-small {\n border-radius: var(--yattho-borderRadius-small, 4px);\n}\n\n/* Sizes */\n\n.avatar-1 {\n width: var(--base-size-16, 16px);\n height: var(--base-size-16, 16px);\n}\n\n.avatar-2 {\n width: var(--base-size-20, 20px);\n height: var(--base-size-20, 20px);\n}\n\n.avatar-3 {\n width: var(--base-size-24, 24px);\n height: var(--base-size-24, 24px);\n}\n\n.avatar-4 {\n width: var(--base-size-28, 28px);\n height: var(--base-size-28, 28px);\n}\n\n.avatar-5 {\n width: var(--base-size-32, 32px);\n height: var(--base-size-32, 32px);\n}\n\n.avatar-6 {\n width: var(--base-size-40, 40px);\n height: var(--base-size-40, 40px);\n}\n\n.avatar-7 {\n width: var(--base-size-48, 48px);\n height: var(--base-size-48, 48px);\n}\n\n.avatar-8 {\n width: var(--base-size-64, 64px);\n height: var(--base-size-64, 64px);\n}"]}
|
@@ -1,138 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/* Stacked avatars can be used to show who is participating in thread when
|
4
|
-
** there is limited space available. */
|
5
|
-
|
6
|
-
.AvatarStack {
|
7
|
-
position: relative;
|
8
|
-
min-width: 26px;
|
9
|
-
height: 20px;
|
10
|
-
}
|
11
|
-
|
12
|
-
.AvatarStack .AvatarStack-body {
|
13
|
-
position: absolute;
|
14
|
-
}
|
15
|
-
|
16
|
-
.AvatarStack.AvatarStack--two {
|
17
|
-
min-width: 36px;
|
18
|
-
}
|
19
|
-
|
20
|
-
.AvatarStack.AvatarStack--three-plus {
|
21
|
-
min-width: 46px;
|
22
|
-
}
|
23
|
-
|
24
|
-
.AvatarStack-body {
|
25
|
-
display: flex;
|
26
|
-
background: var(--color-canvas-default);
|
27
|
-
border-radius: 100px;
|
28
|
-
}
|
29
|
-
|
30
|
-
.AvatarStack-body .avatar {
|
31
|
-
position: relative;
|
32
|
-
z-index: 2;
|
33
|
-
display: flex;
|
34
|
-
width: 20px;
|
35
|
-
height: 20px;
|
36
|
-
box-sizing: content-box;
|
37
|
-
margin-right: -11px;
|
38
|
-
background-color: var(--color-canvas-default);
|
39
|
-
border-right: var(--yattho-borderWidth-thin, 1px) solid var(--color-canvas-default);
|
40
|
-
border-radius: var(--yattho-borderRadius-small, 4px);
|
41
|
-
box-shadow: none;
|
42
|
-
transition: margin 0.1s ease-in-out;
|
43
|
-
}
|
44
|
-
|
45
|
-
.AvatarStack-body .avatar:first-child {
|
46
|
-
z-index: 3;
|
47
|
-
}
|
48
|
-
|
49
|
-
.AvatarStack-body .avatar:last-child {
|
50
|
-
z-index: 1;
|
51
|
-
border-right: 0;
|
52
|
-
}
|
53
|
-
|
54
|
-
.AvatarStack-body .avatar img {
|
55
|
-
border-radius: var(--yattho-borderRadius-small, 4px);
|
56
|
-
}
|
57
|
-
|
58
|
-
/* Account for 4+ avatars */
|
59
|
-
|
60
|
-
.AvatarStack-body .avatar:nth-child(n + 4) {
|
61
|
-
display: none;
|
62
|
-
opacity: 0;
|
63
|
-
}
|
64
|
-
|
65
|
-
.AvatarStack-body:hover .avatar {
|
66
|
-
margin-right: 3px;
|
67
|
-
}
|
68
|
-
|
69
|
-
.AvatarStack-body:hover .avatar:nth-child(n + 4) {
|
70
|
-
display: flex;
|
71
|
-
opacity: 1;
|
72
|
-
}
|
73
|
-
|
74
|
-
.AvatarStack-body:hover .avatar-more {
|
75
|
-
display: none !important;
|
76
|
-
}
|
77
|
-
|
78
|
-
.avatar.avatar-more {
|
79
|
-
z-index: 1;
|
80
|
-
margin-right: 0;
|
81
|
-
background: var(--color-canvas-subtle);
|
82
|
-
}
|
83
|
-
|
84
|
-
.avatar.avatar-more::before,
|
85
|
-
.avatar.avatar-more::after {
|
86
|
-
position: absolute;
|
87
|
-
display: block;
|
88
|
-
height: 20px;
|
89
|
-
content: '';
|
90
|
-
border-radius: 2px;
|
91
|
-
outline: var(--yattho-borderWidth-thin, 1px) solid var(--color-canvas-default);
|
92
|
-
}
|
93
|
-
|
94
|
-
.avatar.avatar-more::before {
|
95
|
-
width: 17px;
|
96
|
-
background: var(--color-avatar-stack-fade-more);
|
97
|
-
}
|
98
|
-
|
99
|
-
.avatar.avatar-more::after {
|
100
|
-
width: 14px;
|
101
|
-
background: var(--color-avatar-stack-fade);
|
102
|
-
}
|
103
|
-
|
104
|
-
/* Right aligned variation */
|
105
|
-
|
106
|
-
.AvatarStack--right .AvatarStack-body {
|
107
|
-
right: 0;
|
108
|
-
flex-direction: row-reverse;
|
109
|
-
}
|
110
|
-
|
111
|
-
.AvatarStack--right .AvatarStack-body:hover .avatar {
|
112
|
-
margin-right: 0;
|
113
|
-
margin-left: 3px;
|
114
|
-
}
|
115
|
-
|
116
|
-
.AvatarStack--right .AvatarStack-body .avatar:not(:last-child) {
|
117
|
-
border-left: 0;
|
118
|
-
}
|
119
|
-
|
120
|
-
.AvatarStack--right .avatar.avatar-more {
|
121
|
-
background: var(--color-avatar-stack-fade);
|
122
|
-
}
|
123
|
-
|
124
|
-
.AvatarStack--right .avatar.avatar-more::before {
|
125
|
-
width: 5px;
|
126
|
-
}
|
127
|
-
|
128
|
-
.AvatarStack--right .avatar.avatar-more::after {
|
129
|
-
width: 2px;
|
130
|
-
background: var(--color-canvas-subtle);
|
131
|
-
}
|
132
|
-
|
133
|
-
.AvatarStack--right .avatar {
|
134
|
-
margin-right: 0;
|
135
|
-
margin-left: -11px;
|
136
|
-
border-right: 0;
|
137
|
-
border-left: var(--yattho-borderWidth-thin, 1px) solid var(--color-canvas-default);
|
138
|
-
}
|
1
|
+
.AvatarStack{height:20px;min-width:26px;position:relative}.AvatarStack .AvatarStack-body{position:absolute}.AvatarStack.AvatarStack--two{min-width:36px}.AvatarStack.AvatarStack--three-plus{min-width:46px}.AvatarStack-body{background:var(--color-canvas-default);border-radius:100px;display:flex}.AvatarStack-body .avatar{background-color:var(--color-canvas-default);border-radius:var(--yattho-borderRadius-small,4px);border-right:var(--yattho-borderWidth-thin,1px) solid var(--color-canvas-default);box-shadow:none;box-sizing:initial;display:flex;height:20px;margin-right:-11px;position:relative;transition:margin .1s ease-in-out;width:20px;z-index:2}.AvatarStack-body .avatar:first-child{z-index:3}.AvatarStack-body .avatar:last-child{border-right:0;z-index:1}.AvatarStack-body .avatar img{border-radius:var(--yattho-borderRadius-small,4px)}.AvatarStack-body .avatar:nth-child(n+4){display:none;opacity:0}.AvatarStack-body:hover .avatar{margin-right:3px}.AvatarStack-body:hover .avatar:nth-child(n+4){display:flex;opacity:1}.AvatarStack-body:hover .avatar-more{display:none!important}.avatar.avatar-more{background:var(--color-canvas-subtle);margin-right:0;z-index:1}.avatar.avatar-more:after,.avatar.avatar-more:before{border-radius:2px;content:"";display:block;height:20px;outline:var(--yattho-borderWidth-thin,1px) solid var(--color-canvas-default);position:absolute}.avatar.avatar-more:before{background:var(--color-avatar-stack-fade-more);width:17px}.avatar.avatar-more:after{background:var(--color-avatar-stack-fade);width:14px}.AvatarStack--right .AvatarStack-body{flex-direction:row-reverse;right:0}.AvatarStack--right .AvatarStack-body:hover .avatar{margin-left:3px;margin-right:0}.AvatarStack--right .AvatarStack-body .avatar:not(:last-child){border-left:0}.AvatarStack--right .avatar.avatar-more{background:var(--color-avatar-stack-fade)}.AvatarStack--right .avatar.avatar-more:before{width:5px}.AvatarStack--right .avatar.avatar-more:after{background:var(--color-canvas-subtle);width:2px}.AvatarStack--right .avatar{border-left:var(--yattho-borderWidth-thin,1px) solid var(--color-canvas-default);border-right:0;margin-left:-11px;margin-right:0}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"beta/avatar_stack","selectors":[".AvatarStack",".AvatarStack .AvatarStack-body",".AvatarStack.AvatarStack--two",".AvatarStack.AvatarStack--three-plus",".AvatarStack-body",".AvatarStack-body .avatar",".AvatarStack-body .avatar:first-child",".AvatarStack-body .avatar:last-child",".AvatarStack-body .avatar img",".AvatarStack-body .avatar:nth-child(n
|
1
|
+
{"name":"beta/avatar_stack","selectors":[".AvatarStack",".AvatarStack .AvatarStack-body",".AvatarStack.AvatarStack--two",".AvatarStack.AvatarStack--three-plus",".AvatarStack-body",".AvatarStack-body .avatar",".AvatarStack-body .avatar:first-child",".AvatarStack-body .avatar:last-child",".AvatarStack-body .avatar img",".AvatarStack-body .avatar:nth-child(n+4)",".AvatarStack-body:hover .avatar",".AvatarStack-body:hover .avatar:nth-child(n+4)",".AvatarStack-body:hover .avatar-more",".avatar.avatar-more",".avatar.avatar-more:after",".avatar.avatar-more:before",".AvatarStack--right .AvatarStack-body",".AvatarStack--right .AvatarStack-body:hover .avatar",".AvatarStack--right .AvatarStack-body .avatar:not(:last-child)",".AvatarStack--right .avatar.avatar-more",".AvatarStack--right .avatar.avatar-more:before",".AvatarStack--right .avatar.avatar-more:after",".AvatarStack--right .avatar"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["avatar_stack.pcss"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["avatar_stack.pcss"],"names":[],"mappings":"AAKA,aAGE,WAAY,CADZ,cAAe,CADf,iBAeF,CAXE,+BACE,iBACF,CAEA,8BACE,cACF,CAEA,qCACE,cACF,CAGF,kBAEE,sCAAuC,CACvC,mBAAoB,CAFpB,YAoDF,CAhDE,0BAQE,4CAA6C,CAE7C,kDAAoD,CADpD,iFAAmF,CAEnF,eAAgB,CALhB,kBAAuB,CAHvB,YAAa,CAEb,WAAY,CAEZ,kBAAmB,CANnB,iBAAkB,CAWlB,iCAAmC,CARnC,UAAW,CAFX,SA8BF,CAlBE,sCACE,SACF,CAEA,qCAEE,cAAe,CADf,SAEF,CAEA,8BACE,kDACF,CAGA,yCACE,YAAa,CACb,SACF,CAIA,gCACE,gBACF,CAEA,+CACE,YAAa,CACb,SACF,CAEA,qCACE,sBACF,CAIJ,oBAGE,qCAAsC,CADtC,cAAe,CADf,SAuBF,CAnBE,qDAME,iBAAkB,CADlB,UAAW,CAFX,aAAc,CACd,WAAY,CAGZ,4EAA8E,CAL9E,iBAMF,CAEA,2BAEE,8CAA+C,CAD/C,UAEF,CAEA,0BAEE,yCAA0C,CAD1C,UAEF,CAMA,sCAEE,0BAA2B,CAD3B,OAWF,CARE,oDAEE,eAAgB,CADhB,cAEF,CAEA,+DACE,aACF,CAGF,wCACE,yCAUF,CARE,+CACE,SACF,CAEA,8CAEE,qCAAsC,CADtC,SAEF,CAGF,4BAIE,gFAAkF,CADlF,cAAe,CADf,iBAAkB,CADlB,cAIF","file":"avatar_stack.css","sourcesContent":["/* AvatarStack */\n\n/* Stacked avatars can be used to show who is participating in thread when\n** there is limited space available. */\n\n.AvatarStack {\n position: relative;\n min-width: 26px;\n height: 20px;\n\n & .AvatarStack-body {\n position: absolute;\n }\n\n &.AvatarStack--two {\n min-width: 36px;\n }\n\n &.AvatarStack--three-plus {\n min-width: 46px;\n }\n}\n\n.AvatarStack-body {\n display: flex;\n background: var(--color-canvas-default);\n border-radius: 100px;\n\n & .avatar {\n position: relative;\n z-index: 2;\n display: flex;\n width: 20px;\n height: 20px;\n box-sizing: content-box;\n margin-right: -11px;\n background-color: var(--color-canvas-default);\n border-right: var(--yattho-borderWidth-thin, 1px) solid var(--color-canvas-default);\n border-radius: var(--yattho-borderRadius-small, 4px);\n box-shadow: none;\n transition: margin 0.1s ease-in-out;\n\n &:first-child {\n z-index: 3;\n }\n\n &:last-child {\n z-index: 1;\n border-right: 0;\n }\n\n & img {\n border-radius: var(--yattho-borderRadius-small, 4px);\n }\n\n /* Account for 4+ avatars */\n &:nth-child(n + 4) {\n display: none;\n opacity: 0;\n }\n }\n\n &:hover {\n & .avatar {\n margin-right: 3px;\n }\n\n & .avatar:nth-child(n + 4) {\n display: flex;\n opacity: 1;\n }\n\n & .avatar-more {\n display: none !important;\n }\n }\n}\n\n.avatar.avatar-more {\n z-index: 1;\n margin-right: 0;\n background: var(--color-canvas-subtle);\n\n &::before,\n &::after {\n position: absolute;\n display: block;\n height: 20px;\n content: '';\n border-radius: 2px;\n outline: var(--yattho-borderWidth-thin, 1px) solid var(--color-canvas-default);\n }\n\n &::before {\n width: 17px;\n background: var(--color-avatar-stack-fade-more);\n }\n\n &::after {\n width: 14px;\n background: var(--color-avatar-stack-fade);\n }\n}\n\n/* Right aligned variation */\n\n.AvatarStack--right {\n & .AvatarStack-body {\n right: 0;\n flex-direction: row-reverse;\n\n &:hover .avatar {\n margin-right: 0;\n margin-left: 3px;\n }\n\n & .avatar:not(:last-child) {\n border-left: 0;\n }\n }\n\n & .avatar.avatar-more {\n background: var(--color-avatar-stack-fade);\n\n &::before {\n width: 5px;\n }\n\n &::after {\n width: 2px;\n background: var(--color-canvas-subtle);\n }\n }\n\n & .avatar {\n margin-right: 0;\n margin-left: -11px;\n border-right: 0;\n border-left: var(--yattho-borderWidth-thin, 1px) solid var(--color-canvas-default);\n }\n}"]}
|
@@ -1,90 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.blankslate {
|
4
|
-
position: relative;
|
5
|
-
padding: var(--base-size-32, 32px);
|
6
|
-
text-align: center;
|
7
|
-
}
|
8
|
-
|
9
|
-
.blankslate p {
|
10
|
-
color: var(--color-fg-muted);
|
11
|
-
}
|
12
|
-
|
13
|
-
.blankslate code {
|
14
|
-
padding: 2px 5px 3px;
|
15
|
-
font-size: var(--yattho-text-body-size-medium, 14px);
|
16
|
-
background: var(--color-canvas-default);
|
17
|
-
border: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-muted);
|
18
|
-
border-radius: var(--yattho-borderRadius-medium, 6px);
|
19
|
-
}
|
20
|
-
|
21
|
-
.blankslate img {
|
22
|
-
width: 56px;
|
23
|
-
height: 56px;
|
24
|
-
}
|
25
|
-
|
26
|
-
.blankslate-icon {
|
27
|
-
margin-right: var(--yattho-control-small-gap, 4px);
|
28
|
-
margin-bottom: var(--yattho-stack-gap-condensed, 8px);
|
29
|
-
margin-left: var(--yattho-control-small-gap, 4px);
|
30
|
-
color: var(--color-fg-muted);
|
31
|
-
}
|
32
|
-
|
33
|
-
.blankslate-image {
|
34
|
-
margin-bottom: var(--yattho-stack-gap-normal, 16px);
|
35
|
-
}
|
36
|
-
|
37
|
-
.blankslate-heading {
|
38
|
-
margin-bottom: var(--base-size-4, 4px);
|
39
|
-
}
|
40
|
-
|
41
|
-
.blankslate-action {
|
42
|
-
margin-top: var(--yattho-stack-gap-normal, 16px);
|
43
|
-
}
|
44
|
-
|
45
|
-
.blankslate-action:first-of-type {
|
46
|
-
margin-top: var(--yattho-stack-gap-spacious, 24px);
|
47
|
-
}
|
48
|
-
|
49
|
-
.blankslate-action:last-of-type {
|
50
|
-
margin-bottom: var(--yattho-stack-gap-condensed, 8px);
|
51
|
-
}
|
52
|
-
|
53
|
-
.blankslate-capped {
|
54
|
-
border-radius: 0 0 var(--yattho-borderRadius-medium, 6px) var(--yattho-borderRadius-medium, 6px);
|
55
|
-
}
|
56
|
-
|
57
|
-
.blankslate-spacious {
|
58
|
-
padding: var(--base-size-80, 80px) var(--base-size-40, 40px);
|
59
|
-
}
|
60
|
-
|
61
|
-
.blankslate-narrow {
|
62
|
-
max-width: 485px;
|
63
|
-
margin: 0 auto;
|
64
|
-
}
|
65
|
-
|
66
|
-
/* was .large-format
|
67
|
-
** QUESTION: should we deprecate this? */
|
68
|
-
|
69
|
-
.blankslate-large img {
|
70
|
-
width: 80px;
|
71
|
-
height: 80px;
|
72
|
-
}
|
73
|
-
|
74
|
-
.blankslate-large h3 {
|
75
|
-
margin: var(--yattho-stack-gap-normal, 16px) 0;
|
76
|
-
|
77
|
-
/* font-size: $h3-size; // This doesn't actually make the text larger. Should this be $h2-size? */
|
78
|
-
font-size: 24px;
|
79
|
-
}
|
80
|
-
|
81
|
-
.blankslate-large p {
|
82
|
-
font-size: var(--yattho-text-body-size-large, 16px);
|
83
|
-
}
|
84
|
-
|
85
|
-
/* was .clean-background
|
86
|
-
** TO DO: deprecate this and use utility instead */
|
87
|
-
|
88
|
-
.blankslate-clean-background {
|
89
|
-
border: 0;
|
90
|
-
}
|
1
|
+
.blankslate{padding:var(--base-size-32,32px);position:relative;text-align:center}.blankslate p{color:var(--color-fg-muted)}.blankslate code{background:var(--color-canvas-default);border:var(--yattho-borderWidth-thin,1px) solid var(--color-border-muted);border-radius:var(--yattho-borderRadius-medium,6px);font-size:var(--yattho-text-body-size-medium,14px);padding:2px 5px 3px}.blankslate img{height:56px;width:56px}.blankslate-icon{color:var(--color-fg-muted);margin-bottom:var(--yattho-stack-gap-condensed,8px);margin-left:var(--yattho-control-small-gap,4px);margin-right:var(--yattho-control-small-gap,4px)}.blankslate-image{margin-bottom:var(--yattho-stack-gap-normal,16px)}.blankslate-heading{margin-bottom:var(--base-size-4,4px)}.blankslate-action{margin-top:var(--yattho-stack-gap-normal,16px)}.blankslate-action:first-of-type{margin-top:var(--yattho-stack-gap-spacious,24px)}.blankslate-action:last-of-type{margin-bottom:var(--yattho-stack-gap-condensed,8px)}.blankslate-capped{border-radius:0 0 var(--yattho-borderRadius-medium,6px) var(--yattho-borderRadius-medium,6px)}.blankslate-spacious{padding:var(--base-size-80,80px) var(--base-size-40,40px)}.blankslate-narrow{margin:0 auto;max-width:485px}.blankslate-large img{height:80px;width:80px}.blankslate-large h3{font-size:24px;margin:var(--yattho-stack-gap-normal,16px) 0}.blankslate-large p{font-size:var(--yattho-text-body-size-large,16px)}.blankslate-clean-background{border:0}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["blankslate.pcss"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["blankslate.pcss"],"names":[],"mappings":"AAEA,YAEE,gCAAkC,CADlC,iBAAkB,CAElB,iBAkBF,CAhBE,cACE,2BACF,CAEA,iBAGE,sCAAuC,CACvC,yEAA2E,CAC3E,mDAAqD,CAHrD,kDAAoD,CADpD,mBAKF,CAEA,gBAEE,WAAY,CADZ,UAEF,CAGF,iBAIE,2BAA4B,CAF5B,mDAAqD,CACrD,+CAAiD,CAFjD,gDAIF,CAEA,kBACE,iDACF,CAEA,oBACE,oCACF,CAEA,mBACE,8CASF,CAPE,iCACE,gDACF,CAEA,gCACE,mDACF,CAGF,mBACE,6FACF,CAEA,qBACE,yDACF,CAEA,mBAEE,aAAc,CADd,eAEF,CAKE,sBAEE,WAAY,CADZ,UAEF,CAEA,qBAIE,cAAe,CAHf,4CAIF,CAEA,oBACE,iDACF,CAKF,6BACE,QACF","file":"blankslate.css","sourcesContent":["/* blankslate */\n\n.blankslate {\n position: relative;\n padding: var(--base-size-32, 32px);\n text-align: center;\n\n & p {\n color: var(--color-fg-muted);\n }\n\n & code {\n padding: 2px 5px 3px;\n font-size: var(--yattho-text-body-size-medium, 14px);\n background: var(--color-canvas-default);\n border: var(--yattho-borderWidth-thin, 1px) solid var(--color-border-muted);\n border-radius: var(--yattho-borderRadius-medium, 6px);\n }\n\n & img {\n width: 56px;\n height: 56px;\n }\n}\n\n.blankslate-icon {\n margin-right: var(--yattho-control-small-gap, 4px);\n margin-bottom: var(--yattho-stack-gap-condensed, 8px);\n margin-left: var(--yattho-control-small-gap, 4px);\n color: var(--color-fg-muted);\n}\n\n.blankslate-image {\n margin-bottom: var(--yattho-stack-gap-normal, 16px);\n}\n\n.blankslate-heading {\n margin-bottom: var(--base-size-4, 4px);\n}\n\n.blankslate-action {\n margin-top: var(--yattho-stack-gap-normal, 16px);\n\n &:first-of-type {\n margin-top: var(--yattho-stack-gap-spacious, 24px);\n }\n\n &:last-of-type {\n margin-bottom: var(--yattho-stack-gap-condensed, 8px);\n }\n}\n\n.blankslate-capped {\n border-radius: 0 0 var(--yattho-borderRadius-medium, 6px) var(--yattho-borderRadius-medium, 6px);\n}\n\n.blankslate-spacious {\n padding: var(--base-size-80, 80px) var(--base-size-40, 40px);\n}\n\n.blankslate-narrow {\n max-width: 485px;\n margin: 0 auto;\n}\n\n/* was .large-format\n** QUESTION: should we deprecate this? */\n.blankslate-large {\n & img {\n width: 80px;\n height: 80px;\n }\n\n & h3 {\n margin: var(--yattho-stack-gap-normal, 16px) 0;\n\n /* font-size: $h3-size; // This doesn't actually make the text larger. Should this be $h2-size? */\n font-size: 24px;\n }\n\n & p {\n font-size: var(--yattho-text-body-size-large, 16px);\n }\n}\n\n/* was .clean-background\n** TO DO: deprecate this and use utility instead */\n.blankslate-clean-background {\n border: 0;\n}"]}
|