| | |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .status-dropdown { |
| | | .filter-dropdown { |
| | | position: absolute; |
| | | top: calc(100% + 4px); |
| | | left: 0; |
| | | min-width: 128px; |
| | | padding: 8px 0; |
| | | border: 1px solid rgba(23, 31, 38, 0.15); |
| | | min-width: 120px; |
| | | background: #ffffff; |
| | | border-radius: 4px; |
| | | background: #fff; |
| | | box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); |
| | | z-index: 10; |
| | | padding: 4px 0; |
| | | z-index: 1000; |
| | | max-height: 300px; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .status-option { |
| | | .dropdown-item { |
| | | display: flex; |
| | | gap: 8px; |
| | | align-items: center; |
| | | gap: 8px; |
| | | padding: 8px 12px; |
| | | cursor: pointer; |
| | | transition: background 0.2s; |
| | | |
| | | &:hover { |
| | | background: #f5f7fa; |
| | | } |
| | | } |
| | | |
| | | .status-checkbox { |
| | | width: 16px; |
| | | height: 16px; |
| | | border: 1px solid #dcdfe6; |
| | | border-radius: 2px; |
| | | |
| | | &.checked { |
| | | border-color: #0068ff; |
| | | background: #0068ff; |
| | | background: #F5F7FA; |
| | | } |
| | | } |
| | | |
| | | .filter-item { |
| | | display: inline-flex; |
| | | display: flex; |
| | | align-items: center; |
| | | gap: 4px; |
| | | min-width: 68px; |
| | | height: 32px; |
| | | padding: 4px 8px; |
| | | height: 28px; |
| | | border: 1px solid rgba(23, 31, 38, 0.15); |
| | | border-radius: 4px; |
| | | cursor: pointer; |
| | | color: #171f26; |
| | | transition: all 0.2s; |
| | | |
| | | &:hover { |
| | | background: #e8ebf0; |
| | | background: #E8EBF0; |
| | | } |
| | | |
| | | &.active { |
| | | background: #e6f0ff; |
| | | color: #0068ff; |
| | | background: #E6F0FF; |
| | | color: #0068FF; |
| | | |
| | | .filter-arrow { |
| | | color: #0068ff; |
| | | color: #0068FF; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .filter-text, |
| | | .dropdown-label, |
| | | .result-count { |
| | | font-size: 13px; |
| | | } |
| | |
| | | .filter-arrow { |
| | | width: 12px; |
| | | height: 12px; |
| | | flex-shrink: 0; |
| | | color: #667085; |
| | | transition: transform 0.2s ease; |
| | | color: #666; |
| | | transition: transform 0.2s; |
| | | |
| | | &.rotate { |
| | | transform: rotate(180deg); |
| | |
| | | |
| | | .result-count { |
| | | color: #0068ff; |
| | | } |
| | | |
| | | .checkbox { |
| | | width: 16px; |
| | | height: 16px; |
| | | border: 1px solid #DCDFE6; |
| | | border-radius: 2px; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-shrink: 0; |
| | | transition: all 0.2s; |
| | | |
| | | &.checked { |
| | | background: #0068FF; |
| | | border-color: #0068FF; |
| | | } |
| | | |
| | | svg { |
| | | width: 12px; |
| | | height: 12px; |
| | | color: #ffffff; |
| | | } |
| | | } |
| | | |
| | | .dropdown-label { |
| | | font-size: 13px; |
| | | color: #333; |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | .dropdown-enter-active, |
| | | .dropdown-leave-active { |
| | | transition: all 0.2s ease; |
| | | } |
| | | |
| | | .dropdown-enter-from { |
| | | opacity: 0; |
| | | transform: translateY(-8px); |
| | | } |
| | | |
| | | .dropdown-leave-to { |
| | | opacity: 0; |
| | | transform: translateY(-8px); |
| | | } |
| | | |
| | | .status-actions, |
| | |
| | | color: #0068ff !important; |
| | | } |
| | | } |
| | | |
| | | &.disabled { |
| | | cursor: not-allowed; |
| | | border-color: rgba(23, 31, 38, 0.12); |
| | | background: rgba(23, 31, 38, 0.04); |
| | | |
| | | .operate-text { |
| | | color: rgba(23, 31, 38, 0.4) !important; |
| | | } |
| | | |
| | | .operate-icon { |
| | | opacity: 0.55; |
| | | } |
| | | |
| | | &:hover, |
| | | &:active { |
| | | border-color: rgba(23, 31, 38, 0.12); |
| | | background: rgba(23, 31, 38, 0.04); |
| | | |
| | | .operate-text { |
| | | color: rgba(23, 31, 38, 0.4) !important; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .create-tool-trigger { |
| | |
| | | padding: 4px 12px 4px 4px; |
| | | gap: 4px; |
| | | } |
| | | } |
| | | |
| | | .create-tool-popover { |
| | | max-width: 220px; |
| | | font-size: 12px; |
| | | line-height: 18px; |
| | | color: #171f26; |
| | | } |
| | | |
| | | .operate-icon { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |