fix selectors
This commit is contained in:
parent
0408afd554
commit
ee64fe003e
172
main.js
172
main.js
@ -993,110 +993,110 @@
|
||||
textarea {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.files-container input[type=radio] {
|
||||
display: none;
|
||||
}
|
||||
.files-container input[type=radio] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-list-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.file-list-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.file-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
.file-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.file-container img.preview {
|
||||
width: 120px;
|
||||
}
|
||||
.file-container img.preview {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.file-container img.preview-small {
|
||||
width: 60px;
|
||||
}
|
||||
.file-container img.preview-small {
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.file-container img:is(.preview, .preview-small) {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
.file-container img:is(.preview, .preview-small) {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
dialog .preview,
|
||||
.swiper {
|
||||
max-width: 1000px;
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
height: 100%;
|
||||
}
|
||||
dialog .preview,
|
||||
.swiper {
|
||||
max-width: 1000px;
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.swiper-button-next,
|
||||
.swiper-button-prev {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.swiper-button-next,
|
||||
.swiper-button-prev {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.swiper-wrapper {
|
||||
align-items: center;
|
||||
}
|
||||
.swiper-wrapper {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.swiper-wrapper > .swiper-slide {
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
height: 100%;
|
||||
}
|
||||
.swiper-wrapper > .swiper-slide {
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.swiper-slide img {
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
}
|
||||
.swiper-slide img {
|
||||
width: 100%;
|
||||
max-height: 500px;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
.swiper-download-link {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background: white;
|
||||
padding: 5px 10px;
|
||||
margin: 5px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 7.5px;
|
||||
}
|
||||
.swiper-download-link {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background: white;
|
||||
padding: 5px 10px;
|
||||
margin: 5px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 7.5px;
|
||||
}
|
||||
|
||||
button.button-delete {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
font-size: 18px;
|
||||
}
|
||||
button.button-delete {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.admin-files-container {
|
||||
display: flex;
|
||||
}
|
||||
.admin-files-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.admin-files-container > :not(:last-child) {
|
||||
padding-right: 10px;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
.admin-files-container > :not(:last-child) {
|
||||
padding-right: 10px;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.admin-files-container > :not(:first-child) {
|
||||
padding-left: 10px;
|
||||
}
|
||||
.admin-files-container > :not(:first-child) {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
dialog img.preview {
|
||||
width: auto;
|
||||
}
|
||||
dialog img.preview {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.file-buttons-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
.file-buttons-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user