From 6103f55517757858fc18e85efb0484c25388ea3f Mon Sep 17 00:00:00 2001 From: manav-sharma69 <157268750+manav-sharma69@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:27:43 +0530 Subject: [PATCH 1/7] Reset `

` element's color to `initial` (from CanvasText) --- live-examples/css-examples/pseudo-class/modal.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/live-examples/css-examples/pseudo-class/modal.css b/live-examples/css-examples/pseudo-class/modal.css index 42c66c5cb..43eb5d8df 100644 --- a/live-examples/css-examples/pseudo-class/modal.css +++ b/live-examples/css-examples/pseudo-class/modal.css @@ -10,3 +10,7 @@ button { border: 2px solid burlywood; border-radius: 5px; } + +dialog p{ + color: initial; +} From 22f6fc8836289730246386c1c26ec9bbf5ff61af Mon Sep 17 00:00:00 2001 From: manav-sharma69 <157268750+manav-sharma69@users.noreply.github.com> Date: Wed, 10 Jul 2024 12:52:10 +0530 Subject: [PATCH 2/7] Update live-examples/css-examples/pseudo-class/modal.css Co-authored-by: Estelle Weyl --- live-examples/css-examples/pseudo-class/modal.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-examples/css-examples/pseudo-class/modal.css b/live-examples/css-examples/pseudo-class/modal.css index 43eb5d8df..221e3ecb3 100644 --- a/live-examples/css-examples/pseudo-class/modal.css +++ b/live-examples/css-examples/pseudo-class/modal.css @@ -11,6 +11,6 @@ button { border-radius: 5px; } -dialog p{ - color: initial; +dialog p { + color: #000; } From d34c825179a9d68b4bc0da4ad86541da7956ccf8 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 10 Jul 2024 17:26:52 -0700 Subject: [PATCH 3/7] getting linter to be happy? --- live-examples/css-examples/pseudo-class/modal.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-examples/css-examples/pseudo-class/modal.css b/live-examples/css-examples/pseudo-class/modal.css index 221e3ecb3..35747de8e 100644 --- a/live-examples/css-examples/pseudo-class/modal.css +++ b/live-examples/css-examples/pseudo-class/modal.css @@ -12,5 +12,5 @@ button { } dialog p { - color: #000; + color: black; } From 96d0c9da0485f4a9717e91583f75dbc36ac83761 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 10 Jul 2024 17:31:32 -0700 Subject: [PATCH 4/7] maybe lint doesn't know dialog element --- live-examples/css-examples/pseudo-class/modal.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-examples/css-examples/pseudo-class/modal.css b/live-examples/css-examples/pseudo-class/modal.css index 35747de8e..3a4f80f6d 100644 --- a/live-examples/css-examples/pseudo-class/modal.css +++ b/live-examples/css-examples/pseudo-class/modal.css @@ -11,6 +11,6 @@ button { border-radius: 5px; } -dialog p { +p { color: black; } From cc60a5ae44ce1045dcf49cd331ff383e70be4f03 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 10 Jul 2024 17:34:34 -0700 Subject: [PATCH 5/7] trying again --- live-examples/css-examples/pseudo-class/modal.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/live-examples/css-examples/pseudo-class/modal.css b/live-examples/css-examples/pseudo-class/modal.css index 3a4f80f6d..dfbb9f312 100644 --- a/live-examples/css-examples/pseudo-class/modal.css +++ b/live-examples/css-examples/pseudo-class/modal.css @@ -5,12 +5,12 @@ button { height: 2rem; } +dialog p { + color: black; +} + :modal { background-color: beige; border: 2px solid burlywood; border-radius: 5px; } - -p { - color: black; -} From 9148f3c3bf52b903e3dd781dbae6d0e33b2a30a7 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 10 Jul 2024 17:47:11 -0700 Subject: [PATCH 6/7] testing again --- live-examples/css-examples/pseudo-class/modal.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-examples/css-examples/pseudo-class/modal.css b/live-examples/css-examples/pseudo-class/modal.css index dfbb9f312..3a9670413 100644 --- a/live-examples/css-examples/pseudo-class/modal.css +++ b/live-examples/css-examples/pseudo-class/modal.css @@ -5,7 +5,7 @@ button { height: 2rem; } -dialog p { +dialog p{ color: black; } From 87c725d0eb8a3acad3cdfa4fa1947e47a7b14487 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Wed, 10 Jul 2024 17:57:23 -0700 Subject: [PATCH 7/7] Update modal.css --- live-examples/css-examples/pseudo-class/modal.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/live-examples/css-examples/pseudo-class/modal.css b/live-examples/css-examples/pseudo-class/modal.css index 3a9670413..e92782f8e 100644 --- a/live-examples/css-examples/pseudo-class/modal.css +++ b/live-examples/css-examples/pseudo-class/modal.css @@ -5,12 +5,12 @@ button { height: 2rem; } -dialog p{ - color: black; -} - :modal { background-color: beige; border: 2px solid burlywood; border-radius: 5px; } + +p { + color: black; +}