UNPKG

@bixi/theme

Version:
246 lines (202 loc) 4.89 kB
// @import './layout'; // @import './font.less'; // @import './color.less'; // // 按钮 // .btn-primary-border { // color: @bixi-blue; // background-color: @bixi-white; // border-color: @bixi-blue; // &:hover { // color: @bixi-white; // background-color: #40a9ff; // border-color: #40a9ff; // } // &:active { // color: @bixi-white; // background-color: #096dd9; // border-color: #096dd9; // } // } // .btn-default-border { // color: @bixi-black; // background-color: @bixi-white; // border-color: @bixi-black; // &:hover { // color: @bixi-blue; // background-color: @bixi-white; // border-color: @bixi-blue; // } // &:active { // color: #086dd9; // background-color: @bixi-white; // border-color: #086dd9; // } // } // // 标签 // .tag-circle { // min-width: 60px; // padding: 2px 13px; // font-size: @bixi-font-default; // text-align: center; // border: none; // border-radius: 13px; // } // .ant-tag { // min-width: 48px; // padding: 0 13px; // font-size: @bixi-font-mini; // line-height: 22px; // } // .ant-tag-default { // color: @bixi-black-light; // background: @bixi-gray-dark; // } // .ant-tag-success { // color: @bixi-green; // background-color: #d7f3d8; // } // .ant-tag-warning { // color: @bixi-orage-light; // background-color: rgba(255, 157, 31, 0.18); // } // .ant-tag-error { // color: @bixi-orage; // background-color: rgba(238, 81, 68, 0.18); // } // .ant-tag-processing { // color: @bixi-blue; // background-color: rgba(16, 124, 238, 0.18); // } // // 文本框 // textarea { // width: 546px; // height: 64px; // } // ::ng-deep { // .ant-input { // &:hover, // &:focus { // border-color: @bixi-blue; // } // } // .ant-input-affix-wrapper { // &:hover, // &:focus { // border-color: @bixi-blue; // } // } // .ant-form-item-has-error { // .ant-input, // .ant-input-affix-wrapper { // border-color: @bixi-orage; // } // .ant-input-prefix, // .ant-form-item-explain { // color: @bixi-orage; // } // .ant-form-item-explain { // font-size: @bixi-font-mini; // } // } // // button // .ant-btn-primary { // background-color: @bixi-blue; // } // // radio // .ant-radio-checked { // .ant-radio-inner { // border-color: @bixi-blue; // } // } // .ant-radio-indeterminate { // .ant-radio-inner::after { // background-color: @bixi-blue; // } // } // // checkbox // .ant-checkbox-checked { // .ant-checkbox-inner { // background-color: @bixi-blue; // } // } // .ant-checkbox-indeterminate { // .ant-checkbox-inner::after { // background-color: @bixi-blue; // } // } // // select // .ant-select:not(.ant-select-disabled):hover .ant-select-selector { // border-color: @bixi-blue; // } // .ant-select-item-option-selected:not(.ant-select-item-option-disabled) { // color: @bixi-blue; // background-color: @bixi-white; // &:hover { // background-color: #f5f5f5; // } // } // // 穿梭框 // .ant-transfer-list { // width: 200px; // height: 258px; // } // .ant-transfer-operation { // margin: 0 24px; // } // .ant-transfer-list-header { // background-color: @bixi-white-off; // &-title { // color: @bixi-black-lighter; // font-size: @bixi-font-mini; // line-height: 22px; // } // } // .ant-btn-primary[disabled] { // color: @bixi-white; // background-color: @bixi-gray-blue; // } // // tree // .ant-tree-checkbox-checked .ant-tree-checkbox-inner { // background-color: @bixi-blue; // border-color: @bixi-blue; // } // .ant-tree .ant-tree-switcher { // color: @bixi-gray-blue; // } // // 日期选择器 // .ant-picker { // &:hover, // &-focused { // border-color: @bixi-blue; // } // } // .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before { // border-color: @bixi-blue; // } // .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner, // .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner, // .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner { // background-color: @bixi-blue; // } // .ant-picker-today-btn { // color: @bixi-blue; // } // // Pagination // .ant-pagination-item-active a { // color: @bixi-blue; // } // // table // .ant-table-thead > tr > th { // background-color: @bixi-white-off; // } // .ant-table-tbody > tr.ant-table-row:hover > td { // background-color: @bixi-white-off; // } // // switch // .ant-switch-checked { // background-color: @bixi-blue; // } // .ant-switch-small { // min-width: 32px; // } // }