mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
DropDown component. Renamed files.
This commit is contained in:
parent
ff4492ffb5
commit
9f112c8cc9
16 changed files with 149 additions and 48 deletions
46
components/Dropdown.module.css
Normal file
46
components/Dropdown.module.css
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
.dropdown {
|
||||
position: relative;
|
||||
font-size: 12px;
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.value {
|
||||
padding: 4px 24px 4px 8px;
|
||||
border: 1px solid #b3b3b3;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.menu {
|
||||
position: absolute;
|
||||
min-width: 100px;
|
||||
top: 100%;
|
||||
margin-top: 4px;
|
||||
border: 1px solid #b3b3b3;
|
||||
border-radius: 4px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.option {
|
||||
background: #fff;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.option:hover {
|
||||
background: #eaeaea;
|
||||
}
|
||||
|
||||
.caret {
|
||||
position: absolute;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
border-right: 2px solid #8e8e8e;
|
||||
border-bottom: 2px solid #8e8e8e;
|
||||
transform: rotate(45deg);
|
||||
top: -4px;
|
||||
bottom: 0;
|
||||
right: 8px;
|
||||
margin: auto;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue