aboutsummaryrefslogtreecommitdiff
path: root/p/themes/base-theme/frss.css
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-01-30 20:32:55 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-30 20:32:55 +0100
commite53ba88bb96ba1343ffc771f6170baa4342b4e39 (patch)
tree6b7f2cec9fe51b788e186f102008ff4b2e86d1b2 /p/themes/base-theme/frss.css
parent4ad66c24bfd96a5f5a71eec895e9d3085d67f4a0 (diff)
Search Improved: dropdown (#4994)
* first draft * fix * RTL CSS * add link to documentation * hide search button in desktop view * rename .no-desktop to .only-mobile * i18n * add ID * Theme: Swage * Theme Scewdriver * Theme Pafat * Theme flat * Theme: Adark * Theme: Dark * i18n: German * i18n en-us * fix i18n * Update app/i18n/fr/gen.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update app/layout/nav_menu.phtml Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * wip * mapco theme * RTL for Ansum and Mapco * fix * fix --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p/themes/base-theme/frss.css')
-rw-r--r--p/themes/base-theme/frss.css29
1 files changed, 26 insertions, 3 deletions
diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css
index a546de43a..d142308bc 100644
--- a/p/themes/base-theme/frss.css
+++ b/p/themes/base-theme/frss.css
@@ -115,6 +115,10 @@ h3 {
display: none;
}
+.only-mobile {
+ display: none !important;
+}
+
/*=== Paragraphs */
p {
margin: 1rem 0 0.5rem;
@@ -443,7 +447,7 @@ td.numeric {
flex-shrink: 0;
}
-.stick form {
+#nav_menu_read_all form {
display: inline-flex;
}
@@ -1933,7 +1937,6 @@ input:checked + .slide-container .properties {
}
.nav-login,
-.nav_menu .search,
.aside .toggle_aside,
#slider .toggle_aside,
.nav_menu .toggle_aside,
@@ -2008,6 +2011,10 @@ input:checked + .slide-container .properties {
display: none;
}
+ .only-mobile {
+ display: unset !important;
+ }
+
.header > .item {
padding: 5px;
}
@@ -2076,6 +2083,23 @@ input:checked + .slide-container .properties {
margin: 2px 0;
}
+ .dropdown .dropdown-menu .item .stick .btn {
+ margin: 0;
+ }
+
+ .dropdown .dropdown-menu .item form {
+ display: block;
+ text-align: center;
+ }
+
+ .dropdown .dropdown-menu .item .stick.search {
+ width: calc(100% - 20px);
+ }
+
+ .dropdown .dropdown-menu .item .stick.search input {
+ width: 95%;
+ }
+
.dropdown .dropdown-menu .item button.as-link,
.dropdown .dropdown-menu .item button.as-link:hover, button.as-link:active {
width: 100%;
@@ -2138,7 +2162,6 @@ input:checked + .slide-container .properties {
}
.nav_menu .toggle_aside,
- .nav_menu .search,
#panel .close img {
display: inline-block;
}