add another test var

This commit is contained in:
Jiiks 2018-02-11 22:41:38 +02:00
parent 2453797400
commit fad9a5336a
3 changed files with 16 additions and 4 deletions

View File

@ -26,11 +26,18 @@
"value": 50,
"min": 0,
"max": 100,
"step": 1,
"step": 1,
"unit": "%",
"multi": "0.01",
"text": "Span border opacity",
"hint": "test"
"hint": "test"
},
{
"id": "avatar",
"type": "text",
"value": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg",
"text": "Avatar replace",
"hint": "Replace all avatars"
},
{
"id": "default-0",

View File

@ -6,4 +6,8 @@ div {
span {
border: 1px solid rgba(20, 20, 20, $spanOpacity);
}
}
.avatar-large {
background-image: url($avatar) !important;
}

View File

@ -1,2 +1,3 @@
$divBg: green !default;
$spanOpacity: 0.5 !default;
$spanOpacity: 0.5 !default;
$avatar: "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Cow_female_black_white.jpg/220px-Cow_female_black_white.jpg" !default;