|
| 1 | +@import "brackets_variables.less"; |
| 2 | +@import "brackets_core_ui_variables.less"; |
| 3 | + |
| 4 | +/* Dialog styles with light default + .dark overrides */ |
| 5 | +.browser-login-waiting-dialog { |
| 6 | + /* ---- Layout ---- */ |
| 7 | + .features-grid { |
| 8 | + display: grid; |
| 9 | + grid-template-columns: repeat(2, 1fr); |
| 10 | + gap: 16px; |
| 11 | + } |
| 12 | + |
| 13 | + /* ---- Cards ---- */ |
| 14 | + .feature-card { |
| 15 | + background: @bc-panel-bg-alt; // light surface |
| 16 | + border: 1px solid @bc-panel-border; // subtle light border |
| 17 | + border-radius: @bc-border-radius-large; // 5px |
| 18 | + overflow: hidden; |
| 19 | + display: flex; |
| 20 | + flex-direction: column; |
| 21 | + transition: background 0.15s ease, border-color 0.15s ease; |
| 22 | + |
| 23 | + .dark & { |
| 24 | + background: @dark-bc-panel-bg-alt; // #313131 |
| 25 | + border: 1px solid @dark-bc-highlight; // rgba(255,255,255,0.06) |
| 26 | + border-radius: @dark-bc-border-radius-large; |
| 27 | + } |
| 28 | + } |
| 29 | + |
| 30 | + .feature-card:hover { |
| 31 | + background: @bc-panel-bg; // hover lift |
| 32 | + border-color: @bc-shadow-small; // rgba(0,0,0,0.06) |
| 33 | + |
| 34 | + .dark & { |
| 35 | + background: @dark-bc-panel-bg; // #2c2c2c |
| 36 | + border-color: @dark-bc-panel-bg-hover;// rgba(255,255,255,0.12) |
| 37 | + } |
| 38 | + } |
| 39 | + |
| 40 | + .feature-card:focus-within { |
| 41 | + outline: 2px solid @bc-btn-border-focused; // #2893ef (light) |
| 42 | + outline-offset: 2px; |
| 43 | + |
| 44 | + .dark & { |
| 45 | + outline: 2px solid @dark-bc-btn-border-focused;// #2893ef (dark var) |
| 46 | + } |
| 47 | + } |
| 48 | + |
| 49 | + /* ---- Media thumb ---- */ |
| 50 | + .feature-thumb { |
| 51 | + width: 100%; |
| 52 | + height: 120px; |
| 53 | + object-fit: cover; |
| 54 | + background: @bc-bg-inline-widget; // #e6e9e9 |
| 55 | + |
| 56 | + .dark & { |
| 57 | + background: @dark-bc-bg-inline-widget;// #1b1b1b |
| 58 | + } |
| 59 | + } |
| 60 | + |
| 61 | + /* ---- Card body ---- */ |
| 62 | + .feature-body { |
| 63 | + padding: 12px; |
| 64 | + } |
| 65 | + |
| 66 | + .feature-body h2 { |
| 67 | + margin: 0 0 6px; |
| 68 | + font-size: 15px; |
| 69 | + color: @bc-text-emphasized; // #111 |
| 70 | + |
| 71 | + .dark & { |
| 72 | + color: @dark-bc-text-alt; // #fff |
| 73 | + } |
| 74 | + } |
| 75 | + |
| 76 | + .feature-body p { |
| 77 | + margin: 0; |
| 78 | + font-size: 13px; |
| 79 | + color: @bc-text-medium; // #606060 |
| 80 | + line-height: 1.35; |
| 81 | + |
| 82 | + .dark & { |
| 83 | + color: @dark-bc-text-quiet; // #9a9a9a |
| 84 | + } |
| 85 | + } |
| 86 | + |
| 87 | + /* ---- Header title ---- */ |
| 88 | + .modal-header .dialog-title { |
| 89 | + color: @bc-text-emphasized; // #111 on light |
| 90 | + |
| 91 | + .dark & { |
| 92 | + color: @dark-bc-text-alt; // #fff on dark |
| 93 | + } |
| 94 | + } |
| 95 | + |
| 96 | + /* ---- Body copy ---- */ |
| 97 | + .waiting-content-container > p { |
| 98 | + margin-bottom: 20px; |
| 99 | + font-size: 14px; |
| 100 | + color: @bc-text-medium; // #606060 |
| 101 | + |
| 102 | + .dark & { |
| 103 | + color: @dark-bc-text-medium; // #ccc |
| 104 | + } |
| 105 | + } |
| 106 | + |
| 107 | + /* ---- Phoenix Pro gradient title ---- |
| 108 | + Light default: use the "light" gradient so it pops on light bg. |
| 109 | + Dark override: switch to the "dark" gradient for richer contrast. */ |
| 110 | + .phoenix-pro-title { |
| 111 | + background: @phoenix-pro-gradient-light; |
| 112 | + background-clip: text; |
| 113 | + -webkit-background-clip: text; |
| 114 | + color: transparent; |
| 115 | + -webkit-text-fill-color: transparent; |
| 116 | + display: inline-block; |
| 117 | + |
| 118 | + .dark & { |
| 119 | + background: @phoenix-pro-gradient-dark; |
| 120 | + background-clip: text; |
| 121 | + -webkit-background-clip: text; |
| 122 | + color: transparent; |
| 123 | + -webkit-text-fill-color: transparent; |
| 124 | + } |
| 125 | + } |
| 126 | + |
| 127 | + /* ---- Links ---- */ |
| 128 | + a { |
| 129 | + color: @bc-text-link; // #0083e8 |
| 130 | + text-decoration: none; |
| 131 | + |
| 132 | + .dark & { |
| 133 | + color: @dark-bc-text-link; // #6bbeff |
| 134 | + } |
| 135 | + } |
| 136 | + |
| 137 | + a:hover { |
| 138 | + text-decoration: underline; |
| 139 | + } |
| 140 | +} |
0 commit comments