Download web/src/notify/notify.css from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 6.89 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/notify/notify.css
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/web/src/notify/notify.css
-
curl -L -o notify.css https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/notify/notify.css
6.89 kB
| /* Notifications: the bell in the top bar and its list, and the Settings tab (NotificationBell, NotificationsSettings). | |
| Tokens only. */ | |
| .pw-bell { position: relative; } | |
| .pw-bell-count { | |
| position: absolute; top: -3px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; | |
| border-radius: var(--r-pill); background: var(--red-dot); color: var(--bg-elev); font-size: var(--fs-2xs); line-height: 1; font-weight: var(--fw-semibold); | |
| box-shadow: 0 0 0 2px var(--bg-elev); | |
| } | |
| .pw-notify { padding: 0; overflow: hidden; } | |
| .pw-notify-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--sep); } | |
| .pw-notify-h { margin: 0; font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: var(--fw-semibold); color: var(--label); } | |
| .pw-notify-list { list-style: none; margin: 0; padding: var(--sp-1); max-height: min(420px, 60vh); overflow-y: auto; } | |
| .pw-notify-item a { display: flex; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); color: var(--label); text-decoration: none; } | |
| .pw-notify-item a:hover { background: var(--fill); } | |
| .pw-notify-item[data-unread] a { background: var(--fill); } | |
| .pw-notify-item[data-unread] a:hover { background: var(--fill-2); } | |
| .pw-notify-face { flex: none; width: 28px; height: 28px; margin-top: 2px; } | |
| .pw-notify-mark { display: block; border-radius: var(--r-sm); } | |
| .pw-notify-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; } | |
| .pw-notify-title { display: flex; align-items: center; gap: var(--sp-1); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: var(--fw-medium); } | |
| .pw-notify-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red-dot); } | |
| .pw-notify-body { | |
| font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--label-2); | |
| display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; | |
| } | |
| .pw-notify-meta { font-size: var(--fs-2xs); line-height: var(--lh-2xs); color: var(--label-3); } | |
| .pw-notify-empty { margin: 0; padding: var(--sp-6) var(--sp-4); text-align: center; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label-2); } | |
| .pw-notify-foot { padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--sep); background: var(--bg-elev-2); } | |
| .pw-notify-note { margin: var(--sp-1) 0 0; font-size: var(--fs-xs); line-height: var(--lh-xs); color: var(--label-2); } | |
| /* Settings > Notifications */ | |
| .pw-notify-settings { display: flex; flex-direction: column; gap: var(--sp-4); max-width: var(--w-reading); } | |
| .pw-notify-settings .pw-card { padding: var(--sp-4) var(--sp-5); } | |
| .pw-notify-settings h2 { margin: 0 0 var(--sp-2); font-size: var(--fs-base); line-height: var(--lh-base); font-weight: var(--fw-semibold); } | |
| .pw-notify-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--sp-2) var(--sp-4); margin: 0; font-size: var(--fs-sm); line-height: var(--lh-sm); } | |
| .pw-notify-dl dt { color: var(--label-2); } | |
| .pw-notify-dl dd { margin: 0; color: var(--label); overflow-wrap: anywhere; } | |
| .pw-notify-steps { margin: 0; padding-left: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label); } | |
| .pw-notify-steps code { font-family: var(--mono); font-size: var(--fs-xs); padding: 1px 4px; border-radius: var(--r-sm); background: var(--fill); } | |
| @media (max-width: 640px) { .pw-notify-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .pw-notify-dl dd { margin-bottom: var(--sp-2); } } | |
| /* Telegram card: the guided setup (token, chat, test) */ | |
| .pw-tg h2 { display: flex; align-items: center; gap: var(--sp-2); } | |
| .pw-tg-steps { margin: 0; padding-left: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); font-size: var(--fs-sm); line-height: var(--lh-sm); } | |
| .pw-tg-steps code { font-family: var(--mono); font-size: var(--fs-xs); padding: 1px 4px; border-radius: var(--r-sm); background: var(--fill); } | |
| .pw-tg-ok { display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--green); } | |
| .pw-tg-ok b { color: var(--label); } | |
| .pw-tg-find, .pw-tg-connected { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); } | |
| .pw-tg-chats { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: var(--sp-1); } | |
| .pw-tg-chats li { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3); border: 1px solid var(--sep); border-radius: var(--r-md); } | |
| .pw-tg-type { font-size: var(--fs-xs); color: var(--label-2); } | |
| .pw-tg-last { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label-2); } | |
| /* ------------------------------------------------------------------ Patchwise in Telegram (Account page) and the bot status line */ | |
| .pw-tg-bot { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--label-2); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); } | |
| .pw-tg-bot b { color: var(--label); } | |
| .pw-bot { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4); } | |
| .pw-bot .trio-card-h { display: flex; align-items: center; gap: var(--sp-2); margin: 0; } | |
| .pw-bot-linked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); } | |
| .pw-bot-code { display: flex; flex-direction: column; gap: var(--sp-3); } | |
| .pw-bot-steps { margin: 0; padding-left: var(--sp-5); font-size: var(--fs-base); line-height: var(--lh-base); color: var(--label); } | |
| .pw-bot-steps code { font-family: var(--mono); } | |
| .pw-bot-codebox { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); | |
| border: 1px solid var(--sep-strong); border-radius: var(--r-md); background: var(--bg-elev-2); align-self: flex-start; max-width: 100%; } | |
| .pw-bot-codeval { font-family: var(--mono); font-size: var(--fs-2xl); line-height: var(--lh-2xl); font-weight: var(--fw-semibold); | |
| letter-spacing: 0.12em; color: var(--label); overflow-wrap: anywhere; } | |
| .pw-bot-help { border-top: 1px solid var(--sep); padding-top: var(--sp-3); } | |
| .pw-bot-help-h { margin: 0 0 var(--sp-2); font-size: var(--fs-sm); line-height: var(--lh-sm); font-weight: var(--fw-semibold); color: var(--label); } | |
| .pw-bot-cmds { margin: 0; display: grid; gap: var(--sp-1); } | |
| .pw-bot-cmds > div { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); font-size: var(--fs-sm); line-height: var(--lh-sm); } | |
| .pw-bot-cmds dt { margin: 0; min-width: 14ch; } | |
| .pw-bot-cmds dt code { font-family: var(--mono); color: var(--label); } | |
| .pw-bot-cmds dd { margin: 0; color: var(--label-2); } | |