123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- .is-error {
- .cy-combo-grid__wrapper {
- box-shadow: 0 0 0 1px var(--el-color-danger) inset !important;
- }
- }
- .cy-combo-grid {
- display: inline-block;
- position: relative;
- vertical-align: middle;
- width: 120px
- }
- .cy-combo-grid--small .cy-combo-grid__wrapper {
- gap: 4px;
- padding: 0 8px;
- min-height: 24px;
- line-height: 20px;
- font-size: 12px;
- }
- .cy-combo-grid__input {
- border: none;
- outline: 0;
- padding: 0;
- color: var(--el-select-multiple-input-color);
- font-size: inherit;
- font-family: inherit;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- height: 24px;
- max-width: 100%;
- background-color: transparent
- }
- .cy-combo-grid__wrapper {
- display: flex;
- align-items: center;
- position: relative;
- box-sizing: border-box;
- cursor: pointer;
- text-align: left;
- font-size: 14px;
- padding: 4px 12px;
- gap: 6px;
- min-height: 32px;
- line-height: 24px;
- border-radius: var(--el-border-radius-base);
- background-color: var(--el-fill-color-blank);
- transition: var(--el-transition-duration);
- box-shadow: 0 0 0 1px #dcdfe6 inset;
- &.is-disabled {
- cursor: not-allowed !important;
- background-color: var(--el-fill-color-light);
- color: var(--el-text-color-placeholder);
- box-shadow: 0 0 0 1px #e4e7ed inset
- }
- &.is-padding2 {
- transition: none;
- padding: 2px 8px;
- }
- &.is-focused {
- box-shadow: 0 0 0 1px var(--el-color-primary) inset
- }
- &.is-filterable {
- cursor: text
- }
- .cy-combo-grid__input-calculator {
- position: absolute;
- left: 0;
- top: 0;
- max-width: 100%;
- visibility: hidden;
- white-space: pre;
- overflow: hidden
- }
- .cy-combo-grid__selected-item {
- display: flex;
- flex-wrap: wrap;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none
- }
- .cy-combo-grid__input-wrapper {
- max-width: 100%
- }
- .cy-combo-grid__placeholder {
- position: absolute;
- display: block;
- top: 50%;
- transform: translateY(-50%);
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- color: var(--el-input-text-color, var(--el-text-color-regular));
- &.is-transparent {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- color: var(--el-text-color-placeholder)
- }
- }
- }
- .cy-combo-grid__caret {
- color: var(--el-select-input-color);
- font-size: var(--el-select-input-font-size);
- transition: var(--el-transition-duration);
- transform: rotateZ(0);
- cursor: pointer;
- &.is-reverse {
- transform: rotateZ(180deg)
- }
- }
- .cy-combo-grid__selection {
- position: relative;
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- flex: 1;
- min-width: 0;
- gap: 6px;
- &.is-near {
- margin-left: -6px
- }
- }
- .cy-combo-grid__suffix {
- display: flex;
- align-items: center;
- flex-shrink: 0;
- gap: 6px;
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
- }
- .cy-combo-grid__table_content {
- display: flex;
- }
- .is-row-move {
- cursor: move;
- }
- .cy-combo-grid__table {
- --vxe-table-column-padding-default: 5px 0;
- //--vxe-table-row-height-default: 20px;
- --vxe-table-cell-padding-left: 5px;
- --vxe-table-cell-padding-right: 5px;
- }
- .cy-combo-grid__table_key {
- background-color: #edc317;
- }
|