From 1ce4fd4bc97a79fb3f30b66dfaa40b3c75ab94f4 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Thu, 14 Dec 2006 22:27:57 +0000 Subject: [PATCH] =?UTF-8?q?2006-12-14=20=20Ra=C3=BAl=20Mateos=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * include/styles/*.css: Simplify styles. First Try. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 4 + pandora_console/include/styles/god.css | 114 ++++++++------------- pandora_console/include/styles/link.css | 20 ++-- pandora_console/include/styles/op.css | 112 ++++++++------------ pandora_console/include/styles/pandora.css | 9 +- 5 files changed, 97 insertions(+), 162 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2824ba7d97..3d67d32e9e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2006-12-14 Raul Mateos + + * include/styles/*.css: Simplify styles. First Try. + 2006-12-08 Raul Mateos * include/config.php: Changed build diff --git a/pandora_console/include/styles/god.css b/pandora_console/include/styles/god.css index 06c563eab0..82f14eed06 100644 --- a/pandora_console/include/styles/god.css +++ b/pandora_console/include/styles/god.css @@ -3,111 +3,77 @@ color: #000; text-decoration: none; } -#god a:hover { - background-color: #efefbd; - } #god li { - padding: 2px 0px 2px 30px; position: relative; left: 1px; width: 99%; border-bottom: 1px solid #d4d4d4; border-top: 1px solid #ffffff; } -#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god6 li, #god7 li, #god8 li, #god1s li, #god2s li, #god3s li, #god4s li, #god5s li, #god6s li, #god7s li, #god8s li { - padding-top: 0px; - padding-bottom: 0px; - padding-right: 0px; +#god1 li, #god2 li, #god3 li, #god4 li, #god5 li, #god6 li, #god7 li, #god8 li, #god1s li, +#god2s li, #god3s li, #god4s li, #god5s li, #god6s li, #god7s li, #god8s li { + padding: 0px 0px 0px 30px; } -div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god6>ul, div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, div#god5s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul { +div#god1>ul, div#god2>ul, div#god3>ul, div#god4>ul, div#god5>ul, div#god6>ul, +div#god7>ul, div#god8>ul, div#god1s>ul, div#god2s>ul, div#god3s>ul, div#god4s>ul, +div#god5s>ul, div#god6s>ul, div#god7s>ul, div#god8s>ul { width: 124px; } -#god1 li { - background: url(../../images/god1.gif) no-repeat; - background-position: 4px 2px; +#god1 li, #god1 li:hover, #god1s li { + background: url(../../images/god1.gif) no-repeat 4px 2px; } -#god2 li { - background: url(../../images/god2.gif) no-repeat; - background-position: 4px 3px; +#god2 li, #god2 li:hover, #god2s li{ + background: url(../../images/god2.gif) no-repeat 4px 3px; } -#god3 li { - background: url(../../images/god3.gif) no-repeat; - background-position: 5px 2px; +#god3 li, #god3 li:hover, #god3s li { + background: url(../../images/god3.gif) no-repeat 5px 2px; } -#god4 li { - background: url(../../images/god4.gif) no-repeat; - background-position: 5px 4px; +#god4 li, #god4 li:hover, #god4s li{ + background: url(../../images/god4.gif) no-repeat 5px 4px; } -#god5 li { - background: url(../../images/god5.gif) no-repeat; - background-position: 3px 3px; +#god5 li, #god5 li:hover, #god5s li { + background: url(../../images/god5.gif) no-repeat 3px 3px; } -#god6 li { - background: url(../../images/god6.gif) no-repeat; - background-position: 4px 3px; +#god6 li, #god6 li:hover, #god6s li { + background: url(../../images/god6.gif) no-repeat 4px 3px; } -#god7 li { - background: url(../../images/god7.gif) no-repeat; - background-position: 4px 3px; +#god7 li, #god7 li:hover, #god7s li { + background: url(../../images/god7.gif) no-repeat 4px 3px; } -#god8 li {background: url(../../images/god8.gif) no-repeat; - background-position: 5px 3px; - } -#god1 li:hover, #god1s li { - background: #efefbd url(../../images/god1.gif) no-repeat; - background-position: 4px 2px; - } -#god2 li:hover, #god2s li { - background: #efefbd url(../../images/god2.gif) no-repeat; - background-position: 4px 3px; - } -#god3 li:hover, #god3s li { - background: #efefbd url(../../images/god3.gif) no-repeat; - background-position: 5px 2px; - } -#god4 li:hover, #god4s li { - background: #efefbd url(../../images/god4.gif) no-repeat; - background-position: 5px 4px; - } -#god5 li:hover, #god5s li { - background: #efefbd url(../../images/god5.gif) no-repeat; - background-position: 3px 3px; - } -#god6 li:hover, #god6s li { - background: #efefbd url(../../images/god6.gif) no-repeat; - background-position: 4px 3px; - } -#god7 li:hover, #god7s li { - background: #efefbd url(../../images/god7.gif) no-repeat; - background-position: 4px 3px; - } -#god8 li:hover, #god8s li {background: #efefbd url(../../images/god8.gif) no-repeat; - background-position: 5px 3px; +#god8 li, #god8 li:hover, #god8s li { + background: url(../../images/god8.gif) no-repeat 5px 3px; } #arrowg1 ul, #arrowg2 ul, #arrowg3 ul, #arrowg4 ul, #arrowg5 ul { padding: 0px 0px 0px 0px; list-style: none; } -#arrowg1 li, #arrowg2 li, #arrowg3 li, #arrowg4 li, #arrowg5 li, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li { +#arrowg1 li, #arrowg2 li, #arrowg3 li, #arrowg4 li, #arrowg5 li, #arrowgs1 li, +#arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li { padding: 0px 0px 0px 15px; - background: #f5f5dc url(../../images/arrow.gif) no-repeat; - background-position: 2px 4px; + background: #f5f5dc url(../../images/arrow.gif) no-repeat 2px 4px; position: relative; left: 30px; width: 80%; } -div#arrowg1>ul, div#arrowg2>ul, div#arrowg3>ul, div#arrowg4>ul, div#arrowg5>ul, div#arrowgs1>ul, div#arrowgs2>ul, div#arrowgs3>ul,div#arrowgs4>ul, div#arrowgs5>ul { +div#arrowg1>ul, div#arrowg2>ul, div#arrowg3>ul, div#arrowg4>ul, div#arrowg5>ul, +div#arrowgs1>ul, div#arrowgs2>ul, div#arrowgs3>ul,div#arrowgs4>ul, div#arrowgs5>ul { width: 88%; } -#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, #arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li { - background: #efefbd url(../../images/arrow.gif) no-repeat; - background-position: 2px 4px; +#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, +#arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li { + background: url(../../images/arrow.gif) no-repeat 2px 4px; } div#menug { - background-color:#f5f5dc; - border-width: 1px; - border-style: solid; - border-color: #4a6629; + background-color: #f5f5dc; + border: 1px solid #4a6629; width: 155px; margin-bottom: 15px; + } +#god a:hover, +#god1 li:hover, #god1s li, #god2 li:hover, #god2s li, #god3 li:hover, #god3s li, +#god4 li:hover, #god4s li, #god5 li:hover, #god5s li, #god6 li:hover, #god6s li, +#god7 li:hover, #god7s li, #god8 li:hover, #god8s li, +#arrowg1 li:hover, #arrowg2 li:hover, #arrowg3 li:hover, #arrowg4 li:hover, +#arrowg5 li:hover, #arrowgs1 li, #arrowgs2 li, #arrowgs3 li, #arrowgs4 li, #arrowgs5 li { + background-color: #efefbd; } \ No newline at end of file diff --git a/pandora_console/include/styles/link.css b/pandora_console/include/styles/link.css index 385e1937fa..9b4f673014 100644 --- a/pandora_console/include/styles/link.css +++ b/pandora_console/include/styles/link.css @@ -2,9 +2,7 @@ display: block; color: #000; } -#link a:hover { - background-color: #cde0ad; - } + div.linkli>ul { width: 133px; } @@ -12,20 +10,16 @@ div.linkli>ul { padding: 0px 0px 0px 22px; border-bottom: 1px solid #d6d6d6; border-top: 1px solid #f5ffff; - position: relative; - left: 0px; width: 100%; - background: url(../../images/link.gif) no-repeat; - background-position: 3px 8px; + } +.linkli li, .linkli li:hover { + background: url(../../images/link.gif) no-repeat 3px 8px; } -.linkli li:hover { - background: #cde0ad url(../../images/link.gif) no-repeat; - background-position: 3px 8px; +#link a:hover, .linkli li:hover { + background-color: #cde0ad; } div#menul { background-color: #e9f3d2; - border-width: 1px; - border-style: solid; - border-color: #4a6629; + border: 1px solid #4a6629; width: 155px; } \ No newline at end of file diff --git a/pandora_console/include/styles/op.css b/pandora_console/include/styles/op.css index 6ab720a2e4..a5b6ad125b 100644 --- a/pandora_console/include/styles/op.css +++ b/pandora_console/include/styles/op.css @@ -3,106 +3,74 @@ color: #000; text-decoration: none; } -#op a:hover { - background-color: #d4ddc6; - text-decoration: none; - } #op li { - padding: 2px 0px 2px 28px; position: relative; left: 0px; - width:100%; + width: 100%; border-bottom: 1px solid #d4d4d4; border-top: 1px solid #eee; } -#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, #op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li { - padding-top: 0px; - padding-bottom: 0px; - padding-right: 1px; +#op1 li, #op2 li, #op3 li, #op4 li, #op5 li, #op6 li, #op7 li, +#op1s li, #op2s li, #op3s li, #op4s li, #op5s li, #op6s li, #op7s li { + padding: 0px 0px 0px 28px; } -div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul, div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul, div#op7s>ul { - width:126px; +div#op1>ul, div#op2>ul, div#op3>ul, div#op4>ul, div#op5>ul, div#op6>ul, div#op7>ul, +div#op1s>ul, div#op2s>ul, div#op3s>ul, div#op4s>ul, div#op5s>ul, div#op6s>ul, div#op7s>ul { + width: 126px; } -#op1 li { - background: url(../../images/op1.gif) no-repeat; - background-position: 4px 3px; +#op1 li , #op1 li:hover, #op1s li { + background: url(../../images/op1.gif) no-repeat 4px 3px; } -#op2 li { - background: url(../../images/op2.gif) no-repeat; - background-position: 3px 3px; +#op2 li, #op2 li:hover, #op2s li { + background: url(../../images/op2.gif) no-repeat 3px 3px; } -#op3 li { - background: url(../../images/op3.gif) no-repeat; - background-position: 5px 3px; +#op3 li, #op3 li:hover, #op3s li { + background: url(../../images/op3.gif) no-repeat 5px 3px; } -#op4 li { - background: url(../../images/op4.gif) no-repeat; - background-position: 5px 3px; +#op4 li, #op4 li:hover, #op4s li { + background: url(../../images/op4.gif) no-repeat 5px 3px; } -#op5 li { - background: url(../../images/op5.gif) no-repeat; - background-position: 7px 3px; +#op5 li, #op5 li:hover, #op5s li { + background: url(../../images/op5.gif) no-repeat 7px 3px; } -#op6 li { - background: url(../../images/op6.gif) no-repeat; - background-position: 4px 5px; +#op6 li, #op6 li:hover, #op6s li { + background: url(../../images/op6.gif) no-repeat 4px 5px; } -#op7 li { - background: url(../../images/op7.gif) no-repeat; - background-position: 1px 0px; - } -#op1 li:hover, #op1s li { - background: #d4ddc6 url(../../images/op1.gif) no-repeat; - background-position: 4px 3px; - } -#op2 li:hover, #op2s li { - background: #d4ddc6 url(../../images/op2.gif) no-repeat; - background-position: 3px 3px; - } -#op3 li:hover, #op3s li { - background: #d4ddc6 url(../../images/op3.gif) no-repeat; - background-position: 5px 3px; - } -#op4 li:hover, #op4s li { - background: #d4ddc6 url(../../images/op4.gif) no-repeat; - background-position: 5px 3px; - } -#op5 li:hover, #op5s li { - background: #d4ddc6 url(../../images/op5.gif) no-repeat; - background-position: 7px 3px; - } -#op6 li:hover, #op6s li { - background: #d4ddc6 url(../../images/op6.gif) no-repeat; - background-position: 4px 5px; - } -#op7 li:hover, #op7s li { - background: #d4ddc6 url(../../images/op7.gif) no-repeat; - background-position: 1px 0px; +#op7 li, #op7 li:hover, #op7s li { + background: url(../../images/op7.gif) no-repeat 1px 0px; } #arrow1 ul, #arrow2 ul, #arrow3 ul, #arrow4 ul, #arrow5 ul { padding: 0px 0px 0px 0px; list-style: none; } -#arrow1 li, #arrows1 li, #arrow2 li, #arrows2 li, #arrow3 li, #arrows3 li, #arrow4 li, #arrows4 li, #arrow5 li, #arrows5 li { +#arrow1 li, #arrows1 li, #arrow2 li, #arrows2 li, #arrow3 li, #arrows3 li, +#arrow4 li, #arrows4 li, #arrow5 li, #arrows5 li { padding: 0px 0px 0px 15px; - background: #e6e9cd url(../../images/arrow.gif) no-repeat; - background-position: 2px 4px; + background: #e6e9cd url(../../images/arrow.gif) no-repeat 2px 4px; position: relative; left: 26px; width: 82%; } -div#arrow1>ul, div#arrows1>ul, div#arrow2>ul, div#arrows2>ul, div#arrow3>ul, div#arrows3>ul, div#arrow4>ul, div#arrows4>ul, div#arrow5>ul, div#arrows5>ul { +div#arrow1>ul, div#arrows1>ul, div#arrow2>ul, div#arrows2>ul, div#arrow3>ul, +div#arrows3>ul, div#arrow4>ul, div#arrows4>ul, div#arrow5>ul, div#arrows5>ul { width: 89%; } -#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, #arrow3 li:hover, #arrows3 li, #arrow4 li:hover, #arrows4 li, #arrow5 li:hover, #arrows5 li { - background: #d4ddc6 url(../../images/arrow.gif) no-repeat; - background-position: 2px 4px; +#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, #arrow3 li:hover, +#arrows3 li, #arrow4 li:hover, #arrows4 li, #arrow5 li:hover, #arrows5 li { + background: url(../../images/arrow.gif) no-repeat 2px 4px; } div#menuop { background-color: #e6e9cd; - border-width: 1px; - border-style: solid; - border-color:#4a6629; + border: 1px solid #4a6629; width: 155px; margin-bottom: 15px; - } \ No newline at end of file + } +#op a:hover , +#op1 li:hover, #op1s li , #op2 li:hover, #op2s li , #op3 li:hover, #op3s li , +#op4 li:hover, #op4s li , #op5 li:hover, #op5s li , #op6 li:hover, #op6s li , +#arrow1 li:hover, #arrows1 li, #arrow2 li:hover, #arrows2 li, +#arrow3 li:hover, #arrows3 li, #arrow4 li:hover, #arrows4 li, +#arrow5 li:hover, #arrows5 li +{ + background-color: #d4ddc6; +} \ No newline at end of file diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index fc253b5235..a32ccf8989 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -213,13 +213,15 @@ td.lb { padding-left: 3px; font-weight: bold; } -td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, td.datosf9i, td.datos_jus { +td.datos, td.datost, td.datosb, td.datos_id, td.datosf9, +td.datosf9i, td.datos_jus { background-color: #f5f5f5; } td.w90datos, td.w135datos, td.w230datos { background-color: #f5f5f5; } -td.datos2, td.datos2t, td.datos2b, td.datos2_id, td.datos2f9, td.datos2f9i, td.datos2_jus { +td.datos2, td.datos2t, td.datos2b, td.datos2_id, td.datos2f9, +td.datos2f9i, td.datos2_jus { background-color: #fafbfc; } td.w90datos2, td.w135datos2, td.w230datos2 { @@ -246,7 +248,8 @@ td.datos_jus, td.datos2_jus { font-size: 10px; text-align: center; } -.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datos2f9, td.datosf9i, td.datos2f9i { +.f9, .f9i, .f9b, td.f9, td.f9i, td.datosf9, td.datos2f9, +td.datosf9i, td.datos2f9i { font-size: 9px; } .f9i, .redi {