2017-04-13 17:59:37 +01:00
|
|
|
/**
|
|
|
|
* Input/Output area styles
|
|
|
|
*
|
|
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2017-04-24 23:59:35 +01:00
|
|
|
#input-text,
|
|
|
|
#output-text,
|
|
|
|
#output-html {
|
2017-04-13 17:59:37 +01:00
|
|
|
position: relative;
|
2016-11-28 10:42:58 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-04-13 17:59:37 +01:00
|
|
|
margin: 0;
|
2016-11-28 10:42:58 +00:00
|
|
|
padding: 3px;
|
|
|
|
-moz-padding-start: 3px;
|
|
|
|
-moz-padding-end: 3px;
|
2017-04-13 17:59:37 +01:00
|
|
|
border: none;
|
2016-11-28 10:42:58 +00:00
|
|
|
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 */
|
|
|
|
}
|
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.textarea-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: 43px;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2016-11-28 10:42:58 +00:00
|
|
|
}
|
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.textarea-wrapper textarea,
|
|
|
|
.textarea-wrapper div {
|
2017-04-24 23:59:35 +01:00
|
|
|
font-family: var(--fixed-width-font-family);
|
|
|
|
font-size: var(--fixed-width-font-size);
|
|
|
|
color: var(--fixed-width-font-colour);
|
2016-11-28 10:42:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2017-07-28 14:43:44 +01:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2016-11-28 10:42:58 +00:00
|
|
|
.io-btn-group {
|
|
|
|
float: right;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.io-info {
|
|
|
|
margin-right: 20px;
|
|
|
|
margin-top: -4px;
|
|
|
|
float: right;
|
|
|
|
height: 30px;
|
|
|
|
text-align: right;
|
|
|
|
line-height: 10px;
|
2017-04-24 23:59:35 +01:00
|
|
|
font-family: var(--fixed-width-font-family);
|
2017-04-13 17:59:37 +01:00
|
|
|
font-weight: normal;
|
|
|
|
font-size: 8pt;
|
2016-11-28 10:42:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#input-info {
|
|
|
|
line-height: 15px;
|
|
|
|
}
|
|
|
|
|
2017-04-13 17:59:37 +01:00
|
|
|
.dropping-file {
|
2017-04-24 23:59:35 +01:00
|
|
|
border: 5px dashed var(--drop-file-border-colour) !important;
|
2016-11-28 10:42:58 +00:00
|
|
|
}
|
2017-07-28 15:43:23 +01:00
|
|
|
|
|
|
|
#stale-indicator {
|
|
|
|
visibility: hidden;
|
|
|
|
transition: all 0.3s;
|
|
|
|
margin-left: 5px;
|
|
|
|
font-size: larger;
|
|
|
|
font-weight: normal;
|
2017-07-30 12:51:21 +01:00
|
|
|
cursor: help;
|
2017-07-28 15:43:23 +01:00
|
|
|
}
|