wide/static/css/side.css

120 lines
2.1 KiB
CSS
Raw Permalink Normal View History

2014-11-12 18:13:14 +03:00
/*
* Copyright (c) 2014, B3log
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2014-09-25 07:04:17 +04:00
/* start side */
2014-09-26 11:39:13 +04:00
.side {
width: 20%;
position: absolute;
height: 100%;
z-index: 8;
}
.side-max {
width: 100%;
z-index: 11;
}
2014-09-25 07:04:17 +04:00
.side .tabs-panel {
overflow: auto;
}
/* start side */
2014-09-05 13:39:21 +04:00
/* start tree */
2014-09-24 12:25:26 +04:00
.ztree {
width: 100%;
padding: 0;
}
2014-09-05 13:39:21 +04:00
.ztree li a.curSelectedNode {
2014-09-05 13:58:41 +04:00
background-color: #3875d7;
border-width: 0;
color: #fff;
2014-09-05 13:39:21 +04:00
height: 18px;
2014-11-14 10:03:30 +03:00
opacity: 1;
2014-09-05 13:39:21 +04:00
}
.ztree li a:hover {
text-decoration: none;
}
2014-09-05 13:58:41 +04:00
.ztree li > a > span.button,
2014-11-06 11:51:59 +03:00
.ztree li > a > span.button.ico-ztree-dir,
.ztree li > a > span.button.ico-ztree-dir-api,
.ztree li > a > span.button.ico-ztree-dir-workspace {
2014-09-05 13:58:41 +04:00
margin-right: 2px;
}
2014-09-05 13:39:21 +04:00
.ztree li > a > span.button {
background-image: url("../images/ico-file.png");
2014-09-05 13:58:41 +04:00
margin-right: 0;
2014-09-05 13:39:21 +04:00
}
.ico-ztree-dir {
background-position: -2px -23px;
}
2014-11-06 05:44:50 +03:00
.ico-ztree-dir-api {
background-position: -22px -23px;
}
.ico-ztree-dir-workspace {
background-position: -42px -23px;
}
2014-09-05 13:39:21 +04:00
.ico-ztree-html {
2014-09-05 14:07:34 +04:00
background-position: -4px -2px;
2014-09-05 13:39:21 +04:00
}
.ico-ztree-go {
background-position: -22px -2px;
}
.ico-ztree-css {
background-position: -42px -2px;
}
.ico-ztree-img {
2014-09-09 14:04:04 +04:00
background-position: -63px -2px;
2014-09-05 13:39:21 +04:00
}
.ico-ztree-other {
2014-09-09 14:04:04 +04:00
background-position: -83px -2px;
2014-09-05 13:39:21 +04:00
}
.ico-ztree-text {
2014-09-09 14:04:04 +04:00
background-position: -103px -2px;
2014-09-05 13:39:21 +04:00
}
.ico-ztree-sql {
background-position: -123px -2px;
}
.ico-ztree-pro {
background-position: -142px -2px;
}
.ico-ztree-md {
2014-09-05 14:07:34 +04:00
background-position: -162px -2px;
2014-09-05 13:39:21 +04:00
}
.ico-ztree-js {
background-position: -182px -2px;
}
.ico-ztree-xml {
background-position: -202px -2px;
}
/* end tree */