Commit Graph

93 Commits

Author SHA1 Message Date
Alexandre Alapetite
1c92d55917 Use native CSS instead of SCSS (#8241)
I was tired of having to handle the SCSS themes differently.
fix https://github.com/FreshRSS/FreshRSS/issues/7611
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/8200
Convert Ansum and Mapco themes from SCSS to native CSS.
The changes are actually quite limited (mostly changing the syntax of the variables and a few other things)
Require support for:
* https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Nesting
* https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Nesting_selector
* https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix

SCSS and SAAS tools and references are also removed.

Tests welcome.
The styles are left as individual CSS files as designed originally in SCSS. I expect proper HTTP caching and HTTP/2 to be sufficient instead of aggregating back to a single CSS, but might be done in another PR if needed.

At the same time, fixed the fact that we had various whitespace styles in our JSON files, in particular in those themes, sometimes with 2 spaces, or 4 spaces, or tabs. Use tabs everywhere as defined in editorconfig.

I would like to merge this one first to complete https://github.com/FreshRSS/FreshRSS/pull/8230

* RTLCSS stringMap
https://github.com/FreshRSS/FreshRSS/pull/8241#discussion_r2553175514
https://github.com/MohammadYounes/rtlcss/issues/108#issuecomment-347033134
2025-11-23 13:15:10 +01:00
Alexandre Alapetite
b6c63d2239 Better transitions between groups of articles (#8174)
fix https://github.com/FreshRSS/FreshRSS/issues/7520
fix https://github.com/FreshRSS/FreshRSS/issues/8168
fix https://github.com/FreshRSS/FreshRSS/discussions/8172
2025-11-04 12:49:21 +01:00
maTh
b0a663f6ee Fix/improve <textarea> (#8171)
## Feed configuration slider:

### Before:
<img width="747" height="346" alt="grafik" src="https://github.com/user-attachments/assets/37056ef8-1163-48d1-a3dd-99e745418b2d" />

### After:
<img width="743" height="473" alt="grafik" src="https://github.com/user-attachments/assets/388a0ef6-633e-43ee-8ea5-5cbe7b40e6e4" />

## CustomCSS, CustomJS extensions
### Before:
<img width="762" height="504" alt="grafik" src="https://github.com/user-attachments/assets/279801fb-06a7-477a-81e7-c681087595a5" />

### After:
<img width="767" height="922" alt="grafik" src="https://github.com/user-attachments/assets/ca4cf304-03c7-4028-89d0-1c3094086176" />

And cleaning some CSS

* UserCSS+JS: w100 h50
* clean textarea width height
* feed config slider
* Update base.rtl.css
* fix class="valid-json"
* padding + vertical-align
* fix ansum mapco
2025-11-01 10:15:59 +01:00
maTh
266c1ce85e fix: Mapco/Ansum theme: read all button in mobile view (#7873)
Closes #7644

Before:
<img width="212" height="153" alt="grafik" src="https://github.com/user-attachments/assets/628034cf-421a-43c1-a762-21906d99d5d9" />


After:
<img width="249" height="186" alt="grafik" src="https://github.com/user-attachments/assets/8414aa34-4936-44e1-84e4-52dad70477b6" />


How to test the feature manually:

1. use Ansum/Mapco theme
2. have a small screen to see it in the mobile view
3. see the read all button in the normal view
2025-08-30 21:30:16 +02:00
Alexandre Alapetite
9374b7745f Themes fix CSS .as-link (#7526)
* Themes fix CSS .as-link
Add missing rules.
fix https://github.com/FreshRSS/FreshRSS/pull/7489#issuecomment-2781146577

* More fixes
2025-04-27 22:30:52 +02:00
Alexandre Alapetite
d858053a7c Use HTTP POST for logout (#7489)
* Use HTTP POST for logout
To avoid potential CSRF risks

* Fixed button font issue

* Minor whitespace
2025-04-05 23:15:37 +02:00
maTh
92c9293865 fix regression mapco/ansum theme (#7490)
fix of https://github.com/FreshRSS/FreshRSS/pull/7489#discussion_r2023760515

Regression #7314
2025-04-03 22:50:29 +02:00
maTh
7de384bf9c Mark as read button: config for the size (#7314)
* settings

* i18n: mark_read_button

* big, small, none

* fix

* Fixes

* make fix-all

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2025-03-13 23:10:48 +01:00
maTh
f72f5e9523 Improve notification banner (#7268)
* a -> button

* i18n: Close

* a.close -> .close

* themes

* Apply suggestions from code review

Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Update app/i18n/fr/gen.php

---------

Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2025-01-31 13:58:57 +01:00
maTh
1d10b3697d new: reader view: footer has manage icons (#7133)
* add footer

* rename content thin medium large class

* rework css

* footer improved
2024-12-26 19:05:18 +01:00
maTh
0735c9f70c Fixed: article footer dropdowns (my labels, article tags, sharing) (#6959)
* fix dropdown triangle in mobile view

* Nord theme

* mobile view: width improved. Each theme can decide about border-radius

* Ansum/Mapco theme

* fix pink dark theme: label icon in pink now too

* my labels: line breaks improved

* article tags: headline added
2024-11-01 16:32:04 +01:00
maTh
496d3a1a48 Improved: Subscription management page (#6816)
* i18n: Add an RSS feed -> Add a feed

* manage mouse title for category

* no white space between manage icon and favicon and title

* add feed link: use icon instead of plus character

* better CSS class for empty category and its alert text box

* show muted icon and warning icon

* the CSS magic incl. the themes improvements

* fix

* mute icon is more important than warning

* feed mouse hover title

* fix feed navigation sidebar: show error

* fix btn with icon and text

* fix aside feed: muted icon over warning icon
2024-09-29 10:28:28 +02:00
maTh
e8f066b4c2 fixed: Mapco/Ansum theme (#6740)
* fixed

* fix RTL
2024-08-27 23:56:17 +02:00
maTh
4f60a42e64 Improved: Nav buttons as buttons (#6485)
* improved HTML

* CSS

* i18n: new title text

* Update swage.scss

* Update app/i18n/fr/gen.php

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update swage.scss

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-06-05 20:45:30 +02:00
maTh
3b953d759b Improved: side navigation headlines (#6445)
* frss.css

* delete border-bottom from dark, origine, pafat

* margin/padding bottom deleted

* better CSS

* Nord theme: similar padding for feed navigation bar (#6429)
2024-05-11 23:42:34 +02:00
maTh
d656896a95 Fix date issue in mobile view (#6385)
* font-size: 0.7rem; in frss.css

* fix date issue in mobile view

* better CSS for date in header and footer

* RTL

* padding in mobile view
2024-04-26 13:11:38 +02:00
maTh
aac3b21a8b Fix: overflow expanding title in entry header (#6373)
* change HTML structure

* CSS
2024-04-25 08:45:59 +02:00
maTh
bf68205ae3 Improved: Reading view: author (#6289)
* move the margin from themes to frss.css + delete font-size

* same source code as normal view for author information
2024-04-15 23:14:34 +02:00
maTh
6bd6494ad4 fixed HTML: <fieldset> + <legend> (#6202)
* legend tags cleaned

* formgroup -> fieldset tag

* add bookmarklet class

* Update logs.phtml

* Update logs.phtml

* fixed log table text alignment
2024-03-17 22:49:12 +01:00
maTh
6a43d06566 fix:remove duplicated lines that are given in frss.css (#5999) 2023-12-29 22:58:28 +01:00
maTh
e1ad4fc733 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 <>
2023-10-24 23:43:50 +02:00
maTh
bd97c5601d fix: new article banner in Ansum/mapco theme (#5453)
* fix

* rtl
2023-06-10 08:02:56 +02:00
maTh
360400b723 CSS: refactor of a.btn (#5401) 2023-05-15 00:06:34 +02:00
maTh
41fa4e746d Improved: CSS classes for theme preview slider changed (#5303)
* CSS classes changed

* fix
2023-04-16 15:30:33 +02:00
maTh
789c44b502 Improved: global view: mobile view (#5297)
* improved overlay + visible close button

* duplicate of line 2109

* delete #panel .close from frss.css

* set background colors in each theme

* fix Ansum and Mapco theme

* fix Nord theme

* frss.css

* only 1 scroll bar

* fix the closer background in some themes

* fix scrolling

* fix fix
2023-04-15 21:13:56 +02:00
maTh
e679d3df0e Improved: show Terms of Service in config menu (#5215)
* Use constants for path to TOS

* improve comments

* TOS title moved to template

* TOS available via config menu

* CSS: improve handling of content of TOS/about

* give info about set/unset TOS in system config

* fix target

* i18n FR

* i18n DE
2023-03-21 18:47:07 +01:00
maTh
e53ba88bb9 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>
2023-01-30 20:32:55 +01:00
maTh
1c4b328ae1 Improved: expanding inputs (#5040)
* fix

* wider input element
2023-01-25 22:23:51 +01:00
maTh
33468def4a Improved: navigation menu structure (#4937) 2023-01-17 15:52:29 +01:00
maTh
7d12ecff01 fix: CSS "content:" (#4985)
* fix

* frss.css

* improve bubble for unread articles in global  view
2023-01-09 10:08:49 +01:00
maTh
5feefe416f fix: Ansum/Mapco theme: updating notification (#4995) 2023-01-09 08:41:01 +01:00
maTh
af8480651d compile Mapco + Ansum again (#4983) 2023-01-03 23:04:45 +01:00
maTh
3c53125b01 fix: Ansum and Mapco: icons_as_emojis (better fix) (#4967)
* fix

* better fix

* fix
2022-12-29 16:05:09 +01:00
maTh
9cb0bbd0c1 fix: Ansum and Mapco: icons_as_emojis (#4966) 2022-12-29 00:02:52 +01:00
maTh
6131aa4479 fix: Misalignment of "There are no articles to show" box (#4959) 2022-12-28 23:06:03 +01:00
maTh
e072411baf Improved: Header (#4927)
* all themes

* fix
2022-12-12 20:50:32 +01:00
maTh
b71806268c delete .nav-list .empty/.error (#4899) 2022-11-27 11:25:38 +01:00
maTh
ef5483490c Improved: config dropdown structure (#4891)
* phtml and frss.css

* theme Origine

* theme adark

* theme Ansum

* theme Mapco

* theme BlueLagoon

* theme dark

* theme flat

* theme nord

* theme Screwdriver

* theme swage

* fix

* fix

* RTL

* fix nord theme

* fix SourceMap lines
2022-11-23 22:40:23 +01:00
maTh
c9f5012f10 Fix: nord theme mobile (#4892)
* fix

* fixed: background color of theme slider properties

* fixed: padding in mobile view + merge mobile view code

* fix favicon position in mobile view
2022-11-23 22:35:20 +01:00
maTh
278e07f7bd fix: over flowing table that destroy the layout (#4872) 2022-11-20 14:46:39 +01:00
maTh
47883d3086 fix: Article hover that changes the background (#4874) 2022-11-20 14:35:02 +01:00
Axel Leroy
a0e3fac47e Use the correct font file for Lato in bold (#4850)
Co-authored-by: Axel Leroy <axeleroy@noreply.github.com>
Co-authored-by: maTh <math-home@web.de>
2022-11-15 18:52:20 +01:00
maTh
07c94061a9 Improved: Centralized CSS for notifications (#4800)
* wip. all themes

* fixes
2022-11-14 20:22:01 +01:00
maTh
f47e13ac41 fixed: box layout for global view (#4791) 2022-10-30 11:06:17 +01:00
maTh
024495fb1f fix: unread counter (#4788)
* fix

* fix

* fix
2022-10-29 22:24:03 +02:00
maTh
270828aa64 fixes jumping lines (#4782)
* fixes

* fix template

* fix frss.css

* fix Nord theme
2022-10-29 12:23:05 +02:00
Thomas Guesnon
fc93776071 Mapco text display improvements (#4711)
* Main font color from blue to regular dark

* newline added at the end of rtl css file

* Text display improvements (code, quotes) + minor UI fixes

* replaced 2 spaces with 1 tab bcz phpcs is whining about that

* make fix-all

* Mapco/base-theme - CSS cleaning

* make fix-all

* PR #4711 cleaning

* Exclude generated CSS from lint check

* Revert exclusion of generated CSS files

Co-authored-by: patjennings <patjennings@MacBook-Pro-de-patjennings.local>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: patjennings <patjennings@macbook-pro-de-patjennings.home>
Co-authored-by: maTh <math-home@web.de>
2022-10-27 22:26:48 +02:00
maTh
36e7b694b3 fix: jumping lines (#4699)
* fix

* fix Origine compact

* fix Ansum

* fix Mapco

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-10-16 12:46:53 +02:00
Thomas Guesnon
0ff5d0b8cb Main font color from blue to regular dark (#4709)
* Main font color from blue to regular dark

* newline added at the end of rtl css file

Co-authored-by: patjennings <patjennings@MacBook-Pro-de-patjennings.local>
2022-10-11 00:45:59 +02:00
maTh
267b55154b All (S)CSS files (#4690) 2022-10-04 23:07:02 +02:00