Skip to content

Commit c0b431d

Browse files
Style Design Notes button with red glow animation
Replaces the secondary PF button style with a solid Red Hat red (#c9190b) background and a pulsing box-shadow glow animation to make the button more visually prominent in the fullscreen prototype view. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3974883 commit c0b431d

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

hub/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,6 +1364,7 @@ function HpuxPrototypesEmbedFullscreenPage() {
13641364
icon={<OutlinedStickyNoteIcon aria-hidden />}
13651365
onClick={() => setIsDesignNotesOpen((prev) => !prev)}
13661366
aria-expanded={isDesignNotesOpen}
1367+
className="ops-hub-design-notes-btn"
13671368
>
13681369
Design Notes
13691370
</Button>

hub/src/AppChrome.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,3 +610,21 @@ body.ops-hub-embed-fullscreen-active {
610610
.ops-hub-prototype-card--private__message-wrap {
611611
max-width: 100%;
612612
}
613+
614+
/* Design Notes button — solid Red Hat red with pulsing glow */
615+
@keyframes design-notes-glow {
616+
0%, 100% { box-shadow: 0 0 6px 2px rgba(201, 25, 11, 0.5); }
617+
50% { box-shadow: 0 0 14px 5px rgba(201, 25, 11, 0.85); }
618+
}
619+
620+
.ops-hub-design-notes-btn {
621+
background-color: #c9190b !important;
622+
color: #fff !important;
623+
border-color: #c9190b !important;
624+
animation: design-notes-glow 2s ease-in-out infinite;
625+
}
626+
627+
.ops-hub-design-notes-btn:hover {
628+
background-color: #a30000 !important;
629+
border-color: #a30000 !important;
630+
}

0 commit comments

Comments
 (0)