Spaces:
Paused
Paused
Download console/src/pages/Inbox/components/PushMessageCard.module.less from mysticaldragon/HF: direct link, hf CLI and curl.
- Browser
- Download file 2.14 kB
-
https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/pages/Inbox/components/PushMessageCard.module.less
- Command line
-
hf download hf://spaces/mysticaldragon/HF/console/src/pages/Inbox/components/PushMessageCard.module.less
-
curl -L -o PushMessageCard.module.less https://huggingface.co/spaces/mysticaldragon/HF/resolve/main/console/src/pages/Inbox/components/PushMessageCard.module.less
2.14 kB
| .messageCard { | |
| border-radius: 10px; | |
| box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04); | |
| cursor: pointer; | |
| :global(.qwenpaw-card-body) { | |
| height: 142px ; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| } | |
| .unread { | |
| border-color: rgba(255, 127, 22, 0.45); | |
| } | |
| .cardHeader { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| gap: 12px; | |
| } | |
| .channelInfo { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| min-width: 0; | |
| } | |
| .channelName { | |
| font-weight: 600; | |
| } | |
| .senderInfo { | |
| font-size: 12px; | |
| color: rgba(0, 0, 0, 0.5); | |
| } | |
| .headerRight { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .unreadDot { | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 999px; | |
| background: #ff7f16; | |
| } | |
| .cardBody { | |
| margin-top: 8px; | |
| } | |
| .messageTitle { | |
| margin-bottom: 4px; | |
| line-height: 1.35; | |
| font-size: 14px; | |
| } | |
| .messageContent { | |
| color: rgba(0, 0, 0, 0.75); | |
| margin-bottom: 0; | |
| line-height: 1.6; | |
| font-size: 13px; | |
| display: -webkit-box; | |
| -webkit-line-clamp: 2; | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .cardFooter { | |
| margin-top: 14px; | |
| display: flex; | |
| justify-content: flex-end; | |
| align-items: flex-start; | |
| } | |
| .actions { | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: flex-end; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| /* βββ Mobile ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @media (max-width: 768px) { | |
| .messageCard { | |
| :global(.qwenpaw-card-body) { | |
| height: auto ; | |
| min-height: 142px; | |
| overflow: hidden; | |
| } | |
| } | |
| } | |
| /* βββ Dark mode βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| :global(.dark-mode) { | |
| .messageCard { | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); | |
| } | |
| .senderInfo { | |
| color: rgba(255, 255, 255, 0.55); | |
| } | |
| .messageContent { | |
| color: rgba(255, 255, 255, 0.78); | |
| } | |
| } | |