From fd41f7d500cbd80ed27c706a7f966934efc3dea7 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 20 Jun 2012 06:00:20 -0400
Subject: [PATCH] Better icons with distinct shapes for priority columns (#1488377); fix overflow in decorated drop-downs
---
CHANGELOG | 1 +
skins/larry/images/listicons.png | 0
skins/larry/styles.css | 3 +++
skins/larry/mail.css | 13 ++++---------
skins/larry/ui.js | 2 +-
5 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index 483b9c4..25c0ca9 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Better icons with distinct shapes for priority columns (#1488377)
- Show dedicated icon for multipart/report messages (#1488524)
- Properly hide text of icon links/buttons (#1488534)
- Fix handling of unitless CSS size values in HTML message (#1488535)
diff --git a/skins/larry/images/listicons.png b/skins/larry/images/listicons.png
index 809358c..9554658 100644
--- a/skins/larry/images/listicons.png
+++ b/skins/larry/images/listicons.png
Binary files differ
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index b738dfe..a749c6d 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -491,25 +491,20 @@
background-position: -24px -1116px;
}
-#messagelist tr td.priority {
- padding-right: 0;
- text-align: right;
-}
-
#messagelist tr td.priority span.prio5 {
- background-position: right -1905px;
+ background-position: 0 -1905px;
}
#messagelist tr td.priority span.prio4 {
- background-position: right -1885px;
+ background-position: 0 -1885px;
}
#messagelist tr td.priority span.prio2 {
- background-position: right -1865px;
+ background-position: 0 -1865px;
}
#messagelist tr td.priority span.prio1 {
- background-position: right -1845px;
+ background-position: 0 -1845px;
}
#messagelist tbody tr td.flag span.flagged {
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 3c06135..49e39e3 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -1487,6 +1487,9 @@
margin: -1px 0;
padding-top: 5px;
min-height: 20px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
select.decorated {
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index be0ca6a..32cf467 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -186,7 +186,7 @@
.css('position', 'absolute')
.offset(select.position())
.insertAfter(select)
- .children().width(select.outerWidth() - 40);
+ .children().width(select.outerWidth() - 10);
select.parent().css('position', 'relative');
});
--
Gitblit v1.9.1