From ef028fcd9aa36a52e75f0ac04b23385bf2e8348a Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 5 Sep 2014 17:49:17 +0200 Subject: [PATCH] add delete undo styles use less right padding better styling, fix padding issues no special color for undo nav entry fix fallback width use class for button --- core/css/apps.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/core/css/apps.css b/core/css/apps.css index 2042401489f..e525270a765 100644 --- a/core/css/apps.css +++ b/core/css/apps.css @@ -148,6 +148,41 @@ } +/* Deleted entries with undo button */ +#app-navigation .app-navigation-entry-deleted { + display: inline-block; + height: 44px; + width: 100%; +} + + #app-navigation .app-navigation-entry-deleted-description { + padding-left: 12px; + position: relative; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + display: inline-block; + width: 201px; /* fallback for IE8 */ + width: calc(100% - 49px); + line-height: 44px; + float: left; + } + + #app-navigation .app-navigation-entry-deleted-button { + margin: 0; + height: 44px; + width: 44px; + line-height: 44px; + border: 0; + display: inline-block; + background-color: transparent; + opacity: .5; + } + + #app-navigation .app-navigation-entry-deleted-button:hover { + opacity: 1; + } + /* counter and actions, legacy code */ #app-navigation .utils { position: absolute; -- 2.39.5