Close button now has 30% white BG, transparent on file deselect

This commit is contained in:
Matt Pass
2012-05-10 20:42:49 +01:00
parent 6512d4895b
commit ec27eb53bc

View File

@@ -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";
},