benpope82 / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

why any web browsers show shellinabox with others colors #288

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Open Chrome, and bg is black
2.Open Firefox, and bg is white and slow
3. ...!

What is the expected output? What do you see instead?
#vt100 #cursor.bright {
  background-color: white;
  color:            black;
}

#vt100 #scrollable {
  color:            #ffffff;
  background-color: #000000;
}

#vt100 #scrollable.inverted {
  color:            #000000;
  background-color: #ffffff;
}

#vt100 .ansi15 {
  color:            #000000;
}

#vt100 .bgAnsi0 {
  background-color: #ffffff;
}

What version of the product are you using? On what operating system?
ShellInABox version 2.10 (revision 239) / Ubuntu

Please provide any additional information below.
Neither

Original issue reported on code.google.com by xpers...@gmail.com on 17 Jun 2015 at 4:50

GoogleCodeExporter commented 8 years ago
Hello, 

there was a problem with enabling/disabling styles CSS files before they are 
completely loaded. This bug behaved differently on different browsers, and also 
if CSS files were already cached.

We have this fixed on our shellinabox fork: 
https://github.com/shellinabox/shellinabox

--------------------------------------------------------------------
User CSS initialization fix (issue #138)

* Now we use onload event to disable user CSS accoring to default
  or user settings. Problem was that we were setting the 'disabled'
  attribute on unloaded stylesheet. This should work in all moderen
  browsers.

Original comment by luka.kra...@gmail.com on 17 Jun 2015 at 10:13