|
| 1 | +<div class="browser-login-waiting-dialog modal"> |
| 2 | + <style> |
| 3 | + /* Local tokens mapped to your dark palette */ |
| 4 | + .browser-login-waiting-dialog { |
| 5 | + --bg: #1c1c1e; /* @dark-bc-bg-status-bar */ |
| 6 | + --card-bg: #313131; /* @dark-bc-panel-bg-alt */ |
| 7 | + --card-bg-hover: #2c2c2c; /* @dark-bc-panel-bg */ |
| 8 | + --card-border: rgba(255,255,255,0.06); |
| 9 | + --card-border-hover: rgba(255,255,255,0.12); |
| 10 | + --text: #ffffff; /* @dark-bc-text-alt */ |
| 11 | + --text-muted: #9a9a9a; /* @dark-bc-text-quiet */ |
| 12 | + --text-medium: #cccccc; /* @dark-bc-text-medium */ |
| 13 | + --thumb-bg: #1b1b1b; /* @dark-bc-bg-inline-widget */ |
| 14 | + --focus: #1473e6; /* highlight/focus blue */ |
| 15 | + --link: #6bbeff; /* @dark-bc-text-link */ |
| 16 | + } |
| 17 | + |
| 18 | + .modal-header .dialog-title { |
| 19 | + color: var(--text); |
| 20 | + } |
| 21 | + |
| 22 | + .features-grid { |
| 23 | + display: grid; |
| 24 | + grid-template-columns: repeat(2, 1fr); |
| 25 | + gap: 16px; |
| 26 | + } |
| 27 | + |
| 28 | + .feature-card { |
| 29 | + background: var(--card-bg); |
| 30 | + border: 1px solid var(--card-border); |
| 31 | + border-radius: 5px; |
| 32 | + overflow: hidden; |
| 33 | + display: flex; |
| 34 | + flex-direction: column; |
| 35 | + transition: background 0.15s ease, border-color 0.15s ease; |
| 36 | + } |
| 37 | + |
| 38 | + .feature-card:hover { |
| 39 | + background: var(--card-bg-hover); |
| 40 | + border-color: var(--card-border-hover); |
| 41 | + } |
| 42 | + |
| 43 | + .feature-card:focus-within { |
| 44 | + outline: 2px solid var(--focus); |
| 45 | + outline-offset: 2px; |
| 46 | + } |
| 47 | + |
| 48 | + .feature-thumb { |
| 49 | + width: 100%; |
| 50 | + height: 120px; |
| 51 | + object-fit: cover; |
| 52 | + background: var(--thumb-bg); |
| 53 | + } |
| 54 | + |
| 55 | + .feature-body { |
| 56 | + padding: 12px; |
| 57 | + } |
| 58 | + |
| 59 | + .feature-body h2 { |
| 60 | + margin: 0 0 6px; |
| 61 | + font-size: 15px; |
| 62 | + color: var(--text); |
| 63 | + } |
| 64 | + |
| 65 | + .feature-body p { |
| 66 | + margin: 0; |
| 67 | + font-size: 13px; |
| 68 | + color: var(--text-muted); |
| 69 | + line-height: 1.35; |
| 70 | + } |
| 71 | + |
| 72 | + .waiting-content-container > p { |
| 73 | + margin-bottom: 20px; |
| 74 | + font-size: 14px; |
| 75 | + color: var(--text-medium); |
| 76 | + } |
| 77 | + |
| 78 | + .phoenix-pro-title { |
| 79 | + background: linear-gradient(45deg,#ff8c42,#ffa500,#ffcc70,#ffd700); |
| 80 | + background-clip: text; |
| 81 | + -webkit-background-clip: text; |
| 82 | + color: transparent; |
| 83 | + -webkit-text-fill-color: transparent; |
| 84 | + display: inline-block; |
| 85 | + } |
| 86 | + |
| 87 | + .browser-login-waiting-dialog a { |
| 88 | + color: var(--link); |
| 89 | + text-decoration: none; |
| 90 | + } |
| 91 | + .browser-login-waiting-dialog a:hover { |
| 92 | + text-decoration: underline; |
| 93 | + } |
| 94 | + </style> |
| 95 | + |
| 96 | + <div class="modal-header"> |
| 97 | + <h1 class="dialog-title">{{{title}}}</h1> |
| 98 | + </div> |
| 99 | + |
| 100 | + <div class="modal-body" style="max-height: 550px;"> |
| 101 | + <div class="waiting-content-container"> |
| 102 | + <p style="margin-bottom: 20px; color: #aaa; font-size: 14px;"> |
| 103 | + {{message}} |
| 104 | + </p> |
| 105 | + |
| 106 | + <div class="features-grid"> |
| 107 | + <!-- Card 1 --> |
| 108 | + <div class="feature-card"> |
| 109 | + <img src="https://docs-images.phcode.dev/phcode-sdk/quick-view-image.png" alt="{{Strings.PROMO_CARD_1}}" class="feature-thumb"> |
| 110 | + <div class="feature-body"> |
| 111 | + <h2>{{Strings.PROMO_CARD_1}}</h2> |
| 112 | + <p>{{Strings.PROMO_CARD_1_MESSAGE}}</p> |
| 113 | + </div> |
| 114 | + </div> |
| 115 | + |
| 116 | + <!-- Card 2 --> |
| 117 | + <div class="feature-card"> |
| 118 | + <img src="https://docs-images.phcode.dev/phcode-sdk/quick-view-image.png" alt="{{Strings.PROMO_CARD_2}}" class="feature-thumb"> |
| 119 | + <div class="feature-body"> |
| 120 | + <h2>{{Strings.PROMO_CARD_2}}</h2> |
| 121 | + <p>{{Strings.PROMO_CARD_2_MESSAGE}}</p> |
| 122 | + </div> |
| 123 | + </div> |
| 124 | + |
| 125 | + <!-- Card 3 --> |
| 126 | + <div class="feature-card"> |
| 127 | + <img src="https://docs-images.phcode.dev/phcode-sdk/quick-view-image.png" alt="{{Strings.PROMO_CARD_3}}" class="feature-thumb"> |
| 128 | + <div class="feature-body"> |
| 129 | + <h2>{{Strings.PROMO_CARD_3}}</h2> |
| 130 | + <p>{{Strings.PROMO_CARD_3_MESSAGE}}</p> |
| 131 | + </div> |
| 132 | + </div> |
| 133 | + |
| 134 | + <!-- Card 4 --> |
| 135 | + <div class="feature-card"> |
| 136 | + <img src="https://docs-images.phcode.dev/phcode-sdk/quick-view-image.png" alt="{{Strings.PROMO_CARD_4}}" class="feature-thumb"> |
| 137 | + <div class="feature-body"> |
| 138 | + <h2>{{Strings.PROMO_CARD_4}}</h2> |
| 139 | + <p>{{Strings.PROMO_CARD_4_MESSAGE}}</p> |
| 140 | + </div> |
| 141 | + </div> |
| 142 | + </div> |
| 143 | + </div> |
| 144 | + </div> |
| 145 | + |
| 146 | + <div class="modal-footer"> |
| 147 | + <button class="dialog-button btn" data-button-id="learn_more">{{Strings.PROMO_LEARN_MORE}}</button> |
| 148 | + <button class="dialog-button btn primary" data-button-id="ok">{{Strings.OK}}</button> |
| 149 | + </div> |
| 150 | +</div> |
0 commit comments