[!!!][TASK] Refactor Scss, add Sass-lint and adjust styling
Add variables to allow easy modifications to color, font and also extending Style
This commit is contained in:
parent
6175d6bb7a
commit
ed06ff6b09
50 changed files with 762 additions and 888 deletions
|
@ -17,13 +17,11 @@ define(function () {
|
|||
|
||||
filters.forEach(function (d) {
|
||||
var li = document.createElement("li");
|
||||
var div = document.createElement("div");
|
||||
container.appendChild(li);
|
||||
li.appendChild(div);
|
||||
d.render(div);
|
||||
d.render(li);
|
||||
|
||||
var button = document.createElement("button");
|
||||
button.textContent = "";
|
||||
button.classList.add("ion-android-close");
|
||||
button.onclick = function () {
|
||||
distributor.removeFilter(d);
|
||||
};
|
||||
|
|
|
@ -7,7 +7,7 @@ define(["helper"], function (helper) {
|
|||
|
||||
var label = document.createElement("label");
|
||||
var strong = document.createElement("strong");
|
||||
label.textContent = name + " ";
|
||||
label.textContent = name + ": ";
|
||||
label.appendChild(strong);
|
||||
|
||||
function run(d) {
|
||||
|
@ -26,12 +26,12 @@ define(["helper"], function (helper) {
|
|||
|
||||
function draw(el) {
|
||||
if (negate) {
|
||||
el.parentNode.classList.add("not");
|
||||
el.classList.add("not");
|
||||
} else {
|
||||
el.parentNode.classList.remove("not");
|
||||
el.classList.remove("not");
|
||||
}
|
||||
|
||||
strong.textContent = (negate ? "¬" : "" ) + value;
|
||||
strong.textContent = value;
|
||||
}
|
||||
|
||||
function render(el) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue