summaryrefslogtreecommitdiff
path: root/skins/larry
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-23 12:22:46 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-23 12:22:46 +0200
commit12e69ce13dde67fbe4851b85bf50c1b21a5788e1 (patch)
treeab2400c0dcb71d5e1e097cb05f0ebf55663b9c8d /skins/larry
parentf255dd787c62b4910a5794ff1379cad80781e311 (diff)
Fix lack of space between searchfiler and quicksearchbar in Larry skin (#1489158)
Diffstat (limited to 'skins/larry')
-rw-r--r--skins/larry/styles.css2
-rw-r--r--skins/larry/ui.js14
2 files changed, 8 insertions, 8 deletions
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 8ddbb5960..9e61a7191 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -1862,6 +1862,7 @@ select.decorated {
filter: alpha(opacity=0);
-khtml-appearance: none;
-webkit-appearance: none;
+ border: 0;
}
html.opera select.decorated {
@@ -1877,6 +1878,7 @@ select.decorated option {
text-shadow: 0px 1px 1px #333;
padding: 4px 6px;
outline: none;
+ cursor: default;
}
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 38d8539c7..ccc9cef67 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -221,6 +221,7 @@ function rcube_mail_ui()
}
var select = $(this),
+ parent = select.parent(),
height = Math.max(select.height(), 26) - 2,
width = select.width() - 22,
title = $('option', this).first().text();
@@ -235,18 +236,15 @@ function rcube_mail_ui()
overlay.children().width(width).height(height).css('line-height', (height - 1) + 'px');
- select.change(function() {
- var val = $('option:selected', this).text();
- $(this).next().children().html(val);
- });
-
- var parent = select.parent();
if (parent.css('position') != 'absolute')
parent.css('position', 'relative');
// re-set original select width to fix click action and options width in some browsers
- if (!bw.mz)
- select.width(overlay.width());
+ select.width(overlay.width())
+ .change(function() {
+ var val = $('option:selected', this).text();
+ $(this).next().children().text(val);
+ });
});
$(document.body)