Thomas Bruederli
2015-03-16 3dd377e2725a5c578caef5f8e60438e7db1db1dd
Color quota display orange/red when over 80/90 %
3 files modified
6 ■■■■■ changed files
skins/larry/images/quota.png patch | view | raw | blame | history
skins/larry/styles.css 5 ●●●●● patch | view | raw | blame | history
skins/larry/ui.js 1 ●●●● patch | view | raw | blame | history
skins/larry/images/quota.png

skins/larry/styles.css
@@ -2231,6 +2231,11 @@
    background: url(images/quota.png) -100px 0 no-repeat;
}
#quotadisplay.p90,
#quotadisplay.p100 {
    color: #e03221;
}
table.quota-info {
    border-spacing: 0;
    border-collapse: collapse;
skins/larry/ui.js
@@ -532,6 +532,7 @@
      y -= step;
    element.css('background-position', '0 -' + y + 'px');
    element.attr('class', 'countdisplay p' + (Math.round(p.percent / 10) * 10));
    if (p.table) {
      if (!menu.length)