Aleksander Machniak
2013-06-23 12e69ce13dde67fbe4851b85bf50c1b21a5788e1
Fix lack of space between searchfiler and quicksearchbar in Larry skin (#1489158)
3 files modified
17 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
skins/larry/styles.css 2 ●●●●● patch | view | raw | blame | history
skins/larry/ui.js 14 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix lack of space between searchfiler and quicksearchbar in Larry skin (#1489158)
- Fix so valid and set date.timezone is not required by installer checks (#1489180)
- Canonize boolean ini_get() results (#1489189)
- Cache LDAP's user_specific search and use vlv for better performance (#1489186)
skins/larry/styles.css
@@ -1862,6 +1862,7 @@
    filter: alpha(opacity=0);
    -khtml-appearance: none;
    -webkit-appearance: none;
    border: 0;
}
html.opera select.decorated {
@@ -1877,6 +1878,7 @@
    text-shadow: 0px 1px 1px #333;
    padding: 4px 6px;
    outline: none;
    cursor: default;
}
skins/larry/ui.js
@@ -221,6 +221,7 @@
      }
      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 @@
      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)