Files
2019-06-29 13:01:38 +02:00

265 lines
4.4 KiB
CSS

/* @font-face {
font-family: 'Ubuntu Mono';
font-style: normal;
font-weight: 400;
src: local('Ubuntu Mono'), local('UbuntuMono-Regular'), url(res/ubuntu-mono.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} */
:root{
--txblk: #1f1f1f;
--txred: #d25252;
--txgrn: #7fe173;
--txyel: #ffc66d;
--txblu: #4099ff;
--txprp: #f680ff;
--txcya: #bed6ff;
--txwht: #eeeeec;
--txxblk: #535353;
--txxred: #f07070;
--txxgrn: #9dff91;
--txxyel: #ffe48b;
--txxblu: #5eb7f7;
--txxprp: #ff9dff;
--txxcya: #dcf4ff;
--txxwht: #ffffff;
--font: Courier New;
}
body{
height: 100vh;
font-size: 14px;
margin: 0px;
font-family: var(--font);
}
/* text inputs */
input,textarea{
color: white;
font-family: var(--font);
font-size: 14px;
}
txblk, .txblk {color: var(--txblk);}
txred, .txred {color: var(--txred);}
txgrn, .txgrn {color: var(--txgrn);}
txyel, .txyel {color: var(--txyel);}
txblu, .txblu {color: var(--txblu);}
txprp, .txprp {color: var(--txprp);}
txcya, .txcya {color: var(--txcya);}
txwht, .txwht {color: var(--txwht);}
txxblk, .txxblk {color: var(--txxblk);}
txxred, .txxred {color: var(--txxred);}
txxgrn, .txxgrn {color: var(--txxgrn);}
txxyel, .txxyel {color: var(--txxyel);}
txxblu, .txxblu {color: var(--txxblu);}
txxprp, .txxprp {color: var(--txxprp);}
txxcya, .txxcya {color: var(--txxcya);}
txxwht, .txxwht {color: var(--txxwht);}
/* highlight colors */
/* txgrn, .txgrn {color: #55FF55;}
txdbl, .txdbl {color: #2839E1;}
txblu, .txblu {color: #00B2FF;}
txcya, .txcya {color: #00FFFB;}
txyel, .txyel {color: #F4E253;}
txorn, .txorn {color: #f49652;}
txred, .txred {color: #f54241;}
txdrd, .txdrd {color: #920000;}
txpnk, .txpnk {color: #db3dce;}
txdrk, .txdrk {color: #595959;}
txbrt, .txbrt {color: #fafafa;}
txyel, .txyel {color: #F4E253;}
txprp, .txprp {color: #AE00FF;} */
/* main window */
.wind{
background-color: var(--txblk);
position: relative;
max-width: 100vw;
max-height: 100vh;
height: 100vh;
width: 100vw;
float: left;
padding: 0px 15px;
color: var(--txwht);
overflow-y: scroll;
overflow-x: hidden;
box-sizing: border-box;
}
code{
white-space: pre-wrap;
position: relative;
z-index: 2;
}
code > .hljs-newline::before{
content: attr(data-int);
margin-right: 5px;
border-right: solid white 1px;
background: #feeeee22;
padding: 2px 4px;
}
code>span:nth-child(even):after {
/* content: " "; */
position: absolute;
left: 10px;
right: 0px;
background: #00000022;
z-index: -1;
}
/* remove scrollbar */
.wind::-webkit-scrollbar,
body::-webkit-scrollbar,
.commands::-webkit-scrollbar
{ width: 0 !important }
/* command input element */
.commin, input{
border: none;
background: transparent;
outline: none;
}
.comdata{
/* position: absolute; */
/* right: 0px; */
/* padding: 0px 15px; */
font-size: 10px;
}
.duplicate>tx::after {
content: 'x' attr(data-duplicate);
float: left;
margin-right: 5px;
font-weight: bold;
}
/* commandline row */
.commline{
z-index: 100;
width: auto;
padding-bottom: 15px;
}
label{
position: relative;
}
label > input[type=checkbox]{
position: absolute;
top: 0;
height: 1rem;
width: 1rem;
background-color: #eee;
margin: 0px;
}
.icons{
position: absolute;
right: 15px;
margin-top: 1px;
user-select: none;
}
.icons > i{
cursor: pointer;
}
table{
border-spacing: 0px 3px;
}
.command > .ud:after{
content: attr(loading);
margin-left: 5px;
}
/* command output element */
.commands{
line-height: 1.28;
padding: 15px 0px;
padding-bottom: 0px;
overflow-y: visible;
box-sizing: border-box;
}
.timestamp{
position: absolute;
right: 0px;
}
::selection,
::-moz-selection{
color: initial;
}
.frosted::before {
filter: blur(10px);
}
.collapse{
position: relative;
left: 1px;
top: 1px;
cursor: pointer;
}
.glow{
text-shadow: 0px 0px 13px;
}
/* command output subelement */
.command{
white-space: pre-wrap;
margin: 10px 0px;
}
.sr::after{
position: absolute;
right: 5px;
/* content: attr(stat); */
display: none;
}
.command:hover>.sr::after{
position: absolute;
right: 5px;
display: inherit;
}
/* command output subelement */
.inline{
white-space: pre-wrap;
margin: 0px;
}
td{
padding: 0px 10px 0px 0px;
}
/* LINKS */
a{
color: white;
text-decoration: underline;
}
a:hover{
color: #666;
}
a:visited{
text-decoration: none;
}
a:active{
color: #333;
}