Add sync action dropdowns
This commit is contained in:
parent
f612454e5b
commit
181a91c660
3 changed files with 102 additions and 18 deletions
47
frontend-js/dist/style.css
vendored
47
frontend-js/dist/style.css
vendored
|
|
@ -239,6 +239,53 @@ body.ol2013 {
|
|||
background: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
.action-menu {
|
||||
position: relative;
|
||||
height: 30px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.action-menu-button::after {
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin-left: 2px;
|
||||
border-left: 4px solid transparent;
|
||||
border-right: 4px solid transparent;
|
||||
border-top: 5px solid currentColor;
|
||||
}
|
||||
.action-menu.open .action-menu-button {
|
||||
background: var(--ol-blue-dark);
|
||||
border-color: #4f94ca;
|
||||
}
|
||||
.action-dropdown {
|
||||
position: absolute;
|
||||
top: 34px;
|
||||
left: 0;
|
||||
min-width: 190px;
|
||||
display: none;
|
||||
padding: 4px 0;
|
||||
background: #fff;
|
||||
color: var(--ol-text);
|
||||
border: 1px solid var(--ol-border);
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
|
||||
z-index: 45;
|
||||
}
|
||||
.action-menu.open .action-dropdown { display: block; }
|
||||
.action-dropdown-item {
|
||||
width: 100%;
|
||||
display: block;
|
||||
padding: 8px 12px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--ol-text);
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.action-dropdown-item:hover {
|
||||
background: #eef6fd;
|
||||
color: var(--ol-blue-dark);
|
||||
}
|
||||
.action-separator {
|
||||
width: 1px;
|
||||
height: 26px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue