-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
patrickjahr
committed
Apr 16, 2024
1 parent
04faef5
commit 30b8004
Showing
6 changed files
with
69 additions
and
43 deletions.
There are no files selected for viewing
41 changes: 18 additions & 23 deletions
41
...app/src/app/pages/select-sample/select-options-sample/select-options-sample.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,33 @@ | ||
:host { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.25rem; | ||
width: 100%; | ||
margin-top: 0.5rem; | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; | ||
margin-top: 0.5rem; | ||
} | ||
|
||
sk-select-option { | ||
background-color: #fff; | ||
color: #000; | ||
padding: 0.5rem 1rem; | ||
cursor: pointer; | ||
transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out, | ||
background-color: #fff; | ||
color: #000; | ||
padding: 0.5rem 1rem; | ||
cursor: pointer; | ||
transition: color 0.3s ease-in-out, font-weight 0.3s ease-in-out, | ||
font-size 0.3s ease-in-out; | ||
} | ||
|
||
sk-select-option:first-child { | ||
border-top-left-radius: 0.25rem; | ||
border-top-right-radius: 0.25rem; | ||
border-top-left-radius: 0.25rem; | ||
border-top-right-radius: 0.25rem; | ||
} | ||
|
||
sk-select-option:last-child { | ||
border-bottom-left-radius: 0.25rem; | ||
border-bottom-right-radius: 0.25rem; | ||
border-bottom-left-radius: 0.25rem; | ||
border-bottom-right-radius: 0.25rem; | ||
} | ||
|
||
@media (hover) { | ||
sk-select-option:hover { | ||
color: deeppink; | ||
font-weight: bold; | ||
font-size: 1.5em; | ||
} | ||
} | ||
|
||
sk-select-option:not(:last-child) { | ||
border-bottom: 1px solid #000; | ||
sk-select-option:hover { | ||
color: deeppink; | ||
font-weight: bold; | ||
font-size: 1.5em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters