Speed Dial: small improvement to previous commit

remotes/origin/falkon
Mladen Pejaković 14 years ago
parent 69cf0c1c8c
commit 1cefa18eb6
  1. 4
      src/lib/data/html/speeddial.html

@ -8,7 +8,7 @@ body * {-webkit-user-select: none;font-size: 100%;line-height: 1.6;margin: 0px;}
.add {position: absolute;right:10px;top:10px;width: 24px;height: 24px;background: url(%IMG_PLUS%); cursor: pointer;}
#quickdial {margin: auto;text-align: center;}
#quickdial div.entry {position: relative; border-width: 10px;
#quickdial div.entry {position: relative; float: left; border-width: 10px;
-webkit-border-image: url(%BOX-BORDER%) 10;margin: 5px;}
#quickdial img {display: block;margin: auto;}
#quickdial a {position: absolute;left: 0px;top: 0px;width: 100%;height: 87%;}
@ -391,7 +391,7 @@ $(document).ready(function () {
$('#BgImgToggle').is(':checked') ? $('#BgImgSelSiz').removeAttr('disabled') : $('#BgImgSelSiz').attr('disabled', 'disabled');
$('#SdSizeToggle').is(':checked') ? $('#SdSize').removeAttr('disabled') : $('#SdSize').attr('disabled', 'disabled');
sdCntr == 0 ? $('#SdCntrToggle').prop('checked', false) : $('#SdCntrToggle').prop('checked', true);
sdCntr == 0 ? $('#quickdial div.entry').css('float', 'left') : $('#quickdial div.entry').css('display', 'inline-block');
sdCntr == 0 ? '' : $('#quickdial div.entry').css({'float':'none', 'display':'inline-block'});
});
</script>

Loading…
Cancel
Save