From bd26b2226b91e4c4eeba84fa066e61465bbc8887 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 22 Jul 2006 09:31:30 +0000 Subject: merge from trunk r1490:1491 into branch 1.6 (fix bugs 484 and 244 display issues with IE : focus, checkboxe radio) git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1492 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/admin/configuration.tpl | 22 ++++++++-------- template/yoga/admin/group_list.tpl | 2 +- template/yoga/admin/thumbnail.tpl | 4 +-- template/yoga/default-colors.css | 24 ++++++++++------- template/yoga/fix-ie5-ie6.css | 8 ++---- template/yoga/header.tpl | 5 +++- template/yoga/identification.tpl | 4 +-- template/yoga/menubar.tpl | 4 +-- template/yoga/password.tpl | 3 +-- template/yoga/profile.tpl | 49 ++++++++++++----------------------- template/yoga/register.tpl | 11 +++----- template/yoga/search.tpl | 10 +++---- 12 files changed, 65 insertions(+), 81 deletions(-) diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl index ea4c202c6..5cb3a56d5 100644 --- a/template/yoga/admin/configuration.tpl +++ b/template/yoga/admin/configuration.tpl @@ -17,21 +17,21 @@ - +
  • - +
  • - +
  • @@ -76,7 +76,7 @@ - +
  • @@ -96,7 +96,7 @@ - @@ -107,21 +107,21 @@ - +
  • - +
  • - @@ -132,7 +132,7 @@ - +
  • @@ -151,14 +151,14 @@ - +
  • - +
  • diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl index 7b7dd67eb..6c370a96b 100644 --- a/template/yoga/admin/group_list.tpl +++ b/template/yoga/admin/group_list.tpl @@ -8,7 +8,7 @@ - +

    diff --git a/template/yoga/admin/thumbnail.tpl b/template/yoga/admin/thumbnail.tpl index cf5345d43..8023a5551 100644 --- a/template/yoga/admin/thumbnail.tpl +++ b/template/yoga/admin/thumbnail.tpl @@ -78,14 +78,14 @@ - +

  • - +
  • diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css index c7779075d..7e7eecc6d 100644 --- a/template/yoga/default-colors.css +++ b/template/yoga/default-colors.css @@ -21,19 +21,25 @@ } /* Tables & forms */ -INPUT, SELECT, TEXTAREA { - color:black; + +/* IE <= 6 is so bad with this that you can't merge with the following rule */ +INPUT[type="text"], INPUT[type="password"], INPUT[type="button"], +INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] { + color:black; + background-color: #d3d3d3; /* lightgrey */ } -INPUT, SELECT, TEXTAREA, FORM .nofocus { - background-color: #d3d3d3; /* lightgrey */ + +INPUT.text, INPUT.password, INPUT.button, +INPUT.submit, INPUT.reset, INPUT.file, +SELECT, TEXTAREA { + color:black; + background-color: #d3d3d3; /* lightgrey */ } -FORM .focus { +/*INPUT.text.focus, INPUT.password.focus, INPUT.button.focus, +INPUT.submit.focus, INPUT.reset.focus, INPUT.file.focus,*/ +INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus { background-color: #f5f5f5; /* whitesmoke */ } -INPUT[type="radio"] { /* for Opera */ - border: none; - background-color: transparent; -} .errors { /* Errors display */ color: red; diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css index 2361418e9..c3c51859c 100644 --- a/template/yoga/fix-ie5-ie6.css +++ b/template/yoga/fix-ie5-ie6.css @@ -11,13 +11,9 @@ H1, #theHeader { height: 1em; /* for IE6 it's like min-height */ } -/* to get less hugly checkboxes at least in tagSelection */ -/* as well as several forms */ -FORM#update FIELDSET INPUT, -UL.tagSelection LI INPUT, -#content UL.thumbnails SPAN.wrap2 INPUT { +/* some theme set a border on INPUT which is not pretty for those */ +INPUT.radio, INPUT.checkbox { border: none; - background-color: transparent; } /* fix category thumbnails on main page */ diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index 050857ad0..1684c6cd1 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -27,7 +27,10 @@ the "text/nonsense" prevents gecko based browsers to load it --> diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index dd07d0135..c96427aab 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -31,14 +31,14 @@ - +
  • - +
  • diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl index ddf6c6247..1bcbbec24 100644 --- a/template/yoga/menubar.tpl +++ b/template/yoga/menubar.tpl @@ -89,12 +89,12 @@ diff --git a/template/yoga/password.tpl b/template/yoga/password.tpl index f581507e2..e80c817ad 100644 --- a/template/yoga/password.tpl +++ b/template/yoga/password.tpl @@ -37,9 +37,8 @@ - + -
  • diff --git a/template/yoga/profile.tpl b/template/yoga/profile.tpl index b3837f454..cfcce030e 100644 --- a/template/yoga/profile.tpl +++ b/template/yoga/profile.tpl @@ -27,33 +27,29 @@ {lang:Username} {USERNAME}
  • -
  • - +
  • -
  • - +
  • -
  • - +
  • -
  • - +
  • @@ -66,81 +62,68 @@ - + -
  • - +
  • -
  • -
  • -
  • -
  • -
  • - +
  • -
  • {L_EXPAND_TREE} - - + +
  • -
  • {L_NB_COMMENTS} - - + +
  • -
  • - +
  • -
  • - +
  • - +

    diff --git a/template/yoga/register.tpl b/template/yoga/register.tpl index be3fb4a79..c047145af 100644 --- a/template/yoga/register.tpl +++ b/template/yoga/register.tpl @@ -28,28 +28,25 @@ - + -
  • - +
  • -
  • - +
  • -
  • - + ({lang:useful when password forgotten})
  • diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index 1c18b6a72..e893d6276 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -22,7 +22,7 @@
    {lang:Filter}
    @@ -70,7 +70,7 @@ - +
  • {lang:today} @@ -89,7 +89,7 @@ - +
  • {lang:today} @@ -100,7 +100,7 @@
    {lang:search_options}