| @@ -1,44 +1,47 @@ | ||
| 1 | 1 | .bkbg-ai-settings { |
| 2 | - --bkbg-settings-ink: #202124; | |
| 3 | - --bkbg-settings-muted: #646970; | |
| 4 | - --bkbg-settings-border: #e0e2e5; | |
| 5 | - max-width: 1080px; | |
| 6 | - margin: 28px 24px 36px 2px; | |
| 2 | + --bkbg-settings-ink: #232420; | |
| 3 | + --bkbg-settings-muted: #70716a; | |
| 4 | + --bkbg-settings-border: #ddded6; | |
| 5 | + max-width: 1440px; | |
| 6 | + margin: 24px 24px 40px 4px; | |
| 7 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| 7 | 8 | color: var(--bkbg-settings-ink); |
| 8 | 9 | } |
| 9 | 10 | .bkbg-ai-settings *, .bkbg-ai-settings *::before, .bkbg-ai-settings *::after { box-sizing: border-box; } |
| 10 | 11 | .bkbg-ai-settings [hidden] { display: none !important; } |
| 11 | -.bkbg-ai-settings-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; } | |
| 12 | -.bkbg-ai-settings-eyebrow { margin: 0 0 7px !important; color: var(--bkbg-settings-muted); font-size: 11px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; } | |
| 13 | -.bkbg-ai-settings-header h1 { padding: 0; font-size: 29px; font-weight: 600; line-height: 1.2; letter-spacing: -.65px; } | |
| 14 | -.bkbg-ai-settings-header p { margin: 10px 0 0; color: var(--bkbg-settings-muted); font-size: 14px; } | |
| 15 | -.bkbg-ai-status { display: inline-flex; flex-shrink: 0; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--bkbg-settings-border); border-radius: 99px; background: #fff; color: #50575e; font-size: 12px; margin-top: 25px; } | |
| 16 | -.bkbg-ai-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8c8f94; } | |
| 17 | -.bkbg-ai-status.is-configured .bkbg-ai-status-dot { background: #32834d; } | |
| 18 | -.bkbg-ai-settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; } | |
| 19 | -.bkbg-ai-settings-card { min-width: 0; padding: 24px; border: 1px solid var(--bkbg-settings-border); border-radius: 11px; background: #fff; } | |
| 12 | +.bkbg-ai-settings-header { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 26px 30px 30px; border-radius: 14px; background: #242424; color: #fff; } | |
| 13 | +.bkbg-ai-settings-header .bkbg-ai-settings-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #c5c6c0; font-size: 12px; font-weight: 500; line-height: 1.6; } | |
| 14 | +.bkbg-ai-settings-eyebrow svg { flex: none; width: 19px; height: 19px; fill: currentColor; } | |
| 15 | +.bkbg-ai-settings-header h1 { margin: 0; padding: 0; color: #fff; font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.65px; } | |
| 16 | +.bkbg-ai-settings-header p { margin: 10px 0 0; color: #c5c6c0; font-size: 13px; line-height: 1.6; } | |
| 17 | +.bkbg-ai-status { display: inline-flex; flex-shrink: 0; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #55564f; border-radius: 99px; background: transparent; color: #d5d5ce; font-size: 11px; margin-top: 4px; } | |
| 18 | +.bkbg-ai-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8b907f; } | |
| 19 | +.bkbg-ai-status.is-configured { color: #e7f395; background: #353a2d; border-color: #586044; } | |
| 20 | +.bkbg-ai-status.is-configured .bkbg-ai-status-dot { background: #e7f395; } | |
| 21 | +.bkbg-ai-settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } | |
| 22 | +.bkbg-ai-settings-card { min-width: 0; padding: 26px; border: 1px solid var(--bkbg-settings-border); border-radius: 12px; background: #fff; } | |
| 20 | 23 | .bkbg-ai-card-heading { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 24px; } |
| 21 | -.bkbg-ai-card-heading > .dashicons { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; flex-shrink: 0; border-radius: 8px; background: #f4f4f5; color: #50575e; font-size: 18px; } | |
| 22 | -.bkbg-ai-card-heading h2 { margin: 1px 0 5px; font-size: 15px; font-weight: 600; } | |
| 24 | +.bkbg-ai-card-heading > .dashicons { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; flex-shrink: 0; border: 1px solid #e6e8de; border-radius: 8px; background: #f2f4ea; color: #687653; font-size: 18px; } | |
| 25 | +.bkbg-ai-card-heading h2 { margin: 1px 0 5px; font-size: 17px; font-weight: 600; line-height: 1.4; } | |
| 23 | 26 | .bkbg-ai-card-heading p { margin: 0; color: var(--bkbg-settings-muted); font-size: 12px; line-height: 1.5; } |
| 24 | 27 | .bkbg-ai-settings .bkbg-ai-field-label { display: block; margin: 0 0 7px; font-size: 12px; font-weight: 600; } |
| 25 | -.bkbg-ai-settings input[type="text"], .bkbg-ai-settings input[type="password"], .bkbg-ai-settings textarea, .bkbg-ai-settings select { width: 100%; max-width: 100%; min-height: 38px; margin: 0; padding: 7px 10px; border: 1px solid #c9cdd2; border-radius: 6px; background-color: #fff; color: var(--bkbg-settings-ink); font-size: 13px; line-height: 1.5; } | |
| 26 | -.bkbg-ai-settings input:disabled { background: #f6f7f7; color: #8c8f94; border-color: #dcdcde; } | |
| 28 | +.bkbg-ai-settings input[type="text"], .bkbg-ai-settings input[type="password"], .bkbg-ai-settings textarea, .bkbg-ai-settings select { width: 100%; max-width: 100%; min-height: 42px; margin: 0; padding: 10px 12px; border: 1px solid #d6d8cc; border-radius: 6px; background-color: #fff; color: var(--bkbg-settings-ink); font-size: 13px; line-height: 1.5; } | |
| 29 | +.bkbg-ai-settings input:disabled { background: #f5f6f0; color: #8b907f; border-color: #e0e3d8; } | |
| 27 | 30 | .bkbg-ai-settings textarea { display: block; min-height: 184px; resize: vertical; } |
| 28 | 31 | .bkbg-ai-settings select { padding-right: 28px; white-space: nowrap; text-overflow: ellipsis; } |
| 29 | -.bkbg-ai-settings input[type="number"] { width: 94px; min-height: 35px; border-color: #c9cdd2; border-radius: 6px; } | |
| 30 | -.bkbg-ai-settings input:focus, .bkbg-ai-settings textarea:focus, .bkbg-ai-settings select:focus { border-color: #3c434a; box-shadow: 0 0 0 1px #3c434a; outline: 2px solid transparent; } | |
| 32 | +.bkbg-ai-settings input[type="number"] { width: 94px; min-height: 42px; padding: 8px 10px; border-color: #d6d8cc; border-radius: 6px; } | |
| 33 | +.bkbg-ai-settings input:focus, .bkbg-ai-settings textarea:focus, .bkbg-ai-settings select:focus { border-color: #879768; box-shadow: 0 0 0 1px #879768; outline: 2px solid transparent; } | |
| 31 | 34 | .bkbg-ai-settings input[type="checkbox"], .bkbg-ai-settings input[type="radio"] { flex-shrink: 0; margin: 1px 0 0; } |
| 32 | 35 | .bkbg-ai-settings .bkbg-ai-help { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: var(--bkbg-settings-muted); } |
| 33 | -.bkbg-ai-field-note { margin-top: 16px; padding: 11px 12px; background: #f6f7f7; border-radius: 6px; color: #50575e; font-size: 12px; line-height: 1.55; } | |
| 36 | +.bkbg-ai-field-note { margin-top: 16px; padding: 11px 12px; background: #f5f6f0; border-radius: 6px; color: #5f6753; font-size: 12px; line-height: 1.55; } | |
| 34 | 37 | .bkbg-ai-card-heading + .bkbg-ai-field-note { margin-top: 0; margin-bottom: 20px; } |
| 35 | 38 | .bkbg-ai-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; } |
| 36 | -.bkbg-ai-remove-key { margin-top: 13px; color: #646970; } | |
| 39 | +.bkbg-ai-remove-key { margin-top: 13px; color: #70716a; } | |
| 37 | 40 | .bkbg-ai-field-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; } |
| 38 | -.bkbg-ai-settings .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 35px; padding: 0 12px; line-height: 1.2; border-color: #c9cdd2; border-radius: 6px; background: #fff; color: #2c3338; box-shadow: none; } | |
| 39 | -.bkbg-ai-settings .button:hover { border-color: #8c8f94; background: #f6f7f7; color: #202124; } | |
| 40 | -.bkbg-ai-settings .button:focus-visible, .bkbg-ai-settings a:focus-visible, .bkbg-ai-settings summary:focus-visible { outline: 2px solid #2271b1; outline-offset: 3px; box-shadow: none; } | |
| 41 | +.bkbg-ai-settings .button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 9px 13px; line-height: 1.2; border-color: #d6d8cc; border-radius: 6px; background: #fff; color: #3e4435; box-shadow: none; } | |
| 42 | +.bkbg-ai-settings .button:hover { border-color: #8b907f; background: #f5f6f0; color: #232420; } | |
| 43 | +.bkbg-ai-settings .button:focus-visible, .bkbg-ai-settings a:focus-visible, .bkbg-ai-settings summary:focus-visible { outline: 2px solid #687653; outline-offset: 3px; box-shadow: none; } | |
| 41 | 44 | .bkbg-ai-settings .button:disabled { opacity: .6; } |
| 42 | 45 | .bkbg-ai-settings .button .dashicons, |
| 43 | 46 | .bkbg-ai-field-actions .dashicons { |
| 44 | 47 | display: block; |
| @@ -46,19 +49,19 @@ | ||
| 46 | 49 | height: 16px; |
| 47 | 50 | font-size: 16px; |
| 48 | 51 | line-height: 1; |
| 49 | 52 | vertical-align: middle; |
| 50 | - transform: translateY(1px); | |
| 53 | + transform: none; | |
| 51 | 54 | } |
| 52 | 55 | .bkbg-ai-settings .button .dashicons:before, |
| 53 | 56 | .bkbg-ai-field-actions .dashicons:before { line-height: 1; } |
| 54 | -.bkbg-ai-field-actions a { display: inline-flex; align-items: center; gap: 4px; color: #50575e; font-size: 12px; text-decoration: none; } | |
| 55 | -.bkbg-ai-field-actions a:hover { color: #1d2327; text-decoration: underline; } | |
| 57 | +.bkbg-ai-field-actions a { display: inline-flex; align-items: center; gap: 4px; color: #5f6753; font-size: 12px; text-decoration: none; } | |
| 58 | +.bkbg-ai-field-actions a:hover { color: #303b22; text-decoration: underline; } | |
| 56 | 59 | .bkbg-ai-inline-status { margin: 12px 0 0; font-size: 12px; line-height: 1.5; } |
| 57 | 60 | .bkbg-ai-inline-status:empty { display: none; } |
| 58 | -.bkbg-ai-inline-status.is-success { color: #246c3b; } | |
| 59 | -.bkbg-ai-inline-status.is-error { color: #b32d2e; } | |
| 60 | -.bkbg-ai-model-price { margin: 9px 0 0; color: #50575e; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.6; } | |
| 61 | +.bkbg-ai-inline-status.is-success { color: #526238; } | |
| 62 | +.bkbg-ai-inline-status.is-error { color: #983d26; } | |
| 63 | +.bkbg-ai-model-price { margin: 9px 0 0; color: #5f6753; font-size: 11px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.6; } | |
| 61 | 64 | .bkbg-ai-model-price:empty { display: none; } |
| 62 | 65 | .bkbg-ai-model-combobox { position: relative; } |
| 63 | 66 | .bkbg-ai-settings .bkbg-ai-model-combobox__trigger { |
| 64 | 67 | display: flex; |
| @@ -65,12 +68,12 @@ | ||
| 65 | 68 | align-items: center; |
| 66 | 69 | justify-content: space-between; |
| 67 | 70 | gap: 8px; |
| 68 | 71 | width: 100%; |
| 69 | - min-height: 38px; | |
| 72 | + min-height: 42px; | |
| 70 | 73 | margin: 0; |
| 71 | - padding: 7px 10px; | |
| 72 | - border: 1px solid #c9cdd2; | |
| 74 | + padding: 10px 12px; | |
| 75 | + border: 1px solid #d6d8cc; | |
| 73 | 76 | border-radius: 6px; |
| 74 | 77 | background: #fff; |
| 75 | 78 | color: var(--bkbg-settings-ink); |
| 76 | 79 | font-family: inherit; |
| @@ -81,10 +84,10 @@ | ||
| 81 | 84 | box-shadow: none; |
| 82 | 85 | } |
| 83 | 86 | .bkbg-ai-settings .bkbg-ai-model-combobox.is-open .bkbg-ai-model-combobox__trigger, |
| 84 | 87 | .bkbg-ai-settings .bkbg-ai-model-combobox__trigger:focus { |
| 85 | - border-color: #3c434a; | |
| 86 | - box-shadow: 0 0 0 1px #3c434a; | |
| 88 | + border-color: #879768; | |
| 89 | + box-shadow: 0 0 0 1px #879768; | |
| 87 | 90 | outline: 2px solid transparent; |
| 88 | 91 | } |
| 89 | 92 | .bkbg-ai-model-combobox__value { |
| 90 | 93 | min-width: 0; |
| @@ -96,9 +99,9 @@ | ||
| 96 | 99 | flex-shrink: 0; |
| 97 | 100 | width: 16px; |
| 98 | 101 | height: 16px; |
| 99 | 102 | font-size: 16px; |
| 100 | - color: #646970; | |
| 103 | + color: #70716a; | |
| 101 | 104 | } |
| 102 | 105 | .bkbg-ai-model-combobox__panel { |
| 103 | 106 | position: absolute; |
| 104 | 107 | z-index: 20; |
| @@ -105,9 +108,9 @@ | ||
| 105 | 108 | top: calc(100% + 4px); |
| 106 | 109 | left: 0; |
| 107 | 110 | right: 0; |
| 108 | 111 | padding: 8px; |
| 109 | - border: 1px solid #c9cdd2; | |
| 112 | + border: 1px solid #d6d8cc; | |
| 110 | 113 | border-radius: 8px; |
| 111 | 114 | background: #fff; |
| 112 | 115 | box-shadow: 0 10px 30px rgba(16, 24, 32, .12); |
| 113 | 116 | } |
| @@ -131,9 +134,9 @@ | ||
| 131 | 134 | justify-content: space-between; |
| 132 | 135 | gap: 8px; |
| 133 | 136 | padding: 8px 8px 4px; |
| 134 | 137 | background: #fff; |
| 135 | - color: #646970; | |
| 138 | + color: #70716a; | |
| 136 | 139 | font-size: 10px; |
| 137 | 140 | font-weight: 600; |
| 138 | 141 | letter-spacing: .06em; |
| 139 | 142 | text-transform: uppercase; |
| @@ -164,13 +167,13 @@ | ||
| 164 | 167 | overflow-wrap: anywhere; |
| 165 | 168 | } |
| 166 | 169 | .bkbg-ai-settings .bkbg-ai-model-combobox__option:hover, |
| 167 | 170 | .bkbg-ai-settings .bkbg-ai-model-combobox__option.is-active { |
| 168 | - background: #f0f0f1; | |
| 171 | + background: #f0f3e8; | |
| 169 | 172 | color: var(--bkbg-settings-ink); |
| 170 | 173 | } |
| 171 | 174 | .bkbg-ai-settings .bkbg-ai-model-combobox__option.is-selected { |
| 172 | - background: #edf0f3; | |
| 175 | + background: #edf1e3; | |
| 173 | 176 | } |
| 174 | 177 | .bkbg-ai-model-combobox__empty { |
| 175 | 178 | margin: 8px; |
| 176 | 179 | color: var(--bkbg-settings-muted); |
| @@ -177,18 +180,18 @@ | ||
| 177 | 180 | font-size: 12px; |
| 178 | 181 | } |
| 179 | 182 | #bkbg-ai-custom-model-wrap:not(:first-child) { margin-top: 12px; } |
| 180 | 183 | .bkbg-ai-image-choices { display: grid; gap: 9px; } |
| 181 | -.bkbg-ai-radio-card { display: flex; gap: 9px; padding: 12px; border: 1px solid #dcdcde; border-radius: 7px; cursor: pointer; } | |
| 182 | -.bkbg-ai-radio-card:has(input:checked) { border-color: #646970; background: #f6f7f7; } | |
| 184 | +.bkbg-ai-radio-card { display: flex; gap: 9px; padding: 12px; border: 1px solid #e0e3d8; border-radius: 7px; cursor: pointer; } | |
| 185 | +.bkbg-ai-radio-card:has(input:checked) { border-color: #879768; background: #f0f3e8; } | |
| 183 | 186 | .bkbg-ai-radio-card strong { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; } |
| 184 | 187 | .bkbg-ai-radio-card small { display: block; font-size: 12px; line-height: 1.5; color: var(--bkbg-settings-muted); } |
| 185 | 188 | .bkbg-ai-image-model-field { margin-top: 19px; } |
| 186 | -.bkbg-ai-image-model-field.is-inactive .bkbg-ai-field-label { color: #646970; } | |
| 189 | +.bkbg-ai-image-model-field.is-inactive .bkbg-ai-field-label { color: #70716a; } | |
| 187 | 190 | .bkbg-ai-image-model-field.is-inactive .bkbg-ai-model-combobox__trigger { |
| 188 | - background: #f6f7f7; | |
| 189 | - color: #8c8f94; | |
| 190 | - border-color: #dcdcde; | |
| 191 | + background: #f5f6f0; | |
| 192 | + color: #8b907f; | |
| 193 | + border-color: #e0e3d8; | |
| 191 | 194 | cursor: default; |
| 192 | 195 | } |
| 193 | 196 | #bkbg-ai-image-custom-model-wrap:not(:first-child) { margin-top: 12px; } |
| 194 | 197 | .bkbg-ai-settings-advanced { margin-top: 18px; border: 1px solid var(--bkbg-settings-border); border-radius: 10px; background: #fff; } |
| @@ -193,22 +196,22 @@ | ||
| 193 | 196 | #bkbg-ai-image-custom-model-wrap:not(:first-child) { margin-top: 12px; } |
| 194 | 197 | .bkbg-ai-settings-advanced { margin-top: 18px; border: 1px solid var(--bkbg-settings-border); border-radius: 10px; background: #fff; } |
| 195 | 198 | .bkbg-ai-settings-advanced summary { display: flex; align-items: center; gap: 9px; padding: 17px 21px; cursor: pointer; list-style: none; font-weight: 600; font-size: 13px; } |
| 196 | 199 | .bkbg-ai-settings-advanced summary::-webkit-details-marker { display: none; } |
| 197 | -.bkbg-ai-settings-advanced summary::after { content: '\203A'; margin-left: auto; color: #646970; font-size: 21px; font-weight: 400; transform: rotate(90deg); } | |
| 198 | -.bkbg-ai-settings-advanced[open] summary::after { transform: rotate(-90deg); } | |
| 199 | -.bkbg-ai-settings-advanced summary .dashicons { width: 17px; height: 17px; color: #646970; font-size: 17px; } | |
| 200 | +.bkbg-ai-settings-advanced summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; margin-left: auto; color: #70716a; font-size: 21px; font-weight: 400; transform: rotate(45deg); } | |
| 201 | +.bkbg-ai-settings-advanced[open] summary::after { transform: rotate(225deg); } | |
| 202 | +.bkbg-ai-settings-advanced summary .dashicons { width: 17px; height: 17px; color: #70716a; font-size: 17px; } | |
| 200 | 203 | .bkbg-ai-settings-advanced summary small { margin-left: 10px; font-size: 12px; font-weight: 400; color: var(--bkbg-settings-muted); } |
| 201 | 204 | .bkbg-ai-advanced-fields { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding: 8px 24px 24px; } |
| 202 | 205 | .bkbg-ai-advanced-fields > div:first-child { padding-top: 3px; } |
| 203 | 206 | .bkbg-ai-advanced-fields .bkbg-ai-check { font-weight: 600; } |
| 204 | -.bkbg-ai-settings-footer { display: flex; align-items: center; gap: 16px; padding-top: 20px; } | |
| 205 | -.bkbg-ai-settings .button-primary { min-height: 38px; padding: 4px 18px; border-color: #242628; background: #242628; color: #fff; font-weight: 500; } | |
| 206 | -.bkbg-ai-settings .button-primary:hover { border-color: #101112; background: #101112; color: #fff; } | |
| 207 | +.bkbg-ai-settings-footer { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--bkbg-settings-border); border-radius: 12px; background: #fff; } | |
| 208 | +.bkbg-ai-settings .button-primary { min-height: 38px; padding: 4px 18px; border-color: #242424; background: #242424; color: #fff; font-weight: 500; } | |
| 209 | +.bkbg-ai-settings .button-primary:hover { border-color: #3c4036; background: #3c4036; color: #fff; } | |
| 207 | 210 | .bkbg-ai-settings-footer > span { font-size: 12px; color: var(--bkbg-settings-muted); } |
| 208 | 211 | .bkbg-ai-settings .notice { margin: 0 0 20px; } |
| 209 | 212 | @media (max-width: 1100px) { |
| 210 | - .bkbg-ai-settings { max-width: 780px; } | |
| 213 | + .bkbg-ai-settings { max-width: 1440px; } | |
| 211 | 214 | .bkbg-ai-settings-card { padding: 20px; } |
| 212 | 215 | .bkbg-ai-settings-grid { gap: 14px; } |
| 213 | 216 | } |
| 214 | 217 | @media (max-width: 820px) { |
| @@ -219,4 +222,26 @@ | ||
| 219 | 222 | .bkbg-ai-status { margin-top: 0; } |
| 220 | 223 | .bkbg-ai-settings-advanced summary small { display: none; } |
| 221 | 224 | .bkbg-ai-settings-footer { flex-wrap: wrap; } |
| 222 | 225 | } |
| 226 | + | |
| 227 | +/* Shared admin palette, with controls scoped to this route. */ | |
| 228 | +body.blockenberg_page_blockenberg-ai,body.blockenberg_page_blockenberg-ai #wpcontent { background: #f8f8f5; } | |
| 229 | +.bkbg-ai-settings :is(input,textarea,select,button) { font-family: inherit; } | |
| 230 | +.bkbg-ai-settings :is(input,textarea)::placeholder { color: #858a7b; opacity: 1; } | |
| 231 | +.bkbg-ai-settings input[type=checkbox],.bkbg-ai-settings input[type=radio] { appearance: none; width: 17px; height: 17px; min-width: 17px; min-height: 17px; padding: 0; margin: 1px 0 0; border: 1px solid #b9beae; background: #fff; box-shadow: none; } | |
| 232 | +.bkbg-ai-settings input[type=checkbox] { border-radius: 4px; } | |
| 233 | +.bkbg-ai-settings input[type=radio] { border-radius: 50%; } | |
| 234 | +.bkbg-ai-settings :is(input[type=checkbox],input[type=radio]):checked { background: #fff; border-color: #687653; } | |
| 235 | +.bkbg-ai-settings input[type=radio]:checked::before { content: ""; display: block; float: none; width: 7px; height: 7px; margin: 4px; border-radius: 50%; background: #687653; } | |
| 236 | +.bkbg-ai-settings input[type=checkbox]:checked::before { content: ""; display: block; float: none; width: 5px; height: 9px; margin: 1px 0 0 5px; border: 2px solid #687653; border-top: 0; border-left: 0; transform: rotate(45deg); } | |
| 237 | +.bkbg-ai-settings :is(input[type=checkbox],input[type=radio]):focus-visible { outline: 2px solid #879768; outline-offset: 3px; } | |
| 238 | +.bkbg-ai-settings-card[aria-labelledby=bkbg-ai-editor-heading] { grid-column: 1 / -1; } | |
| 239 | +.bkbg-ai-settings-card[aria-labelledby=bkbg-ai-context-heading] textarea { min-height: 230px; } | |
| 240 | +.bkbg-ai-settings .bkbg-ai-model-combobox__trigger .dashicons { display: grid; place-items: center; height: 16px; line-height: 16px; } | |
| 241 | +.bkbg-ai-settings .bkbg-ai-model-combobox__panel { border-color: #d6d8cc; box-shadow: 0 12px 32px #23242015; } | |
| 242 | +.bkbg-ai-settings .bkbg-ai-model-combobox__panel input[type=search] { border: 1px solid #d6d8cc; border-radius: 6px; padding: 8px 10px; min-height: 38px; background: #f8f8f5; } | |
| 243 | +.bkbg-ai-inline-status:not(:empty) { padding: 11px 12px; border-radius: 7px; background: #f5f6f0; } | |
| 244 | +.bkbg-ai-inline-status.is-success { background: #edf1e3; } | |
| 245 | +.bkbg-ai-inline-status.is-error { background: #f7eae5; } | |
| 246 | +@media(max-width:782px) { .bkbg-ai-settings { margin: 18px 16px 36px 0; } .bkbg-ai-settings-header { padding: 24px; } } | |
| 247 | +@media(max-width:520px) { .bkbg-ai-settings-header { display: block; padding: 22px 20px; } .bkbg-ai-settings-header h1 { font-size: 27px; } .bkbg-ai-settings-header .bkbg-ai-settings-eyebrow { margin-bottom: 24px; padding-right: 110px; } .bkbg-ai-status { position: absolute; top: 22px; right: 20px; font-size: 10px; padding: 5px 8px; margin: 0; } .bkbg-ai-settings-grid { gap: 16px; } .bkbg-ai-settings-card { padding: 20px; } .bkbg-ai-settings .button { min-height: 42px; } .bkbg-ai-settings-footer { padding: 18px 20px; gap: 12px; } } | |