soselo/css/base.php

155 lines
2.7 KiB
PHP
Raw Normal View History

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;
}
.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;
}
2022-11-25 01:09:16 +00:00
.btn {
padding: .5em 1em;
cursor: pointer;
}
2022-11-21 23:17:07 +00:00
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;
}
2022-11-27 20:20:18 +00:00
#window-instance #tabs {
position: relative;
z-index: 10;
}
#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 {
float: left;
}
#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;
background: #d7d7d7;
height: 100vh;
}
#window-instance #content #container {
margin: 0 auto;
padding-top: 1em;
}
@media (max-width: 400px) {
#window-instance #tabs .item {
float: inherit;
}
#window-instance #tabs .tab-content {
padding: .6em;
}
}
2022-11-27 20:20:18 +00:00
#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;
}
2022-11-21 23:17:07 +00:00
</style>