aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Origine
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2023-10-24 23:43:50 +0200
committerGravatar GitHub <noreply@github.com> 2023-10-24 23:43:50 +0200
commite1ad4fc7337beda58ed8c6caf71318e733a67e6a (patch)
tree3048756db34766c4b52e9ff80df93afadf3b252f /p/themes/Origine
parentbfdf7b05cab3015c111d950c2c99bf19bf32a8b0 (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/Origine')
-rw-r--r--p/themes/Origine/origine.css20
-rw-r--r--p/themes/Origine/origine.rtl.css20
2 files changed, 30 insertions, 10 deletions
diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css
index a0c7899b7..f1f3b0bf1 100644
--- a/p/themes/Origine/origine.css
+++ b/p/themes/Origine/origine.css
@@ -217,11 +217,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,
.stick select:first-child {
border-radius: 3px 0 0 3px;
@@ -232,20 +234,25 @@ 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 select + .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;
}
@@ -253,7 +260,8 @@ form th {
border-top: 1px solid var(--border-color);
}
-.stick .btn + .dropdown > .btn {
+.stick .dropdown:last-child > .btn,
+.group .dropdown:last-child > .btn {
border-left: none;
border-radius: 0 3px 3px 0;
}
@@ -1143,11 +1151,13 @@ a:hover .icon {
min-height: 0;
}
- .nav_menu .stick {
+ .nav_menu .stick,
+ .nav_menu .group {
margin: 0 10px;
}
- .nav_menu .stick .btn {
+ .nav_menu .stick .btn,
+ .nav_menu .group .btn {
margin: 5px 0;
}
diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.css
index 521f1bc08..249cf2fd7 100644
--- a/p/themes/Origine/origine.rtl.css
+++ b/p/themes/Origine/origine.rtl.css
@@ -217,11 +217,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,
.stick select:first-child {
border-radius: 0 3px 3px 0;
@@ -232,20 +234,25 @@ 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 select + .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;
}
@@ -253,7 +260,8 @@ form th {
border-top: 1px solid var(--border-color);
}
-.stick .btn + .dropdown > .btn {
+.stick .dropdown:last-child > .btn,
+.group .dropdown:last-child > .btn {
border-right: none;
border-radius: 3px 0 0 3px;
}
@@ -1143,11 +1151,13 @@ a:hover .icon {
min-height: 0;
}
- .nav_menu .stick {
+ .nav_menu .stick,
+ .nav_menu .group {
margin: 0 10px;
}
- .nav_menu .stick .btn {
+ .nav_menu .stick .btn,
+ .nav_menu .group .btn {
margin: 5px 0;
}