chowa
Version:
UI component library based on React
55 lines (51 loc) • 1.18 kB
CSS
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.cw-anchor-wrapper {
margin: 0;
padding: 8px 0;
box-sizing: border-box;
background-color: #fff;
transition: all 0.2s ease-in;
font-size: 12px;
overflow: hidden;
position: relative; }
.cw-anchor {
list-style: none;
margin: 0;
padding: 0;
box-sizing: border-box;
border-left: 1px solid #e6ecf5; }
.cw-anchor-link {
line-height: 22px;
margin: 0;
padding: 0 12px;
box-sizing: border-box;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.cw-anchor-link > a {
color: #616a6e;
text-decoration: none;
outline: none;
cursor: pointer;
transition: color 0.2s ease-in; }
.cw-anchor-link > a:hover {
color: #57a3f3; }
.cw-anchor-active-line {
position: absolute;
left: 0;
top: 0;
margin: 8px 0 0 0;
padding: 0;
height: 22px;
width: 0;
border-left: 2px solid #7774e7;
box-sizing: border-box;
transition: all 0.2s ease-in-out; }