wide/static/css/side.css

168 lines
2.9 KiB
CSS
Raw Normal View History

2015-01-01 05:06:33 +03:00
/*
2018-01-01 07:35:13 +03:00
* Copyright (c) 2014-2018, b3log.org & hacpai.com
2015-01-01 05:06:33 +03:00
*
2014-11-12 18:13:14 +03:00
* 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
2015-01-01 05:06:33 +03:00
*
2014-11-12 18:13:14 +03:00
* http://www.apache.org/licenses/LICENSE-2.0
2015-01-01 05:06:33 +03:00
*
2014-11-12 18:13:14 +03:00
* 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.
2015-01-01 05:06:33 +03:00
*/
2014-11-12 18:13:14 +03:00
/*
* themes for side
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.1.0.0, Dec 6, 2015
*/
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;
flex-flow: column;
display: flex;
2014-09-26 11:39:13 +04:00
}
.side-max {
width: 100%;
z-index: 11;
}
2015-01-01 17:15:54 +03:00
/* end side */
/* start side right */
2015-01-02 13:14:58 +03:00
.side-right .tabs-panel > div {
overflow: auto;
}
2015-01-02 18:14:41 +03:00
.side-right {
flex-flow: column;
}
2015-01-02 18:14:41 +03:00
#outline .ico {
2015-01-03 11:01:24 +03:00
margin: 1px 5px 0 5px;
2015-01-02 18:14:41 +03:00
}
.ico-func {
2015-01-03 11:01:24 +03:00
background-position: -123px -21px;
2015-01-02 18:14:41 +03:00
}
.ico-interface {
background-position: -143px -21px;
}
.ico-const {
background-position: -103px -21px;
}
.ico-var {
background-position: -63px -21px;
}
.ico-struct {
background-position: -83px -21px;
}
.ico-type {
background-position: -163px -21px;
}
.ico-package {
background-position: -183px -21px;
}
2015-01-01 17:15:54 +03:00
/* end side right */
2014-09-25 07:04:17 +04:00
2014-09-05 13:39:21 +04:00
/* start tree */
2014-09-24 12:25:26 +04:00
.ztree {
width: 100%;
padding: 0;
outline: 0px;
border: 0px;
2014-09-24 12:25:26 +04:00
}
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 */