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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-04-21 20:04:12 -04:00
|
|
|
@keyframes spinner {
|
2017-05-06 16:22:25 +01:00
|
|
|
from {
|
|
|
|
transform:rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform:rotate(359deg);
|
|
|
|
}
|
2017-04-21 20:04:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.loading-icon::before {
|
|
|
|
content: "\21bb";
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-icon {
|
2017-05-06 16:22:25 +01:00
|
|
|
animation-name: spinner;
|
|
|
|
animation-duration: 1000ms;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-timing-function: linear;
|
2017-04-21 20:04:12 -04:00
|
|
|
}
|