From d1859dbd9e5c162d641a0987ea216867a997bffb Mon Sep 17 00:00:00 2001 From: Sophist Date: Tue, 3 Oct 2017 14:47:24 +0100 Subject: [PATCH 1/3] [ticket/15388] List boxes internal corners rounded Improve the visual style commonality by making the internal corners of the forum and topic list boxes rounded to match the rounded outer corners. PHPBB3-15388 --- phpBB/styles/prosilver/theme/content.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index d192f1d1e6..34cafb8758 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -7,6 +7,10 @@ /* stylelint-disable declaration-property-unit-whitelist */ /* stylelint-disable declaration-property-unit-blacklist */ +ul.forums, ul.topics { + border-radius: 4px; +} + ul.topiclist { display: block; margin: 0; @@ -105,6 +109,26 @@ li.row { border-bottom: 1px solid transparent; } +li.row:first-child { + border-top: 0; + padding-top: 1px; +} + +li.row:first-child, li.row:first-child:hover { + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} + +li.row:last-child { + border-bottom: 0; + margin-bottom: 1px; +} + +li.row:last-child, li.row:last-child:hover { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; +} + li.row strong { font-weight: normal; } From 885cb1502c70999d2a09dec8a94f13298db677cc Mon Sep 17 00:00:00 2001 From: Sophist Date: Tue, 3 Oct 2017 15:42:21 +0100 Subject: [PATCH 2/3] [ticket/15388] List boxes internal corners rounded fix 1 Fix CSS formatting errors identified by Travis. PHPBB3-15388 --- phpBB/styles/prosilver/theme/content.css | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 34cafb8758..1ada550686 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -7,7 +7,8 @@ /* stylelint-disable declaration-property-unit-whitelist */ /* stylelint-disable declaration-property-unit-blacklist */ -ul.forums, ul.topics { +ul.forums, +ul.topics { border-radius: 4px; } @@ -110,23 +111,17 @@ li.row { } li.row:first-child { - border-top: 0; - padding-top: 1px; -} - -li.row:first-child, li.row:first-child:hover { + border-top: 0; + padding-top: 1px; border-top-left-radius: 4px; border-top-right-radius: 4px; } li.row:last-child { - border-bottom: 0; - margin-bottom: 1px; -} - -li.row:last-child, li.row:last-child:hover { - border-bottom-left-radius: 4px; + border-bottom: 0; + margin-bottom: 1px; border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; } li.row strong { From bed0ee2e7bb1a64cb098f0d1796998a1a572a6f2 Mon Sep 17 00:00:00 2001 From: Sophist Date: Tue, 3 Oct 2017 15:55:59 +0100 Subject: [PATCH 3/3] [ticket/15388] List boxes internal corners rounded fix 2 Further Travis fixes. PHPBB3-15388 --- phpBB/styles/prosilver/theme/content.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 1ada550686..ca5910aa6b 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -112,16 +112,16 @@ li.row { li.row:first-child { border-top: 0; - padding-top: 1px; border-top-left-radius: 4px; border-top-right-radius: 4px; + padding-top: 1px; } li.row:last-child { border-bottom: 0; - margin-bottom: 1px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; + margin-bottom: 1px; } li.row strong {