30 lines
910 B
SCSS
30 lines
910 B
SCSS
@charset "UTF-8";
|
|
/**
|
|
*
|
|
* @authors yutent (yutent@doui.cc)
|
|
* @date 2017-04-14 21:18:53
|
|
*
|
|
*/
|
|
|
|
@import '../../css/var.scss';
|
|
|
|
|
|
.do-tree {overflow:hidden;overflow-y:auto;position:relative;display:inline-block;width:100%;height:100%;line-height:36px;font-size:15px;color:nth($cd, 2);
|
|
|
|
&__item {overflow:hidden; min-height:35px;margin:1px 0; white-space:nowrap; text-overflow:ellipsis;
|
|
|
|
.do-tree {display:none;margin-left:20px;}
|
|
|
|
em,span {display:inline-block;cursor:pointer;color:nth($cd, 1);}
|
|
em {float:left;padding:0 5px;font-size:20px;}
|
|
|
|
span {
|
|
|
|
&:hover {color:nth($cd, 1);}
|
|
&.active {color:nth($cd, 3);font-weight:bold;}
|
|
&.checkbox {float:left;position:relative;width:20px;height:20px;margin:8px 5px 8px 0;line-height:18px;border:1px solid nth($cd, 2);border-radius:3px; font-size:20px;text-align:center;}
|
|
}
|
|
}
|
|
&__item.open>.do-tree {display:block;}
|
|
|
|
} |
JavaScript
95.2%
CSS
4.8%