From 2aaa992cc180cf94097ed0b05001f787cbeba483 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 06 Oct 2009 03:13:58 -0400 Subject: [PATCH] - unified boxtitle css styles --- skins/default/common.css | 4 ++-- skins/default/templates/editidentity.html | 2 +- skins/default/settings.css | 13 ------------- skins/default/templates/addressbook.html | 2 +- plugins/password/password.php | 2 +- skins/default/addresses.css | 24 ------------------------ 6 files changed, 5 insertions(+), 42 deletions(-) diff --git a/plugins/password/password.php b/plugins/password/password.php index 0a44aa9..f7d7269 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -159,7 +159,7 @@ $table->add(null, $input_confpasswd->show()); $out = html::div(array('class' => "settingsbox", 'style' => "margin:0"), - html::div(array('id' => "prefs-title"), $this->gettext('changepasswd')) . + html::div(array('id' => "prefs-title", 'class' => 'boxtitle'), $this->gettext('changepasswd')) . html::div(array('style' => "padding:15px"), $table->show() . html::p(null, $rcmail->output->button(array( diff --git a/skins/default/addresses.css b/skins/default/addresses.css index 45dcf9b..234f0c6 100644 --- a/skins/default/addresses.css +++ b/skins/default/addresses.css @@ -185,19 +185,16 @@ background-color: #FFFFA6; } - #contacts-table { width: 100%; table-layout: fixed; } - #contacts-table tbody td { cursor: default; } - #contacts-box { @@ -219,25 +216,6 @@ #contact-frame { border: none; -/* visibility: hidden; */ -} - -#contact-title, #groups-title -{ - height: 12px !important; -/* height: 20px; */ - padding: 4px 5px 3px 5px; - border-bottom: 1px solid #999; - color: #333; - font-size: 11px; - font-weight: bold; - background: url('images/listheader.gif') top left repeat-x #CCC; - white-space: nowrap; -} - -#contact-title -{ - padding: 4px 10px 3px 10px; } #contact-details @@ -252,5 +230,3 @@ text-align: right; padding-right: 10px; } - - diff --git a/skins/default/common.css b/skins/default/common.css index c64767c..0437733 100644 --- a/skins/default/common.css +++ b/skins/default/common.css @@ -311,14 +311,14 @@ .boxtitle { height: 12px !important; - padding: 2px 10px 5px 10px; + padding: 2px 10px 5px 5px; border-bottom: 1px solid #999; color: #333; font-size: 11px; font-weight: bold; background: url('images/listheader.gif') top left repeat-x #CCC; } - + /***** common table settings ******/ table.records-table thead tr td diff --git a/skins/default/settings.css b/skins/default/settings.css index 74388a4..cbfcb16 100644 --- a/skins/default/settings.css +++ b/skins/default/settings.css @@ -219,19 +219,6 @@ bottom: 20px; } -#identity-title, -#prefs-title, -div.boxtitle -{ - height: 12px !important; - padding: 2px 10px 5px 10px; - border-bottom: 1px solid #999999; - color: #333333; - font-size: 11px; - font-weight: bold; - background: url('images/listheader.gif') top left repeat-x #CCC; -} - div.settingsbox { width: 600px; diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html index 3aa9fdc..28bfb86 100644 --- a/skins/default/templates/addressbook.html +++ b/skins/default/templates/addressbook.html @@ -47,7 +47,7 @@ <roundcube:if condition="count(env:address_sources) > 1" /> <div id="directorylist"> -<div id="groups-title"><roundcube:label name="groups" /></div> +<div id="groups-title" class="boxtitle"><roundcube:label name="groups" /></div> <roundcube:object name="directorylist" id="directories-list" /> </div> <roundcube:endif /> diff --git a/skins/default/templates/editidentity.html b/skins/default/templates/editidentity.html index deff979..8a37da2 100644 --- a/skins/default/templates/editidentity.html +++ b/skins/default/templates/editidentity.html @@ -20,7 +20,7 @@ </p> <div id="identity-details"> -<div id="identity-title"><roundcube:object name="steptitle" /></div> +<div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div> <div style="padding:15px;"> <roundcube:object name="identityform" size="40" textareacols="60" textarearows="6" /> -- Gitblit v1.9.1