From 73dc6651cbe80a787ea0f25fea354adca6afe50c Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Mon, 9 Oct 2006 19:38:03 +0000 Subject: [PATCH] More CSS clean ups git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11889 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- .../{stylesheet_advanced.css => advanced.css} | 61 +-- templates/default_advanced/css/default.css | 454 ------------------ .../default_advanced/css/squirrelmail.css | 36 -- 3 files changed, 9 insertions(+), 542 deletions(-) rename templates/default_advanced/css/{stylesheet_advanced.css => advanced.css} (54%) delete mode 100644 templates/default_advanced/css/default.css delete mode 100644 templates/default_advanced/css/squirrelmail.css diff --git a/templates/default_advanced/css/stylesheet_advanced.css b/templates/default_advanced/css/advanced.css similarity index 54% rename from templates/default_advanced/css/stylesheet_advanced.css rename to templates/default_advanced/css/advanced.css index f1fca62f..66ddfd60 100644 --- a/templates/default_advanced/css/stylesheet_advanced.css +++ b/templates/default_advanced/css/advanced.css @@ -1,47 +1,4 @@ - - *
  • SQM_BACKGROUND - background color - *
  • SQM_BACKGROUND_LEFT - background of folder tree - *
  • SQM_TEXT_STANDARD - text color - *
  • SQM_TEXT_STANDARD_LEFT - text color of folder tree - *
  • SQM_LINK - color of links - *
  • SQM_LINK_LEFT - color of links in folder tree - *
  • SQM_TEXT_SPECIAL - color of special folder links in folder tree - *
  • todo: other constants should be documented here - * - * - * Optional template variables - * - * Variables are set to empty string, when value is not set. - * - * @copyright © 2005-2006 The SquirrelMail Project Team - * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * @version $Id$ - * @package squirrelmail - * @subpackage templates - */ - -/* retrieve the template vars */ -extract($t); -?> -/* advacned login page defs */ +/* advanced login page defs */ #sqm_login { margin-top: 25px; text-align: center; @@ -92,12 +49,12 @@ extract($t); #sqm_login td.fieldName { font-size: 10pt; font-weight: bold; - text-align: ; + text-align: right; width: 50%; } #sqm_login td.fieldInput { - text-align: ; + text-align: left; padding-top: 1px; padding-bottom: 1px; } @@ -111,15 +68,15 @@ extract($t); color: #110f08; border: 1px solid #726b58; padding: 1px; - background: url(/login2.png) repeat-y; + background: url(../images/login2.png) repeat-y; width: 160px; } /* advanced option order defs */ #optionHighlight td.divider { - border-top: 1px solid ; - border-bottom: 1px solid ; - background: ; + border-top: 1px solid #dcdcdc /* __COLOR0__ */; + border-bottom: 1px solid #dcdcdc /* __COLOR0__ */; + background: #dcdcdc /* __COLOR0__ */; font-weight: bold; padding-top: 2px; padding-bottom: 2px; @@ -168,10 +125,10 @@ extract($t); padding: 1px 2px 1px 2px; } .dtree a.node:hover, .dtree a.nodeSel:hover { - color: ; + color: #002266 /* __COLOR15__ */; } .dtree a.nodeSel { - color: ; + color: #002266 /* __COLOR15__ */; } .dtree .clip { overflow: hidden; diff --git a/templates/default_advanced/css/default.css b/templates/default_advanced/css/default.css deleted file mode 100644 index 32ccb4ac..00000000 --- a/templates/default_advanced/css/default.css +++ /dev/null @@ -1,454 +0,0 @@ -/* older css template */ -body, td, th, dd, dt, h1, h2, h3, h4, h5, h6, p, ol, ul, li { -} -body, small { -} -td, th { -} -textarea, pre { -font-family: monospace; -} - -/* page body formatting */ -body { - color: #000000; - background-color: #ffffff; -} -body.sqm_leftMain { - color: #000000; - background-color: #a0b8c8; - text-align: left; -} - -/* right links */ -a:link, a:visited, a:hover, a:active { - color: #0000cc; -} - -/* left links */ -.sqm_leftMain a:link, .sqm_leftMain a:visited, .sqm_leftMain a:hover, .sqm_leftMain a:active { - color: #000000; -} -.leftunseen, .leftspecial, .leftspecial a:link, .leftspecial a:visited, .leftspecial a:hover, .leftspecial a:active { - color: #770000; -} -.leftrecent { - font-weight:bold; -} -.leftnoselect a:link, .leftnoselect a:visited, .leftnoselect a:hover, .leftnoselect a:active { - color: #002266; -} - -/* highlighted texts */ -.highlight { - color: #002266; -} - -/* left_main.tpl definitions */ -.sqm_wrapperTable { - border:0; - padding:0; - margin-left:0; - border-spacing:0; - width:99% -} -sqm_leftMain table { - border:0; - padding:0; - margin:0; - border-spacing:0; -} -.sqm_folderHeader { - font-size:18px; - font-weight:bold; - text-align:center; -} -.sqm_clock { -} -.sqm_lastRefreshTime { - white-space: nowrap; -} -.sqm_refreshButton { -} - -/* formating of error template */ -.thead_caption { - font-weight: bold; - text-align: center; -} - -.error_list { -} -.error_table { - color: #ff0000; - border: 2px solid #dcdcdc; - background-color: #a0b8c8; - width: 100%; -} -.error_thead { - background-color: #666666; -} -.error_thead_caption { - background-color: #666666; -} -.error_row { - color: #ff0000; -} -.error_val { - color: #000000; - width: 80%; - border: 2px solid #dcdcdc; - -} -.error_key { - width: 20%; - border: 2px solid #dcdcdc; - color: #ff0000; - font-weight: bold; - font-style: italic; - background-color: #dcdcdc; -} - -/* form fields */ -input.sqmtextfield{ -} -input.sqmpwfield { -} -input.sqmcheckbox { -} -input.sqmradiobox { -} -input.sqmhiddenfield { -} -input.sqmsubmitfield { -} -input.sqmresetfield { -} -input.sqmtextarea { -} - -/* basic definitions */ -.table_empty { - width:100%; - border:0; - margin:0; - padding:0; - border-spacing:0; -} - -.table_standard { - width:100%; - border:1px solid #dcdcdc; - padding:0; - margin:0; - border-spacing:0; -} - -em { - font-weight:bold; - font-style:normal; -} - -small { - font-size:80%; -} -img { - border:0; -} - -/* login.tpl definitions */ -#sqm_login table { - border:0; - margin:0; - padding:0; - border-spacing:0; - margin-left:auto; - margin-right:auto; -} -#sqm_login td { - padding:2px; -} - -.sqm_loginImage { - margin-left:auto; - margin-right:auto; - padding:2px; -} -.sqm_loginTop { - text-align:center; - font-size:80%; -} -.sqm_loginOrgName { - font-weight:bold; - text-align:center; - background: #dcdcdc; - width:350px; - border:0; -} -.sqm_loginFieldName { - text-align:right; - width:30%; -} -.sqm_loginFieldInput { - text-align:left; -} -.sqm_loginSubmit { - text-align:center; -} - -/* note.tpl defs */ -.sqm_noteWrapper { - text-align:center; - width:100%; -} -.sqm_note { - margin-left:auto; - margin-right:auto; - font-weight:bold; - text-align:center; -} - -/* motd.tpl defs */ -.sqm_motdWrapper { - text-align:center; - width:100%; - margin:1px; -} -.sqm_motd { - margin-left:auto; - margin-right:auto; - text-align:center; - background: #ababab; - width:70%; - padding:0; -} -.sqm_motd td { - text-align:center; - background: #ffffff; - padding:5px; -} - -/* empty_folder.tpl defs */ -.sqm_emptyFolderWrapper { - text-align:center; - width:100%; -} -.sqm_emptyFolder { - margin-left:auto; - margin-right:auto; - text-align:center; - background: #ababab; - padding:1px; - width:100%; -} -.sqm_emptyFolder td { - text-align:center; - background: #ffffff; - padding-top:15px; - padding-bottom:15px; -} - -/* error_box.tpl definitions */ -.table_errorBoxWrapper { - width:100%; - padding:0; - border-spacing:0; - border:0; - text-align:center; - margin-left:auto; - margin-right:auto; - background: #ababab; -} - -.table_errorBox { - width:100%; - padding:0; - border-spacing:0; - border:0; - text-align:center; - margin-left:auto; - margin-right:auto; - background: #dcdcdc; -} -.error_header { - color: red; - font-weight:bold; - font-weight:bold; - font-style:normal; -} -.error_message { - background: #ffffff; -} - -/* error_logout.tpl definitions */ -#sqm_errorLogout { - width:100%; - text-align:center; -} -#sqm_errorLogout table { - border:0; - margin:0; - padding:0; - border-spacing:0; - margin-left:auto; - margin-right:auto; -} -#sqm_errorLogout td { - padding:2px; -} -.sqm_errorLogoutImage { - margin-left:auto; - margin-right:auto; - padding:2px; -} -.sqm_errorLogoutTop { - text-align:center; - font-size:80%; -} - -/* page_header.tpl definitions */ -.sqm_currentFolder { - background: #ababab; - padding:2px; - text-align: left; -} -.sqm_headerSignout { - background: #ababab; - padding:2px; - text-align: right; - font-weight:bold; -} -.sqm_topNavigation { - padding:2px; - text-align: left; -} -.sqm_providerInfo { - padding:2px; - text-align: right; -} - -/* message_list.tpl definitions */ -.table_messageListWrapper { - width:100%; - padding:0; - border-spacing:0; - border:0; - text-align:center; - margin-left:auto; - margin-right:auto; - background: #ababab; -} - -.table_messageList { - width:100%; - padding:0; - border-spacing:0; - border:0; - text-align:center; - margin-left:auto; - margin-right:auto; - background: #ffffcc; -} - -.table_messageList a { - white-space:nowrap; -} - -.table_messageList tr.headerRow { - text-align: left; - white-space:nowrap; - font-weight:bold; -} -.table_messageList td.spacer { - height:1px; - background: #dcdcdc; -} - -.table_messageList tr { - vertical-align:top; -} -.table_messageList tr.even { - background: #ededed; -} -.table_messageList tr.odd { - background: #ffffff; -} -.table_messageList tr.mouse_over { - background: #ffffcc; -} -.table_messageList tr.clicked { - background: #ff9933; -} - -.table_messageList td { - white-space:nowrap; -} -.table_messageList td.col_check { - text-align: left; -} -.table_messageList td.col_subject { - text-align: left; -} -.table_messageList td.col_flags { - text-align: left; -} -.table_messageList td.col_date { - text-align:center; -} -.table_messageList td.col_text { - text-align: left; -} - -.unread { - font-weight:bold; -} -.deleted { - color: #ababab; -} -.flagged { - color: #cc0000; -} -.high_priority { - color: #800000; -} -.low_priority { - color: #000000; -} - -.col_checked { -} - -.links_paginator { - text-align: left; -} - -.message_count { - text-align:right; - font-size:8pt; -} - -.message_list_controls { - background: #dcdcdc; -} - -.message_control_button { - padding:0px; - margin:0px; -} -.message_control_buttons { - text-align: left; - font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ -} -.message_control_delete { - text-align: right; - font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ -} -.message_control_move { - text-align: right; - font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ -} - -.spacer { - height:5px; - background: #ffffff; -} diff --git a/templates/default_advanced/css/squirrelmail.css b/templates/default_advanced/css/squirrelmail.css deleted file mode 100644 index 6ec6ed25..00000000 --- a/templates/default_advanced/css/squirrelmail.css +++ /dev/null @@ -1,36 +0,0 @@ -.thead_caption { - font-weight: bold; - text-align: center; -} - -.error_list { -} -.error_table { - color: #FF0000; - border: 2px solid #dcdcdc; - background-color: #a0b8c8; - width: 100%; -} -.error_thead { - background-color: #666666; -} -.error_thead_caption { - background-color: #666666; -} -.error_row { - color: #FF0000; -} -.error_val { - color: #000000; - width: 80%; - border: 2px solid #dcdcdc; - -} -.error_key { - width: 20%; - border: 2px solid #dcdcdc; - color: #FF0000; - font-weight: bold; - font-style: italic; - background-color: #dcdcdc; -} \ No newline at end of file -- 2.25.1