mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-26 17:56:15 -04:00
173 lines
3.1 KiB
CSS
Executable file
173 lines
3.1 KiB
CSS
Executable file
/**
|
|
* Input/Output area styles
|
|
*
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2017
|
|
* @license Apache-2.0
|
|
*/
|
|
|
|
#input-text,
|
|
#output-text,
|
|
#output-html {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 3px;
|
|
-moz-padding-start: 3px;
|
|
-moz-padding-end: 3px;
|
|
border: none;
|
|
border-width: 0px;
|
|
resize: none;
|
|
background-color: transparent;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
#output-html {
|
|
display: none;
|
|
overflow-y: auto;
|
|
-moz-padding-start: 1px; /* Fixes bug in Firefox */
|
|
}
|
|
|
|
.textarea-wrapper {
|
|
position: absolute;
|
|
top: var(--title-height);
|
|
bottom: 0;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.textarea-wrapper textarea,
|
|
.textarea-wrapper>div {
|
|
font-family: var(--fixed-width-font-family);
|
|
font-size: var(--fixed-width-font-size);
|
|
color: var(--fixed-width-font-colour);
|
|
}
|
|
|
|
#input-highlighter,
|
|
#output-highlighter {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 3px;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
letter-spacing: normal;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
color: #fff;
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
#output-loader {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
background-color: var(--primary-background-colour);
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
#input-file,
|
|
#output-file {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: none;
|
|
}
|
|
|
|
.file-overlay {
|
|
position: absolute;
|
|
opacity: 0.8;
|
|
background-color: var(--title-background-colour);
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#show-file-overlay {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 15px;
|
|
cursor: pointer;
|
|
display: none;
|
|
}
|
|
|
|
.io-info {
|
|
margin-right: 20px;
|
|
margin-top: 1px;
|
|
float: right;
|
|
height: 30px;
|
|
text-align: right;
|
|
line-height: 12px;
|
|
font-family: var(--fixed-width-font-family);
|
|
font-weight: normal;
|
|
font-size: 8pt;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#input-info {
|
|
line-height: 15px;
|
|
}
|
|
|
|
.dropping-file {
|
|
border: 5px dashed var(--drop-file-border-colour) !important;
|
|
margin: -5px;
|
|
}
|
|
|
|
#stale-indicator {
|
|
opacity: 1;
|
|
visibility: visibile;
|
|
transition: margin 0s, opacity 0.3s;
|
|
margin-left: 5px;
|
|
cursor: help;
|
|
}
|
|
|
|
#stale-indicator i {
|
|
vertical-align: middle;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#output-loader .loading-msg {
|
|
opacity: 1;
|
|
font-family: var(--primary-font-family);
|
|
line-height: var(--primary-line-height);
|
|
color: var(--primary-font-colour);
|
|
top: 50%;
|
|
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
#magic {
|
|
opacity: 1;
|
|
visibility: visibile;
|
|
transition: margin 0s 0.3s, opacity 0.3s 0.3s, visibility 0.3s 0.3s;
|
|
margin-left: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#magic.hidden,
|
|
#stale-indicator.hidden {
|
|
visibility: hidden;
|
|
transition: opacity 0.3s, margin 0.3s 0.3s, visibility 0.3s;
|
|
opacity: 0;
|
|
}
|
|
|
|
#magic.hidden {
|
|
margin-left: -32px;
|
|
}
|
|
|
|
#magic svg path {
|
|
fill: var(--primary-font-colour);
|
|
}
|