|
|
|
@ -87,6 +87,9 @@ body {
|
|
|
|
|
a, .anchorstyle {
|
|
|
|
|
color: var(--anchor-color);
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.clickable {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -424,6 +427,7 @@ label[for=toggle-show-room-ids]::after {
|
|
|
|
|
max-height: 80vh;
|
|
|
|
|
color: var(--primary-color);
|
|
|
|
|
background-color: var(--secondary-color);
|
|
|
|
|
--icon-size: 4rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-contents {
|
|
|
|
@ -462,19 +466,82 @@ label[for=toggle-show-room-ids]::after {
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon[src=""] {
|
|
|
|
|
display: none;
|
|
|
|
|
#details-modal-title > * {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon {
|
|
|
|
|
#details-modal-title {
|
|
|
|
|
margin-bottom: calc( var(--icon-size) * 0.1 );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon-wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 0.15em;
|
|
|
|
|
width: 1em;
|
|
|
|
|
height: 1em;
|
|
|
|
|
margin-right: 0.1em;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
--strip: calc( var(--icon-size) / 25 );
|
|
|
|
|
--padding-size: calc( var(--icon-size) - 1 * var(--strip) );
|
|
|
|
|
top: calc(var(--icon-size) * 0.5 - 0.6rem);
|
|
|
|
|
width: var(--icon-size);
|
|
|
|
|
height: var(--icon-size);
|
|
|
|
|
margin-right: calc( var(--icon-size) * 0.3 );
|
|
|
|
|
/* box-shadow: var(--primary-color) 0 0 calc( var(--icon-size) / 10 ); */
|
|
|
|
|
border: var(--primary-color) var(--strip) solid;
|
|
|
|
|
padding: var(--strip);
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Too janky */
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
#details-modal-community-icon-wrapper::after {
|
|
|
|
|
position: absolute;
|
|
|
|
|
line-height: var(--icon-size);
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: calc(var(--icon-size) / 3);
|
|
|
|
|
width: 100%;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
z-index: 10;
|
|
|
|
|
filter: grayscale();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon-wrapper[data-has-icon="false"]::after {
|
|
|
|
|
content: "\2753";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon-wrapper[data-icon-safety="-1"]::after {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
content: "\26A0";
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon-wrapper[data-has-icon="false"] {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon-wrapper[data-icon-safety="-1"] {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon-wrapper:is([data-has-icon="false"], [data-icon-safety="-1"]) #details-modal-community-icon {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: inherit;
|
|
|
|
|
transition: filter 0.15s, opacity 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#details-modal-community-icon:not([data-icon-safety="1"], #details-modal-community-icon-wrapper:hover > *) {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
filter: blur(3px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#details-modal-start #details-modal-description {
|
|
|
|
|
max-height: 50vh;
|
|
|
|
|
overflow: auto;
|
|
|
|
|