Merge branch 'main' of lokilocker.com:SomeGuy/sessioncommunities.online

main
mdPlusPlus 3 years ago
commit dbb709ec28

@ -2,10 +2,19 @@ html {
font-size: clamp(10px, 2vw, 18px); font-size: clamp(10px, 2vw, 18px);
} }
html.js .noscript { html.js .noscript, .hidden {
display: none; display: none;
} }
.clickable {
cursor: pointer;
}
.anchorstyle {
color: rgb(0, 102, 204);
text-decoration: underline;
}
/* Dead style */ /* Dead style */
html:not(.js) .js-only { html:not(.js) .js-only {
display: none; display: none;
@ -25,9 +34,14 @@ header {
#tbl_communities { width:100%; } #tbl_communities { width:100%; }
/* Hide the identifier column before removal. */ #toggle-show-room-ids:not(:checked)
#th_identifier { display: none; } ~ #tbl_communities :is(#th_identifier, .td_identifier) {
.td_identifier { display: none; font-family: monospace; } display: none;
}
.td_identifier {
font-family: monospace;
}
.td_language:empty::after { .td_language:empty::after {
content: "\2753"; content: "\2753";
@ -95,6 +109,15 @@ footer nav a {
white-space: nowrap; white-space: nowrap;
} }
label[for=toggle-show-room-ids]::after {
content: " (Off)"
}
#toggle-show-room-ids:checked
~ footer label[for=toggle-show-room-ids]::after {
content: " (On)"
}
/* <Colors> */ /* <Colors> */
:root { :root {
/*--session-classic-dark-green: #31f196;*/ /*--session-classic-dark-green: #31f196;*/

@ -31,6 +31,8 @@
<h1 id="headline">Session Communities</h1> <h1 id="headline">Session Communities</h1>
<?php include "+components/qr_modals.php" ?> <?php include "+components/qr_modals.php" ?>
<input type="checkbox" id="toggle-show-room-ids" class="hidden">
<?php include "+components/tbl_communities.php" ?> <?php include "+components/tbl_communities.php" ?>
<hr> <hr>
@ -62,6 +64,11 @@
However, some interactive features are However, some interactive features are
only available with JS enabled. only available with JS enabled.
</p> </p>
<p>
<label for="toggle-show-room-ids" class="clickable anchorstyle">
Toggle room identifier display
</label>
</p>
<nav> <nav>
<a <a
href="https://lokilocker.com/Mods/Session-Groups/wiki/Session-Closed-Groups" href="https://lokilocker.com/Mods/Session-Groups/wiki/Session-Closed-Groups"
@ -89,7 +96,6 @@
>Source Code & Contact</a> >Source Code & Contact</a>
</nav> </nav>
</footer> </footer>
<div id="copy-snackbar"> <div id="copy-snackbar">
Copied URL to clipboard. Paste into Session app to join Copied URL to clipboard. Paste into Session app to join
</div> </div>

Loading…
Cancel
Save