kopia lustrzana https://github.com/c9/core
Support for the dark theme
rodzic
286b903694
commit
8c37dd8163
|
@ -1,8 +1,13 @@
|
|||
HTML{
|
||||
HTML.loading{
|
||||
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(251,251,251,1) 100%); /* FF3.6-15 */
|
||||
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(251,251,251,1) 100%); /* Chrome10-25,Safari5.1-6 */
|
||||
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(251,251,251,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
||||
}
|
||||
HTML.loading.dark{
|
||||
background: -moz-linear-gradient(top, rgba(37,37,37,1) 0%, rgba(35,35,35,1) 100%); /* FF3.6-15 */
|
||||
background: -webkit-linear-gradient(top, rgba(37,37,37,1) 0%,rgba(35,35,35,1) 100%); /* Chrome10-25,Safari5.1-6 */
|
||||
background: linear-gradient(to bottom, rgba(37,37,37,1) 0%,rgba(35,35,35,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
||||
}
|
||||
|
||||
#loadingide {
|
||||
background-image: url(images/c9-logo-blue.png);
|
||||
|
@ -21,7 +26,6 @@ HTML{
|
|||
}
|
||||
#loadingide.dark {
|
||||
background-image: url(images/c9-logo-white.png);
|
||||
/*background-color: #222222;*/
|
||||
}
|
||||
|
||||
@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx) {
|
||||
|
@ -131,6 +135,9 @@ HTML{
|
|||
margin-left: -500px;
|
||||
margin-top: 250px;
|
||||
}
|
||||
.dark .cool-message {
|
||||
color: #757575;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
background: url(images/running_flat_light@2x.png);
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
});
|
||||
|
||||
if (!html) {
|
||||
var isDark = theme.indexOf("dark") > -1;
|
||||
var isDark = true; //theme.indexOf("dark") > -1;
|
||||
%><% include ../../c9.ide.server/views/basic-loading.html %><%
|
||||
}
|
||||
else {
|
||||
|
|
Ładowanie…
Reference in New Issue