@theme-color-light: #0183FF; //浅色主题背景色 @theme-color: #686AFC; //深色主题背景色 @nav-height: 48px; @background-color-dark: #131A2C; @element-background-color: #1F2940; //元素背景 @input-background-color: #141B2B; @border-color: #3A4560; @font-color: #fff; @table-head: #171F34; @profit-loss-green: #4CCEAC; //盈亏绿色 @profit-loss-red: #DB504A; //盈亏红色 //清除浮动 .float-clear() { &:before, &:after { content: ""; display: table; } &:after { clear: both; overflow: hidden; } } //超出n行 .exceeding-line-overflow(@num) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: @num; word-wrap: break-word; -webkit-word-break: break-word; word-break: break-word; } //超出... .exceed-point(@width) { max-width: @width; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }