summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src/less/style.less
AgeCommit message (Collapse)Author
2025-02-28[web-client] simple theme: move sources to client/simple/srcMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-16[fix] broken mobile view (from #4154)Markus Heiser
Related: - https://github.com/searxng/searxng/pull/4154#issuecomment-2591881963 Closes: https://github.com/searxng/searxng/issues/4187 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2025-01-14[chore] stylelint: fix reported errorsBnyro
2024-12-01[feat] search: add url formatting preferenceBnyro
2024-11-24[chore] *: fix typos detected by typos-cliBnyro
2024-10-16[fix] simple theme: unset width for images on mobile layoutmrpaulblack
* fix fallout from 2fbedc4316b4e8a8bce8bb9506f59aa61e1a2666 -> similar to 14fb187548a58144c5cd13c9292fcc52f5a025c5 * change: set image height to 10rem -> this is in my opinion more sensible size for mobile
2024-10-15[fix] stretching pics in "pic search"Markus Heiser
Issue is described in: - https://github.com/searxng/searxng/issues/3915 The issue was caused bei merge of PR: - https://github.com/searxng/searxng/pull/3895 Solution: - Unset `width` for objects of class `.result-images`. Tested by `make run` and query a list of results, containing `.result` and `.result-images` objects: !images !go bäder :de Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Closes: https://github.com/searxng/searxng/issues/3915
2024-10-12[fix] simple theme: fix deformed result itemMarkus Heiser
Setting ``box-sizing: border-box;`` [1] and ``width`` to fix deformed results reported in [2]. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing [2] https://github.com/searxng/searxng/issues/3892 Closes: #3892 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05[mod] favicons: simplify RTL in template & CSSMarkus Heiser
Comes from a sughgestion in: - https://github.com/searxng/searxng/pull/3727#issuecomment-2388998803 Suggested-by: Bnyro <bnyro@tutanota.com> Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-10-05[feat] add favicons to result urlsBrock Vojkovic
2024-10-03[refactor] simple theme: *.less - replace hardcoded colorsBnyro
Closes: https://github.com/searxng/searxng/issues/3842
2024-09-03[feat] results: show response timesGenericMale
2024-07-27[feat] videos template: support for view countBnyro
2024-07-13[fix] simple theme: in URLs don't truncate descenders (typograhy, FFox)Markus Heiser
HINT: this is a workaround to fix a rendering bug in FFox-Desktop [3] Descenders [1] in the URL are truncated, caused by the `overflow: hidden;` because part of link overflow the flex box [2]. [1] https://en.wikipedia.org/wiki/Descender [2] https://github.com/searxng/searxng/issues/3550 [3] https://github.com/searxng/searxng/pull/3592#issuecomment-2186313121 Closes: https://github.com/searxng/searxng/issues/3550 Suggested-by: @coxde Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-05-16[mod] simple theme: drop img_src from default resultsMarkus Heiser
The use of img_src AND thumbnail in the default results makes no sense (only a thumbnail is needed). In the current state this is rather confusing, because img_src is displayed like a thumbnail (small) and thumbnail is displayed like an image (large). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25[feat] images: show resolution inside the image and fix image details overflowBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-02-25[feat] templates: add package result templateBnyro
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2024-01-31[fix] wrong engines paddingallixx
2024-01-31[fix] equalize cached/proxied links left marginallixx
2024-01-31[fix] justify engines/cached/proxied verticallyallixx
2024-01-29[feat] preferences: button to copy input to restore preferences hashBnyro
2023-11-23[fix] Remove anchor tag outline in image resultsobfuscated-loop
2023-11-10add a "copy" button to the "search-url" sidebarJinyuan Huang
2023-09-19Improve the layout of the search page on mobileormai
2023-09-14[mod] UI smooth scroll added / CSS scroll-behaviorJinyuan Huang
This PR improves the UX by making auto-scroll more smoother. The css is changed so all the auto-scroll will be smoother but User-scroll will not be influenced. The scroll-behavior CSS property sets the behavior for a scrolling box when scrolling is triggered by the navigation or CSSOM scrolling APIs.[1] [1] https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
2023-08-18[feat] results: show source of suggested answerBnyro
2023-07-19fix "#backToTop" button always being clickableKiru
`pointer-events` never gets set to "none" when the button is hidden, allowing you to click the button. And your mouse further changes it's cursor to the pointer style.
2023-05-28[mod] simple theme: build design for details (collapsables)mrpaulblack
* set border top and bottom on sidebar collasables * inrease peading on summary so its easier to click on mobile * remove margins and add flex wrapper to normalize elements in sidebar
2023-05-28[mod] simple theme: collaps/expand elements in the sidebarMarkus Heiser
Make elements in the sidebar collapse able. Except infoboxes all elements in the sidebar are collapsed by default. By folding out the sidebar elements, the UI looks less cluttered. Especially on small devices like smartphones, where the sidebar is above the results list, the UX should be improved [1]. [1] https://github.com/searxng/searxng/issues/2140 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-01-23[fix] use input elements for pagination requestsmrpaulblack
* use html input elements instead of buttons for the pagination forms at the bottom of the result page * move the less section that hides the pagination number widget on mobile to the mobile section * clean up the less code for styling the numbers of the pagination widget * fix: add the margin for box results (like in news category) to the bottom of the result to have a margin between pagination widget and article result
2023-01-23Feature: Pagination Widget with list of numbers.llmII
Adds to the navigation widget, preserving forward/backward nav, and inserting a list of clickable page numbers between them. Phone sized devices continue without this widget as deterministic display under small screen sizes has not been solved. The widget is agnostic to the actual amount of pages there are that one can navigate to and as such shows all plausible, albeit not necessarilly valid, possibilities. This widget does not interfere with infinite scroll in any fashion.
2023-01-08Fix #2083llmII
This changes the Suggestions to be a single column, not a wrapping row, changing the input to be incapable of overflowing into visually adjacent elements.
2023-01-07Add flex-wrap to the list of enginesahmad-alkadri
2022-09-23Add paper.html result templateAlexandre FLAMENT
2022-07-04[fix] style.less: move <dl> from infobox.attributes to .attributes classMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-25Theme: add Help and Donate links in all pagesAlexandre Flament
Close https://github.com/searxng/searxng/issues/931
2022-06-18Theme: add a preference to center the results (Oscar) (2nd edition)Alexandre Flament
related to * #1169 * #1281 * #1286
2022-06-05Revert "Theme: add a preference to center the results (Oscar)"Alexandre Flament
This reverts commit 4237f5fd50c2dc0e91513056d885f25038ef6787.
2022-06-05Theme: add a preference to center the results (Oscar)Alexandre Flament
related to #1169
2022-05-11[simple theme] add products.html templatemrpaulblack
2022-05-10[mod] simple theme: colors, autocomplete, borderMonty
* change colors, autocomplete, delete border in some places
2022-05-07theme: remove __common__Alexandre Flament
2022-04-19[fix] add missing result.length and result.author to simple themeMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/1027 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-04-06[simple theme] add netloc to image result articlesmrpaulblack
2022-03-28Fix answer box bugMonty
Fix bug of too long words.
2022-03-12[simple] add CSS for /info pagesMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-26[simple theme] replace Image_layout.js with flexbox CS impl.mrpaulblack
* drop image_layout.js from simple theme * move image_layout.js to oscar theme and delete common js dir (since its empty now) * align top position of image detail modal with bottom position of search header * use flexbox to display images; row height can be set via @results-image-row-height in defenitions.less * display span title underneath each image with a max width of 12rem * increase margin and padding around image article on desktop and tablet * make article height smaller on phone layout (height of 6rem) to display more content on current view * remove content from result, if the title and content matches * use a group that cotains the flex image article, if images are mixed with other categories * fix pylint issues in webapp.py * use the default.html result template in unit tests (thanks @return42)
2022-02-20[mod] infinite_scroll as preferenceAlexandre Flament
* oscar theme: code from searx/plugins/infinite_scroll.py * simple theme: new implementation Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de>
2022-02-19[mod] simple theme: define a '.show-content-button'Markus Heiser
With LESS function '.show-content-button' all the *Show-Media* links becomes bottons. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[mod] simple theme: set height of embedded content (iframe)Markus Heiser
This commit sets appropriate height of the (embedded) player from: - soundcloud - mixcloud - deezer Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>