-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstyle.scss
70 lines (64 loc) · 1.66 KB
/
style.scss
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
// Thumbnails in add/reorder cover art pages
div.thumb-position {
height: auto;
display: flex;
flex-direction: column;
}
.image-position {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
div.thumb-position {
// Put the reorder buttons at the bottom
> div:last-of-type {
&::before {
margin-bottom: auto;
}
margin-top: auto;
padding-top: 5px;
}
// Center the thumbnail img
img {
display: block;
margin: auto;
}
}
// Styling of the info spans
// TODO: beta.MBS of May 24 2024 changed the classname from "cover-art-image" to "artwork-image".
// Change this when new class name lands in production MBS.
span.cover-art-image, span.artwork-image {
display: inline-block;
}
span.ROpdebee_dimensions, span.ROpdebee_fileInfo {
display: block;
}
// Center the labels.
a.artwork-image, a.artwork-pdf {
span.ROpdebee_dimensions, span.ROpdebee_fileInfo {
text-align: center;
}
}
// In edit pages, the container is very wide and the text wouldn't be centered nicely,
// so add a max width to be the same as the image it's labelling.
// Not sure why the container is so wide though.
td.edit-cover-art, td.edit-event-art {
span.ROpdebee_dimensions, span.ROpdebee_fileInfo {
max-width: 250px;
}
}
div.thumb-position {
span.ROpdebee_dimensions, span.ROpdebee_fileInfo {
text-align: center;
font-size: smaller;
}
span.ROpdebee_dimensions {
padding-top: 0.5em;
}
span.ROpdebee_fileInfo {
padding-bottom: 0.5em;
}
}
img.uploader-preview-column > span.ROpdebee_dimensions {
display: inline;
}