Elastic: Simplify skin extending

This commit is contained in:
Aleksander Machniak 2018-04-28 11:42:22 +00:00
parent 0d3ac2098b
commit 5eb1d87839
3 changed files with 7 additions and 4 deletions

View file

@ -1760,7 +1760,7 @@ body.task-calendar {
padding-top: 36vh;
max-width: 500px;
width: 95%;
background: url(../../../../skins/elastic/images/watermark.jpg) center -20px no-repeat;
background: url("@{skin-path}/images/watermark.jpg") center -20px no-repeat;
background-size: auto 40%;
.invitebox {

View file

@ -413,7 +413,7 @@ a.button.saveas:before {
height: 48px;
min-width: 48px;
overflow: hidden;
background: url(../../../../skins/elastic/images/contactpic.png) center center no-repeat #fff;
background: url("@{skin-path}/images/contactpic.png") center center no-repeat #fff;
background-size: cover;
border-radius: 50%;
border: solid 3px #eee;

View file

@ -21,8 +21,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@import (reference) "../../../../skins/elastic/styles/variables";
@import (reference) "../../../../skins/elastic/styles/mixins";
@skin: "elastic";
@skin-path: "../../../../skins/@{skin}";
@import (reference) "@{skin-path}/styles/variables";
@import (reference) "@{skin-path}/styles/mixins";
/*** Common folders list extensions ***/