]> source.dussan.org Git - nextcloud-server.git/commitdiff
add delete undo styles
authorBernhard Posselt <dev@bernhard-posselt.com>
Fri, 5 Sep 2014 15:49:17 +0000 (17:49 +0200)
committerBernhard Posselt <dev@bernhard-posselt.com>
Tue, 16 Sep 2014 16:02:41 +0000 (18:02 +0200)
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

index 2042401489f04450da6c1e5b41377089a99e852f..e525270a7657480b9bf98acc2aa53d408a24ff8a 100644 (file)
 }
 
 
+/* 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;