mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
60 lines
1.1 KiB
SCSS
60 lines
1.1 KiB
SCSS
.vertical-ellipsis-menu {
|
|
position: relative;
|
|
|
|
i.fa-ellipsis-v {
|
|
cursor: pointer;
|
|
display: block;
|
|
text-align: center;
|
|
border-radius: 3px;
|
|
background-color: white;
|
|
padding: 9px 14px;
|
|
}
|
|
|
|
.vertical-ellipsis-menu-content {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
background-color: white;
|
|
box-shadow: $box-shadow;
|
|
border-radius: 3px;
|
|
min-width: 80px;
|
|
display: none;
|
|
z-index: 100;
|
|
|
|
&.show {
|
|
display: block;
|
|
}
|
|
|
|
& > a {
|
|
display: block;
|
|
padding: 5px 10px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
border-left: 3px solid white;
|
|
color: $near-black;
|
|
text-decoration: none;
|
|
border-bottom: none;
|
|
|
|
&:hover {
|
|
background-color: $light-grey;
|
|
border-left: 3px solid $spree-blue;
|
|
}
|
|
|
|
&.delete {
|
|
color: $red;
|
|
|
|
&:hover {
|
|
border-left: 3px solid $red;
|
|
background-color: $fair-pink;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
table.products td .vertical-ellipsis-menu {
|
|
float: right;
|
|
}
|