diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-06-14 14:16:25 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-06-14 14:16:25 +0200 |
commit | 42a84ea454ce3012e7d3c32fe1a9cf4305c3a9b2 (patch) | |
tree | 1f2b2c484ed21ed1d4ef44ce444511c1942dbc15 /apps/files/css/files.scss | |
parent | f349d5a225cf8c3faa8b36f9b4f7c96cc36a42b1 (diff) | |
download | nextcloud-server-42a84ea454ce3012e7d3c32fe1a9cf4305c3a9b2.tar.gz nextcloud-server-42a84ea454ce3012e7d3c32fe1a9cf4305c3a9b2.zip |
Sharing in list: Use .hidden-visually instead of display:none for accessibility, fix #11661
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/css/files.scss')
-rw-r--r-- | apps/files/css/files.scss | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index daf4ef2dd78..0885efa423f 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -559,8 +559,15 @@ a.action > img { opacity: .3; &.action-share { padding: 17px 14px; - > span:not(.icon) { - display: none; + &.permanent:not(.shared-style) .icon-shared + span { + /* hide text of the share action */ + /* .hidden-visually for accessbility */ + position: absolute; + left:-10000px; + top: auto; + width: 1px; + height: 1px; + overflow: hidden; } .avatar { display: inline-block; @@ -770,7 +777,7 @@ table.dragshadow td.size { border-radius: 0; background-color: transparent; z-index:1; - + > a[href='#'] { // if no link is set, no mouse feedback box-shadow: none !important; |