summaryrefslogtreecommitdiffstats
path: root/browser/components/pocket/content/panels/js/components/ArticleList/ArticleList.scss
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /browser/components/pocket/content/panels/js/components/ArticleList/ArticleList.scss
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/pocket/content/panels/js/components/ArticleList/ArticleList.scss')
-rw-r--r--browser/components/pocket/content/panels/js/components/ArticleList/ArticleList.scss65
1 files changed, 65 insertions, 0 deletions
diff --git a/browser/components/pocket/content/panels/js/components/ArticleList/ArticleList.scss b/browser/components/pocket/content/panels/js/components/ArticleList/ArticleList.scss
new file mode 100644
index 0000000000..261367433d
--- /dev/null
+++ b/browser/components/pocket/content/panels/js/components/ArticleList/ArticleList.scss
@@ -0,0 +1,65 @@
+.stp_article_list {
+ padding: 0;
+ list-style: none;
+
+ .stp_article_list_saved_article,
+ .stp_article_list_link {
+ display: flex;
+ border-radius: 4px;
+ padding: 8px;
+ margin: 0 -8px;
+ }
+
+ .stp_article_list_link {
+ &:hover, &:focus {
+ text-decoration: none;
+ background-color: #ECECEE;
+
+ @include theme_dark {
+ background-color: #2B2A33;
+ }
+ }
+ }
+
+ .stp_article_list_thumb,
+ .stp_article_list_thumb_placeholder {
+ width: 40px;
+ height: 40px;
+ border-radius: 4px;
+ margin-inline-end: 8px;
+ background-color: #ECECEE;
+ flex-shrink: 0;
+ }
+
+ .stp_article_list_header {
+ font-style: normal;
+ font-weight: 600;
+ font-size: 0.95rem;
+ line-height: 1.18rem;
+ color: #15141A;
+ margin: 0 0 4px;
+
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ display: -webkit-box;
+ overflow: hidden;
+ word-break: break-word;
+
+ @include theme_dark {
+ color: #FBFBFE;
+ }
+ }
+
+ .stp_article_list_publisher {
+ font-style: normal;
+ font-weight: normal;
+ font-size: 0.95rem;
+ line-height: 1.18rem;
+ color: #52525E;
+ margin: 4px 0 0;
+
+ @include theme_dark {
+ color: #CFCFD8;
+ }
+ }
+}