Skip to content

Commit

Permalink
select input style
Browse files Browse the repository at this point in the history
  • Loading branch information
erikyo committed Nov 5, 2023
1 parent d4aea98 commit 3ea240e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 8 additions & 0 deletions src/scripts/modules/select/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@
background-color: var(--wp--preset--color--primary);
border: 1px solid var(--wp--preset--color--primary);
}

.choices__input {
background: var(--wp--preset--color--background);
}
.choices[data-type*=select-multiple] .choices__button,
.choices[data-type*=text] .choices__button {
border-left: 1px solid var(--wp--preset--color--primary-light);
}
4 changes: 0 additions & 4 deletions src/styles/base/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ input[type="tel"] {
box-shadow: 0 0 0 var(--wp--preset--color--gray-light);
}

.choices__input {
background: var(--wp--preset--color--background);
}

[type="checkbox"],
[type="radio"] {
margin: 0;
Expand Down
1 change: 1 addition & 0 deletions src/styles/components/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
z-index: -1;
content: "";
height: 100vw;
max-height: 2000px;
width: 200vw;
top: 40%;
translate: -50% -50%;
Expand Down

0 comments on commit 3ea240e

Please sign in to comment.