| /* Copyright 2025 The Chromium Authors |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. */ |
| |
| /* #css_wrapper_metadata_start |
| * #type=style-lit |
| * #import=chrome://resources/cr_elements/md_select_lit.css.js |
| * #import=./print_preview_shared.css.js |
| * #include=print-preview-shared md-select-lit |
| * #css_wrapper_metadata_end */ |
| |
| :host([error-state_='0']) #pageSettingsCustomInput, |
| :host([error-state_='3']) #pageSettingsCustomInput { |
| --cr-input-error-display: none; |
| } |
| |
| /* Margin = standard margin (16px) - error field margin (8px) */ |
| :host([error-state_='1']) #customInputWrapper, |
| :host([error-state_='2']) #customInputWrapper { |
| margin-bottom: 8px; |
| } |
| |
| #pageSettingsCustomInput { |
| cursor: default; |
| --cr-form-field-label-height: 100%; |
| } |
| |
| :host #title { |
| align-self: baseline; |
| } |