-
-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy pathphoenix-pro.less
More file actions
177 lines (149 loc) · 4.11 KB
/
Copy pathphoenix-pro.less
File metadata and controls
177 lines (149 loc) · 4.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
@import "brackets_variables.less";
@import "brackets_core_ui_variables.less";
/* ---- Phoenix Pro gradient title ----
Light default: use the "light" gradient so it pops on light bg.
Dark override: switch to the "dark" gradient for richer contrast. */
.phoenix-pro-title {
background: @phoenix-pro-gradient-light;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
display: inline-block;
.dark & {
background: @phoenix-pro-gradient-dark;
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
}
/* Dialog styles with light default + .dark overrides */
.browser-login-waiting-dialog, .pro-upgrade-dialog{
/* ---- Layout ---- */
.features-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
/* ---- Cards ---- */
.feature-card {
background: @bc-panel-bg-alt; // light surface
border: 1px solid @bc-panel-border; // subtle light border
border-radius: @bc-border-radius-large; // 5px
overflow: hidden;
display: flex;
flex-direction: column;
transition: background 0.15s ease, border-color 0.15s ease;
.dark & {
background: @dark-bc-panel-bg-alt; // #313131
border: 1px solid @dark-bc-highlight; // rgba(255,255,255,0.06)
border-radius: @dark-bc-border-radius-large;
}
}
.feature-card:hover {
background: @bc-panel-bg; // hover lift
border-color: @bc-shadow-small; // rgba(0,0,0,0.06)
.dark & {
background: @dark-bc-panel-bg; // #2c2c2c
border-color: @dark-bc-panel-bg-hover;// rgba(255,255,255,0.12)
}
}
.feature-card:focus-within {
outline: 2px solid @bc-btn-border-focused; // #2893ef (light)
outline-offset: 2px;
.dark & {
outline: 2px solid @dark-bc-btn-border-focused;// #2893ef (dark var)
}
}
/* ---- Media thumb ---- */
.feature-thumb {
width: 100%;
height: 120px;
object-fit: cover;
background: @bc-bg-inline-widget; // #e6e9e9
.dark & {
background: @dark-bc-bg-inline-widget;// #1b1b1b
}
}
/* ---- Card body ---- */
.feature-body {
padding: 12px;
}
.feature-body h2 {
margin: 0 0 6px;
font-size: 15px;
color: @bc-text-emphasized; // #111
.dark & {
color: @dark-bc-text-alt; // #fff
}
}
.feature-body p {
margin: 0;
font-size: 13px;
color: @bc-text-medium; // #606060
line-height: 1.35;
.dark & {
color: @dark-bc-text-quiet; // #9a9a9a
}
}
/* ---- Header title ---- */
.modal-header .dialog-title {
color: @bc-text-emphasized; // #111 on light
.dark & {
color: @dark-bc-text-alt; // #fff on dark
}
}
/* ---- Body copy ---- */
.waiting-content-container > p {
margin-bottom: 20px;
font-size: 14px;
color: @bc-text-medium; // #606060
.dark & {
color: @dark-bc-text-medium; // #ccc
}
}
/* ---- Links ---- */
a {
color: @bc-text-link; // #0083e8
text-decoration: none;
.dark & {
color: @dark-bc-text-link; // #6bbeff
}
}
a:hover {
text-decoration: underline;
}
}
.pro-ended-dialog.modal {
display: flex;
flex-direction: column;
width: 640px;
height: 640px; /* overall modal height */
}
.pro-ended-dialog .modal-header,
.pro-ended-dialog .modal-footer {
flex: 0 0 auto; /* don’t stretch */
}
.pro-ended-dialog .modal-body {
flex: 1 1 auto; /* take all leftover space */
min-height: 0; /* allow shrinking properly */
max-height: 100%; /* allow shrinking properly */
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
background: none;
}
.pro-ended-dialog .promo-iframe-wrap {
flex: 1 1 auto;
min-height: 0; /* important inside flex */
display: flex;
}
.pro-ended-dialog .promo-iframe {
flex: 1 1 auto;
width: 100%;
height: 100%;
border: 0;
display: block;
}