From e1ad4fc7337beda58ed8c6caf71318e733a67e6a Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Tue, 24 Oct 2023 23:43:50 +0200 Subject: Navigation buttons: Group icons (.group instead of .stick) (#5737) * replace stick with group + update the themes * Update nav_menu.phtml --------- Co-authored-by: math-gh <> --- p/themes/Flat/flat.css | 14 +++++++++++--- p/themes/Flat/flat.rtl.css | 14 +++++++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) (limited to 'p/themes/Flat') diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 409174a62..396bbb9e4 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -136,30 +136,38 @@ form th { /*=== Buttons */ .stick input, -.stick .btn { +.stick .btn, +.group .btn { border-radius: 0; } .stick .btn:first-child, +.group .btn:first-child, .stick input:first-child { border-radius: 5px 0 0 5px; } .stick .btn:last-child, +.group .btn:last-child, .stick input:last-child, -.stick .dropdown:last-child > .btn { +.stick .dropdown:last-child > .btn, +.group .dropdown:last-child > .btn { border-radius: 0 5px 5px 0; } .stick .btn + .btn, +.group .btn + .btn, .stick .btn + input, .stick .btn + .dropdown > .btn, +.group .btn + .dropdown > .btn, .stick input + .btn, .stick input + input, .stick input + .dropdown > .btn, .stick .dropdown + .btn, +.group .dropdown + .btn, .stick .dropdown + input, -.stick .dropdown + .dropdown > .btn { +.stick .dropdown + .dropdown > .btn, +.group .dropdown + .dropdown > .btn { border-left-width: 1px; border-left-style: solid; } diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css index 656aa2018..c18369e6e 100644 --- a/p/themes/Flat/flat.rtl.css +++ b/p/themes/Flat/flat.rtl.css @@ -136,30 +136,38 @@ form th { /*=== Buttons */ .stick input, -.stick .btn { +.stick .btn, +.group .btn { border-radius: 0; } .stick .btn:first-child, +.group .btn:first-child, .stick input:first-child { border-radius: 0 5px 5px 0; } .stick .btn:last-child, +.group .btn:last-child, .stick input:last-child, -.stick .dropdown:last-child > .btn { +.stick .dropdown:last-child > .btn, +.group .dropdown:last-child > .btn { border-radius: 5px 0 0 5px; } .stick .btn + .btn, +.group .btn + .btn, .stick .btn + input, .stick .btn + .dropdown > .btn, +.group .btn + .dropdown > .btn, .stick input + .btn, .stick input + input, .stick input + .dropdown > .btn, .stick .dropdown + .btn, +.group .dropdown + .btn, .stick .dropdown + input, -.stick .dropdown + .dropdown > .btn { +.stick .dropdown + .dropdown > .btn, +.group .dropdown + .dropdown > .btn { border-right-width: 1px; border-right-style: solid; } -- cgit v1.2.3