diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-05 17:49:17 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-09-16 18:02:41 +0200 |
commit | ef028fcd9aa36a52e75f0ac04b23385bf2e8348a (patch) | |
tree | 2f4127fc54b26f4f651e2e4305b66657f69f4db9 | |
parent | d48b6727913d0cc0b55e4a4e3c4d3d5618f80cc6 (diff) | |
download | nextcloud-server-ef028fcd9aa36a52e75f0ac04b23385bf2e8348a.tar.gz nextcloud-server-ef028fcd9aa36a52e75f0ac04b23385bf2e8348a.zip |
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
-rw-r--r-- | core/css/apps.css | 35 |
1 files changed, 35 insertions, 0 deletions
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; |