Skip to content

Commit

Permalink
fix: use --lumo-clickable-cursor, refactor styles (#2977)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Nov 4, 2021
1 parent ce825aa commit bb94dca
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/select/theme/lumo/vaadin-select-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@ const select = css`
text-align: start;
}
[part='input-field'] {
cursor: var(--lumo-clickable-cursor);
}
[part='input-field'] ::slotted([slot='value']) {
font-weight: 500;
}
[part='input-field'] ::slotted([slot='value']:not([placeholder])) {
color: var(--lumo-body-text-color);
}
/* placeholder styles */
:host [part='input-field'] ::slotted([slot='value'][placeholder]) {
[part='input-field'] ::slotted([slot='value'][placeholder]) {
color: inherit;
transition: opacity 0.175s 0.1s;
opacity: 0.5;
}
:host [part='input-field'] ::slotted([slot='value']) {
color: var(--lumo-body-text-color);
}
[part='toggle-button']::before {
content: var(--lumo-icons-dropdown);
}
Expand Down

0 comments on commit bb94dca

Please sign in to comment.