From 0c49c5d6c2b38fdcf269e570dd7948632d3b23ff Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 12 Oct 2012 22:52:07 +0100 Subject: moved some styles around --- lib/styles/screen.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/styles') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 8ada48932..119878f9b 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -73,12 +73,16 @@ div.notify { (e.g. for screen readers or to keep access keys working) */ .a11y { position: absolute !important; - left: -10000px !important; + left: -99999em !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; } +[dir=rtl] .a11y { + left: auto !important; + right: -99999em !important; +} /* syntax highlighting code */ .code .br0 { color: #66cc66; } -- cgit v1.2.3 From 63c25974f5bb7ca4472bc68a2342ac05d42883b5 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 12 Oct 2012 23:31:01 +0100 Subject: removed unnecessary print styles --- lib/styles/all.css | 2 +- lib/styles/print.css | 20 ++++++-------------- lib/styles/screen.css | 2 +- 3 files changed, 8 insertions(+), 16 deletions(-) (limited to 'lib/styles') diff --git a/lib/styles/all.css b/lib/styles/all.css index 5d7eb7d14..ff4bd2457 100644 --- a/lib/styles/all.css +++ b/lib/styles/all.css @@ -1,5 +1,5 @@ /** - * Basic styles. These styles are needed for basic DokuWiki functions + * Basic screen and print styles. These styles are needed for basic DokuWiki functions * regardless of the used template. Templates can override them of course */ diff --git a/lib/styles/print.css b/lib/styles/print.css index 76bc6d3bc..a5c39e889 100644 --- a/lib/styles/print.css +++ b/lib/styles/print.css @@ -1,23 +1,15 @@ /** - * Basic styles. These styles are needed for basic DokuWiki functions + * Basic print styles. These styles are needed for basic DokuWiki functions * regardless of the used template. Templates can override them of course */ -/* messages with msg() */ -div.error, +div.error, /* messages with msg() */ div.info, div.success, -div.notify { - display: none; -} - -/* section edit button */ -.secedit { - display: none; -} - -/* modal windows */ -.JSpopup, +div.notify, +.secedit, /* section edit button */ +.a11y, /* accessibly hidden text */ +.JSpopup, /* modal windows */ #link__wiz { display: none; } diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 119878f9b..241904d7c 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -1,5 +1,5 @@ /** - * Basic styles. These styles are needed for basic DokuWiki functions + * Basic screen styles. These styles are needed for basic DokuWiki functions * regardless of the used template. Templates can override them of course */ -- cgit v1.2.3