1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Speed Dial: small improvement to previous commit

This commit is contained in:
Mladen Pejaković 2012-07-29 22:12:44 +02:00
parent 69cf0c1c8c
commit 1cefa18eb6

View File

@ -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>