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>
179 lines
3.8 KiB
CSS
179 lines
3.8 KiB
CSS
.modalWide {
|
|
max-width: 920px;
|
|
}
|
|
|
|
.fieldList {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.fieldCard {
|
|
padding: 10px 12px;
|
|
background: var(--surface);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
.fieldMainRow {
|
|
display: grid;
|
|
grid-template-columns: 6fr 3fr 2fr 32px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.compactInput {
|
|
width: 100%;
|
|
padding: var(--field-padding-y) var(--field-padding-x);
|
|
font-size: var(--field-font-size);
|
|
line-height: 1.4;
|
|
font-family: inherit;
|
|
color: var(--text-primary);
|
|
background-color: var(--surface);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
outline: none;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
box-sizing: border-box;
|
|
min-height: var(--field-height);
|
|
}
|
|
|
|
.compactInput:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
|
|
}
|
|
|
|
.fieldMainRow select.compactInput {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
padding-right: var(--select-padding-end);
|
|
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);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.removeCell {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
|
|
.requiredCell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: var(--field-height);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.requiredCell input {
|
|
width: 15px;
|
|
height: 15px;
|
|
flex-shrink: 0;
|
|
accent-color: var(--primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.optionsBlock {
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.15);
|
|
}
|
|
|
|
.optionsLabel {
|
|
display: block;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.customValues {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.customRow {
|
|
display: grid;
|
|
grid-template-columns: 1fr 32px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.customRow input {
|
|
flex: 1;
|
|
width: 100%;
|
|
padding: var(--field-padding-y) var(--field-padding-x);
|
|
font-size: var(--field-font-size);
|
|
line-height: 1.4;
|
|
font-family: inherit;
|
|
color: var(--text-primary);
|
|
background: var(--surface);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
outline: none;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
box-sizing: border-box;
|
|
min-height: var(--field-height);
|
|
}
|
|
|
|
.customRow input:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
|
|
}
|
|
|
|
.field textarea {
|
|
width: 100%;
|
|
min-height: 88px;
|
|
padding: var(--field-padding-y) var(--field-padding-x);
|
|
font-size: var(--field-font-size);
|
|
line-height: 1.5;
|
|
font-family: inherit;
|
|
color: var(--text-primary);
|
|
background: var(--surface);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
border-radius: var(--radius-sm);
|
|
outline: none;
|
|
resize: vertical;
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.field textarea:focus {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(var(--primary-rgb) / 0.12);
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.actionsRow {
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
/* Physical layout: Save leftmost, Cancel next, AI on the right */
|
|
direction: ltr;
|
|
}
|
|
|
|
.actionsMain {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.actionsAi {
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
margin-inline-start: auto;
|
|
}
|