1
0
Fork 0
MastodonStartpage/web/mustard/theme.css
pezcurrel beff5cd247 ...
2020-05-10 13:28:37 +02:00

827 linhas
13 KiB
CSS

:root {
--MenuEntryWidth: 100px;
--HiColor: #78b1e2;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
height: 100%
}
body {
background-color: white;
color: black;
font-family: Arial, Helvetica, Sans-Serif, sans;
font-size: 12pt;
margin: 0;
padding: 0;
height: 100%
}
h1,h2,h3,h4,h5,h6 {
text-align: center;
}
a {
text-decoration: none;
color: blue;
}
a:hover {
text-decoration: underline;
}
ul {
list-style-type: disc;
padding-left: 0;
margin-left: 14pt;
}
p {
margin-bottom: 10px;
}
.bigtabfoot {
height: 32px;
background-color: red;
}
.bigtab {
background-color: white;
font-size: 10pt;
margin-left: auto;
margin-right: auto;
/*max-width: 100%;*/
margin-top: 32px;
}
.bigtab thead {
padding: 3px;
/* position: sticky;
top: 32px;*/
color: white;
height: 30px;
}
.bigtab th {
background-color: #916f6f;
border-radius: 5px;
}
.bigtab .insthead {
padding: 3px;
color: white;
height: 30px;
background-color: #6f8a91;
border-radius: 5px;
text-align: center;
vertical-align: middle;
color: white;
font-size: 12pt;
font-weight: bold;
}
.bigtab .insthead a {
color: #1c2224;
/*text-decoration: underline;*/
}
.bigtab img {
max-width: 100%;
display: block;
margin-left: auto;
margin-right: auto;
}
/*720x1280*/
.bigtab td {
padding: 3px;
text-align: left;
vertical-align: top;
word-break: break-word;
width: 360px;
min-width: 360px;
background-color: lightgrey;
border-radius: 5px;
}
.bigtab .btbut {
font-size: 10pt;
}
.bigtab .tdattr {
width: 110px;
min-width: 110px;
}
.baloo {
width: 100%;
margin-bottom: 3px;
padding-bottom: 3px;
border-bottom: 1px solid grey;
}
.good, .bad, .neut {
padding: 1px;
margin-bottom: 3px;
border-radius: 3px;
}
.good {
background-color: #87DE87;
}
.bad {
background-color: #DE8787;
}
.neut {
background-color: #FFCCAA;
}
.field, .ourfield {
padding: 1px;
border-radius: 3px;
background-color: #FFEEAA;
color: black;
}
.ourfield {
background-color: #FFB380;
}
.percstatuses, .perclogins, .percregs {
height: 12px;
line-height: 12px;
vertical-align: middle;
font-size: 8pt;
word-break: keep-all;
overflow-x: visible;
}
.percstatuses {
background-color: #FF8080;
}
.perclogins {
background-color: #99FF55;
}
.percregs {
background-color: #80B3FF;
}
.colsectheader, .colsectcont, .colsectcontb {
width: 100%;
font-size: 8pt;
text-align: center;
}
.colsectheader {
margin-top: 10px;
font-weight: bold;
background-color: #C8B7B7;
border-radius: 3px;
padding: 1px;
}
.colsectcont ol {
text-align: left;
padding-left: 0;
margin-left: 12px;
}
.colsectcontb {
margin-top: 2px;
font-weight: bold;
background-color: #BBBBBB;
border-radius: 3px;
padding: 1px;
}
.percbg, .percfg {
margin-top: 2px;
width: 100%;
height: 14px;
background-color: #C83737;
border-radius: 3px;
}
.percfg {
background-color: #44AA00;
}
#fullscreen {
width: 100%;
height: 100%;
display: table;
}
#middlerow {
display: table-cell;
vertical-align: middle;
text-align: center;
}
#centertit, #centerbox {
font-size: 12pt;
margin-right: auto;
margin-left: auto;
width: 320px;
padding: 5px;
}
#centertit {
font-size: 13pt;
padding: 8px;
background-color: #916f6f;
color: white;
text-shadow: 1px 1px 2px black;
font-weight: bold;
text-align: center;
border-radius: 9px 9px 0 0;
}
#centerbox {
background-color: lightgrey;
border-radius: 0 0 9px 9px;
}
#logintable {
width: 100%;
}
#logintable td {
text-align: right;
width: 1%;
}
#logintable .rtd {
text-align: left;
width: 99%;
}
#logintable .tiptd {
font-size: 10pt;
text-align: center;
width: 100%;
padding-top:10px;
padding-bottom: 10px;
}
input {
width: 100%;
font-size: 11pt;
padding-top: 2px;
padding-bottom: 2px;
}
.button {
font-size: 11pt;
height: 36px;
}
#popup {
z-index: 2;
display: none;
top: 0px;
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.75);
color: white;
padding: 0;
font-size: 9pt;
}
#inpopup {
display: table-cell;
vertical-align: middle;
text-align: center;
}
#inpopup .waitbub {
background-color: black;
color: var(--HiColor);
padding: 16px;
border-radius: 20px;
width: 160px;
margin-left: auto;
margin-right: auto;
}
#inpopup .loadsavepresbub {
background-color: black;
color: var(--HiColor);
padding: 16px;
border-radius: 20px;
width: 320px;
margin-left: auto;
margin-right: auto;
}
#inpopup .loadsavepresbub input {
font-size: 8pt;
height: 24px;
}
#inpopup .loadsavepresbub #ckmsg p {
color: red;
margin: 0;
padding: 0;
margin-top: 16px;
}
#popupcont {
position: relative;
margin-left: auto;
margin-right: auto;
border: 1px solid gray;
width: 260px;
background-color: white;
border-radius: 9px;
color: black;
padding: 5px;
text-align: left;
}
#popupcont input {
width: 100%;
height: 24px;
font-size: 9pt;
}
#popupcont p {
font-size: 10pt;
margin-top: 3px;
margin-bottom: 5px;
padding: 0;
}
#footer {
color: white;
position: fixed;
height: 32px;
width: 100%;
bottom: 0;
left: 0;
background-color: rgba(0,0,0,0.85);
line-height: 32px;
vertical-align: middle;
}
.nully {
font-style: italic;
color: #666666;
}
#hmenu {
font-size: 10pt;
background-color: rgba(0,0,0,0.85);
color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 32px;
margin: 0;
padding: 0;
/*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);*/
/*padding-left: 32px;*/
z-index: 1;
/*display: none;*/
}
#hmenu ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: visible;
}
#hmenu ul li {
width: var(--MenuEntryWidth);
height: 32px;
text-align: center;
display: table-cell;
vertical-align: middle;
color: var(--HiColor);
}
#hmenu ul li:hover {
background-color: rgba(255,255,255,0.10);
cursor: default;
}
#hmenu ul li a {
width: var(--MenuEntryWidth);
line-height: 32px;
display: block;
color: var(--HiColor);
}
#hmenu .shref {
color: black;
}
#hmenu .shref:hover {
color: var(--HiColor);
text-decoration: underline;
}
#hmenu .ula {
position: absolute;
top: 32px;
background-color: rgba(0,0,0,0.85);
display: none;
}
#hmenu .ulb {
background-color: rgba(0,0,0,0.85);
left: var(--MenuEntryWidth);
position: relative;
top: -32px;
display: none;
}
#hmenu .ula li, #hmenu .ulb li {
width: var(--MenuEntryWidth);
height: 32px;
display: block;
float: none;
text-align: center;
line-height: 32px;
vertical-align: middle;
}
#hmenu .ula li:hover, #hmenu .ulb li:hover {
text-decoration: underline;
}
#hmenu .hil {
background-color: var(--HiColor);
color: black;
}
#hmenu .hil:hover {
cursor: default;
text-decoration: none;
color: var(--HiColor);
}
#hmenu .ula li.hil:hover, #hmenu .ulb li.hil:hover {
text-decoration: none;
}
#rightdiv {
position: absolute;
top: 0;
right: 0;
color: var(--HiColor);
height: 32px;
line-height: 32px;
vertical-align: middle;
}
.rlinks {
float: left;
padding-left: 5px;
padding-right: 5px;
text-align: center;
}
.rlinks a {
color: var(--HiColor);
}
.rlinks:hover {
cursor: pointer;
background-color: rgba(255,255,255,0.10);
}
.mtit {
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
line-height: 32px;
font-size: 14pt;
font-weight: bold;
color: var(--HiColor);
}
#plancia {
position: fixed;
left: 50%;
transform: translateX(-50%);
top: 32px;
max-width: 100%;
background-color: rgba(0,0,0,0.85);
padding: 1px;
border-radius: 0 0 7px 7px;
font-size: 9pt;
color: var(--HiColor);
display: none;
}
#plancia .planciatab {
margin-right: auto;
margin-left: auto;
width: 100%;
}
#plancia select, #plancia input, #plancia button {
margin: 0;
height: 24px;
font-size: 8pt;
}
#plancia input {
width: 120px;
}
/* questi li definisco e li applico solo per avere qualcosa su cui fare "querySelectorAll" */
#plancia .openpar, #plancia .fieldsel, #plancia .condsel, #plancia .valuesel, #plancia .valueinp, #plancia .andor, #plancia .closepar, #plancia .ordfieldsel, #plancia .ascdesc, #plancia .presets { min-width: 100%; }
#plancia .valuesel:disabled, #plancia .valueinp:disabled {
opacity: 0.5;
}
#plancia .presets {
max-width: 400px;
}
#plancia .minus, #plancia .plus, #plancia .lilbut {
width: 22px;
height: 22px;
}
#plancia .minus:hover, #plancia .plus:hover, #plancia .lilbut:hover {
cursor: pointer;
}
#plancia .ctrlbut {
font-weight: bold;
width: 100%;
min-width: 320px;
}
.edtab {
background-color: white;
font-size: 10pt;
margin-left: auto;
margin-right: auto;
width: 400px;
margin-top: 32px;
}
.edtab .insthead {
padding: 3px;
color: white;
height: 30px;
background-color: #916f6f;
border-radius: 5px;
text-align: center;
vertical-align: middle;
color: white;
font-size: 12pt;
font-weight: bold;
}
.edtab input {
width: auto;
font-size: 10pt;
padding: 0;
}
.edtab .button {
width: 100%;
height: 50px;
font-size: 10pt;
}
.edtab img {
max-width: 100%;
display: block;
margin-left: auto;
margin-right: auto;
}
/*720x1280*/
.edtab td {
padding: 6px;
line-height: 14pt;
text-align: left;
vertical-align: top;
/* word-break: break-word;*/
background-color: lightgrey;
border-radius: 5px;
}
.edtab .left {
width: 1%;
text-align: right;
}
.edtab .right {
width: 99%;
}
.edtab .tarea, .edtab .mselect, .mailmsg {
display: block;
width: 100%;
resize: none;
padding: 3px;
border-radius: 3px;
border: 1px solid darkgrey;
font-size: 9pt;
}
.edtab .search {
width: 100%;
padding: 3px;
border-radius: 3px;
border: 1px solid darkgrey;
margin-bottom: 1px;
font-size: 9pt;
}
.edtab label {
font-weight: bold;
}
.edtab .ruler {
width: 100%;
height: 12px;
}
.edtab .tit {
background-color: #6f916f;
color: white;
text-align: center;
border-radius: 3px;
margin-bottom: 6px;
height: 24px;
line-height: 24px;
}
.edtab .desc {
margin-bottom: 6px;
}
.edtab .butdiv {
width: 22px;
margin-bottom: 1px;
margin-left: 1px;
}
.edtab .move {
line-height: 22px;
font-size: 8pt;
}
.cbtab {
border-spacing: 0;
}
.cbtab td {
border-radius: 0;
padding: 0;
}
.picktab {
border-spacing: 0;
width: 100%;
}
.picktab td {
border-radius: 0;
padding: 0;
vertical-align: middle;
text-align: center;
}
.imgbut:hover {
cursor: pointer;
}
.hiframe {
background-color: lightgrey;
border-radius: 6px;
border: 1px solid darkgrey;
width: 400px;
height: 200px;
}
.hifbody {
font-size:10pt;
background-color: lightgrey;
}
.hifbody p {
margin: 5px;
font-size: 10pt;
}
.hiftit {
background-color: #6f916f;
color: white;
font-size: 11pt;
font-weight: bold;
border-radius: 6px;
width: 400px;
height: 24px;
line-height: 24px;
vertical-align: middle;
margin-left: auto;
margin-right: auto;
margin-bottom: 6px;
}
.hifinp {
width: 320px;
font-size: 9pt;
margin-bottom: 1px;
}
.hiflab, .hiftab, .hifdiv, #errmsg {
width: 320px;
margin-left: auto;
margin-right: auto;
}
.hiflab {
font-weight: bold;
background-color: #6f916f;
color: white;
border-radius: 3px;
margin-bottom: 1px;
padding: 2px;
}
.hiftab {
border-spacing: 1px;
}
.hifdiv {
text-align: left;
padding: 1px;
padding-top: 0;
}
.hifbut {
width: 100%;
height: 32px;
font-size: 9pt;
}
.hiferr {
color: red;
}
.hifloc, .hiflocno {
text-align: left;
background-color: #ccffaa;
border-radius: 3px;
padding: 5px;
margin-bottom: 5px;
margin-left: 5px;
margin-right: 5px;
}
.hifloc:hover {
cursor: pointer;
background-color: #b3ff80;
}
.hiflocno {
background-color: #ffaaaa;
}
.hiful {
margin: 0;
margin-left: 5px;
padding: 0;
padding-left: 10px;
}
#wait {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
line-height: 200px;
background-color: rgba(0,0,0,0.90);
color: white;
display: none;
z-index: 1;
}
#errmsg {
background-color: red;
color: yellow;
border-radius: 3px;
}
#pageselect {
position: absolute;
left: 50%;
transform: translateX(-50%);
margin-top: 5px;
text-align: center;
}
#notifc {
position: fixed;
top: 32px;
right: 0;
width: 200px;
height: 80%;
font-size: 9pt;
color: white;
background-color: rgba(0,0,0,0);
border-left: 3px solid rgba(0,0,0,0.85);
border-bottom: 3px solid rgba(0,0,0,0.85);
border-radius: 0 0 0 3px;
display: none;
}
#notifc a {
color: #ffeeaa;
}
#notifs {
height: calc(100% - 30px);
overflow-y: auto;
}
#notifa {
height: 30px;
line-height: 30px;
background-color: rgba(0,0,0,0.85);
text-align: center;
}
.notifseen, .notifunseen {
border-bottom: 1px solid white;
background-color: rgba(0,0,0,0.85);
padding: 2px;
cursor: pointer;
}
.notifunseen {
background-color: rgba(85,0,0,0.85);
}
#debug {
position: fixed;
left: 0;
top: 32px;
width: 320px;
height: 240px;
font-size: 8pt;
overflow: auto;
/*display: none;*/
}
#debugh {
font-size: 8pt;
/*display: none;*/
}
.mailheader {
font-size: 11pt;
/*height: 24px;*/
line-height: 24px;
vertical-align: middle;
width: 100%;
}
.mailsubj {
font-size: 10pt;
width: 280px;
}
.mailmsg {
margin-top: 6px;
font-size: 10.5pt;
}
.mailbut {
font-size: 10pt;
width: 100%;
height: 32px;
margin-top: 3px;
}
.message {
width: 720px;
margin-left: auto;
margin-right: auto;
padding: 10px;
text-align: left;
font-size: 14pt;
line-height: 18pt;
background-color: #ffe6d5;
color: black;
border-radius: 6px;
}
.message p, ul {
margin-bottom: 10px;
}
@media only screen and (max-width:720px) {
.bigtab td {
width: 244px;
min-width: 244px;
}
.message {
width: 340px;
}
}