Tweichart has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/177760

Change subject: added bs path as variable to make overwriting by child skins 
possible
......................................................................

added bs path as variable to make overwriting by child skins possible

Change-Id: Ie830a0cf2e65fd7aa1121a63f81a085df44640e0
---
M resources/components/skin.contentActions.less
M resources/components/skin.dataAfterContent.less
M resources/components/skin.font.less
M resources/components/skin.icons.less
M resources/components/skin.links.less
M resources/components/skin.menuTop.less
M resources/components/skin.navigationTabs.less
M resources/variables.less
8 files changed, 23 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/BlueSpiceSkin 
refs/changes/60/177760/1

diff --git a/resources/components/skin.contentActions.less 
b/resources/components/skin.contentActions.less
index 00000bd..1c2fc25 100644
--- a/resources/components/skin.contentActions.less
+++ b/resources/components/skin.contentActions.less
@@ -102,12 +102,12 @@
        padding: 0;
        margin: 0;
        /*@embed*/
-       background: url(images/tab-normal-fade.png) repeat-x transparent 0% 93%;
+       background: url("@{bs-skin-path}images/tab-normal-fade.png") repeat-x 
transparent 0% 93%;
 }
 #p-cactions-list li.selected{
        background-color: #f3f3f3;
        /*@embed*/
-       background: url(images/tab-current-fade.png) repeat-x #f3f3f3 0% 100%;
+       background: url("@{bs-skin-path}images/tab-current-fade.png") repeat-x 
#f3f3f3 0% 100%;
 }
 #p-cactions-list,
 #p-cactions ul#p-cactions-list{
@@ -122,7 +122,7 @@
        display: block;
        height: auto;
        /*@embed*/
-       background: url(images/top-nav-break.png) no-repeat transparent 100% 
100%;
+       background: url("@{bs-skin-path}images/top-nav-break.png") no-repeat 
transparent 100% 100%;
 }
 #p-cactions-list li{
        display: block;
@@ -132,7 +132,7 @@
 #p-cactions-list li span{
        display: inline-block;
        /*@embed*/
-       background: url(images/top-nav-break.png) no-repeat transparent;
+       background: url("@{bs-skin-path}images/top-nav-break.png") no-repeat 
transparent;
 }
 #p-cactions-list li span a{
        height: 1.9em;
diff --git a/resources/components/skin.dataAfterContent.less 
b/resources/components/skin.dataAfterContent.less
index 9da0eb2..d4be308 100644
--- a/resources/components/skin.dataAfterContent.less
+++ b/resources/components/skin.dataAfterContent.less
@@ -79,7 +79,8 @@
                        }
                }
                li.ui-tabs-selected, li.ui-state-hover{
-                       background: url(images/desktop/footer-marker.png) 
no-repeat center top;
+                       /* @embed */
+                       background: 
url("@{bs-skin-path}images/desktop/footer-marker.png") no-repeat center top;
                        font-weight: normal;
                        a{
                                color: @bs-color-dark-blue;
diff --git a/resources/components/skin.font.less 
b/resources/components/skin.font.less
index f457908..fc5de88 100644
--- a/resources/components/skin.font.less
+++ b/resources/components/skin.font.less
@@ -47,7 +47,8 @@
                        color: @bs-color-redlink;
                }
                a.external {
-                       background: url(images/desktop/external-link-icon.png) 
center right no-repeat;
+                       /* @embed */
+                       background: 
url("@{bs-skin-path}images/desktop/external-link-icon.png") center right 
no-repeat;
                        padding-right: 15px;
                }
                a:hover{
diff --git a/resources/components/skin.icons.less 
b/resources/components/skin.icons.less
index 6f9c82e..0df56c1 100644
--- a/resources/components/skin.icons.less
+++ b/resources/components/skin.icons.less
@@ -27,7 +27,7 @@
                        padding-left: 32px;
                        box-sizing: border-box;
                        /*@embed*/
-                       background-image: 
url('images/desktop/bs-nav-icon-sprite.png');
+                       background-image: 
url("@{bs-skin-path}images/desktop/bs-nav-icon-sprite.png");
                        background-repeat: no-repeat;
                        background-position: 0 -144px;
                }
diff --git a/resources/components/skin.links.less 
b/resources/components/skin.links.less
index 5990fff..ae44217 100644
--- a/resources/components/skin.links.less
+++ b/resources/components/skin.links.less
@@ -1,6 +1,6 @@
 #bodyContent a.external,#bodyContent a[href ^="gopher://"],#bodyContent 
a.external[href ^="https://"],.link-https {
        /*@embed*/
-       background:url(images/desktop/bs-external.png) center right no-repeat;
+       background:url("@{bs-skin-path}images/desktop/bs-external.png") center 
right no-repeat;
        padding-right:13px;
 }
 
@@ -9,7 +9,7 @@
 #bodyContent a.external[href $=".mp3"],#bodyContent a.external[href 
$=".MP3"],#bodyContent a.external[href $=".wav"],
 #bodyContent a.external[href $=".WAV"],#bodyContent a.external[href 
$=".wma"],#bodyContent a.external[href $=".WMA"],.link-audio {
        /*@embed*/
-       background:url(images/desktop/bs-audio.png) center right no-repeat;
+       background:url("@{bs-skin-path}images/desktop/bs-audio.png") center 
right no-repeat;
        padding-right:13px;
 }
 
@@ -17,14 +17,14 @@
 #bodyContent a.external[href $=".AVI"],#bodyContent a.external[href 
$=".mpeg"],#bodyContent a.external[href $=".MPEG"],
 #bodyContent a.external[href $=".mpg"],#bodyContent a.external[href 
$=".MPG"],.link-video {
        /*@embed*/
-       background:url(images/desktop/bs-video.png) center right no-repeat;
+       background:url("@{bs-skin-path}images/desktop/bs-video.png") center 
right no-repeat;
        padding-right:13px;
 }
 
 #bodyContent a.external[href $=".pdf"],#bodyContent a.external[href 
$=".PDF"],#bodyContent a.external[href *=".pdf#"],
 #bodyContent a.external[href *=".PDF#"],#bodyContent a.external[href 
*=".pdf?"],#bodyContent a.external[href *=".PDF?"],.link-document {
        /*@embed*/
-       background:url(images/desktop/bs-document.png) center right no-repeat;
+       background:url("@{bs-skin-path}images/desktop/bs-document.png") center 
right no-repeat;
        padding-right:12px;
 }
 
@@ -36,25 +36,25 @@
 
 #bodyContent a.external[href^="ftp://"],.link-ftp {
        /*@embed*/
-       background:url(images/desktop/bs-icon-file.gif) center right no-repeat;
+       background:url("@{bs-skin-path}images/desktop/bs-icon-file.gif") center 
right no-repeat;
        padding-right:18px;
 }
 
 #bodyContent a.external[href^="irc://"],.link-irc {
        /*@embed*/
-       background:url(images/desktop/bs-icon-discussionitem.gif) center right 
no-repeat;
+       
background:url("@{bs-skin-path}images/desktop/bs-icon-discussionitem.gif") 
center right no-repeat;
        padding-right:18px;
 }
 
 #bodyContent a.external[href^="mailto:"],.link-mailto {
        /*@embed*/
-       background:url(images/desktop/bs-icon-mail.gif) center right no-repeat;
+       background:url("@{bs-skin-path}images/desktop/bs-icon-mail.gif") center 
right no-repeat;
        padding-right:18px;
 }
 
 #bodyContent a.external[href^="news://";] {
        /*@embed*/
-       background:url(images/desktop/bs-icon-news.png) center right no-repeat;
+       background:url("@{bs-skin-path}images/desktop/bs-icon-news.png") center 
right no-repeat;
        padding-right:18px;
 }
 
@@ -62,7 +62,7 @@
 #bodyContent a.external[href^="https://";],
 .link-https{
        /*@embed*/
-       background:url(images/desktop/bs-external.png) no-repeat scroll right 
center transparent;
+       background:url("@{bs-skin-path}images/desktop/bs-external.png") 
no-repeat scroll right center transparent;
        padding-right:13px;
 }
 
diff --git a/resources/components/skin.menuTop.less 
b/resources/components/skin.menuTop.less
index df6eaad..54fc149 100644
--- a/resources/components/skin.menuTop.less
+++ b/resources/components/skin.menuTop.less
@@ -26,7 +26,7 @@
 #bs-apps li a:hover {
        color:#717171;
        /*@embed*/
-       background:url(images/desktop/appsbar-active.png) no-repeat center top;
+       background:url("@{bs-skin-path}images/desktop/appsbar-active.png") 
no-repeat center top;
 }
 
 #bs-apps ul {
@@ -183,7 +183,8 @@
                        }
                }
                div.bs-personal-menu-top{
-                       background-image: 
url(images/desktop/usermneu-marker.png);
+                       /* @embed */
+                       background-image: 
url("@{bs-skin-path}images/desktop/usermneu-marker.png");
                        background-color: transparent;
                        background-repeat: no-repeat;
                        background-position: right top;
diff --git a/resources/components/skin.navigationTabs.less 
b/resources/components/skin.navigationTabs.less
index e0d7470..6c45580 100644
--- a/resources/components/skin.navigationTabs.less
+++ b/resources/components/skin.navigationTabs.less
@@ -63,7 +63,7 @@
        text-decoration:none;
        cursor:pointer;
        color: @bs-color-dark-blue;
-       background: url(images/desktop/navi-header-marker.png) center bottom 
no-repeat;
+       background: url("@{bs-skin-path}images/desktop/navi-header-marker.png") 
center bottom no-repeat;
 }
 .ui-tabs .ui-tabs-nav li.ui-tabs-selected{
        padding-bottom: 0 !important;
diff --git a/resources/variables.less b/resources/variables.less
index 53ea2fd..985d8cf 100644
--- a/resources/variables.less
+++ b/resources/variables.less
@@ -1,4 +1,5 @@
 @body-font-size: 1em;
+@bs-skin-path: "";
 
 // BlueSpice
 // 
INT:https://wiki.hallowelt.biz/index.php/Blue_spice/Style_Guide/Allgemeine_Designobjekte

-- 
To view, visit https://gerrit.wikimedia.org/r/177760
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie830a0cf2e65fd7aa1121a63f81a085df44640e0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/BlueSpiceSkin
Gerrit-Branch: master
Gerrit-Owner: Tweichart <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to