Skip to content

Commit 124c47a

Browse files
committed
feat: address review changes
1 parent 81e70fe commit 124c47a

File tree

12 files changed

+32
-24
lines changed

12 files changed

+32
-24
lines changed

Diff for: frontend/css/listens-page.less

+5-5
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
.listen-time {
187187
font-style: italic;
188188
font-size: 80%;
189-
color: #8d8d8d;
189+
color: @light-grey;
190190
white-space: nowrap;
191191
text-align: end;
192192
}
@@ -240,7 +240,7 @@
240240
justify-content: space-around;
241241
position: relative; // This is need for dropdown menu positioning
242242
margin-left: auto; // align flexbox item at flex-end
243-
color: #8d8d8d;
243+
color: @light-grey;
244244

245245
> button,
246246
> .btn {
@@ -262,7 +262,7 @@
262262
.love,
263263
.hate {
264264
color: transparent;
265-
stroke: #8d8d8d;
265+
stroke: @light-grey;
266266
&:hover {
267267
color: transparent;
268268
}
@@ -383,15 +383,15 @@
383383
}
384384

385385
.listen-controls > .icon-only {
386-
color: #8d8d8d;
386+
color: @light-grey;
387387
width: 2em;
388388
min-width: 2em;
389389
margin-left: 0;
390390
margin-right: 0.5em;
391391
padding: 0;
392392
}
393393
.play-button {
394-
color: #8d8d8d;
394+
color: @light-grey;
395395
&.playing {
396396
color: @orange;
397397
}

Diff for: frontend/css/main.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@import "scaffolding.less";
21
@import "theme/theme.less";
32
@import "colors.less";
3+
@import "scaffolding.less";
44
@import "homepage.less";
55
@import "listens-page.less";
66
@import "pinned-recordings.less";

Diff for: frontend/css/playlists.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
.info {
186186
display: flex;
187187
flex-wrap: wrap;
188-
color: #8d8d8d;
188+
color: @light-grey;
189189
margin: 0.5em 0;
190190
> * {
191191
padding: 0 0.7em;
@@ -194,7 +194,7 @@
194194
}
195195

196196
#add-track {
197-
background-color: @orange;
197+
background-color: @orange !important;
198198
> *:first-child {
199199
display: flex;
200200
align-items: center;

Diff for: frontend/css/scaffolding.less

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@blue: #353070;
2-
31
html {
42
font-size: 10px;
53
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
@@ -223,6 +221,17 @@ ol {
223221
.btn-info.disabled,
224222
.btn-info:disabled {
225223
background-color: #3f3c64;
226-
border-color: #353070;
224+
border-color: @blue;
227225
cursor: not-allowed;
228226
}
227+
228+
.form-text {
229+
margin-top: 0.5rem;
230+
margin-bottom: 1rem;
231+
color: #8c8674;
232+
}
233+
234+
a:hover,
235+
a:focus {
236+
text-decoration: none;
237+
}

Diff for: frontend/css/timeline.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
display: flex;
3131
flex-wrap: wrap;
3232
.event-time {
33-
color: #8d8d8d;
33+
color: @light-grey;
3434
// position: absolute;
3535
// right:0;
3636
font-size: 0.8em;

Diff for: frontend/js/src/album/AlbumPage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default function AlbumPage(): JSX.Element {
224224
width={200}
225225
/>
226226
<br />
227-
<div className="help-block small mb-15">
227+
<div className="form-text small mb-15">
228228
Broken CD by{" "}
229229
<a href="https://www.vecteezy.com/members/amandalamsyah/uploads">
230230
amandalamsyah on Vecteezy
@@ -302,7 +302,7 @@ export default function AlbumPage(): JSX.Element {
302302
);
303303
})}
304304
</div>
305-
<small className="help-block">
305+
<small className="form-text">
306306
{type}
307307
{type && album?.date ? " - " : ""}
308308
{album?.date}

Diff for: frontend/js/src/artist/ArtistPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export default function ArtistPage(): JSX.Element {
311311
<div className="artist-info">
312312
<h1>{artist?.name}</h1>
313313
<div className="details">
314-
<small className="help-block">
314+
<small className="form-text">
315315
{artist?.begin_year}
316316
{Boolean(artist?.end_year) && ` — ${artist?.end_year}`}
317317
<br />

Diff for: frontend/js/src/cb-review/CBReviewModal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,6 @@ export default NiceModal.create((props: CBReviewModalProps) => {
695695
<img
696696
src="/static/img/critiquebrainz-logo.svg"
697697
height="30"
698-
className="cb-img-fluid"
699698
alt="CritiqueBrainz Logo"
700699
style={{ margin: "8px" }}
701700
/>

Diff for: frontend/js/src/playlists/Playlist.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -448,19 +448,19 @@ export default function PlaylistPage() {
448448
<>&nbsp;-&nbsp;{totalDurationForDisplay}</>
449449
)}
450450
</div>
451-
<small className="help-block">
451+
<small className="form-text">
452452
<div>Created: {new Date(playlist.date).toLocaleString()}</div>
453453
</small>
454454
{customFields?.last_modified_at && (
455-
<small className="help-block">
455+
<small className="form-text">
456456
<div>
457457
Last modified:{" "}
458458
{new Date(customFields.last_modified_at).toLocaleString()}
459459
</div>
460460
</small>
461461
)}
462462
{customFields?.copied_from && (
463-
<small className="help-block">
463+
<small className="form-text">
464464
<div>
465465
Copied from:
466466
<a href={sanitizeUrl(customFields.copied_from)}>
@@ -544,7 +544,7 @@ export default function PlaylistPage() {
544544
<div
545545
id="playlist"
546546
data-testid="playlist"
547-
className="col-md-8 col-md-offset-2"
547+
className="col-md-8 offset-md-2"
548548
>
549549
<div className="header">
550550
<h3 className="header-with-line">

Diff for: frontend/js/src/settings/link-listens/MultiTrackMBIDMappingModal.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export default NiceModal.create(
363363
</div>
364364
<div className="modal-body">
365365
<div>
366-
<p className="small help-block text-left">
366+
<p className="small form-text text-left">
367367
Search by album/artist name or paste a{" "}
368368
<a href="https://musicbrainz.org/doc/About">
369369
MusicBrainz URL or MBID
@@ -598,7 +598,7 @@ export default NiceModal.create(
598598
>
599599
Link listens
600600
</button>
601-
<div className="small help-block text-left">
601+
<div className="small form-text text-left">
602602
<div>
603603
<FontAwesomeIcon icon={faInfoCircle} />
604604
&nbsp;

Diff for: frontend/js/src/user/components/AddSingleListen.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default function AddSingleListen({
152152
className="collapse"
153153
id={`collapsible-${recording.id}`}
154154
>
155-
<div className="help-block">
155+
<div className="form-text">
156156
Too many choices? See more details{" "}
157157
<a
158158
href={`https://musicbrainz.org/recording/${recording.id}`}

Diff for: frontend/js/src/user/playlists/components/ImportJSPFPlaylistModal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default NiceModal.create(() => {
177177
onChange={handleFileChange}
178178
/>
179179
{fileError && <div className="has-error">{fileError}</div>}
180-
<p className="help-block">
180+
<p className="form-text">
181181
For information on the JSPF playlist format, please visit{" "}
182182
<a href="https://musicbrainz.org/doc/jspf">
183183
musicbrainz.org/doc/jspf

0 commit comments

Comments
 (0)