2022-11-28 14:45:55 +00:00
|
|
|
<?php
|
|
|
|
$clr = [
|
|
|
|
'background' => '#e3e3e3'
|
|
|
|
];
|
|
|
|
?>
|
2022-11-21 23:17:07 +00:00
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-family: system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,"mastodon-font-sans-serif",sans-serif;
|
|
|
|
}
|
2022-12-06 15:18:34 +00:00
|
|
|
body.instance {
|
|
|
|
background: <?php echo $clr['background'] ?>;
|
|
|
|
}
|
2022-11-21 23:17:07 +00:00
|
|
|
|
2022-12-06 15:18:34 +00:00
|
|
|
body > .toast-container {
|
2022-11-21 23:17:07 +00:00
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: -moz-available;
|
|
|
|
display: flex;
|
|
|
|
padding: 1em;
|
|
|
|
max-width: 45em;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toast {
|
|
|
|
width: 100%;
|
|
|
|
min-height: 2em;
|
2022-12-06 15:18:34 +00:00
|
|
|
border: 1px solid #ffffffab;
|
2022-11-21 23:17:07 +00:00
|
|
|
border-radius: 10px;
|
2022-12-06 15:18:34 +00:00
|
|
|
box-shadow: 0px 0px 2em #00000075;
|
2022-11-21 23:17:07 +00:00
|
|
|
color: #fff;
|
|
|
|
padding: 1em 1.8em;
|
|
|
|
display: flex;
|
|
|
|
}
|
2022-12-06 15:18:34 +00:00
|
|
|
#toast-container {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
#toast-container > .toast-container {
|
|
|
|
width: 100%;
|
|
|
|
margin: auto;
|
|
|
|
display: flex;
|
|
|
|
padding: 1em;
|
|
|
|
max-width: 45em;
|
|
|
|
}
|
2022-11-21 23:17:07 +00:00
|
|
|
.toast.info {
|
|
|
|
background: #0f3377;
|
|
|
|
}
|
|
|
|
.toast.error {
|
|
|
|
background: #9b1919;
|
|
|
|
}
|
2022-12-17 12:03:03 +00:00
|
|
|
#overlay, .overlay {
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background: #0000009e;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
#overlay > *, .overlay > * {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
#overlay span, .overlay span {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2022-11-21 23:17:07 +00:00
|
|
|
|
2022-11-23 00:18:34 +00:00
|
|
|
.window.hidden { display: none !important }
|
|
|
|
*[id*="-item"] { display: none !important }
|
|
|
|
|
|
|
|
.flex { display: flex }
|
2022-12-07 00:41:49 +00:00
|
|
|
.inline { display: inline-block }
|
2022-11-23 00:18:34 +00:00
|
|
|
.center { margin: auto }
|
|
|
|
.wmax { width: 100vw }
|
|
|
|
.hmax { height: 100vh }
|
2022-11-25 00:44:03 +00:00
|
|
|
.w100 { width: 100% }
|
|
|
|
.h100 { height: 100% }
|
|
|
|
.card {
|
2022-12-08 15:41:08 +00:00
|
|
|
background: #fff;
|
2022-11-25 00:44:03 +00:00
|
|
|
border-radius: .5em;
|
|
|
|
box-shadow: 0px 0px .5em #0000004f;
|
2022-12-08 15:41:08 +00:00
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
.noborder {
|
|
|
|
border: none !important;
|
|
|
|
box-shadow: none !important;
|
2022-11-25 00:44:03 +00:00
|
|
|
}
|
2022-12-13 12:15:19 +00:00
|
|
|
.disabled,
|
|
|
|
.silenced .disable-able {
|
|
|
|
filter: saturate(0);
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2022-12-13 17:14:11 +00:00
|
|
|
span.sr {
|
|
|
|
background: yellow;
|
|
|
|
}
|
2022-12-05 17:52:23 +00:00
|
|
|
.gray { color: gray }
|
2022-11-25 01:09:16 +00:00
|
|
|
.btn {
|
2022-11-28 14:21:46 +00:00
|
|
|
padding: 1em 3em;
|
2022-12-05 15:31:15 +00:00
|
|
|
border: 1px solid #00000059;
|
2022-11-28 14:21:46 +00:00
|
|
|
border-radius: .6em;
|
2022-12-05 15:31:15 +00:00
|
|
|
box-shadow: 0px 0px .7em #0000001c;
|
2022-11-28 14:21:46 +00:00
|
|
|
}
|
2022-12-06 23:13:00 +00:00
|
|
|
.btn.small {
|
|
|
|
padding: .2em !important;
|
|
|
|
}
|
|
|
|
.btn.mid {
|
|
|
|
padding: .5em .8em !important;
|
|
|
|
}
|
2022-11-28 14:21:46 +00:00
|
|
|
.btn:hover {
|
|
|
|
filter: brightness(95%);
|
|
|
|
}
|
|
|
|
.btn:active,
|
|
|
|
.btn:focus {
|
|
|
|
filter: brightness(85%);
|
|
|
|
}
|
2022-12-08 15:41:08 +00:00
|
|
|
.white {
|
|
|
|
background: #fff;
|
|
|
|
}
|
2022-12-06 23:13:00 +00:00
|
|
|
.red {
|
2022-11-28 14:21:46 +00:00
|
|
|
background: #ffb5b5;
|
|
|
|
color: #9d0202;
|
|
|
|
}
|
2022-12-14 22:44:03 +00:00
|
|
|
.blue {
|
|
|
|
background: #b5d5ff;
|
|
|
|
color: #253d5e;
|
|
|
|
}
|
2022-12-06 23:13:00 +00:00
|
|
|
.green {
|
2022-11-28 14:21:46 +00:00
|
|
|
background: #c2ffb5;
|
|
|
|
color: #386f2c;
|
|
|
|
}
|
|
|
|
.btn.fit {
|
|
|
|
max-width: fit-content;
|
|
|
|
margin: auto;
|
2022-11-28 02:03:20 +00:00
|
|
|
}
|
|
|
|
button, .btn {
|
2022-11-25 01:09:16 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2022-11-28 02:03:20 +00:00
|
|
|
.textbox {
|
|
|
|
background: #e8e8e8;
|
|
|
|
padding: 1em;
|
|
|
|
border-radius: .3em;
|
|
|
|
border: 1px solid black;
|
|
|
|
}
|
2022-11-23 00:18:34 +00:00
|
|
|
|
2022-11-28 14:45:55 +00:00
|
|
|
h1.normal,h2.normal,h3.normal,
|
|
|
|
h4.normal,h5.normal,h6.normal {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2022-11-21 23:17:07 +00:00
|
|
|
textarea {
|
|
|
|
max-width: -moz-available;
|
|
|
|
}
|
2022-11-23 00:18:34 +00:00
|
|
|
|
2022-12-03 17:54:18 +00:00
|
|
|
br.sep {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2022-12-08 16:32:54 +00:00
|
|
|
hr { color: #0000005e }
|
2022-11-23 00:18:34 +00:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2022-12-08 15:41:08 +00:00
|
|
|
main input[type=text],
|
2022-12-10 14:23:13 +00:00
|
|
|
main input[type=password],
|
2022-12-08 15:41:08 +00:00
|
|
|
main textarea {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
main input[type=number] {
|
|
|
|
padding: .5em 1em;
|
|
|
|
max-width: 8em;
|
|
|
|
}
|
|
|
|
main select {
|
|
|
|
padding: .5em;
|
|
|
|
}
|
|
|
|
main .input {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2022-12-05 17:52:23 +00:00
|
|
|
.software .only {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.software.mastodon .only.mastodon {
|
|
|
|
display: inherit !important;
|
2022-12-06 15:18:34 +00:00
|
|
|
padding-top: .5em;
|
|
|
|
}
|
|
|
|
table.fields tr > td {
|
|
|
|
padding: .2em;
|
|
|
|
font-size: .9em;
|
|
|
|
}
|
|
|
|
table.fields tr > td:nth-child(1) {
|
|
|
|
background: #f0f0f0;
|
|
|
|
}
|
|
|
|
table.fields tr > td:nth-child(2) {
|
|
|
|
background: #d5d5d5;
|
|
|
|
}
|
|
|
|
table.fields tr.verified > td:nth-child(1) {
|
|
|
|
background: #e6ffe4 !important;
|
|
|
|
}
|
|
|
|
table.fields tr.verified > td:nth-child(2) {
|
|
|
|
background: #beecb1 !important;
|
|
|
|
}
|
|
|
|
table.fields tr.verified td .fa.fa-check {
|
|
|
|
color: #31d023 !important;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
background: #ccfddb;
|
|
|
|
padding: .2em;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 1px solid #8bd97b;
|
|
|
|
}
|
|
|
|
table.fields tr.verified td .fa.fa-check::before {
|
|
|
|
left: 1px;
|
|
|
|
top: 1px;
|
|
|
|
}
|
|
|
|
.item .note {
|
|
|
|
padding: 1em;
|
|
|
|
font-size: .9em;
|
|
|
|
background: #e6e6e6;
|
|
|
|
border: 1px solid #0000001a;
|
|
|
|
border-radius: .5em;
|
|
|
|
margin-top: .5em;
|
2022-12-17 01:57:33 +00:00
|
|
|
word-break: break-all;
|
2022-12-13 12:15:19 +00:00
|
|
|
}
|
2022-12-17 22:04:31 +00:00
|
|
|
.item table.fields tr > td:nth-child(2) {
|
2022-12-17 18:46:17 +00:00
|
|
|
word-break: break-all;
|
|
|
|
}
|
2022-12-13 12:15:19 +00:00
|
|
|
.item.suspended .card {
|
|
|
|
background: #fff3f3 !important;
|
|
|
|
border: 2px solid red;
|
2022-12-05 17:52:23 +00:00
|
|
|
}
|
|
|
|
|
2022-11-23 00:18:34 +00:00
|
|
|
|
|
|
|
/* specific styles */
|
|
|
|
#window-home {
|
2022-11-28 14:45:55 +00:00
|
|
|
background: <?php echo $clr['background'] ?>;
|
2022-11-23 00:18:34 +00:00
|
|
|
}
|
|
|
|
#window-home #instances .item {
|
|
|
|
padding: .5em;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: .5em;
|
|
|
|
box-shadow: 0px 0px .5em #0000004f;
|
|
|
|
margin-top: .5em;
|
|
|
|
}
|
|
|
|
#window-home #instances .item:hover {
|
|
|
|
background: #f9f9f9;
|
|
|
|
}
|
|
|
|
#window-home #instances .item:active,
|
|
|
|
#window-home #instances .item:focus {
|
|
|
|
background: #dfdfdf;
|
|
|
|
}
|
|
|
|
#window-home #instances .item img {
|
|
|
|
width: 2.5em;
|
|
|
|
height: 2.5em;
|
|
|
|
}
|
|
|
|
|
2022-11-28 00:45:53 +00:00
|
|
|
|
2022-12-08 15:41:08 +00:00
|
|
|
#window-add {
|
|
|
|
background: <?php echo $clr['background'] ?>;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-11-27 20:20:18 +00:00
|
|
|
#window-instance #tabs {
|
2022-12-06 15:18:34 +00:00
|
|
|
background: #fff;
|
2022-11-27 20:20:18 +00:00
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2022-11-28 00:45:53 +00:00
|
|
|
#window-instance #tabs .fa {
|
|
|
|
color: #5e5e5e;
|
|
|
|
}
|
|
|
|
#window-instance #tabs .fa.fa-home {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2022-11-27 20:20:18 +00:00
|
|
|
#window-instance #tabs .item {
|
2022-12-06 15:18:34 +00:00
|
|
|
display: inline-flex;
|
|
|
|
width: max-content;
|
2022-11-27 20:20:18 +00:00
|
|
|
}
|
2022-11-28 00:45:53 +00:00
|
|
|
#window-instance #tabs .item:hover {
|
|
|
|
background: #f0f0f0;
|
|
|
|
}
|
|
|
|
#window-instance #tabs .item:active,
|
|
|
|
#window-instance #tabs .item:focus {
|
|
|
|
color: #8203a6 !important;
|
|
|
|
}
|
|
|
|
#window-instance #tabs .item[data-id="home"] {
|
|
|
|
border-right: 2px solid #5e5e5e;
|
|
|
|
}
|
|
|
|
#window-instance #tabs .item[data-id="settings"] {
|
|
|
|
border-left: 2px solid #5e5e5e;
|
|
|
|
}
|
2022-11-27 20:20:18 +00:00
|
|
|
#window-instance #tabs .tab-content {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
#window-instance #content {
|
|
|
|
display: flex;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
#window-instance #content #container {
|
|
|
|
margin: 0 auto;
|
2022-12-06 15:18:34 +00:00
|
|
|
padding: 1em;
|
2022-11-27 20:20:18 +00:00
|
|
|
}
|
2022-12-03 17:54:18 +00:00
|
|
|
#window-instance #container .card {
|
2022-11-28 02:03:20 +00:00
|
|
|
margin-bottom: 1em;
|
2022-12-18 23:37:39 +00:00
|
|
|
max-width: 50em;
|
|
|
|
}
|
|
|
|
#window-instance #filters-all {
|
|
|
|
max-width: 50em;
|
2022-12-03 17:54:18 +00:00
|
|
|
}
|
|
|
|
#window-instance #container #new-accounts .card {
|
2022-11-28 02:03:20 +00:00
|
|
|
width: calc(100vw - 4em);
|
2022-11-28 14:21:46 +00:00
|
|
|
max-width: 30em;
|
2022-11-28 02:03:20 +00:00
|
|
|
}
|
|
|
|
#window-instance #container #new-accounts .card > div {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2022-11-28 00:45:53 +00:00
|
|
|
@media (max-width: 400px) {
|
|
|
|
#window-instance #tabs .item {
|
|
|
|
float: inherit;
|
|
|
|
}
|
|
|
|
#window-instance #tabs .tab-content {
|
|
|
|
padding: .6em;
|
|
|
|
}
|
|
|
|
}
|
2022-12-05 17:52:23 +00:00
|
|
|
#window-instance #users-all .item img {
|
|
|
|
width: 5em;
|
|
|
|
height: 5em;
|
|
|
|
}
|
|
|
|
#window-instance #users-all .item .props {
|
|
|
|
max-width: 20em;
|
|
|
|
font-size: .9em;
|
|
|
|
margin-top: .5em;
|
|
|
|
}
|
|
|
|
#window-instance #users-all .item .props > span {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2022-11-27 20:20:18 +00:00
|
|
|
|
2022-11-25 00:44:03 +00:00
|
|
|
#window-instance_config {
|
2022-11-28 14:45:55 +00:00
|
|
|
background: <?php echo $clr['background'] ?>;
|
2022-11-25 00:44:03 +00:00
|
|
|
}
|
|
|
|
#window-instance_config #title {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
#window-instance_config form {
|
|
|
|
background: #fff;
|
|
|
|
padding: 2.5em 2em;
|
|
|
|
}
|
|
|
|
#window-instance_config form .item {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2022-12-10 14:23:13 +00:00
|
|
|
#window-instance_config form .item input[type=text] {
|
2022-11-25 00:44:03 +00:00
|
|
|
padding: .5em;
|
|
|
|
margin-top: .4em;
|
|
|
|
}
|
|
|
|
|
2022-12-17 12:03:03 +00:00
|
|
|
/* ANIMATIONS*/
|
|
|
|
.lds-ring {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
.lds-ring div {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
margin: 8px;
|
|
|
|
border: 8px solid #fff;
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
|
|
border-color: #fff transparent transparent transparent;
|
|
|
|
}
|
|
|
|
.lds-ring div:nth-child(1) {
|
|
|
|
animation-delay: -0.45s;
|
|
|
|
}
|
|
|
|
.lds-ring div:nth-child(2) {
|
|
|
|
animation-delay: -0.3s;
|
|
|
|
}
|
|
|
|
.lds-ring div:nth-child(3) {
|
|
|
|
animation-delay: -0.15s;
|
|
|
|
}
|
|
|
|
@keyframes lds-ring {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
2022-11-21 23:17:07 +00:00
|
|
|
</style>
|