diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-14 10:08:41 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-14 10:10:52 +0300 |
commit | 3ead2b12ed59bb22453efda75c990b2b757bf75c (patch) | |
tree | d5e11ed9d790d453a2d4f3e0d2e8bcf99687a25a /core | |
parent | b63482bd97c96625b492ab209c530d748c9097a5 (diff) |
Add some super basic cache busting
At least the logo should be correct after an update.....
Diffstat (limited to 'core')
-rw-r--r-- | core/css/header.css | 4 | ||||
-rw-r--r-- | core/css/styles.css | 20 |
2 files changed, 12 insertions, 12 deletions
diff --git a/core/css/header.css b/core/css/header.css index 58e30cdd955..f3f5276c2a4 100644 --- a/core/css/header.css +++ b/core/css/header.css @@ -68,7 +68,7 @@ } #header .logo { - background-image: url(../img/logo-icon.svg); + background-image: url('../img/logo-icon.svg?v=1'); background-repeat: no-repeat; background-size: 175px; background-position: center 30px; @@ -80,7 +80,7 @@ #header .logo-icon { /* display logo so appname can be shown next to it */ display: inline-block; - background-image: url('../img/logo-icon.svg'); + background-image: url('../img/logo-icon.svg?v=1'); background-repeat: no-repeat; width: 62px; height: 34px; diff --git a/core/css/styles.css b/core/css/styles.css index b048e6ce46f..5ed22383213 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -26,7 +26,7 @@ body { #body-login { text-align: center; background-color: #0082c9; - background-image: url('../img/background.jpg'); + background-image: url('../img/background.jpg?v=1'); background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; @@ -88,7 +88,7 @@ body { font-size: 1.2em; padding: 3px; padding-left: 25px; - background: transparent url('../img/actions/search-white.svg') no-repeat 6px center; + background: transparent url('../img/actions/search-white.svg?v=1') no-repeat 6px center; color: #fff; border: 0; border-radius: 3px; @@ -465,7 +465,7 @@ html.ie8 #body-login form input[type="checkbox"] { position: absolute !important; height: 20px; width: 24px; - background-image: url('../img/actions/toggle.svg'); + background-image: url('../img/actions/toggle.svg?v=1'); background-repeat: no-repeat; background-position: center; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; @@ -760,15 +760,15 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin .exception{color:#000;} .exception textarea{width:95%;height:200px;background:#ffe;border:0;} -.ui-icon-circle-triangle-e{ background-image:url('../img/actions/play-next.svg'); } -.ui-icon-circle-triangle-w{ background-image:url('../img/actions/play-previous.svg'); } +.ui-icon-circle-triangle-e{ background-image:url('../img/actions/play-next.svg?v=1'); } +.ui-icon-circle-triangle-w{ background-image:url('../img/actions/play-previous.svg?v=1'); } .ui-datepicker-prev,.ui-datepicker-next{ border:1px solid #ddd; background:#fff; } /* ---- DIALOGS ---- */ #oc-dialog-filepicker-content .dirtree {width:92%; overflow:hidden; } #oc-dialog-filepicker-content .dirtree .home { - background-image:url('../img/places/home.svg'); + background-image:url('../img/places/home.svg?v=1'); background-repeat:no-repeat; background-position: left center; width: 30px; @@ -808,8 +808,8 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin .ui-dialog {position:fixed !important;} span.ui-icon {float: left; margin: 3px 7px 30px 0;} -.loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; } -.loading-small { background: url('../img/loading-small.gif') no-repeat center; cursor: wait; } +.loading { background: url('../img/loading.gif?v=1') no-repeat center; cursor: wait; } +.loading-small { background: url('../img/loading-small.gif?v=1') no-repeat center; cursor: wait; } .move2trash { /* decrease spinner size */ width: 16px; height: 16px; @@ -853,7 +853,7 @@ span.ui-icon {float: left; margin: 3px 7px 30px 0;} } .popup.topright { top:7em; right:1em; } .popup.bottomleft { bottom:1em; left:33em; } -.popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg') no-repeat center; } +.popup .close { position:absolute; top:0.2em; right:0.2em; height:20px; width:20px; background:url('../img/actions/close.svg?v=1') no-repeat center; } .popup h2 { font-size:20px; } .arrow { border-bottom:10px solid white; border-left:10px solid transparent; border-right:10px solid transparent; display:block; height:0; position:absolute; width:0; z-index:201; } .arrow.left { left:-13px; bottom:1.2em; -webkit-transform:rotate(270deg); -ms-transform:rotate(270deg); transform:rotate(270deg); } @@ -865,7 +865,7 @@ span.ui-icon {float: left; margin: 3px 7px 30px 0;} div.crumb { float: left; display: block; - background: url('../img/breadcrumb.svg') no-repeat right center; + background: url('../img/breadcrumb.svg?v=1') no-repeat right center; height: 44px; background-size: auto 24px; } |