- 🇮🇳India gauravvvv Delhi, India
I have addressed the issues from #11, #13.
1. Removed all RTL changes: Used
margin-inline-start & margin-inline-end
instead ofmargin-left, margin-right
2. Removed LTR comments.
3. Improved nesting
4. Removed importing variables.Please review
- Status changed to RTBC
almost 2 years ago 4:53pm 15 February 2023 - 🇺🇸United States smustgrave
Reviewing #17
All lines appear to be nested correctly
Colors are replaced by variablesLooks good to me.
- Status changed to Needs work
almost 2 years ago 1:05pm 16 February 2023 - 🇺🇸United States bnjmnm Ann Arbor, MI
-
+++ b/core/themes/claro/css/components/button.pcss.css @@ -29,120 +29,116 @@ + margin-block-start: var(--space-m); + margin-block-end: var(--space-m);
margin-block: var(--space-m);
-
+++ b/core/themes/claro/css/components/button.pcss.css @@ -29,120 +29,116 @@ + margin-inline-start: 0; + margin-inline-end: var(--space-s);
margin-inline: 0 var(--space-s);
-
+++ b/core/themes/claro/css/components/button.pcss.css @@ -29,120 +29,116 @@ + margin: var(--space-s) var(--space-xs) var(--space-s) 0; /* LTR */
There's no longer an RTL equivalent so this /* LTR */ should no be there
-
+++ b/core/themes/claro/css/components/button.pcss.css @@ -29,120 +29,116 @@ + margin-block-start: var(--space-xs); + margin-block-end: var(--space-xs);
use margin-block shorthand
-
+++ b/core/themes/claro/css/components/button.pcss.css @@ -29,120 +29,116 @@ + margin-inline-start: 0; + margin-inline-end: var(--space-xs);
use margin-inline shorthand
-
+++ b/core/themes/claro/css/components/button.pcss.css @@ -29,120 +29,116 @@ + margin-inline-start: -0.25em; + margin-inline-end: 0;
margin inline shorthand
-
+++ b/core/themes/claro/css/components/button.pcss.css @@ -29,120 +29,116 @@ + padding-inline-start: 0.25em; + padding-inline-end: 0;
use padding-inline shorthand
-
+++ b/core/themes/claro/css/components/button.css @@ -41,12 +41,15 @@ + margin-block-start: var(--space-m); + margin-block-end: var(--space-m);
these two lines can be
margin-block: var(--space-m) </li> <li> <code> +++ b/core/themes/claro/css/components/button.css @@ -41,12 +41,15 @@ + margin-inline-start: 0; + margin-inline-end: var(--space-s);
These two lines can be
margin-inline: 0 var(--space-s);
- Also needs screenshots to confirm no regressions. If there's any way to demonstrate the new CSS is laoding in the screenshots, that's a bonus. It may not be possible due to the CSS compiling to the same thing, however.
-
- Status changed to Needs review
almost 2 years ago 6:37am 27 February 2023 The last submitted patch, 20: 3294002-20.patch, failed testing. View results →
- Status changed to RTBC
almost 2 years ago 6:01pm 28 February 2023 - Status changed to Needs review
almost 2 years ago 7:57am 3 March 2023 - 🇫🇮Finland lauriii Finland
The patch looks pretty good. Someone will still need to test this thoroughly.
We have used https://github.com/zolhorvath/cd_tools in the past but I don't think it's Drupal 10 compatible 😐
- Status changed to Needs work
almost 2 years ago 9:22am 3 March 2023 The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- Status changed to Needs review
almost 2 years ago 9:25am 3 March 2023 - Status changed to RTBC
almost 2 years ago 3:02pm 3 March 2023 - 🇺🇸United States smustgrave
Oh neat. Cloned the module and changed for D10 in core_version_requirements
- Status changed to Needs work
over 1 year ago 8:15am 14 April 2023 - 🇫🇷France nod_ Lille
-
+++ b/core/themes/claro/css/components/button.css @@ -81,7 +78,7 @@ + margin: var(--space-s) var(--space-xs) var(--space-s) 0;
Need to use logical props
-
+++ b/core/themes/claro/css/components/button.css @@ -153,18 +140,15 @@ a.button--primary:active { -a.button--danger:hover, +.button--danger:active, a.button--danger:active { - color: var(--button-fg-color--danger); + background-color: var(--button--active-bg-color--danger);
we need this rule
a.button--danger:hover, a.button--danger:active { color: var(--button-fg-color--danger); }
Otherwise danger links that are active have a black text color instead of white which makes them hard to read and not very pretty.
-
- Status changed to Needs review
over 1 year ago 9:14am 14 April 2023 - Status changed to Needs work
over 1 year ago 11:58am 14 April 2023 - 🇫🇷France nod_ Lille
can we keep the rules as they were before? last patch changes the specificity of the background rule when we only want to override the color property.
- 🇺🇸United States mherchel Gainesville, FL, US
I don't see where the last patch changes the specificity, but I do see some unneeded specificity in the patch. In addition,
- some of the nesting seems unnecessary
- There's an
!important
where the comments say that its for FF in high contrast mode. I can't see why. I'm going to test this out and remove if possible.. - CSS custom properties should be moved to this file and scoped to the element if possible.
I'm going to put a bit of work in now, and see how far I can get.
- Status changed to Needs review
over 1 year ago 1:30pm 14 April 2023 - 🇺🇸United States mherchel Gainesville, FL, US
A couple notes on the patch above:
- The special
!important
rule for Firefox in forced-colors mode is no longer necessary. Animated GIF is attached below. - Some of the custom properties attached to
:root
are used in the Dropbutton component, so I couldn't move them into here without affecting that. We can do that at a later time.
Firefox in high contrast (also showing focus styles):
- The special
- Status changed to RTBC
over 1 year ago 5:15pm 15 April 2023 - last update
over 1 year ago 29,202 pass - last update
over 1 year ago 29,283 pass - last update
over 1 year ago 29,292 pass - last update
over 1 year ago 29,302 pass - last update
over 1 year ago 29,304 pass - last update
over 1 year ago 29,343 pass - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - First commit to issue fork.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - Status changed to Needs work
over 1 year ago 6:36am 4 June 2023 - Status changed to Needs review
over 1 year ago 3:12am 5 June 2023 - last update
over 1 year ago 29,415 pass - 🇮🇳India gauravvvv Delhi, India
Patch #34, does not apply anymore. I have attached the re-rolled patch.
- Status changed to RTBC
over 1 year ago 5:19am 5 June 2023 - 🇮🇳India zeeshan_khan
#41 - Works for me
patch applied successfully
Thanks @Gauravvvv for the hard work! - last update
over 1 year ago 29,417 pass - last update
over 1 year ago 29,436 pass - last update
over 1 year ago 29,437 pass - last update
over 1 year ago 29,444 pass - last update
over 1 year ago 29,450 pass - last update
over 1 year ago 29,486 pass 49:34 42:24 Running- last update
over 1 year ago 29,505 pass - last update
over 1 year ago 29,551 pass - last update
over 1 year ago 29,553 pass - last update
over 1 year ago 29,559 pass - last update
over 1 year ago 29,567 pass - last update
over 1 year ago 29,571 pass - last update
over 1 year ago 29,801 pass - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,802 pass - last update
over 1 year ago 29,802 pass - last update
over 1 year ago 29,807 pass - last update
over 1 year ago 29,812 pass - last update
over 1 year ago 29,815 pass - last update
over 1 year ago 29,815 pass - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - last update
over 1 year ago 29,873 pass - last update
over 1 year ago 29,877 pass - last update
over 1 year ago 29,879 pass - last update
over 1 year ago 29,886 pass - last update
over 1 year ago 29,908 pass - Status changed to Fixed
over 1 year ago 6:56pm 30 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 1 year ago 10:09am 25 September 2023 - 🇳🇿New Zealand quietone
This is a minor only change, removing tag for the followup.