2020-06-26 22:10:27 +02:00
|
|
|
/* common CSS for all image upload widget's */
|
2020-07-20 22:09:07 +02:00
|
|
|
.image_upload_widget {
|
2020-06-26 22:10:27 +02:00
|
|
|
position: relative;
|
|
|
|
border-radius: 5px;
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
|
2020-06-26 22:10:27 +02:00
|
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
|
|
|
.image-block {
|
|
|
|
background-size: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2020-07-15 20:14:13 +02:00
|
|
|
.image-upload-background {
|
2020-08-04 23:58:56 +02:00
|
|
|
content: "";
|
2020-06-26 22:10:27 +02:00
|
|
|
background-color: hsl(0, 0%, 0%);
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
opacity: 0.6;
|
|
|
|
z-index: 99;
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
cursor: pointer;
|
2022-02-18 22:25:39 +01:00
|
|
|
border-radius: 5px;
|
2020-06-26 22:10:27 +02:00
|
|
|
}
|
|
|
|
|
2020-07-15 20:58:34 +02:00
|
|
|
.image-delete-button {
|
2021-10-23 18:40:05 +02:00
|
|
|
background: none;
|
|
|
|
border: none;
|
2020-06-26 22:10:27 +02:00
|
|
|
cursor: pointer;
|
|
|
|
color: hsl(0, 0%, 75%);
|
|
|
|
opacity: 0;
|
2021-10-23 18:40:05 +02:00
|
|
|
padding: 3px 0;
|
2020-06-26 22:10:27 +02:00
|
|
|
position: absolute;
|
|
|
|
font-size: 2rem;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
z-index: 99;
|
2021-06-24 19:25:49 +02:00
|
|
|
line-height: 20px;
|
2020-06-26 22:10:27 +02:00
|
|
|
}
|
|
|
|
|
2021-10-23 18:40:05 +02:00
|
|
|
.image-delete-button:focus,
|
2020-07-15 20:58:34 +02:00
|
|
|
.image-delete-button:hover {
|
2021-10-23 18:40:05 +02:00
|
|
|
opacity: 1;
|
2020-06-26 22:10:27 +02:00
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:20:36 +02:00
|
|
|
.image-delete-button:hover ~ .image-upload-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:14:31 +02:00
|
|
|
.image-delete-button:hover ~ .image-delete-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:14:31 +02:00
|
|
|
.image-delete-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
font-size: 0.85rem;
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:20:36 +02:00
|
|
|
.image-upload-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
color: hsl(0, 0%, 85%);
|
|
|
|
position: absolute;
|
|
|
|
z-index: 99;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:20:36 +02:00
|
|
|
.image-upload-text:hover {
|
2020-06-26 22:10:27 +02:00
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-spinner-background {
|
|
|
|
background-color: hsl(0, 0%, 10%);
|
2020-08-04 23:58:56 +02:00
|
|
|
font-size: 0.8rem;
|
2020-06-26 22:10:27 +02:00
|
|
|
width: 100%;
|
|
|
|
opacity: 0.8;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
z-index: 99;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image_upload_spinner {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 99;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2020-07-15 21:20:36 +02:00
|
|
|
.image-upload-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2020-07-15 20:14:13 +02:00
|
|
|
.image-upload-background {
|
2020-06-26 22:10:27 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-avatar-section,
|
|
|
|
.realm-logo-section,
|
|
|
|
.realm-icon-section {
|
2022-02-13 15:37:49 +01:00
|
|
|
margin-bottom: 20px;
|
2020-06-26 22:10:27 +02:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.inline-block {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 5px 20px 0 0;
|
2020-06-26 22:10:27 +02:00
|
|
|
vertical-align: top;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-15 22:23:01 +02:00
|
|
|
/* CSS related to settings page user avatar upload widget only */
|
2020-06-26 22:10:27 +02:00
|
|
|
#user-avatar-upload-widget {
|
|
|
|
.image_upload_button {
|
|
|
|
border-radius: 5px;
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
|
2020-06-26 22:10:27 +02:00
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
|
2020-07-15 20:58:34 +02:00
|
|
|
.image-delete-button {
|
2020-06-26 22:10:27 +02:00
|
|
|
font-size: 3rem;
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:14:31 +02:00
|
|
|
.image-delete-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
top: 90px;
|
|
|
|
right: 40px;
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:20:36 +02:00
|
|
|
.image-upload-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
top: 90px;
|
2020-07-21 16:10:11 +02:00
|
|
|
right: 24px;
|
2020-06-26 22:10:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.image_upload_spinner {
|
|
|
|
top: 40%;
|
|
|
|
right: 40%;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-block {
|
|
|
|
border-radius: 5px;
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
|
2020-06-26 22:10:27 +02:00
|
|
|
width: 200px;
|
|
|
|
height: 200px;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
2020-06-26 22:10:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#user-avatar-source {
|
|
|
|
font-size: 1em;
|
|
|
|
z-index: 99;
|
2021-10-16 21:57:26 +02:00
|
|
|
|
2020-06-26 22:10:27 +02:00
|
|
|
a {
|
|
|
|
position: relative;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-15 22:23:01 +02:00
|
|
|
/* CSS related to settings page realm icon upload widget only */
|
2020-06-26 22:10:27 +02:00
|
|
|
#realm-icon-upload-widget {
|
2020-06-30 09:15:09 +02:00
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
border-radius: 5px;
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
|
2020-06-26 22:10:27 +02:00
|
|
|
|
2020-07-15 21:14:31 +02:00
|
|
|
.image-delete-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
top: 40px;
|
|
|
|
right: 18px;
|
|
|
|
}
|
|
|
|
|
2020-07-15 21:20:36 +02:00
|
|
|
.image-upload-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
top: 40px;
|
|
|
|
right: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image_upload_spinner {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
top: 30%;
|
|
|
|
right: 30%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.realm-icon-section {
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-09-15 22:23:01 +02:00
|
|
|
/* CSS related to settings page realm day/night logo upload widget only */
|
2020-06-26 22:10:27 +02:00
|
|
|
#realm-day-logo-upload-widget,
|
|
|
|
#realm-night-logo-upload-widget {
|
|
|
|
width: 220px;
|
|
|
|
height: 55px;
|
|
|
|
text-align: center;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 80px 0 20px;
|
2020-06-26 22:10:27 +02:00
|
|
|
|
2020-07-15 21:20:36 +02:00
|
|
|
.image-upload-text,
|
2020-07-15 21:14:31 +02:00
|
|
|
.image-delete-text {
|
2020-06-26 22:10:27 +02:00
|
|
|
top: 17px;
|
|
|
|
right: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-spinner-background {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image_upload_spinner {
|
|
|
|
width: 45px;
|
|
|
|
height: 55px;
|
|
|
|
top: 5%;
|
|
|
|
right: 40%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#realm-day-logo-upload-widget {
|
|
|
|
background-color: hsla(0, 100%, 100%, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
#realm-night-logo-upload-widget {
|
|
|
|
background-color: hsl(212, 28%, 18%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.realm-logo-block {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.realm-logo-title {
|
|
|
|
padding-left: 30%;
|
|
|
|
}
|