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

Fixed position of background images in SpeedDial.

Regression from df6417af4a
This commit is contained in:
nowrep 2013-01-27 13:29:35 +01:00
parent 32f69c89be
commit b70fc83474
2 changed files with 5 additions and 4 deletions

View File

@ -13,6 +13,7 @@ Version 1.4.0
* option to switch to tab from locationbar popup completer * option to switch to tab from locationbar popup completer
* use .qupzilla/tmp instead of /tmp for temporary data * use .qupzilla/tmp instead of /tmp for temporary data
* saving passwords should now work for much more sites * saving passwords should now work for much more sites
* don't steal Ctrl+B/U/I shortcuts from page
* fixed crash with context menu in websearchbar and locationbar * fixed crash with context menu in websearchbar and locationbar
* fixed loading NYTimes skimmer page * fixed loading NYTimes skimmer page
* fixed cookie domain handling according to RFC 6265 * fixed cookie domain handling according to RFC 6265

View File

@ -3,8 +3,8 @@
<title>%SITE-TITLE%</title> <title>%SITE-TITLE%</title>
<link rel="icon" href="%FAVICON%" type="image/x-icon" /> <link rel="icon" href="%FAVICON%" type="image/x-icon" />
<style type="text/css" media="screen"> <style type="text/css" media="screen">
html {background: #eeeeee;} html {background: #eeeeee url("%IMG_BACKGROUND%") no-repeat center center;background-size: %B_SIZE%;}
body {background: #eeeeee url("%IMG_BACKGROUND%") no-repeat center center;background-size: %B_SIZE%;font: 13px/22px "Helvetica Neue", Helvetica, Arial, sans-serif;color: #525c66;direction: %DIRECTION%;} body {font: 13px/22px "Helvetica Neue", Helvetica, Arial, sans-serif;color: #525c66;direction: %DIRECTION%;}
body * {-webkit-user-select: none;font-size: 100%;line-height: 1.6;margin: 0px;} body * {-webkit-user-select: none;font-size: 100%;line-height: 1.6;margin: 0px;}
.add {position: absolute;%RIGHT_STR%:10px;top:10px;width: 24px;height: 24px;background: url(%IMG_PLUS%); cursor: pointer;} .add {position: absolute;%RIGHT_STR%:10px;top:10px;width: 24px;height: 24px;background: url(%IMG_PLUS%); cursor: pointer;}
@ -376,8 +376,8 @@ function bgImgUpdate() {
imgThumb.title = imgUrl.substring(imgUrl.lastIndexOf('/')+1); imgThumb.title = imgUrl.substring(imgUrl.lastIndexOf('/')+1);
imgThumb.style.backgroundSize = imgSize; imgThumb.style.backgroundSize = imgSize;
document.body.style.backgroundImage = 'url("' + imgUrl + '")'; document.documentElement.style.backgroundImage = 'url("' + imgUrl + '")';
document.body.style.backgroundSize = imgSize; document.documentElement.style.backgroundSize = imgSize;
} }
$(document).ready(function () { $(document).ready(function () {