Skip to content

Commit a6dea1c

Browse files
committed
color scheme WIP
1 parent 0dc7993 commit a6dea1c

File tree

36 files changed

+915
-1123
lines changed

36 files changed

+915
-1123
lines changed
Lines changed: 91 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,205 +1,197 @@
11
.connectPage {
2-
padding-top: 16px;
3-
padding-bottom: 20px;
2+
padding-top: 16px;
3+
padding-bottom: 20px;
44
}
55

66
.form {
7-
display: grid;
8-
grid-template-columns: repeat(4, 1fr);
9-
grid-gap: 0.5em 1.5em;
10-
margin: 0 auto 40px;
11-
width: clamp(18.75em, 96%, 50em);
7+
display: grid;
8+
grid-template-columns: repeat(4, 1fr);
9+
grid-gap: 0.5em 1.5em;
10+
margin: 0 auto 40px;
11+
width: clamp(18.75em, 96%, 50em);
1212
}
1313

1414
@media screen and (max-width: 600px) {
15-
.form {
16-
display: flex;
17-
flex-direction: column;
18-
padding: 0 9vw;
19-
width: 100%;
20-
}
15+
.form {
16+
display: flex;
17+
flex-direction: column;
18+
padding: 0 9vw;
19+
width: 100%;
20+
}
2121
}
2222

2323
.credentials-fieldset {
24-
display: grid;
25-
grid-template-columns: subgrid;
26-
grid-template-rows: subgrid;
27-
grid-column: 1 / span 4;
28-
grid-row: 5 / span 4;
24+
display: grid;
25+
grid-template-columns: subgrid;
26+
grid-template-rows: subgrid;
27+
grid-column: 1 / span 4;
28+
grid-row: 5 / span 4;
2929
}
3030

3131
@media (width <= 600px) {
32-
.credentials-fieldset {
33-
display: flex;
34-
flex-direction: column;
35-
}
32+
.credentials-fieldset {
33+
display: flex;
34+
flex-direction: column;
35+
}
3636
}
3737

3838
.credentials-fieldset-no-warning {
39-
display: grid;
40-
grid-template-columns: subgrid;
41-
grid-template-rows: subgrid;
42-
grid-column: 1 / span 4;
43-
grid-row: 4 / span 4;
39+
display: grid;
40+
grid-template-columns: subgrid;
41+
grid-template-rows: subgrid;
42+
grid-column: 1 / span 4;
43+
grid-row: 4 / span 4;
4444
}
4545

4646
@media (width <= 600px) {
47-
.credentials-fieldset-no-warning {
48-
display: flex;
49-
flex-direction: column;
50-
}
47+
.credentials-fieldset-no-warning {
48+
display: flex;
49+
flex-direction: column;
50+
}
5151
}
5252

5353
.mat-h1 {
54-
margin-top: 2vw;
54+
margin-top: 2vw;
5555
}
5656

5757
.warningMessage {
58-
display: flex;
59-
align-items: center;
60-
margin-bottom: 8px;
61-
padding: 16px 12px;
58+
display: flex;
59+
align-items: center;
60+
margin-bottom: 8px;
61+
padding: 16px 12px;
6262
}
6363

64-
@media (prefers-color-scheme: dark) {
65-
.warningMessage {
66-
background: #424242;
67-
}
68-
}
69-
70-
@media (prefers-color-scheme: light) {
71-
.warningMessage {
72-
background: #F5F5F5;
73-
}
64+
.warningMessage {
65+
background: var(--ra-surface);
7466
}
7567

7668
.warningMessage__icon {
77-
flex-shrink: 0;
78-
margin-right: 12px;
69+
flex-shrink: 0;
70+
margin-right: 12px;
7971
}
8072

8173
.warningMessage .mat-body-1 {
82-
margin-bottom: 0;
74+
margin-bottom: 0;
8375
}
8476

8577
.connectForm__title {
86-
grid-column: 1 / span 3;
78+
grid-column: 1 / span 3;
8779
}
8880

8981
.connectForm__hostname,
9082
.connectForm__port {
91-
padding-bottom: 2em;
83+
padding-bottom: 2em;
9284
}
9385

9486
.connectForm__fullLine {
95-
grid-column: 1 / span 4;
87+
grid-column: 1 / span 4;
9688
}
9789

9890
.connectForm__typeSwitch {
99-
margin-bottom: 12px;
91+
margin-bottom: 12px;
10092
}
10193

10294
.connectForm__typeSwitch ::ng-deep .mat-button-toggle-checked {
103-
background-color: rgba(0, 0, 0, 0.08) !important;
95+
background-color: rgba(0, 0, 0, 0.08) !important;
10496
}
10597

10698
.radio-button {
107-
margin-right: 20px;
99+
margin-right: 20px;
108100
}
109101

110102
.form-textarea {
111-
resize: none;
103+
resize: none;
112104
}
113105

114106
.test-connection-actions {
115-
grid-column: 1 / span 4;
116-
display: flex;
117-
flex-direction: column;
118-
align-items: center;
119-
gap: 12px;
120-
margin-top: 16px;
107+
grid-column: 1 / span 4;
108+
display: flex;
109+
flex-direction: column;
110+
align-items: center;
111+
gap: 12px;
112+
margin-top: 16px;
121113
}
122114

123115
.test-connection-message {
124-
color: rgba(0, 0, 0, 0.54);
125-
margin-bottom: 4px;
116+
color: var(--ra-text-muted);
117+
margin-bottom: 4px;
126118
}
127119

128120
.actions {
129-
grid-column: 1 / span 4;
130-
display: flex;
131-
align-items: center;
132-
justify-content: flex-end;
133-
margin-top: 12px;
121+
grid-column: 1 / span 4;
122+
display: flex;
123+
align-items: center;
124+
justify-content: flex-end;
125+
margin-top: 12px;
134126
}
135127

136128
.delete-button {
137-
margin-right: auto;
129+
margin-right: auto;
138130
}
139131

140132
.test-button {
141-
margin-right: 20px;
133+
margin-right: 20px;
142134
}
143135

144136
.instruction__docker {
145-
margin-top: 32px;
146-
margin-bottom: auto;
137+
margin-top: 32px;
138+
margin-bottom: auto;
147139
}
148140

149141
.github-button {
150-
margin-bottom: 20px;
142+
margin-bottom: 20px;
151143
}
152144

153145
.github-button ::ng-deep .mdc-button__label {
154-
display: flex;
155-
align-items: center;
156-
justify-content: space-between;
157-
width: 100%;
146+
display: flex;
147+
align-items: center;
148+
justify-content: space-between;
149+
width: 100%;
158150
}
159151

160152
.github-icon {
161-
margin-right: 8px;
162-
margin-left: -4px;
163-
height: 22px;
164-
width: 22px;
153+
margin-right: 8px;
154+
margin-left: -4px;
155+
height: 22px;
156+
width: 22px;
165157
}
166158

167159
.docker-instruction {
168-
margin-top: 20px;
160+
margin-top: 20px;
169161
}
170162

171163
.instruction-steps {
172-
list-style-position: inside;
164+
list-style-position: inside;
173165
}
174166

175167
.instruction-step {
176-
margin: 1em 0;
168+
margin: 1em 0;
177169
}
178170

179171
.instruction-step__link {
180-
color: var(--color-accentedPalette-500);
181-
text-decoration: none;
172+
color: var(--ra-accent-text);
173+
text-decoration: none;
182174
}
183175

184176
.instruction-step__link:hover {
185-
color: #FE5E85;
186-
text-decoration: underline;
177+
color: var(--color-primaryPalette-400);
178+
text-decoration: underline;
187179
}
188180

189181
.instruction-command {
190-
background: rgba(0, 0, 0, 0.04);
191-
border-radius: 4px;
192-
padding: 8px 12px;
182+
background: rgba(0, 0, 0, 0.04);
183+
border-radius: 4px;
184+
padding: 8px 12px;
193185
}
194186

195187
.agent-token {
196-
display: flex;
197-
margin-top: 32px;
198-
margin-bottom: 20px;
199-
width: 100%;
188+
display: flex;
189+
margin-top: 32px;
190+
margin-bottom: 20px;
191+
width: 100%;
200192
}
201193

202194
.agent-token__copy-button {
203-
margin-top: 4px;
204-
margin-left: 12px;
205-
}
195+
margin-top: 4px;
196+
margin-left: 12px;
197+
}

0 commit comments

Comments
 (0)