Only show cog action on hover like before

This commit is contained in:
Johannes Zellner
2021-06-16 19:48:38 +02:00
parent 5f78722c8f
commit 52ab35d8c6

View File

@@ -325,6 +325,10 @@ textarea {
&:hover {
background-color: rgba(0, 0, 0, 0.1) !important;
& > .grid-item-action {
opacity: 1;
}
}
.grid-item-action {
@@ -333,13 +337,18 @@ textarea {
position: relative;
float: right;
margin-bottom: -14px;
color: #5e5d5d;
background-color: unset;
opacity: 0;
transition: opacity 200ms;
color: $text-dark;
&:hover {
background-color: rgba(255, 255, 255, 0.3);
color: $brand-primary;
}
&:active {
box-shadow: none;
}
}
.grid-item-top {
@@ -1871,8 +1880,14 @@ tag-input {
background-color: $backgroundDark;
}
.grid-item-content {
background-color: $backgroundDark !important;
.grid-item {
.grid-item-content {
background-color: $backgroundDark !important;
.grid-item-action {
color: white;
}
}
}
footer, .card, .app-configure-links div.active {