UNPKG

magiccube-vue3

Version:

vue3-js版组件库

80 lines (66 loc) 1.71 kB
@import './theme'; .mc-tree{ position: relative; z-index: 2; li{ margin-left: 24px; } .wrap{ display: flex; flex-direction: row; align-items: center; padding: 12px; &:hover{ background: #f4f4f4; } & > span{ &.arrow-wrap{ display: inline-block; position: relative; margin: 0; margin-right: 5px; width: 20px; height: 20px; cursor: pointer; transition: all 300ms; &.active{ transform: rotate(90deg); } & > .arrow{ display: block; position: absolute; top: 50%; left: 64%; transform: translate(-50%,-50%); width: 0; height: 0; border: 6px solid transparent; border-left: 8px solid #666; } } &.enable-click{ cursor: pointer; } &.name{ font-weight: bold; } &.checked{ color: @color-default; } &.state{ font-size: 12px; &.active{ color: green; } &.disabled{ color: red; } } .sign{ color: #737A89; font-weight: normal; font-size: 12px; } } } }