HelloCSE/public/css/logsreader.css

296 lignes
5 Kio
CSS
Brut Vue normale Historique

2024-04-10 13:56:22 +02:00
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
*{
box-sizing: border-box;
}
/******************************/
:root{
--headerHeight:3em;
--lightBlue: #4460A2;
--mediumBlue: #27407A;
--mainBlue: #0E204B;
--mediumHardBlue: #040E26;
--hardBlue: #01040C;
}
body{
font-family: 'Montserrat', sans-serif;
background: #ccc;
}
#main {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
overflow: auto;
}
.errormsg{
background:#ff0000;
padding: 0.25em;
color:#fff;
text-align: center;
}
header {
height: var(--headerHeight);
background: var(--mainBlue);
color: #ececec;
display: flex;
justify-content: space-between;
}
menu {
display: flex;
}
menu .ico {
font-size: 2.2em;
display: flex;
padding: 0.1em 0.3em;
cursor: pointer;
transition: all 0.2s;
}
menu .ico:hover {
background:rgba(0, 0, 0, 0.2);
}
.handler {
background: var(--mediumHardBlue);
position: absolute;
top: var(--headerHeight);
bottom: 0;
left: 0;
width: 30em;
z-index: 1;
}
.logo {
font-family: 'Odibee Sans', cursive;
font-size: 2.3em;
margin-right: 1em;
display: flex;
align-items: center;
}
.logdisplayer{
font-family: 'Roboto Mono', monospace;
}
.keylist {
display: flex;
height: calc(100% - 3rem);
}
.mainkl,.secondkl{
width: 50%;
overflow: auto;
}
.logkey,.filename {
text-transform: capitalize;
padding: 0.2em;
transition: all 0.2s;
cursor: pointer;
}
.logkey:hover, .logkey.active, .filename:hover {
background: rgba(255, 255, 255, 0.1);
}
.reloadkeylist {
height: 3rem;
background: rgba(0,0,0,0.3);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4em;
cursor: pointer;
}
section {
height: calc(100% - var(--headerHeight));
}
.tabsbtn {
display: flex;
height: 1.8em;
}
.tabbtn {
position: relative;
background: var(--mainBlue);
font-size: 0.8em;
display: flex;
align-items: center;
padding: 0 0.2em;
max-width: 13em;
cursor: pointer;
border-right: 2px solid var(--hardBlue);
color: #fff;
overflow: auto;
}
.tabbtn.active {
background: var(--mediumBlue);
}
.tb_name {
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
padding: 0.1em 0.2em;
}
.tb_close {
position: absolute;
right: 0.1em;
font-size: 1.2em;
background: var(--lightBlue);
color: #fff;
width: 1em;
height: 1em;
text-align: center;
display: none;
}
.tb_refico {
position: absolute;
font-size: 1.5em;
animation: rotate-center 1s linear infinite both;
}
@keyframes rotate-center {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
.tabbtn:hover .tb_close {
display: block;
}
.displayer {
height: calc(100% - 1.8em);
overflow: auto;
}
.ld_header {
height: 2em;
background: #61594f;
}
.logdisp {
display: none;
height: 100%;
}
.logdisp.active {
display: block;
}
.ld_header {
height: 2rem;
background: var(--mediumBlue);
display: flex;
align-items: center;
font-size: 0.8em;
justify-content: space-between;
color: #fff;
}
.ld_header > div {
display: flex;
align-items: center;
}
.ld_refbtn {
margin: 0 1em;
background: rgba(0,0,0,0.5);
padding: 0.5em;
cursor: pointer;
}
.ld_autref{
display: flex;
align-items: center;
}
.ld_autref input[type="text"] {
margin: 0 0.5em;
width: 5ch;
text-align: center;
}
.ld_cont {
font-family: 'Roboto Mono', monospace;
background: #252525;
color: #fff;
padding: 0.5em;
overflow: auto;
height: calc(100% - 2em);
}
.ld_cont > div {
font-size: 0.9em;
line-height: 1.1em;
}
.ld_cont > div:hover {
background: rgba(255,255,255,0.1);
}
.lhour {
color: #afafaf;
}
.llevel.debug{
color:rgb(0, 122, 61);
}
.llevel.info{
color:rgb(21, 86, 226);
}
.lline{
color:rgb(255, 217, 0);
}
.llevel.notice{
color:rgb(239, 243, 0);
}
.llevel.warning{
color:rgb(248, 149, 0);
}
.llevel.error{
color:rgb(255, 0, 0);
}
.llevel.critical{
background:rgb(148, 0, 0);
color:#fff;
}
.llevel.alert{
background:rgb(122, 0, 0);
color:#fff;
}
.llevel.emergency{
background:rgb(175, 4, 110);
color:#fff;
}
.ldata {
color: #41a738;
}