Skip to content

Commit

Permalink
added css psuedo classes for checked and hover option states"
Browse files Browse the repository at this point in the history
  • Loading branch information
Israel-Molestina committed Aug 17, 2023
1 parent db3f5ed commit 2beea2e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 20 deletions.
6 changes: 6 additions & 0 deletions playbook/app/pb_kits/playbook/pb_select/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@
padding-top: $space_xxs;
padding-bottom: $space_xxs;
}
option:checked {
background-color: $hover_light;
}
option:hover {
background-color: $hover_light;
}
}
option {
color: $text_lt_default;
Expand Down
40 changes: 20 additions & 20 deletions playbook/app/pb_kits/playbook/pb_select/docs/example.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
examples:

rails:
- select_default: Default
- select_blank: Blank Selection Text
- select_disabled_options: Disabled Options
- select_disabled: Disabled Select Field
- select_required: Required Select Field
- select_value_text_same: Equal option value and value text
- select_custom_select: Custom Select
- select_error: Select w/ Error
- select_inline: Select Inline
- select_inline_compact: Select Inline Compact
# - select_default: Default
# - select_blank: Blank Selection Text
# - select_disabled_options: Disabled Options
# - select_disabled: Disabled Select Field
# - select_required: Required Select Field
# - select_value_text_same: Equal option value and value text
# - select_custom_select: Custom Select
# - select_error: Select w/ Error
# - select_inline: Select Inline
# - select_inline_compact: Select Inline Compact
- select_multiple: Select Multiple



react:
- select_default: Default
- select_blank: Blank Selection Text
- select_disabled_options: Disabled Options
- select_disabled: Disabled Select Field
- select_required: Required Select Field
- select_value_text_same: Equal option value and value text
- select_custom_select: Custom Select
- select_error: Select w/ Error
- select_inline: Select Inline
- select_inline_compact: Select Inline Compact
# - select_default: Default
# - select_blank: Blank Selection Text
# - select_disabled_options: Disabled Options
# - select_disabled: Disabled Select Field
# - select_required: Required Select Field
# - select_value_text_same: Equal option value and value text
# - select_custom_select: Custom Select
# - select_error: Select w/ Error
# - select_inline: Select Inline
# - select_inline_compact: Select Inline Compact
- select_multiple: Select Multiple

0 comments on commit 2beea2e

Please sign in to comment.