diff --git a/src/theme.scss b/src/theme.scss index a2d5157bd..6099d2d6b 100644 --- a/src/theme.scss +++ b/src/theme.scss @@ -311,10 +311,19 @@ textarea { padding-right: 5px; } } + + .grid-item-dropdown { + width: 50px; + border: none; + + &:hover { + background-color: rgba(255, 255, 255, 0.5); + } + } } .grid-item-content { - position: relative; // required to make action buttons positioned absolute within the element + display: block; background-color: white; box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); border-radius: 2px; @@ -333,51 +342,6 @@ textarea { font-family: $font-family-heading; } -.grid-item-actions { - display: block; - position: absolute; - top: 30px; - right: 0; - opacity: 0; - background-color: transparent; - transition: opacity 250ms, right 250ms; - - @media(max-width:767px) { - opacity: 1; - top: 0; - right: 20px; - } - - a { - display: block; - text-align: center; - transition: transform 150ms ease-in; - margin: 10px 0; - - @media(max-width:767px) { - margin: 40px 0; - transform: scale(1.8); - } - - @media(min-width:768px) { - &:hover { - transform: scale(2); - } - } - } - - .grid-items-action-tooltip { - margin-left: 10px; - } -} - -@media(min-width:768px) { - .grid-item:hover .grid-item-actions { - opacity: 1; - right: 10px; - } -} - .app-update-badge { display: flex; justify-content: center; @@ -397,7 +361,6 @@ textarea { &:hover { transform: scale(1.4); } - } .app-postinstall-message { diff --git a/src/views/apps.html b/src/views/apps.html index 16b497984..d6b21c7ac 100644 --- a/src/views/apps.html +++ b/src/views/apps.html @@ -119,12 +119,24 @@