diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-28 12:47:33 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-28 12:47:42 +0100 |
commit | fe6b987b3d48a5fc9bab8f4bfdccb99e9605f07a (patch) | |
tree | 78b3967e6d4085fb6d4ea7e6c6508fec4beef911 /core | |
parent | d9ef6da2e49de52a694f1c7684624e68e4de6a21 (diff) | |
download | nextcloud-server-fe6b987b3d48a5fc9bab8f4bfdccb99e9605f07a.tar.gz nextcloud-server-fe6b987b3d48a5fc9bab8f4bfdccb99e9605f07a.zip |
use css to show/hide fileactions
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index a6c10504070..95dceb50dec 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -112,10 +112,11 @@ label.infield { cursor: text !important; } #notification { z-index:101; background-color:#fc4; border:0; padding:0 .7em .3em; display:none; position:fixed; left:50%; top:0; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; } #notification span { cursor:pointer; font-weight:bold; margin-left:1em; } -.action, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5; -webkit-transition:opacity 200ms; -moz-transition:opacity 200ms; -o-transition:opacity 200ms; transition:opacity 200ms; } -.action { width: 16px; height: 16px; } +tr .action, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; -webkit-transition:opacity 200ms; -moz-transition:opacity 200ms; -o-transition:opacity 200ms; transition:opacity 200ms; } +tr:hover .action, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5; } +tr .action { width: 16px; height: 16px; } .header-action { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; } -.action:hover, .selectedActions a:hover, .header-action:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; } +tr:hover .action:hover, .selectedActions a:hover, .header-action:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; } table:not(.nostyle) tr { -webkit-transition:background-color 200ms; -moz-transition:background-color 200ms; -o-transition:background-color 200ms; transition:background-color 200ms; } tbody tr:hover, tr:active { background-color:#f8f8f8; } |