.alert-condition-container { margin: 0 16px; margin-top: 24px; .alert-condition { display: flex; align-items: center; margin-left: 12px; margin-top: 24px; .alert-condition-tabs { display: flex; border-radius: 2px; border: 1px solid var(--bg-slate-400); background: var(--bg-ink-300); flex-direction: row; border-bottom: none; margin-bottom: -1px; .explorer-view-option { display: flex; align-items: center; justify-content: center; flex-direction: row; border: none; padding: 9px; box-shadow: none; border-radius: 0px; border-left: 0.5px solid var(--bg-slate-400); border-bottom: 0.5px solid var(--bg-slate-400); width: 120px; height: 36px; gap: 8px; &.active-tab { background-color: var(--bg-ink-500); border-bottom: none; &:hover { background-color: var(--bg-ink-500) !important; } } &:disabled { background-color: var(--bg-ink-300); opacity: 0.6; } &:first-child { border-left: 1px solid transparent; } &:hover { background-color: transparent !important; border-left: 1px solid transparent !important; color: var(--bg-vanilla-100); } } } } } .alert-threshold-container, .anomaly-threshold-container { padding: 24px; padding-right: 72px; background-color: var(--bg-ink-500); border: 1px solid var(--bg-slate-400); width: 100%; .alert-condition-sentences { display: flex; flex-direction: column; gap: 12px; .alert-condition-sentence { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; .sentence-text { color: var(--text-vanilla-400); font-size: 14px; line-height: 1.5; display: flex; align-items: center; gap: 8px; } .ant-select { width: 240px; .ant-select-selector { background-color: var(--bg-ink-300); border: 1px solid var(--bg-slate-400); color: var(--text-vanilla-400); font-family: 'Space Mono'; &:hover { border-color: var(--bg-vanilla-300); } &:focus { border-color: var(--bg-vanilla-300); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1); } } .ant-select-selection-item { color: var(--bg-vanilla-100); } .ant-select-arrow { color: var(--bg-vanilla-400); } } } } .thresholds-section { margin-top: 16px; margin-left: 24px; .threshold-item { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; .threshold-row { display: flex; align-items: center; gap: 16px; margin-bottom: 2px; .threshold-indicator { .threshold-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; } } .threshold-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; .ant-input { background-color: var(--bg-ink-400); border: 1px solid var(--bg-slate-400); color: var(--bg-vanilla-100); height: 32px; &::placeholder { font-family: 'Space Mono'; } &:hover { border-color: var(--bg-vanilla-300); } &:focus { border-color: var(--bg-vanilla-300); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1); } } .ant-select { .ant-select-selector { background-color: var(--bg-ink-400); border: 1px solid var(--bg-slate-400); color: var(--bg-vanilla-100); height: 32px; &:hover { border-color: var(--bg-vanilla-300); } &:focus { border-color: var(--bg-vanilla-300); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1); } .ant-select-selection-placeholder { font-family: 'Space Mono'; } } .ant-select-selection-item { color: var(--bg-vanilla-100); } .ant-select-arrow { color: var(--bg-vanilla-400); } } .icon-btn { color: var(--bg-vanilla-400); border: 1px solid var(--bg-slate-400); border-radius: 4px; display: flex; align-items: center; justify-content: center; } } } .recovery-threshold-input-group { display: flex; align-items: center; gap: 0; margin-left: 28px; .recovery-threshold-label { pointer-events: none; cursor: default; } .recovery-threshold-btn { pointer-events: none; cursor: default; color: var(--bg-vanilla-400); background-color: var(--bg-ink-400) !important; border: 1px solid var(--bg-slate-400); border-radius: 4px; display: flex; align-items: center; justify-content: center; } .ant-input { background-color: var(--bg-ink-400); border: 1px solid var(--bg-slate-400); color: var(--bg-vanilla-100); height: 32px; &::placeholder { font-family: 'Space Mono'; } &:hover { border-color: var(--bg-vanilla-300); } &:focus { border-color: var(--bg-vanilla-300); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1); } } } } .add-threshold-btn { margin-top: 8px; border: 1px dashed var(--bg-slate-400); color: var(--bg-vanilla-300); background-color: transparent; border-radius: 4px; height: 32px; padding: 0 16px; display: flex; align-items: center; justify-content: center; &:hover { border-color: var(--bg-vanilla-300); color: var(--bg-vanilla-100); } .anticon { margin-right: 8px; } } } .routing-policies-info-banner { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; background-color: #4568dc1a; border: 1px solid var(--bg-robin-500); padding: 8px 16px; .ant-typography { color: var(--bg-robin-500); } } } .anomaly-threshold-container { .ant-select { .ant-select-selector { min-width: 150px; } } } .condensed-alert-threshold-container, .condensed-anomaly-threshold-container { width: 100%; } .condensed-advanced-options-container { margin-top: 16px; width: fit-parent; } .condensed-evaluation-settings-container { .ant-btn { display: flex; align-items: center; min-width: 240px; width: auto; justify-content: space-between; background-color: var(--bg-ink-300); border: 1px solid var(--bg-slate-400); .evaluate-alert-conditions-button-left { color: var(--bg-vanilla-400); font-size: 12px; flex-shrink: 0; } .evaluate-alert-conditions-button-right { display: flex; align-items: center; color: var(--bg-vanilla-400); gap: 8px; flex-shrink: 0; .evaluate-alert-conditions-button-right-text { font-size: 12px; font-weight: 500; background-color: var(--bg-slate-400); padding: 1px 4px; } } } } .lightMode { .alert-condition-container { .alert-condition { .alert-condition-tabs { border: 1px solid var(--bg-vanilla-300); background: var(--bg-vanilla-300); .explorer-view-option { border-left: 0.5px solid var(--bg-vanilla-300); border-bottom: 0.5px solid var(--bg-vanilla-300); &.active-tab { background-color: var(--bg-vanilla-100); &:hover { background-color: var(--bg-vanilla-100) !important; } } &:disabled { background-color: var(--bg-vanilla-300); } &:hover { color: var(--bg-ink-400); } } } } } .alert-threshold-container, .anomaly-threshold-container { background-color: var(--bg-vanilla-100); border: 1px solid var(--bg-vanilla-300); .alert-condition-sentences { .alert-condition-sentence { .sentence-text { color: var(--text-ink-400); } .ant-select { .ant-select-selector { background-color: var(--bg-vanilla-300); border: 1px solid var(--bg-vanilla-300); color: var(--text-ink-400); &:hover { border-color: var(--bg-ink-300); } &:focus { border-color: var(--bg-ink-300); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); } } .ant-select-selection-item { color: var(--bg-ink-400); } .ant-select-arrow { color: var(--bg-ink-400); } } } } .thresholds-section { .threshold-item { .threshold-row { .threshold-controls { .threshold-inputs { display: flex; align-items: center; gap: 8px; } .ant-input { background-color: var(--bg-vanilla-200); border: 1px solid var(--bg-vanilla-300); color: var(--bg-ink-400); &:hover { border-color: var(--bg-ink-300); } &:focus { border-color: var(--bg-ink-300); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); } } .ant-select { .ant-select-selector { background-color: var(--bg-vanilla-200); border: 1px solid var(--bg-vanilla-300); color: var(--bg-ink-400); &:hover { border-color: var(--bg-ink-300); } &:focus { border-color: var(--bg-ink-300); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); } } .ant-select-selection-item { color: var(--bg-ink-400); } .ant-select-arrow { color: var(--bg-ink-400); } } .icon-btn { color: var(--bg-ink-400); border: 1px solid var(--bg-vanilla-300); } } } .recovery-threshold-input-group { .recovery-threshold-btn { color: var(--bg-ink-400); background-color: var(--bg-vanilla-200) !important; border: 1px solid var(--bg-vanilla-300); } .ant-input { background-color: var(--bg-vanilla-200); border: 1px solid var(--bg-vanilla-300); color: var(--bg-ink-400); &:hover { border-color: var(--bg-ink-300); } &:focus { border-color: var(--bg-ink-300); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); } } } .add-threshold-btn { border: 1px dashed var(--bg-vanilla-300); color: var(--bg-ink-300); &:hover { border-color: var(--bg-ink-300); color: var(--bg-ink-400); } } } } } .condensed-evaluation-settings-container { .ant-btn { background-color: var(--bg-vanilla-300); border: 1px solid var(--bg-vanilla-300); min-width: 240px; width: auto; .evaluate-alert-conditions-button-left { color: var(--bg-ink-400); flex-shrink: 0; } .evaluate-alert-conditions-button-right { color: var(--bg-ink-400); flex-shrink: 0; .evaluate-alert-conditions-button-right-text { background-color: var(--bg-vanilla-300); } } } } } .highlighted-text { font-weight: bold; color: var(--bg-robin-400); margin: 0 4px; } // Tooltip styles .tooltip-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; .tooltip-description { margin-bottom: 8px; span { font-weight: bold; color: var(--bg-robin-400); } } .tooltip-example { margin-bottom: 8px; color: #8b92a0; } .tooltip-link { .tooltip-link-text { color: #1890ff; font-size: 11px; text-decoration: none; &:hover { text-decoration: underline; } } } }