summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 14:12:13 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 14:12:13 +0100
commit6f4ed59883c7cda899ccb49e60e34a8529ffbd18 (patch)
tree34e21d568d8ca8bc719f0d18d0d97eb518b6aba7 /core/css
parent1b5f43e7c36f411e1abdf0fcdaec6e3e653c6dc7 (diff)
downloadnextcloud-server-6f4ed59883c7cda899ccb49e60e34a8529ffbd18.tar.gz
nextcloud-server-6f4ed59883c7cda899ccb49e60e34a8529ffbd18.zip
use method to only visually hide elements, show only for screen reader
Diffstat (limited to 'core/css')
-rw-r--r--core/css/styles.css13
1 files changed, 12 insertions, 1 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 7badfca6c16..856ba68def8 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -711,7 +711,18 @@ label.infield {
/* VARIOUS REUSABLE SELECTORS */
-.hidden { display:none; }
+.hidden {
+ display: none;
+}
+.hidden-visually {
+ position: absolute;
+ left:-10000px;
+ top: auto;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+}
+
.bold { font-weight:bold; }
.center { text-align:center; }
.inlineblock { display: inline-block; }