127 lines
2.1 KiB
PHP
127 lines
2.1 KiB
PHP
<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;
|
|
}
|
|
|
|
.toast-container {
|
|
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;
|
|
border: 1px solid #ffffff3d;
|
|
border-radius: 10px;
|
|
box-shadow: 0px 0px 2em black;
|
|
color: #fff;
|
|
padding: 1em 1.8em;
|
|
display: flex;
|
|
}
|
|
.toast.info {
|
|
background: #0f3377;
|
|
}
|
|
.toast.error {
|
|
background: #9b1919;
|
|
}
|
|
|
|
.window.hidden { display: none !important }
|
|
*[id*="-item"] { display: none !important }
|
|
|
|
.flex { display: flex }
|
|
.center { margin: auto }
|
|
.wmax { width: 100vw }
|
|
.hmax { height: 100vh }
|
|
.w100 { width: 100% }
|
|
.h100 { height: 100% }
|
|
.card {
|
|
border-radius: .5em;
|
|
box-shadow: 0px 0px .5em #0000004f;
|
|
}
|
|
.btn {
|
|
padding: .5em 1em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
textarea {
|
|
max-width: -moz-available;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
|
|
/* specific styles */
|
|
#window-home {
|
|
background: #d7d7d7;
|
|
}
|
|
#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;
|
|
}
|
|
|
|
#window-instance #tabs {
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
#window-instance #tabs .item {
|
|
float: left;
|
|
}
|
|
#window-instance #tabs .tab-content {
|
|
padding: 1em;
|
|
}
|
|
#window-instance #content {
|
|
display: flex;
|
|
width: 100vw;
|
|
background: #d7d7d7;
|
|
height: 100vh;
|
|
}
|
|
#window-instance #content #container {
|
|
margin: 0 auto;
|
|
padding-top: 1em;
|
|
}
|
|
|
|
#window-instance_config {
|
|
background: #d7d7d7;
|
|
}
|
|
#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;
|
|
}
|
|
#window-instance_config form .item input[type="text"] {
|
|
padding: .5em;
|
|
margin-top: .4em;
|
|
}
|
|
|
|
</style>
|