From 44538889da030ae16372ce8752e924055bb215c6 Mon Sep 17 00:00:00 2001 From: catch Date: Tue, 9 Apr 2024 18:54:20 +0100 Subject: [PATCH] Issue #3357565 by quietone, Bhanu951, pradhumanjain2311, smustgrave, catch: Remove remaining uses of string 'bartik' and 'seven' when referring to the removed themes (cherry picked from commit 04065367d7dc3f3c39330983f35946dff003505e) --- core/misc/dialog/off-canvas/css/form.css | 4 +--- core/misc/dialog/off-canvas/css/form.pcss.css | 3 +-- core/tests/README.md | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/core/misc/dialog/off-canvas/css/form.css b/core/misc/dialog/off-canvas/css/form.css index 2d4897bd459..c5436a42042 100644 --- a/core/misc/dialog/off-canvas/css/form.css +++ b/core/misc/dialog/off-canvas/css/form.css @@ -77,9 +77,7 @@ font-weight: bold; } -/* Bartik uses the .field-multiple-table CSS class on its tabledrag tables. */ - -#drupal-off-canvas-wrapper :is(.fieldset, fieldset, .draggable-table, .field-multiple-table) input:where(:not([type="submit"], [type="checkbox"], [type="radio"])) { +#drupal-off-canvas-wrapper :is(.fieldset, fieldset, .draggable-table) input:where(:not([type="submit"], [type="checkbox"], [type="radio"])) { width: 100%; /* Prevent text fields from breaking out of tables and fieldsets at narrow widths. */ } diff --git a/core/misc/dialog/off-canvas/css/form.pcss.css b/core/misc/dialog/off-canvas/css/form.pcss.css index e159fb474aa..d8bf8492331 100644 --- a/core/misc/dialog/off-canvas/css/form.pcss.css +++ b/core/misc/dialog/off-canvas/css/form.pcss.css @@ -69,8 +69,7 @@ font-weight: bold; } - /* Bartik uses the .field-multiple-table CSS class on its tabledrag tables. */ - & :is(.fieldset, fieldset, .draggable-table, .field-multiple-table) input:where(:not([type="submit"], [type="checkbox"], [type="radio"])) { + & :is(.fieldset, fieldset, .draggable-table) input:where(:not([type="submit"], [type="checkbox"], [type="radio"])) { width: 100%; /* Prevent text fields from breaking out of tables and fieldsets at narrow widths. */ } diff --git a/core/tests/README.md b/core/tests/README.md index 9db11a98547..da223686962 100644 --- a/core/tests/README.md +++ b/core/tests/README.md @@ -121,9 +121,9 @@ chromedriver using port 4444, and keep it running: * To run a11y tests for the default theme only. `yarn test:nightwatch --tag a11y:default` * To run an a11y test for a custom theme used as the default theme. - `yarn test:nightwatch --tag a11y:default --defaultTheme bartik` + `yarn test:nightwatch --tag a11y:default --defaultTheme olivero` * To run an a11y test for a custom admin theme. - `yarn test:nightwatch --tag a11y:admin --adminTheme seven` + `yarn test:nightwatch --tag a11y:admin --adminTheme claro` Nightwatch tests, as well as custom commands, assertions and pages, can be placed in any folder with the pattern