wide/static/css/base.css

298 lines
4.7 KiB
CSS

/* start reset & function */
body {
font-size: 13px;
margin: 0;
color: #000;
}
ul {
padding: 0;
margin: 0;
list-style: none;
}
* {
box-sizing: border-box;
}
.fn-left {
float: left;
}
.fn-right {
float: right;
}
.fn-clear:before,
.fn-clear:after {
display: table;
content: "";
}
.fn-clear:after {
clear: both;
}
.fn-none {
display: none;
}
@font-face {
font-family: 'icomoon';
src:url('fonts/icomoon.eot?35cb2z');
src:url('fonts/icomoon.eot?#iefix35cb2z') format('embedded-opentype'),
url('fonts/icomoon.woff?35cb2z') format('woff'),
url('fonts/icomoon.ttf?35cb2z') format('truetype'),
url('fonts/icomoon.svg?35cb2z#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
.font-ico {
font-family: 'icomoon';
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ico-play:before {
content: "\e605";
}
.ico-save:before {
content: "\f0c7";
}
.ico-fullscreen:before {
content: "\e601";
}
.ico-format:before {
content: "\e60b";
}
.icon-buildrun:before {
content: "\e607";
}
/* end reset & function */
/* start frame */
.frame {
position: absolute;
border: 1px solid #5F5F5F;
background-color: #F8F8F8;
width: 320px;
z-index: 5;
display: none;
}
.frame li {
padding: 0 5px;
line-height: 25px;
cursor: pointer;
}
.frame li:hover {
background-color: #3875D7;
color: #FFF;
}
.frame a {
color: #000;
text-decoration: none;
}
.frame li:hover a,
.frame a:hover {
color: #FFF;
}
.frame .hr {
background-color: #bdbdbd;
height: 1px;
margin: 0 1px;
}
/* end frame */
/* start tabs */
.tabs {
height: 20px;
overflow: hidden;
width: 100%;
}
.tabs > div {
background-color: #d1d1d1;
border-right: 1px solid #9b9b9b;
color: #333;
float: left;
line-height: 19px;
padding: 0 5px
}
.tabs > div.current {
background-color: #F7F7F7;
}
.tabs .ico-close {
color: #666;
}
.tabs .ico-close:hover {
color: #333;
}
.tabs .ico-close:before {
content: "\e60a";
cursor: pointer;
}
/* end tabs */
/* start framework */
.menu {
background-color: #F0F0F0;
border-bottom: 1px solid #A5A5A5;
height: 25px;
}
.content {
position: relative;
}
.side {
width: 20%;
position: absolute;
border-right: 1px solid #9B9B9B;
height: 100%;
}
.ztree {
position: absolute;
overflow: auto;
width: 100%;
padding: 0;
}
.main {
width: 80%;
position: absolute;
left: 20%;
}
.footer {
border-top: 1px solid #919191;
background-color: #F0F0F0;
}
/* end framework */
/* start menu */
.menu > ul > li {
float: left;
}
.menu > ul > li > a,
.menu > ul > li > span {
color: #000;
font-size: 12px;
line-height: 24px;
padding: 5px;
text-decoration: none;
}
.toolbars > span {
color: #666;
cursor: pointer;
font-size: 16px;
line-height: 25px;
margin-right: 5px;
}
.toolbars > span:hover {
color: #333;
}
/* end menu */
/* start editor */
.edit-panel {
background-color: #D7D7D7;
width: 100%
}
.edit-header .ico {
background-image: url("../images/ico-file.png");
float: left;
height: 16px;
margin: 2px 0 0 -2px;
width: 16px;
}
.CodeMirror-focused .cm-matchhighlight {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);
background-position: bottom;
background-repeat: repeat-x;
}
/* end editor */
/* start bottom-window-group */
.bottom-window-group .tabs {
background-color: #E6E6E6;
border-top: 1px solid #A4A4A4;
border-bottom: 1px solid #9D9D9D;
}
.bottom-window-group .tabs > div {
cursor: pointer;
background-color: #DDD;
color: #8B8B8B;
border-right-color: #ADADAD;
}
.bottom-window-group .tabs > div.current {
background-color: #9F9F9F;
color: #FFF;
}
.bottom-window-group .tabs-panel {
height: 133px;
}
.bottom-window-group textarea.output {
border-width: 0;
background-color: #FFF;
color: #555555;
width: 100%;
height: 132px;
}
.bottom-window-group .notification,
.bottom-window-group .search,
.bottom-window-group .output {
height: 133px;
overflow: auto;
}
.bottom-window-group .notification > table {
width: 100%;
}
.bottom-window-group .notification td {
border-bottom: 1px solid #DDD;
line-height: 20px;
}
.bottom-window-group .notification .type,
.bottom-window-group .notification .severity {
width: 50px;
padding: 0 5px;
}
/* end bottom-window-group */
/* start footer */
.notification-count {
float: right;
display: none;
cursor: pointer;
}
/* end footer */