Enhance delete button in context menu (#2591)

This commit is contained in:
Kartik Prajapati 2020-12-15 04:29:00 +05:30 committed by GitHub
parent bfeb3c7dfd
commit f919907855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 3 deletions

View file

@ -32,6 +32,13 @@
display: grid;
grid-template-columns: 1fr 0.2fr;
&.dangerous {
div:nth-child(1) {
color: $oc-red-7;
}
}
div:nth-child(1) {
justify-self: start;
margin-inline-end: 20px;
@ -46,6 +53,13 @@
.context-menu-option:hover {
color: var(--popup-background-color);
background-color: var(--select-highlight-color);
&.dangerous {
div:nth-child(1) {
color: var(--popup-background-color);
}
background-color: $oc-red-6;
}
}
.context-menu-option:focus {