diff options
| author | 2023-03-04 14:51:07 +0100 | |
|---|---|---|
| committer | 2023-03-04 14:51:07 +0100 | |
| commit | d3966befafab3fe65e753d0ab2166a8bf5fb0d75 (patch) | |
| tree | 1f77b9874bfe9c557ca4370d34a0c6bbe3257e9f /p | |
| parent | 27c7367534518f1adfd9b12551a2c7a45459cab3 (diff) | |
feat: create config to display website icon only / name only / icon and name / none on feeds (#4969)
* feat: create config to display website icon only / name only / icon and name / none on feeds
* fix title hovering
* reverted: column in .phtml
* Update app/i18n/fr/conf.php
---------
Co-authored-by: mathContao <math-home@web.de>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'p')
| -rw-r--r-- | p/themes/base-theme/frss.css | 20 | ||||
| -rw-r--r-- | p/themes/base-theme/frss.rtl.css | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 43c6b7d4d..bafc26a89 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -1199,6 +1199,26 @@ input[type="search"] { width: 200px; } +.flux:not(.current):hover .websitenone .item.title { + max-width: calc(100% - 3 * (2 * var(--frss-padding-flux-items) + 16px)); +} + +.flux .websiteicon .item.website { + width: calc(2 * var(--frss-padding-flux-items) + 16px); +} + +.flux:not(.current):hover .websiteicon .item.title { + max-width: calc(100% - 4 * (2 * var(--frss-padding-flux-items) + 16px)); +} + +.flux .websitename .item.website { + width: 150px; +} + +.flux:not(.current):hover .websitename .item.title { + max-width: calc(100% - 3 * (2 * var(--frss-padding-flux-items) + 16px) - 150px); +} + .website a:hover .favicon, a.website:hover .favicon { filter: grayscale(100%); diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 62afd6ff0..40b6c4119 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -1199,6 +1199,26 @@ input[type="search"] { width: 200px; } +.flux:not(.current):hover .websitenone .item.title { + max-width: calc(100% - 3 * (2 * var(--frss-padding-flux-items) + 16px)); +} + +.flux .websiteicon .item.website { + width: calc(2 * var(--frss-padding-flux-items) + 16px); +} + +.flux:not(.current):hover .websiteicon .item.title { + max-width: calc(100% - 4 * (2 * var(--frss-padding-flux-items) + 16px)); +} + +.flux .websitename .item.website { + width: 150px; +} + +.flux:not(.current):hover .websitename .item.title { + max-width: calc(100% - 3 * (2 * var(--frss-padding-flux-items) + 16px) - 150px); +} + .website a:hover .favicon, a.website:hover .favicon { filter: grayscale(100%); |
