From bed3c0937467bf4fc5405f0c77a998c2dfeaefdf Mon Sep 17 00:00:00 2001 From: Rockpelt Date: Mon, 26 Oct 2020 17:30:45 +0800 Subject: [PATCH 1/7] fix: border-radius of comment-app modify the border-radius for containers in comment-app into 4px --- custom.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom.css b/custom.css index e364805..f685ea3 100644 --- a/custom.css +++ b/custom.css @@ -1666,4 +1666,10 @@ .diff-table .pl-v { color: #eee !important; } + + /* comment app */ + .ui-comment-app * { + box-sizing: border-box; + border-radius: 4px; + } } From 38f78fef1fcd5f756e458b1b9f14aaa0d304d39d Mon Sep 17 00:00:00 2001 From: Rockpelt Date: Tue, 3 Nov 2020 16:32:12 +0800 Subject: [PATCH 2/7] Fix border-radius of open-comments Modify the border-radius as the maintainer suggests. --- custom.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/custom.css b/custom.css index f685ea3..602253f 100644 --- a/custom.css +++ b/custom.css @@ -1057,7 +1057,11 @@ border-color: #6d6d6d; } - /*--------------- comment ---------------*/ + /*--------------- comment ---------------*/ + .open-comments { + border-radius: 4px; + } + .ui-comment-container .ui-comment-header { background-color: #2a2a2a; color: #eee; @@ -1667,9 +1671,4 @@ color: #eee !important; } - /* comment app */ - .ui-comment-app * { - box-sizing: border-box; - border-radius: 4px; - } } From 6c2a128ec229d5ff8a582692e59904ab8652be9b Mon Sep 17 00:00:00 2001 From: Rockpelt Date: Tue, 3 Nov 2020 16:34:11 +0800 Subject: [PATCH 3/7] Fix boarder-radius of ui-comment-button-container Fix the boarder-radius of ui-comment-button-container into 6px --- custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom.css b/custom.css index 602253f..1de1561 100644 --- a/custom.css +++ b/custom.css @@ -1124,6 +1124,10 @@ .ui-comment-container textarea:-ms-input-placeholder { color: #eee; } + + .ui-comment-button-container { + border-radius: 6px; + } @keyframes highlight { 0% { From e02a3de397b071d7dac6a77e53380db3a46fe959 Mon Sep 17 00:00:00 2001 From: Rockpelt Date: Tue, 3 Nov 2020 16:36:32 +0800 Subject: [PATCH 4/7] Remove unintended line break --- custom.css | 1 - 1 file changed, 1 deletion(-) diff --git a/custom.css b/custom.css index 1de1561..a535618 100644 --- a/custom.css +++ b/custom.css @@ -1674,5 +1674,4 @@ .diff-table .pl-v { color: #eee !important; } - } From 67a1bbbd854691f902ac5ed7980d096ee95c1156 Mon Sep 17 00:00:00 2001 From: Rockpelt Date: Wed, 4 Nov 2020 01:34:25 +0800 Subject: [PATCH 5/7] Revert till 38f78f Revert to 38f78fef1fcd5f756e458b1b9f14aaa0d304d39d. --- custom.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/custom.css b/custom.css index a535618..3fcabc2 100644 --- a/custom.css +++ b/custom.css @@ -1124,10 +1124,6 @@ .ui-comment-container textarea:-ms-input-placeholder { color: #eee; } - - .ui-comment-button-container { - border-radius: 6px; - } @keyframes highlight { 0% { From 7d2f96266c1d8948da39f02451baf3a863e8a8b4 Mon Sep 17 00:00:00 2001 From: Rockpelt Date: Wed, 4 Nov 2020 01:41:38 +0800 Subject: [PATCH 6/7] Set ui-comment-button-container into transparent background Set the background-color of .ui-comment-button-container.comment into transparent, to fix the behavior happening upon hover and active. --- custom.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom.css b/custom.css index 3fcabc2..b9633c9 100644 --- a/custom.css +++ b/custom.css @@ -1062,6 +1062,10 @@ border-radius: 4px; } + .ui-comment-app .ui-comment-button-container.comment { + background-color: transparent !important; + } + .ui-comment-container .ui-comment-header { background-color: #2a2a2a; color: #eee; From e6aea7ce81782e281c9a3dbe1383abda3f6bc305 Mon Sep 17 00:00:00 2001 From: Rockpelt Date: Wed, 4 Nov 2020 01:56:57 +0800 Subject: [PATCH 7/7] Modify css selector for consistent code Add the parent of open-comments in the selector. --- custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom.css b/custom.css index b9633c9..8527d19 100644 --- a/custom.css +++ b/custom.css @@ -1058,7 +1058,7 @@ } /*--------------- comment ---------------*/ - .open-comments { + .ui-comment-app .open-comments { border-radius: 4px; }