From 0891b1d2ec6b576000c0fe9150257d4f03c53536 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 27 Jun 2011 12:27:11 -0400
Subject: [PATCH] - Fix handling of untagged responses in LIST/LSUB response parser

---
 skins/default/addressbook.css |  280 ++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 224 insertions(+), 56 deletions(-)

diff --git a/skins/default/addressbook.css b/skins/default/addressbook.css
index 4d831f8..7c156a6 100644
--- a/skins/default/addressbook.css
+++ b/skins/default/addressbook.css
@@ -1,10 +1,10 @@
-/***** RoundCube|Mail address book task styles *****/
+/***** Roundcube|Mail address book task styles *****/
 
 #abooktoolbar
 {
   position: absolute;
   top: 45px;
-  left: 205px;
+  left: 225px;
   height: 35px;
 }
 
@@ -23,7 +23,7 @@
   padding: 0;
   margin-right: 10px;
   overflow: hidden;
-  background: url('images/abook_toolbar.png') 0 0 no-repeat transparent;
+  background: url(images/abook_toolbar.png) 0 0 no-repeat transparent;
   opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
 }
 
@@ -69,103 +69,103 @@
 
 #abooktoolbar span.separator {
   width: 5px;
-  background-image: url('images/abook_toolbar.png');
   background-position: -162px 0;
+}
+
+#abooktoolbar a.search {
+  background-position: -170px 0;
+}
+
+#abooktoolbar a.searchSel {
+  background-position: -170px -32px;
 }
 
 #abookcountbar
 {
-  position: absolute;
-  bottom: 16px;
-  left: 200px;
-  width: 240px;
-  height: 20px;
-  text-align: left;
-}
-
-#abookcountbar span
-{
-  font-size: 11px;
-  color: #333333;
+  margin-top: 4px;
+  margin-left: 4px;
 }
 
 #addressscreen
 {
   position: absolute;
-  top: 85px;
-  right: 20px;
-  bottom: 40px;
+  top: 0;
+  right: 0;
+  bottom: 0;
   left: 205px;
 }
 
-#directorylist
+#directorylistbox
 {
   position: absolute;
-  top: 85px;
-  bottom: 40px;
-  left: 20px;
-  width: 175px;
+  top: 0;
+  bottom: 0;
+  left: 0;
+  width: 195px;
   border: 1px solid #999999;
   background-color: #F9F9F9;
   overflow: hidden;
 }
 
+#directorylistbox input
+{
+  margin: 2px;
+  width: 90%;
+}
+
 #addresslist
 {
   position: absolute;
-  top: 0px;
-  bottom: 0px;
+  top: 0;
+  bottom: 0;
   border: 1px solid #999999;
   background-color: #F9F9F9;
-  overflow: auto;
+  overflow: hidden;
 }
 
-#importbox
+#contactgroupslist
 {
-  position: absolute;
-  top: 85px;
-  bottom: 40px;
-  left: 20px;
-  right: 20px;
-  border: 1px solid #999999;
-  background-color: #F9F9F9;
-  padding-bottom: 4ex;
-  overflow: auto;
+  border-top: 1px solid #999;
 }
 
 #addresslist
 {
   left: 0px;
-  width: 340px;
+  width: 280px;
 }
 
-#importbox a
-{
-  color: blue;
-}
-
-#directorylist ul
+#directorylist
 {
   list-style: none;
   margin: 0;
   padding: 0;
+  background-color: #FFFFFF;
 }
 
-#directorylist ul li
+#directorylist li
 {
+  display: block;
   font-size: 11px;
+  background: url(images/icons/folders.png) 5px -108px no-repeat;
   border-bottom: 1px solid #EBEBEB;
   white-space: nowrap;
 }
 
-#directorylist ul li a
+#directorylist li a
 {
+  cursor: default;
   display: block;
-  padding-left: 6px;
+  padding-left: 25px;
   padding-top: 2px;
   padding-bottom: 2px;
   text-decoration: none;
   white-space: nowrap;
+}
+
+#directorylist li.contactgroup
+{
+  padding-left: 15px;
+  background-position: 20px -144px;
 }
 
 #directorylist li.selected
@@ -194,13 +194,15 @@
 #contacts-table tbody td
 {
   cursor: default;
+  text-overflow: ellipsis;
+  -o-text-overflow: ellipsis;
 }
 
 #contacts-box
 {
   position: absolute;
   top: 0px;
-  left: 555px;
+  left: 290px;
   right: 0px;
   bottom: 0px;
   border: 1px solid #999999;
@@ -210,16 +212,182 @@
 body.iframe,
 #contact-frame
 {
-  background-color: #F9F9F9;
-}
-
-#contact-frame
-{
+  background-color: #F2F2F2;
   border: none;
 }
 
-#contact-details table td.title
+#contacttabs
 {
-  font-weight: bold;
-  text-align: right;
+	position: relative;
+	padding-bottom: 22px;
+}
+
+#contacttabs div.tabsbar {
+	top: 0;
+	left: 2px;
+}
+
+#contacttabs fieldset.tabbed {
+	position: relative;
+	top: 22px;
+	min-height: 5em;
+}
+
+#contacthead
+{
+	margin-bottom: 1em;
+	border: 0;
+	padding: 0;
+}
+
+#contacthead .names span.namefield,
+#contacthead .names input
+{
+	font-size: 140%;
+}
+
+#contacthead .displayname span.namefield
+{
+	font-size: 120%;
+}
+
+#contacthead span.nickname:before,
+#contacthead span.nickname:after,
+#contacthead input.ff_nickname:before,
+#contacthead input.ff_nickname:after
+{
+	content: '"';
+}
+
+#contacthead input
+{
+	margin-right: 6px;
+	margin-bottom: 0.2em;
+}
+
+#contacthead .names input,
+#contacthead .addnames input,
+#contacthead .jobnames input
+{
+	width: 180px;
+}
+
+#contacthead input.ff_prefix,
+#contacthead input.ff_suffix
+{
+	width: 90px;
+}
+
+#contacthead .addnames input.ff_name
+{
+	width: 374px;
+}
+
+#contactphoto
+{
+	float: right;
+	width: 60px;
+	margin-left: 3em;
+	margin-right: 4px;
+}
+
+#contactpic
+{
+	width: 60px;
+	min-height: 60px;
+	border: 1px solid #ccc;
+	background: white;
+}
+
+#contactpic img {
+	width: 60px;
+}
+
+#contactphoto .formlinks
+{
+	margin-top: 0.5em;
+	text-align: center;
+}
+
+fieldset.contactfieldgroup
+{
+	border: 0;
+	margin: 0.5em 0;
+	padding: 0.2em 2px;
+}
+
+fieldset.contactfieldgroupmulti
+{
+	padding: 0.5em 2px;
+}
+
+fieldset.contactfieldgroup legend
+{
+	font-size: 0.9em;
+}
+
+.contactfieldgroup .row
+{
+	position: relative;
+	margin: 0.2em 0;
+}
+
+.contactfieldgroup .contactfieldlabel
+{
+	position: absolute;
+	top: 0;
+	left: 2px;
+	width: 110px;
+	white-space: nowrap;
+	overflow: hidden;
+	text-overflow: ellipsis;
+	color: #666;
+	font-weight: bold;
+}
+
+.contactfieldgroup .contactfieldlabel select
+{
+	width: 100%;
+	background: none;
+	border: 0;
+	color: #666;
+	font-weight: bold;
+	padding-left: 0;
+}
+
+.contactfieldgroup .contactfieldcontent
+{
+	padding-left: 120px;
+	min-height: 1em;
+	line-height: 1.3em;
+}
+
+.contactfieldgroup .contactfield {
+	line-height: 1.3em;
+}
+
+.contactcontrolleraddress .contactfieldcontent input {
+	margin-bottom: 0.1em;
+}
+
+.contactfieldcontent .contactfieldbutton {
+	vertical-align: middle;
+	margin-left: 0.5em;
+}
+
+#upload-form
+{
+	padding: 6px;
+}
+
+#upload-form div
+{
+	padding: 2px;
+}
+
+#sourcename
+{
+  color: #666;
+  font-size: 10px;
+  margin-left: 2px;
 }

--
Gitblit v1.9.1