Files
Dreierpack-Manager/assets/modern/news.rcss
T

91 lines
9.6 KiB
Plaintext

/* SPDX-License-Identifier: GPL-3.0-only */
.window.news-tablet {border:16dp #101821;border-radius:74dp;box-shadow:0dp 50dp 130dp #000a;overflow:hidden;}
.news-tablet>.titlebar {height:118dp;padding-top:14dp;border:0dp;border-radius:54dp 54dp 0dp 0dp;}
.news-tablet>.content {left:58dp;right:58dp;top:150dp;bottom:126dp;}
.news-camera {position:absolute;left:50%;margin-left:-7dp;top:18dp;width:14dp;height:14dp;border:3dp #111c25;border-radius:7dp;background-color:#526b83;z-index:5;}
.news-homebar {position:absolute;left:50%;margin-left:-130dp;bottom:16dp;width:260dp;height:8dp;border-radius:6dp;background-color:var(--muted);opacity:0.5;}
.news-screen-footer {position:absolute;left:58dp;right:58dp;bottom:42dp;height:60dp;display:flex;align-items:center;justify-content:space-between;border-top:2dp var(--border);font-size:24dp;color:var(--muted);}
.news-layout {position:absolute;left:0;right:0;top:0;bottom:0;color:var(--text);}
.news-masthead {position:absolute;left:6dp;right:6dp;top:0;height:180dp;padding-bottom:34dp;display:flex;align-items:center;justify-content:space-between;gap:36dp;}
.news-brand {display:flex;align-items:center;gap:34dp;min-width:0;}
.news-wordmark {padding:8dp 24dp 15dp;border:2dp #ff8c8c25;border-radius:15dp;background-color:#c92736;color:#fff6f4;font-size:86dp;font-weight:bold;font-style:italic;letter-spacing:-5dp;line-height:1;}
.news-brand p {margin-bottom:12dp;color:var(--muted);font-size:22dp;letter-spacing:4dp;}
.news-brand h2 {font-size:48dp;line-height:1.1;font-weight:normal;letter-spacing:-1dp;}
.news-owner {display:flex;align-items:center;gap:24dp;min-width:0;}
.news-owner>div {text-align:right;}
.news-owner strong {font-size:32dp;font-weight:normal;}
.news-owner p {margin-top:14dp;font-size:26dp;color:var(--muted);}
.news-owner>.image-frame {flex-shrink:0;}
.news-navigation {position:absolute;left:0;right:0;top:180dp;height:116dp;display:flex;align-items:center;gap:22dp;padding-bottom:28dp;border-bottom:2dp var(--border);}
.news-tabs {display:flex;align-items:stretch;padding:7dp;border:2dp var(--border);border-radius:17dp;background-color:var(--panel);gap:5dp;flex-shrink:0;}
.news-tabs .news-tab {display:flex;align-items:center;justify-content:center;gap:18dp;min-width:240dp;height:65dp;padding:12dp 22dp;border:0dp;border-radius:11dp;background-color:transparent;color:var(--muted);font-size:30dp;}
.news-tabs .news-tab.active {background-color:var(--selected);color:var(--text);}
.news-tab-count {min-width:40dp;padding:3dp 9dp;border-radius:8dp;background-color:var(--panel);color:var(--text);font-size:23dp;text-align:center;}
.news-search {display:flex;align-items:center;gap:16dp;min-width:0;max-width:760dp;flex:1;margin-left:auto;padding:16dp 22dp;border:2dp var(--border);border-radius:13dp;background-color:var(--input);}
.news-search input {min-width:0;width:100%;margin:0;padding:0;border:0dp;border-radius:0dp;background-color:transparent;color:var(--text);font-size:28dp;line-height:1.4;}
.news-search-symbol {position:relative;width:27dp;height:27dp;flex-shrink:0;margin-right:9dp;border:3dp var(--muted);border-radius:14dp;}
.news-search-symbol>span {position:absolute;left:21dp;top:21dp;width:13dp;height:3dp;transform:rotate(45deg);background-color:var(--muted);}
.news-read-all {display:flex;align-items:center;justify-content:center;gap:16dp;min-height:78dp;padding:14dp 22dp;border:2dp var(--border);border-radius:13dp;background-color:var(--soft);color:var(--text);font-size:27dp;white-space:nowrap;flex-shrink:0;}
.news-read-all .image-frame {flex-shrink:0;}
.news-feed {position:absolute;left:0;right:0;top:296dp;bottom:80dp;overflow-y:auto;overflow-x:hidden;padding-right:20dp;}
.news-message {position:relative;display:flex;align-items:center;gap:32dp;min-height:218dp;padding:28dp 16dp 28dp 18dp;border-bottom:2dp var(--border);}
.news-message.is-unread {background-color:var(--soft);}
.news-unread-dot {position:absolute;left:0;top:50%;margin-top:-5dp;width:10dp;height:10dp;border-radius:5dp;background-color:var(--accent);}
.news-art {display:flex;align-items:center;justify-content:center;flex-shrink:0;border:2dp var(--border);border-radius:28dp;background-color:var(--soft);}
.news-message-copy {flex:1;min-width:0;}
.news-message-meta {display:flex;align-items:center;gap:20dp;margin-bottom:13dp;font-size:24dp;line-height:1.4;color:var(--muted);}
.news-category {padding-left:20dp;border-left:2dp var(--border);}
.news-new {padding:2dp 12dp;border:2dp var(--border);border-radius:7dp;background-color:var(--selected);color:var(--accent);font-size:20dp;}
.news-message-title {display:flex;justify-content:flex-start;align-items:center;max-width:100%;padding:0;margin:0 0 12dp;border:0dp;border-radius:3dp;background-color:transparent;color:var(--text);font-size:35dp;font-weight:normal;line-height:1.3;text-align:left;}
.news-message.is-unread .news-message-title {font-weight:bold;}
.news-message-title:hover {background-color:transparent;color:var(--accent);}
.news-excerpt {max-height:81dp;overflow:hidden;font-size:27dp;line-height:1.5;color:var(--muted);}
.news-row-actions {display:flex;align-items:center;gap:10dp;width:136dp;flex-shrink:0;}
.news-icon-button {display:flex;align-items:center;justify-content:center;width:62dp;height:68dp;padding:10dp;border:0dp;border-radius:10dp;background-color:transparent;color:var(--muted);}
.news-icon-button:hover {background-color:var(--hover);color:var(--text);}
.news-symbol.archive {position:relative;width:29dp;height:26dp;margin-top:7dp;border:2dp var(--muted);border-radius:1dp;}
.news-symbol.archive>.news-archive-lid {position:absolute;left:-5dp;right:-5dp;top:-8dp;height:8dp;border:2dp var(--muted);background-color:var(--menu-top);}
.news-symbol.archive>.news-archive-handle {position:absolute;left:8dp;top:7dp;width:9dp;border-top:2dp var(--muted);}
.news-symbol.restore>.news-archive-handle {left:11dp;top:4dp;width:0;height:13dp;border-left:2dp var(--muted);}
.news-bottom {position:absolute;left:4dp;right:4dp;bottom:0;height:80dp;display:flex;align-items:center;justify-content:space-between;gap:25dp;padding-top:12dp;}
.news-bottom>p {color:var(--muted);font-size:24dp;line-height:1.4;}
.news-undo {display:flex;align-items:center;justify-content:center;gap:16dp;padding:10dp 20dp;border:2dp var(--border);border-radius:10dp;background-color:var(--soft);color:var(--text);font-size:26dp;}
.news-undo-symbol {font-size:38dp;line-height:1;}
.news-empty {height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24dp;text-align:center;color:var(--muted);padding:70dp;}
.news-empty h3 {color:var(--text);font-size:42dp;font-weight:normal;}
.news-empty p {max-width:1300dp;font-size:29dp;line-height:1.6;}
.news-empty-art {position:relative;width:90dp;height:80dp;margin-bottom:10dp;border:3dp var(--muted);border-radius:5dp;}
.news-empty-art>span {position:absolute;left:0;right:0;top:30dp;width:100%;height:0;border-top:3dp var(--muted);}
.news-detail-layer {position:absolute;left:0;right:0;top:0;bottom:0;z-index:20;}
.news-detail-shade {position:absolute;left:0;right:0;top:0;bottom:0;background-color:#08101980;}
.news-detail-box {position:absolute;left:64dp;right:64dp;top:50%;max-height:1552dp;overflow-y:auto;transform:translate(0,-50%);padding:40dp 52dp;border:2dp var(--border);border-radius:22dp;background-color:#283542f5;box-shadow:0dp 24dp 70dp #0007;font-size:36dp;}
.news-detail-box h2 {font-size:42dp;font-weight:bold;letter-spacing:-0.4dp;text-align:center;line-height:1.2;margin-bottom:35dp;}
.news-detail {padding-top:0;}
.news-detail-meta {display:flex;align-items:center;gap:28dp;margin-bottom:38dp;}
.news-detail-meta>div>p {margin-top:16dp;color:var(--muted);font-size:28dp;}
.news-detail-body {font-size:34dp;line-height:1.7;color:var(--text);}
.news-detail small {display:block;margin-top:34dp;color:var(--muted);font-size:24dp;}
.news-detail-actions {display:flex;align-items:stretch;justify-content:space-evenly;gap:70dp;margin-top:45dp;}
.news-detail-actions button {display:flex;align-items:center;justify-content:center;flex:1;min-width:0;padding:12dp 24dp;border:2dp var(--border);border-radius:12dp;font-size:32dp;}
body.silver .news-message.is-unread {background-color:#42627d05;}
body.silver .news-detail-box {background-color:#eaf1f7fc;}
body.matchday .news-detail-box {background-color:#2c2c32fc;}
.news-message>.news-art {margin-right:6dp;}
.news-detail-meta>div>p:first-child {margin-top:0;}
/* Gold desktop journal: a quiet source-order preview, independent of tablet filters. */
.news-widget-heading {position:absolute;left:0;right:0;top:0;height:70dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;padding:22dp 30dp 12dp;border:0dp;border-radius:0dp;background-color:transparent;color:var(--muted);font-size:25dp;line-height:1.2;text-align:left;}
.news-widget-heading:hover {background-color:var(--hover);}
.news-widget-arrow {display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.news-widget-feed {position:absolute;left:0;right:0;top:70dp;bottom:8dp;padding:0 28dp 16dp;display:flex;flex-direction:column;gap:10dp;overflow:hidden;}
.news-widget-row {display:flex;align-items:flex-start;gap:14dp;padding:10dp 0 18dp;border-bottom:1dp var(--border);}
.news-widget-copy {display:flex;flex-direction:column;gap:8dp;min-width:0;flex:1;}
.news-widget-date {font-size:21dp;color:var(--muted);}
.news-widget-title {font-size:25dp;line-height:1.25;font-weight:normal;max-height:62.5dp;overflow:hidden;}
.news-widget-dot {width:10dp;height:10dp;border-radius:5dp;background-color:transparent;flex-shrink:0;margin-top:8dp;}
.news-widget-row.unread .news-widget-dot {background-color:var(--accent);}
/* The Modern Gold hides the legacy footer below the tablet content. */
.news-screen-footer {display:none;}