From: pdontthink Date: Thu, 28 Sep 2006 14:38:23 +0000 (+0000) Subject: Moved to css dir X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0f5360b2b98191bb3a1119ec85ec3bc8c9f15322;p=squirrelmail.git Moved to css dir git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11757 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/squirrelmail.css b/templates/default/squirrelmail.css deleted file mode 100644 index 6ec6ed25..00000000 --- a/templates/default/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 diff --git a/templates/default/stylelink.tpl b/templates/default/stylelink.tpl deleted file mode 100644 index 73d589b2..00000000 --- a/templates/default/stylelink.tpl +++ /dev/null @@ -1,54 +0,0 @@ -$css_url) { - $css_file_theme=substr($css_file,0,-4); -// echo $css_file_theme; - $css_link_html.=css_link($css_url, $css_file_theme, ($css_file_theme!=$themeid), 'screen', ''); -} - -/** output CSS links **/ -echo $css_link_html; - diff --git a/templates/default/stylesheet.tpl b/templates/default/stylesheet.tpl deleted file mode 100644 index e57ae940..00000000 --- a/templates/default/stylesheet.tpl +++ /dev/null @@ -1,921 +0,0 @@ - - *
  • 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); -//return false; -?> -/* 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: ; - background-color: ; -} -body.sqm_leftMain { - color: ; - background-color: ; - text-align: left; -} - -/* right links */ -a:link, a:visited, a:hover, a:active { - color: ; -} - -/* left links */ -.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: ; -} - -.leftnoselect a:link, .leftnoselect a:visited, .leftnoselect a:hover, .leftnoselect a:active { - color: ; -} - -/* highlighted texts */ -.highlight { - color: ; -} - -.error_table { - color: ; - border: 2px solid ; - background-color: ; -} -.error_thead { - background-color: ; -} -.error_thead_caption { - background-color: ; -} -.error_row { - color: ; -} -.error_val { - color: ; - border: 2px solid ; - -} -.error_key { - border: 2px solid ; - color: ; - background-color: ; -} - -table.table_empty, table.table_blank { - margin: 0; - padding: 0; - border: 0; - width: 100%; -} - -table.table1 { - border: 1px solid ; - width: 90%; - margin-left: auto; - margin-right: auto; -} - -table.table1 td { - padding-left: 2px; - padding-right: 2px; -} - -table.table2 { - border: 1px solid ; - width: 80%; - margin-left: auto; - margin-right: auto; -} - -table.table2 td { - padding-left: 2px; - padding-right: 2px; -} - -td.emptyList { - text-align: center; - font-weight: bold; -} - -td.header1 { - background: ; - text-align: center; - font-weight: bold; -} - -td.header2 { - background: ; - text-align: center; - font-weight: bold; - padding-top: 2px; - padding-bottom: 2px; -} - -td.header3 { - text-align: center; - font-weight: bold; - padding-top: 4px; - padding-bottom: 4px; -} - -td.header4 { - background: ; - font-weight: bold; - padding-top:2px; - padding-bottom: 2px; - text-align: center; -} - -tr.even { - background: ; -} -tr.odd { - background: ; -} - -.table_standard { - border:1px solid ; -} - -.sqm_loginOrgName, .sqm_signoutBar { - background: ; -} - -.sqm_signout { - margin-top: 2em; - text-align: center; -} - -.sqm_motd { - background: ; -} -.sqm_motd td { - background: ; -} - -/* empty_folder.tpl defs */ -.sqm_emptyFolder { - background: ; -} -.sqm_emptyFolder td { - background: ; -} - -/* error_box.tpl definitions */ -.table_errorBoxWrapper { - background: ; -} - -.table_errorBox { - background: ; -} -.error_message { - background: ; -} - -/* page_header.tpl definitions */ -.sqm_currentFolder { - background: ; - text-align: ; -} -.sqm_headerSignout { - background: ; - text-align: ; -} -.sqm_topNavigation { - text-align: ; -} -.sqm_providerInfo { - text-align: ; -} - -/* message_list.tpl definitions */ -.table_messageListWrapper { - background: ; -} - -.table_messageList { - background: ; -} - -.table_messageList tr.headerRow { - text-align: ; -} -.table_messageList td.spacer { - background: ; -} -.table_messageList tr.mouse_over { - background: ; -} -.table_messageList tr.clicked { - background: ; -} -.table_messageList td.col_check { - text-align: ; -} -.table_messageList td.col_subject { - text-align: ; -} -.table_messageList td.col_flags { - text-align: ; -} -.table_messageList td.col_text { - text-align: ; -} -.deleted { - color: ; -} -.flagged { - color: ; -} -.high_priority { - color: ; -} -.low_priority { - color: ; -} - -.links_paginator { - text-align: ; -} - -.message_list_controls { - background: ; -} - -.message_control_buttons { - text-align: ; -} -.message_control_delete { - text-align: ; -} -.message_control_move { - text-align: ; -} - -.spacer { - background: ; -} - -/* folder_manip.tpl defs */ -#folderManip { - text-align:center; -} - -#folderManip td { - text-align: center; - padding: 2px; -} - -#folderManip table { - margin-left: auto; - margin-right: auto; - padding-top: 8px; - padding-bottom: 8px; - border: 0; - width: 70%; -} - -#folderManip table.wrapper { - border: 1px solid ; - width: 95%; - margin-left: auto; - margin-right: auto; - padding: 0; -} - -#folderManip td.folderAction { - background: ; -} - -#folderManip div { - margin-left: auto; - margin-right: auto; - width: 80%; - text-align: ; -} - -/* addressbook_list.tpl defs */ -#addressList { - text-align: center; -} - -#addressList input { - font-size: 8pt; -} - -#addressList select { - font-size: 75%; -} - -#addressList table { - margin-left: auto; - margin-right: auto; - width: 95%; - border: 1px solid ; - margin-top: 8px; - margin-bottom: 8px; -} - -#addressList td { - text-align: ; - padding: 2px; -} - -#addressList td.header1 { - text-align: center; - background: ; -} -#addressList td.abookSwitch { - background: ; - text-align: ; -} - -#addressList td.abookButtons { - background: ; -} - -#addressList td.abookField { - border-left: 1px solid ; - border-right: 1px solid ; - white-space: nowrap; - overflow: hidden; -} - -#addressList td.colHeader { - text-align: center; - font-weight: bold; - font-size: 98%; - background: ; - padding-top: 0px; - padding-bottom: 0px; -} - -#addressList td.abookEmpty { - text-align:center; - font-weight: bold; -} - -#addressList td.abookCompose { - font-size: 8pt; - white-space: nowrap; -} - -#addrBookSearch { - text-align: center; -} - -#addrBookSearch table { - padding: 0; - border: 0; - margin-left: auto; - margin-right: auto; -} - -#addrBookSearch table.wrapper { - border: 1px solid ; - width: 95%; - margin-left: auto; - margin-right: auto; - padding: 0; -} - -#addrBookSearch td { - padding: 2px; -} - -#addrBookSearch label { - font-weight: bold; -} - -#addrBookSearch input { - font-size: 75%; -} - -#addrBookSearch select { - font-size: 75%; -} - -#addrBookSearch td.buttons { - text-align: center; -} - -#addrAddEdit { - text-align: center; -} - -#addrAddEdit table { - border: 1px solid ; - margin-left: auto; - margin-right: auto; - margin-top: 6px; - margin-bottom: 6px; - width: 95% -} - -#addrAddEdit td.header { - background: ; - text-align: center; - font-weight: bold; -} - -#addrAddEdit td.fieldName { - text-align: ; - width: 30%; -} - -#addrAddEdit td.addButton { - text-align: center; -} - -#addrAddEdit td { - text-align: ; - padding: 2px; -} - -#addrAddEdit input { - font-size: 75%; -} - -#addrAddEdit select { - font-size: 75%; -} - -#optionGroups { - text-align: center; -} - -#optionGroups table { - border: 1px solid ; - margin-left: auto; - margin-right: auto; - padding: 0; - width: 95%; -} - -#optionGroups td { - width: 50%; - padding: 2px; - vertical-align: top; -} - -#optionGroups td.title { - background: ; - text-align: center; - font-weight: bold; -} - -#optionGroups td.optionElement { - height: 100%; - padding: 10px; -} - -#optionGroups td.optionElement table { - border:1px solid ; - height: 100%; -} - - -#optionGroups td.optionName { - background: ; - text-align: ; - height: 1%; -} - -#optionGroups td.optionDesc { - text-align: ; - background: ; -} - -#optionDisplay { - text-align:center; -} - -#optionDisplay table { - margin-left: auto; - margin-right: auto; - margin-top: 8px; - margin-bottom: 8px; - width: 95%; - border: 1px solid -} - -#optionDisplay td { - width: 50%; - padding-top: 2px; - padding-bottom: 2px; - padding-left: 4px; - padding-right: 4px; - white-space: nowrap; -} - -#optionDisplay td.optionName { - text-align: ; -} - -#optionDisplay td.optionValue { - text-align:; -} - -#optionOrder { - text-align:center; -} - -#optionOrder table { - margin-left: auto; - margin-right: auto; - margin-top: 8px; - margin-bottom: 8px; - width: 95%; - border: 1px solid -} - -#optionOrder table.moveFields { - width: auto; -} - -#optionOrder table.moveFields td { - border-left: 1px solid ; - border-right: 1px solid ; - padding-left: 2px; - padding-right: 2px; -} - -#optionOrder td.moveLink { - text-align: ; - font-size: 75%; - vertical-align: bottom; -} - -#optionOrder td.fieldName { - text-align: ; -} - -#optionHightlightList { - text-align: center; -} - -#optionHighlightList table table { - margin-top: 10px; - margin-bottom: 10px; - width: 75%; -} - -#optionHighlightList td.ruleButtons { - text-align: center; - width: 1%; -} - -#optionHighlightList td.ruleName { - text-align: ; - width: 30%; - padding-left: 4px; - padding-right: 4px; -} - -#optionHighlightAdd { - text-align: center; -} - -#optionHighlightAdd table table { - margin-top: 10px; - margin-bottom: 10px; - width: 75%; -} - -#optionHighlightAdd td.ruleField { - text-align: ; - font-weight: bold; - width: 40%; -} - -#optionHighlightAdd td.fieldValue { - text-align: ; -} - -#optionHighlightAdd td.colorTable { - text-align: center; -} - -#optionHighlightAdd table.colorTable { - margin-left: auto; - margin-right: auto; -} - -/* help defs */ -#help { - text-align: center; -} - -#help td.help { - text-align: ; -} - -#help li { - padding-left: 0px; -} - -#help ul { - padding-left: 20px; - padding-right: 75px; -} - -#help td.nav { - text-align: center; - color: ; - padding-top: 15px; - padding-bottom: 5px; -} - -#help h1 { - font-size: 14pt; - font-weight: bold; - margin-top: 2px; - margin-bottom: 0px; -} - -#help h2 { - font-size: 10pt; - font-weight: normal; - margin-bottom: 2px; - margin-top: 0; -} - -#help h3 { - font-weight: bold; - font-size: 10pt; - margin: 0; - padding: 0; -} - -#help td.help p { - margin-top: 2px; - margin-bottom: 10px; -} - -#help td.help li { - margin-left: 10px; -} - -#optionsIdentity table { - margin-top: 10px; - margin-bottom: 10px; -} - -#optionsIdentity table.table2 tr { - background: ; -} - -#optionsIdentity td.fieldName { - text-align: ; - width: 30%; -} - -#optionsIdentity td.fieldValue { - text-align: ; -} - -#optionsIdentity td.actionButtons { - text-align: center; -} - -#optionsIdentity hr { - width: 95%; - border: 1px solid ; -} - -#vCard { - text-align: center; -} - -#vCard table { - margin-left: auto; - margin-right: auto; - margin-top: 10px; - margin-bottom: 10px; -} - -#vCard td.fieldName { - text-align: ; - font-weight: bold; - vertical-align: top; -} - -#vCard td.fieldValue { - text-align: ; -} - -div.search table { - margin-top: 12px; - margin-bottom: 12px; -} - -div.search td.header4 { - border-bottom: 1px solid ; - vertical-align: bottom; -} - -div.search td.queryAction { - text-align: center; - font-size: small; - width: 1%; - padding-left: 8px; - padding-right: 8px; - border-left: 1px solid ; - border-top: 1px solid ; - border-bottom: 1px solid ; -} - -div.search td.queryDesc { - border-top: 1px solid ; - border-bottom: 1px solid ; -} - -div.search span { - padding-left: 2px; - padding-right: 2px; -} - -div.search span.operator { - font-weight: normal; - text-decoration: underline; - font-style: italic; -} - -div.search span.mailbox { - font-weight: bold -} - -div.search span.conditions { - font-weight: normal; - text-decoration: underline; - font-style: italic; -} - -div.search span.value { - font-weight: bold; -} - -div.search span.error { - color: ; - font-weight: bold; - font-size: 125%; -} - -div.search td.searchForm { - border-right: 1px solid ; - border-left: 1px solid ; - font-weight: bold; - text-align: center; -} - -div.search td.queryError { - color: ; - font-weight: bold; - text-align: center; - padding: 4px; -} - -div.search td.header1 input { - font-size: 80%; - margin: 2px; -} - -div.search h1 { - font-weight: bold; - font-size: 150%; - margin-top: 6px; - margin-bottom: 2px; -} - -div.search h2 { - color: ; - font-weight: bold; - text-align: center; -} - -div.compose { - text-align: center; -} - -div.compose table { - margin-top: 10px; - margin-bottom: 10px; - margin-left: auto; - margin-right: auto; -} - -div.compose td.fieldName { - text-align: ; - font-weight: bold; - width: 30%; - vertical-align: top; -} - -div.compose td.fieldValue { - text-align: ; -} - -div.compose td.buttons { - text-align: center; -} - -div.compose input { - font-size: 80%; -} - -div.compose textarea { - margin-top: 5px; - margin-bottom: 5px; -} - -div.compose td.bottomSend { - text-align: center; -} - -div.compose tr.header { - background: ; -} - -div.compose tr.header td { - padding-top: 4px; - padding-bottom: 4px; -} - -div.compose tr.attachment td { - background: ; - border-top: 1px solid ; - border-bottom: 1px solid ; -} - -div.compose table.close { - width: 100%; - background: ; - border:1px solid ; - text-align: center; - margin: 0; -} - -div.readMenuBar table.table2 { - width: 100%; -} - - diff --git a/templates/default_advanced/stylesheet_advanced.tpl b/templates/default_advanced/stylesheet_advanced.tpl deleted file mode 100644 index d601f3d4..00000000 --- a/templates/default_advanced/stylesheet_advanced.tpl +++ /dev/null @@ -1,174 +0,0 @@ - - *
  • 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 */ -#sqm_login { - margin-top: 25px; - text-align: center; -} - -#sqm_login table { - border: 0; - padding: 0; - margin-left: auto; - margin-right: auto; - width: auto; -} - -#sqm_login td { - padding-left: 2px; - padding-right: 2px; - padding-top: 0px; - padding-bottom: 0px; - color: #726b58; - font-family: verdana, sans-serif; - width: auto; - text-align: center; -} - -#sqm_login td.orgName { - font-weight: bold; - background: none; - font-size: 90%; -} - -#sqm_login td.orgLogo { - width: 155px; - text-align: center; - vertical-align: center; -} - -#sqm_login td.orgLogo img { - width: 150px; - padding:0; -} - -#sqm_login td.attr { - font-size: 70%; - padding-top:5px; - padding-bottom: 10px; -} - -#sqm_login td.fieldName { - font-size: 10pt; - font-weight: bold; - text-align: ; - width: 50%; -} - -#sqm_login td.fieldInput { - text-align: ; - padding-top: 1px; - padding-bottom: 1px; -} - -#sqm_login td.loginSubmit { - padding-top: 15px; -} - -#sqm_login input.input { - font-size: 80%; - color: #110f08; - border: 1px solid #726b58; - padding: 1px; - 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: ; - font-weight: bold; - padding-top: 2px; - padding-bottom: 2px; -} - -/* advanced message editing defs */ -#colorSample { - width: 50px; - padding-left:10px; -} - -#optionHighlightAdd table.colorTable { - margin-left: 0; - margin-top: 2px; -} - -#optionHighlightAdd td.fieldValue { - font-size: 75%; - font-weight: bold; -} - -/* Advanced Tree definitions */ -.dtree { - font-size:11px; - white-space:nowrap; -} -.dtree p { - margin-top:12px; - margin-bottom:2px; - padding-bottom:4px; - text-align:center; - overflow: hidden; -} -.dtree a:hover { - text-decoration: underline; -} -.dtree a { - text-decoration:none; -} -.dtree img { - border:0; - vertical-align: middle; -} -.dtree a.node, .dtree a.nodeSel { - white-space: nowrap; - padding: 1px 2px 1px 2px; -} -.dtree a.node:hover, .dtree a.nodeSel:hover { - color: ; -} -.dtree a.nodeSel { - color: ; -} -.dtree .clip { - overflow: hidden; -} \ No newline at end of file