diff options
| author | 2023-10-24 23:43:50 +0200 | |
|---|---|---|
| committer | 2023-10-24 23:43:50 +0200 | |
| commit | e1ad4fc7337beda58ed8c6caf71318e733a67e6a (patch) | |
| tree | 3048756db34766c4b52e9ff80df93afadf3b252f /p/themes/Pafat | |
| parent | bfdf7b05cab3015c111d950c2c99bf19bf32a8b0 (diff) | |
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 <>
Diffstat (limited to 'p/themes/Pafat')
| -rw-r--r-- | p/themes/Pafat/pafat.css | 21 | ||||
| -rw-r--r-- | p/themes/Pafat/pafat.rtl.css | 21 |
2 files changed, 32 insertions, 10 deletions
diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 743f5d7e3..cb34ec861 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -185,11 +185,13 @@ 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: 3px 0 0 3px; } @@ -199,24 +201,31 @@ form th { } .stick .btn:last-child, +.group .btn:last-child, .stick input:last-child { border-radius: 0 3px 3px 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: none; } -.stick .btn + .dropdown > .btn { +.stick .btn + .dropdown > .btn, +.group .btn + .dropdown > .btn, +.group .dropdown + .dropdown > .btn { border-left: none; border-radius: 0 3px 3px 0; } @@ -1068,12 +1077,14 @@ a.signin { margin: 5px 10px; } - .nav_menu .stick { + .nav_menu .stick, + .nav_menu .group { margin: 0 10px; min-width: 0; } - .nav_menu .stick .btn { + .nav_menu .stick .btn, + .nav_menu .group .btn { margin: 5px 0; } diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.css index 1d95f3abd..12f1409f4 100644 --- a/p/themes/Pafat/pafat.rtl.css +++ b/p/themes/Pafat/pafat.rtl.css @@ -185,11 +185,13 @@ 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 3px 3px 0; } @@ -199,24 +201,31 @@ form th { } .stick .btn:last-child, +.group .btn:last-child, .stick input:last-child { border-radius: 3px 0 0 3px; } .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: none; } -.stick .btn + .dropdown > .btn { +.stick .btn + .dropdown > .btn, +.group .btn + .dropdown > .btn, +.group .dropdown + .dropdown > .btn { border-right: none; border-radius: 3px 0 0 3px; } @@ -1068,12 +1077,14 @@ a.signin { margin: 5px 10px; } - .nav_menu .stick { + .nav_menu .stick, + .nav_menu .group { margin: 0 10px; min-width: 0; } - .nav_menu .stick .btn { + .nav_menu .stick .btn, + .nav_menu .group .btn { margin: 5px 0; } |
