Commit ca4c9f04 authored by flothoni's avatar flothoni

update css + add style rules on icon of sort lock

Link to #4104
parent 3b957a2f
Pipeline #122076 failed with stages
in 8 minutes and 16 seconds
......@@ -2259,3 +2259,9 @@ form .form_label {
opacity: 0.4;
cursor: auto;
}
.list_lock_off {
color: #333333;
}
.list_lock_on {
color: #839496;
}
......@@ -2260,10 +2260,9 @@ form .form_label {
opacity: 0.4;
cursor: auto;
}
.list_lock_off {
color: #b4b0b0;
color: #cccccc;
}
.list_lock_on {
color: #000000;
}
\ No newline at end of file
color: #657b83;
}
......@@ -2257,6 +2257,12 @@ form .form_label {
opacity: 0.4;
cursor: auto;
}
.list_lock_off {
color: #cccccc;
}
.list_lock_on {
color: #657b83;
}
body {
line-height: 20px;
}
......
......@@ -2252,6 +2252,12 @@ form .form_label {
opacity: 0.4;
cursor: auto;
}
.list_lock_off {
color: #333333;
}
.list_lock_on {
color: #777777;
}
#resolution5 {
opacity: 0;
}
......
......@@ -2254,6 +2254,12 @@ form .form_label {
opacity: 0.4;
cursor: auto;
}
.list_lock_off {
color: #cccccc;
}
.list_lock_on {
color: #657b83;
}
#mid-container {
font-size: 125%;
}
......
......@@ -286,7 +286,7 @@ List.prototype = {
// close the lock
self.sort_lock = true
var div = document.getElementById("div_sortLock")
div.className = "icon-lock-1"
div.className = "icon-lock-1 list_lock_on"
}
for (var key in this.sort_option) {
......@@ -301,19 +301,19 @@ List.prototype = {
var lock_div = document.createElement("icon")
lock_div.id = "div_sortLock"
lock_div.className = "icon-lock-1"
lock_div.className = "icon-lock-1 list_lock_on"
lock_div.title = "Keep list sorted"
lock_div.onclick = function(){
var div = document.getElementById("div_sortLock")
if (self.sort_lock == true){
self.sort_lock = false
div.className = "icon-lock-open"
div.className = "icon-lock-open list_lock_off"
div.title = "Freeze list"
// Apply sort method at unlock
self.sort_option[self.sort_option_selected]()
} else {
self.sort_lock = true
div.className = "icon-lock-1"
div.className = "icon-lock-1 list_lock_on"
div.title = "Keep list sorted"
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment