Login and in-app surfaces follow tenant themeMode, matching customer dark tokens, with themed switches and tighter card/table chrome. Co-authored-by: Cursor <cursoragent@cursor.com>
126 lines
2.6 KiB
CSS
126 lines
2.6 KiB
CSS
.sourceRow {
|
|
align-items: center;
|
|
}
|
|
|
|
.field {
|
|
min-width: 180px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.field select {
|
|
width: 100%;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
min-height: var(--field-height);
|
|
padding: var(--field-padding-y) var(--field-padding-x);
|
|
padding-inline-end: var(--select-padding-end);
|
|
font-size: var(--field-font-size);
|
|
font-family: var(--font-ui);
|
|
color: var(--text-primary);
|
|
background-color: var(--surface);
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right var(--select-arrow-offset) center;
|
|
background-size: var(--select-arrow-size);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
|
|
:global([dir='rtl']) .field select {
|
|
background-position: left var(--select-arrow-offset) center;
|
|
}
|
|
|
|
.field select:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.sitemapRow {
|
|
align-items: center;
|
|
}
|
|
|
|
.sitemapActions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.rebuildBtn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: var(--field-height);
|
|
padding: 0 14px;
|
|
font-size: var(--field-font-size);
|
|
font-family: var(--font-ui);
|
|
font-weight: 600;
|
|
color: var(--primary);
|
|
background-color: var(--surface);
|
|
border: 1px solid rgba(var(--primary-rgb) / 0.35);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.rebuildBtn:hover:not(:disabled) {
|
|
background-color: rgba(var(--primary-rgb) / 0.08);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.rebuildBtn:focus-visible {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
|
|
}
|
|
|
|
.rebuildBtn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.sitemapUrl {
|
|
max-width: 260px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-family: var(--font-ui);
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sitemapUrl:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.field,
|
|
.sitemapActions {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.sitemapActions {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.sitemapUrl {
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
.spin {
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|