refactor(view) set correct order

This commit is contained in:
coderaiser 2014-04-24 07:36:32 -04:00
parent 8fd5b5b846
commit b1813ff9c3
3 changed files with 17 additions and 11 deletions

View file

@ -3,20 +3,18 @@
white-space :pre;
outline: 0;
}
.view::selection {
background: #b3d4fc;
text-shadow: none;
background: #b3d4fc;
}
#fancybox-loading div {
background: none;
width: 0;
height: 0;
}
.view-overlay {
background: rgb(255, 255, 255);
background: rgba(255, 255, 255, 0.1);
display: block;
display : block;
background : rgb(255, 255, 255);
background : rgba(255, 255, 255, 0.1);
}
.fancybox-wrap {
/*
* when search element with

View file

@ -397,7 +397,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip;
if (!Msg) {
DOM.cssSet({
id : 'msg-css',
inner : '#view .msg {' +
inner : '#js-view .msg {' +
'z-index' + ': 1;' +
'background-color' + ': #7285B7;' +
'color' + ': #D1F1A9;' +

View file

@ -232,7 +232,15 @@ var CloudCmd, Util, DOM, CloudFunc, $;
* if join css that do not minified
* all images would not be loaded
*/
DOM.anyLoadOnLoad(files, func);
DOM.anyLoadOnLoad(files, func)
.cssSet({
id:'view-css',
inner : '#fancybox-loading div {' +
'width: 0;' +
'height: 0' +
'background: none;' +
'}'
});
});
}