[Svn] r3023 - in trunk/roundcubemail: plugins/password skins/default skins/default/templates

trac at roundcube.net trac at roundcube.net
Tue Oct 6 12:00:33 CEST 2009


Author: alec
Date: 2009-10-06 05:00:33 -0500 (Tue, 06 Oct 2009)
New Revision: 3023

Modified:
   trunk/roundcubemail/plugins/password/password.php
   trunk/roundcubemail/skins/default/addresses.css
   trunk/roundcubemail/skins/default/common.css
   trunk/roundcubemail/skins/default/mail.css
   trunk/roundcubemail/skins/default/settings.css
   trunk/roundcubemail/skins/default/templates/addcontact.html
   trunk/roundcubemail/skins/default/templates/editcontact.html
   trunk/roundcubemail/skins/default/templates/editidentity.html
   trunk/roundcubemail/skins/default/templates/importcontacts.html
   trunk/roundcubemail/skins/default/templates/managefolders.html
   trunk/roundcubemail/skins/default/templates/settingsedit.html
   trunk/roundcubemail/skins/default/templates/showcontact.html
Log:
- more css unification for boxes + toolbarmenu moved to common.css (#1486198)


Modified: trunk/roundcubemail/plugins/password/password.php
===================================================================
--- trunk/roundcubemail/plugins/password/password.php	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/plugins/password/password.php	2009-10-06 10:00:33 UTC (rev 3023)
@@ -158,9 +158,9 @@
     $table->add('title', html::label($field_id, Q($this->gettext('confpasswd'))));
     $table->add(null, $input_confpasswd->show());
 
-    $out = html::div(array('class' => "settingsbox", 'style' => "margin:0"),
-      html::div(array('id' => "prefs-title", 'class' => 'boxtitle'), $this->gettext('changepasswd')) .
-      html::div(array('style' => "padding:15px"), $table->show() .
+    $out = html::div(array('class' => 'settingsbox', 'style' => 'margin:0'),
+      html::div(array('id' => 'prefs-title', 'class' => 'boxtitle'), $this->gettext('changepasswd')) .
+      html::div(array('class' => 'boxcontent'), $table->show() .
         html::p(null,
           $rcmail->output->button(array(
             'command' => 'plugin.password-save',

Modified: trunk/roundcubemail/skins/default/addresses.css
===================================================================
--- trunk/roundcubemail/skins/default/addresses.css	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/addresses.css	2009-10-06 10:00:33 UTC (rev 3023)
@@ -218,15 +218,8 @@
   border: none;
 }
 
-#contact-details
-{
-  padding: 15px 10px 10px 10px;
-}
-
 #contact-details table td.title
 {
-  color: #666;
   font-weight: bold;
   text-align: right;
-  padding-right: 10px;
 }

Modified: trunk/roundcubemail/skins/default/common.css
===================================================================
--- trunk/roundcubemail/skins/default/common.css	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/common.css	2009-10-06 10:00:33 UTC (rev 3023)
@@ -318,7 +318,19 @@
   font-weight: bold;
   background: url('images/listheader.gif') top left repeat-x #CCC;
 }
-	      
+
+.boxcontent
+{
+  padding: 15px 10px 10px 10px;
+}
+
+.boxcontent table td.title
+{
+  color: #666;
+  padding-right: 10px;
+}
+
+
 /***** common table settings ******/
 
 table.records-table thead tr td
@@ -500,9 +512,7 @@
 
 #login-form table td.title
 {
-  color: #666;
   text-align: right;
-  padding-right: 10px;
   white-space: nowrap;
 }
 
@@ -512,11 +522,6 @@
   margin: auto;
 }
 
-#login-form .boxcontent
-{
-  padding: 20px 10px 10px 10px;
-}
-
 #rcmloginuser, #rcmloginpwd, #rcmloginhost
 {
   width: 200px;
@@ -526,3 +531,69 @@
 {
   opacity: 0.8;
 }
+
+
+/***** onclick menu list *****/
+
+ul.toolbarmenu
+{
+  margin: 0;
+  padding: 0;
+  list-style: none;
+}
+
+ul.toolbarmenu li
+{
+  font-size: 11px;
+  white-space: nowrap;
+  min-width: 130px;
+}
+
+ul.toolbarmenu li a
+{
+  display: block;
+  color: #a0a0a0;
+  padding: 2px 8px 3px 22px;
+  text-decoration: none;
+  min-height: 14px;
+}
+
+ul.toolbarmenu li a.active,
+ul.toolbarmenu li a.active:active,
+ul.toolbarmenu li a.active:visited
+{
+  color: #333;
+}
+
+ul.toolbarmenu li input
+{
+  vertical-align: middle;
+}
+
+ul.toolbarmenu li hr
+{
+  color: #ccc;
+  width: 130px;
+  height: 1px;
+  margin: 2px 1px 2px 1px;
+}
+
+ul.toolbarmenu li img
+{
+  float: left;
+  margin: 0 2px;
+}
+
+ul.toolbarmenu li.separator_below
+{
+  border-bottom: 1px solid #ccc;
+  margin-bottom: 2px;
+  padding-bottom: 2px;
+}
+
+ul.toolbarmenu li.separator_above
+{
+  border-top: 1px solid #ccc;
+  margin-top: 2px;
+  padding-top: 2px;
+}

Modified: trunk/roundcubemail/skins/default/mail.css
===================================================================
--- trunk/roundcubemail/skins/default/mail.css	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/mail.css	2009-10-06 10:00:33 UTC (rev 3023)
@@ -178,69 +178,6 @@
   width: 172px;
 }
 
-ul.toolbarmenu
-{
-  margin: 0;
-  padding: 0;
-  list-style: none;
-}
-
-ul.toolbarmenu li
-{
-  font-size: 11px;
-  white-space: nowrap;
-  min-width: 130px;
-}
-
-ul.toolbarmenu li a
-{
-  display: block;
-  color: #a0a0a0;
-  padding: 2px 8px 3px 22px;
-  text-decoration: none;
-  min-height: 14px;
-}
-
-ul.toolbarmenu li a.active,
-ul.toolbarmenu li a.active:active,
-ul.toolbarmenu li a.active:visited
-{
-  color: #333;
-}
-
-ul.toolbarmenu li input
-{
-  vertical-align: middle;
-}
-
-ul.toolbarmenu li hr
-{
-  color: #ccc;
-  width: 130px;
-  height: 1px;
-  margin: 2px 1px 2px 1px;
-}
-
-ul.toolbarmenu li img
-{
-  float: left;
-  margin: 0 2px;
-}
-
-ul.toolbarmenu li.separator_below
-{
-  border-bottom: 1px solid #ccc;
-  margin-bottom: 2px;
-  padding-bottom: 2px;
-}
-
-ul.toolbarmenu li.separator_above
-{
-  border-top: 1px solid #ccc;
-  margin-top: 2px;
-  padding-top: 2px;
-}
-
 #messagemenu li a.active:hover,
 #markmessagemenu li a.active:hover
 {

Modified: trunk/roundcubemail/skins/default/settings.css
===================================================================
--- trunk/roundcubemail/skins/default/settings.css	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/settings.css	2009-10-06 10:00:33 UTC (rev 3023)
@@ -199,10 +199,8 @@
 
 #identity-details table td.title
 {
-  color: #666666;
   font-weight: bold;
   text-align: right;
-  padding-right: 10px;
 }
 
 input.disabled
@@ -226,12 +224,6 @@
   border: 1px solid #999999;
 }
 
-div.settingspart
-{
-  display: block;
-  padding: 10px;
-}
-
 fieldset 
 {
   margin-bottom: 0.5em;
@@ -292,17 +284,6 @@
   border: none;
 }
 
-#prefs-details
-{
-  margin: 15px;
-}
-
-#prefs-details table td.title
-{
-  color: #666;
-  padding-right: 10px;
-}
-
 #formfooter
 {
   width: 100%;
@@ -310,14 +291,14 @@
 
 #formfooter .footerleft
 {
-  padding-left: 20px;
+  padding-left: 15px;
   white-space: nowrap;
   float: left;
 }
 
 #formfooter .footerright
 {
-  padding-right: 20px;
+  padding-right: 15px;
   white-space: nowrap;
   text-align: right;
   float: right;

Modified: trunk/roundcubemail/skins/default/templates/addcontact.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/addcontact.html	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/templates/addcontact.html	2009-10-06 10:00:33 UTC (rev 3023)
@@ -8,7 +8,7 @@
 
 <div id="contact-title" class="boxtitle"><roundcube:label name="addcontact" /></div>
 
-<div id="contact-details">
+<div id="contact-details" class="boxcontent">
 <roundcube:object name="contacteditform" size="40" />
 
 <p><br />

Modified: trunk/roundcubemail/skins/default/templates/editcontact.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/editcontact.html	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/templates/editcontact.html	2009-10-06 10:00:33 UTC (rev 3023)
@@ -8,7 +8,7 @@
 
 <div id="contact-title" class="boxtitle"><roundcube:label name="editcontact" /></div>
 
-<div id="contact-details">
+<div id="contact-details" class="boxcontent">
 <roundcube:object name="contacteditform" size="40" />
 
 <p><br />

Modified: trunk/roundcubemail/skins/default/templates/editidentity.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/editidentity.html	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/templates/editidentity.html	2009-10-06 10:00:33 UTC (rev 3023)
@@ -22,7 +22,7 @@
 <div id="identity-details">
 <div id="identity-title" class="boxtitle"><roundcube:object name="steptitle" /></div>
 
-<div style="padding:15px;">
+<div class="boxcontent">
 <roundcube:object name="identityform" size="40" textareacols="60" textarearows="6" />
 
 <p><br />

Modified: trunk/roundcubemail/skins/default/templates/importcontacts.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/importcontacts.html	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/templates/importcontacts.html	2009-10-06 10:00:33 UTC (rev 3023)
@@ -12,7 +12,7 @@
 <div id="importbox">
 <div class="boxtitle"><roundcube:label name="importcontacts" /></div>
 
-<div style="padding-left:12px; width:48em">
+<div class="boxcontent">
 <roundcube:object name="importstep" />
 
 <p><br />

Modified: trunk/roundcubemail/skins/default/templates/managefolders.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/managefolders.html	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/templates/managefolders.html	2009-10-06 10:00:33 UTC (rev 3023)
@@ -24,7 +24,7 @@
 <div class="settingsbox">
 <div class="boxtitle"><roundcube:label name="createfolder" /></div>
 
-<div class="settingspart">
+<div class="boxcontent">
 <roundcube:label name="foldername" />: 
 <roundcube:object name="createfolder" form="subscriptionform" hintbox="rcmailaddfolderhint" />
 <roundcube:button command="create-folder" type="input" class="button" label="create" />

Modified: trunk/roundcubemail/skins/default/templates/settingsedit.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/settingsedit.html	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/templates/settingsedit.html	2009-10-06 10:00:33 UTC (rev 3023)
@@ -11,7 +11,7 @@
 
 <form name="form" action="./" method="post">
 
-<div id="prefs-details">
+<div id="prefs-details" class="boxcontent">
 <roundcube:object name="userprefs" form="form" />
 </div>
 

Modified: trunk/roundcubemail/skins/default/templates/showcontact.html
===================================================================
--- trunk/roundcubemail/skins/default/templates/showcontact.html	2009-10-06 07:13:58 UTC (rev 3022)
+++ trunk/roundcubemail/skins/default/templates/showcontact.html	2009-10-06 10:00:33 UTC (rev 3023)
@@ -8,7 +8,7 @@
 
 <div id="contact-title" class="boxtitle"><roundcube:object name="contactdetails" part="name" /></div>
 
-<div id="contact-details">
+<div id="contact-details" class="boxcontent">
 <roundcube:object name="contactdetails" />
 
 <p><br /><roundcube:button command="edit" type="input" class="button" label="editcontact" condition="!ENV:readonly" /></p>

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list