From 5e7a292691951a0fa0a18f06c8b9bcfb509a032d Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Fri, 9 Sep 2011 22:26:16 +0200 Subject: Various JavaScript improvements, JSLint, jQuery --- lib/styles/screen.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/styles') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 80a161f19..6664c2102 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -87,3 +87,8 @@ div.notify { .code .st0 { color: #ff0000; } .code .sy0 { color: #66cc66; } +.hidden_with_access_keys { + /* No display: none to keep accesskeys working */ + margin-left: -10000px !important; + margin-top: -10000px !important; +} -- cgit v1.2.3 From f1ee1b85ca72341ec706e2ca4ba36b3d58b411ba Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Thu, 15 Sep 2011 23:31:43 +0200 Subject: Use jQuery UI Dialog for linkwiz --- lib/styles/screen.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/styles') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 6664c2102..218385f88 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -52,6 +52,11 @@ div.notify { overflow: hidden; } +#link__wiz .ui-dialog-content { + padding-left: 0; + padding-right: 0; +} + /* media manager popup toggle buttons */ #media__popup_content button.button { @@ -87,7 +92,7 @@ div.notify { .code .st0 { color: #ff0000; } .code .sy0 { color: #66cc66; } -.hidden_with_access_keys { +.a11y { /* No display: none to keep accesskeys working */ margin-left: -10000px !important; margin-top: -10000px !important; -- cgit v1.2.3 From 2495eea27a35c247d41ef34086fff31647714b70 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 16 Sep 2011 19:03:49 +0100 Subject: improved core .a11y class --- lib/styles/screen.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'lib/styles') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 218385f88..5269bc206 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -67,6 +67,16 @@ div.notify { border-style: inset; } +/* hide something accessibly + (e.g. for screen readers or to keep access keys working) */ +.a11y { + position: absolute !important; + left: -10000px !important; + top: auto !important; + width: 1px !important; + height: 1px !important; + overflow: hidden !important; +} /* syntax highlighting code */ .code .br0 { color: #66cc66; } @@ -91,9 +101,3 @@ div.notify { .code .re4 { color: #009999; } .code .st0 { color: #ff0000; } .code .sy0 { color: #66cc66; } - -.a11y { - /* No display: none to keep accesskeys working */ - margin-left: -10000px !important; - margin-top: -10000px !important; -} -- cgit v1.2.3 From 7a64646b530eaf3bc83f6b8a395e68df5f25b84a Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 16 Sep 2011 19:04:42 +0100 Subject: added clearfix-similar class (.group) to core styles --- lib/styles/all.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lib/styles') diff --git a/lib/styles/all.css b/lib/styles/all.css index 915ced5d6..5d7eb7d14 100644 --- a/lib/styles/all.css +++ b/lib/styles/all.css @@ -11,6 +11,22 @@ div.clearer { overflow: hidden; } +/* one of the many clearfix versions */ +.group { + display: inline-block; +} +.group { + display: block; +} +.group:before, +.group:after { + content: ""; + display: table; +} +.group:after { + clear: both; +} + div.no { display: inline; margin: 0; -- cgit v1.2.3 From e27ba3dbc85c38d85a613338eea842f1fe9d56a0 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 16 Sep 2011 20:58:39 +0100 Subject: improved media options css (and removed lots of dead css code) --- lib/styles/screen.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/styles') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 5269bc206..101ed3529 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -60,7 +60,7 @@ div.notify { /* media manager popup toggle buttons */ #media__popup_content button.button { - border-style: outset; + border: 1px outset; } #media__popup_content button.selected { -- cgit v1.2.3