mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Close button now has 30% white BG, transparent on file deselect
This commit is contained in:
@@ -372,7 +372,7 @@ var ICEcoder = {
|
||||
|
||||
for(var i=1;i<=ICEcoder.changedContent.length;i++) {
|
||||
if (document.getElementById('closeTabButton'+i)) {
|
||||
ICEcoder.changedContent[i-1]==1 ? document.getElementById('closeTabButton'+i).style.backgroundColor = "#bb0000" : document.getElementById('closeTabButton'+i).style.backgroundColor = "transparent";
|
||||
ICEcoder.changedContent[i-1]==1 ? document.getElementById('closeTabButton'+i).style.backgroundColor = "#bb0000" : document.getElementById('closeTabButton'+i).style.backgroundColor = "rgba(255,255,255,0.3)";
|
||||
}
|
||||
i==selectedTab ? tColor = "#ffffff" : tColor = "#000000";
|
||||
document.getElementById('tab'+i).style.color = tColor;
|
||||
@@ -691,7 +691,7 @@ var ICEcoder = {
|
||||
|
||||
// Select or deselect file
|
||||
selectDeselectFile: function(action,file) {
|
||||
action == "select" ? file.style.backgroundColor="#888888" : file.style.backgroundColor="#444444";
|
||||
action == "select" ? file.style.backgroundColor="#888888" : file.style.backgroundColor="transparent";
|
||||
action == "select" ? file.style.color="#ffffff" : file.style.color="#eeeeee";
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user