From: vanmer Date: Sun, 9 Jul 2006 22:24:31 +0000 (+0000) Subject: - moved all static style elements out of stylesheet.tpl into /css/default.css X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e32c931f71324768ff5356f09898dc38c7f9da16;p=squirrelmail.git - moved all static style elements out of stylesheet.tpl into /css/default.css git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11379 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/stylesheet.tpl b/templates/default/stylesheet.tpl index d25e1f73..1081d873 100644 --- a/templates/default/stylesheet.tpl +++ b/templates/default/stylesheet.tpl @@ -36,6 +36,7 @@ /* retrieve the template vars */ extract($t); +return false; ?> /* older css template */ body, td, th, dd, dt, h1, h2, h3, h4, h5, h6, p, ol, ul, li { @@ -80,12 +81,11 @@ a:link, a:visited, a:hover, a:active { .sqm_leftMain a:link, .sqm_leftMain a:visited, .sqm_leftMain a:hover, .sqm_leftMain a:active { color: ; } + .leftunseen, .leftspecial, .leftspecial a:link, .leftspecial a:visited, .leftspecial a:hover, .leftspecial a:active { color: ; } -.leftrecent { - font-weight:bold; -} + .leftnoselect a:link, .leftnoselect a:visited, .leftnoselect a:hover, .leftnoselect a:active { color: ; } @@ -95,46 +95,10 @@ a:link, a:visited, a:hover, a:active { color: ; } -/* 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: ; border: 2px solid ; background-color: ; - width: 100%; } .error_thead { background-color: ; @@ -147,277 +111,82 @@ sqm_leftMain table { } .error_val { color: ; - width: 80%; border: 2px solid ; } .error_key { - width: 20%; border: 2px solid ; color: ; - font-weight: bold; - font-style: italic; background-color: ; } -/* 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 ; - 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: ; - 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: ; - width:70%; - padding:0; } .sqm_motd td { - text-align:center; background: ; - 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: ; - padding:1px; - width:100%; } .sqm_emptyFolder td { - text-align:center; background: ; - 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: ; } .table_errorBox { - width:100%; - padding:0; - border-spacing:0; - border:0; - text-align:center; - margin-left:auto; - margin-right:auto; background: ; } -.error_header { - color: red; - font-weight:bold; - font-weight:bold; - font-style:normal; -} .error_message { background: ; } -/* 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: ; - padding:2px; text-align: ; } .sqm_headerSignout { background: ; - padding:2px; text-align: ; - font-weight:bold; } .sqm_topNavigation { - padding:2px; text-align: ; } .sqm_providerInfo { - padding:2px; text-align: ; } /* 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: ; } .table_messageList { - width:100%; - padding:0; - border-spacing:0; - border:0; - text-align:center; - margin-left:auto; - margin-right:auto; background: ; } -.table_messageList a { - white-space:nowrap; -} - .table_messageList tr.headerRow { text-align: ; - white-space:nowrap; - font-weight:bold; } .table_messageList td.spacer { - height:1px; background: ; } - -.table_messageList tr { - vertical-align:top; -} .table_messageList tr.even { background: ; } @@ -430,10 +199,6 @@ img { .table_messageList tr.clicked { background: ; } - -.table_messageList td { - white-space:nowrap; -} .table_messageList td.col_check { text-align: ; } @@ -443,16 +208,9 @@ img { .table_messageList td.col_flags { text-align: ; } -.table_messageList td.col_date { - text-align:center; -} .table_messageList td.col_text { text-align: ; } - -.unread { - font-weight:bold; -} .deleted { color: ; } @@ -466,41 +224,25 @@ img { color: ; } -.col_checked { -} - .links_paginator { text-align: ; } -.message_count { - text-align:right; - font-size:8pt; -} - .message_list_controls { background: ; } -.message_control_button { - padding:0px; - margin:0px; -} .message_control_buttons { text-align: ; - font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ } .message_control_delete { text-align: ; - font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ } .message_control_move { text-align: ; - font-size:10px; /* replaces tags to allow greater control of fonts w/ using an id. */ } .spacer { - height:5px; background: ; }