-
Notifications
You must be signed in to change notification settings - Fork 23
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
v.trushin
committed
Oct 29, 2024
1 parent
212f0c0
commit 051f052
Showing
3 changed files
with
64 additions
and
38 deletions.
There are no files selected for viewing
66 changes: 31 additions & 35 deletions
66
statshouse-ui/src/components/SelectMertic/SelectMetricRow.tsx
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
33 changes: 33 additions & 0 deletions
33
statshouse-ui/src/components/SelectMertic/style.module.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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.selectItem { | ||
height: var(--selectItemHeight); | ||
cursor: pointer; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
padding: 4px 8px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.selectChecked { | ||
background-color: var(--selectItemChecked); | ||
} | ||
|
||
/*.selectItem:hover,*/ | ||
.selectCursor { | ||
background-color: var(--selectItemCursor); | ||
} | ||
|
||
/*.selectChecked:hover,*/ | ||
.selectCursor.selectChecked { | ||
background-color: var(--selectItemCursorChecked); | ||
} | ||
/** Select component end */ | ||
|
||
.hoverVisible { | ||
visibility: hidden; | ||
} | ||
|
||
.selectItem:hover .hoverVisible, | ||
.selectCursor:hover .hoverVisible { | ||
visibility: visible; | ||
} |
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