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
|
|
|
|
*/
|
|
|
|
|
2023-05-02 16:58:20 +12:00
|
|
|
#input,
|
|
|
|
#output {
|
|
|
|
background-color: var(--primary-background-colour);
|
|
|
|
}
|
|
|
|
|
2022-07-02 19:23:03 +01:00
|
|
|
#input-text,
|
|
|
|
#output-text {
|
2022-06-29 18:02:49 +01:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
background-color: transparent;
|
2023-01-19 17:47:07 +00:00
|
|
|
overflow: hidden;
|
2023-03-08 17:44:51 +00:00
|
|
|
user-select: auto;
|
|
|
|
}
|
|
|
|
|
2023-04-18 20:23:44 +12:00
|
|
|
/* To vertically align the title nicely in the center */
|
|
|
|
label[for="input-text"],
|
|
|
|
label[for="output-text"] {
|
|
|
|
line-height: revert;
|
|
|
|
}
|
|
|
|
|
|
|
|
#input .cm-scroller,
|
|
|
|
#output .cm-scroller {
|
2023-04-21 00:15:31 +12:00
|
|
|
overflow-y: auto;
|
2023-04-18 20:23:44 +12:00
|
|
|
}
|
|
|
|
|
2023-04-17 20:44:47 +12:00
|
|
|
#input .cm-scroller:hover,
|
|
|
|
#output .cm-scroller:hover {
|
2023-04-21 00:15:31 +12:00
|
|
|
cursor: initial;
|
2023-04-17 20:44:47 +12:00
|
|
|
}
|
|
|
|
|
2023-03-08 18:08:17 +00:00
|
|
|
#output-text.html-output .cm-content,
|
|
|
|
#output-text.html-output .cm-line,
|
2023-03-08 17:44:51 +00:00
|
|
|
#output-html {
|
2023-03-08 18:08:17 +00:00
|
|
|
display: block;
|
|
|
|
height: 100%;
|
2023-03-08 17:44:51 +00:00
|
|
|
user-select: auto;
|
2022-06-29 18:02:49 +01:00
|
|
|
}
|
2023-04-18 20:23:44 +12:00
|
|
|
|
2023-03-08 18:08:17 +00:00
|
|
|
#output-text.html-output .cm-line .cm-widgetBuffer,
|
|
|
|
#output-text.html-output .cm-line>br {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-06-29 18:02:49 +01:00
|
|
|
|
|
|
|
.cm-editor {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-editor .cm-content {
|
|
|
|
font-family: var(--fixed-width-font-family);
|
|
|
|
font-size: var(--fixed-width-font-size);
|
|
|
|
color: var(--fixed-width-font-colour);
|
|
|
|
}
|
|
|
|
|
2019-07-03 13:52:56 +01:00
|
|
|
#input-wrapper,
|
2022-07-02 19:23:03 +01:00
|
|
|
#output-wrapper {
|
2019-07-03 13:52:56 +01:00
|
|
|
height: calc(100% - var(--title-height));
|
|
|
|
}
|
|
|
|
|
|
|
|
#input-wrapper.show-tabs,
|
2022-07-02 19:23:03 +01:00
|
|
|
#output-wrapper.show-tabs {
|
2019-07-03 13:52:56 +01:00
|
|
|
height: calc(100% - var(--tab-height) - var(--title-height));
|
|
|
|
}
|
|
|
|
|
2017-07-28 14:43:44 +01:00
|
|
|
#output-loader {
|
|
|
|
position: absolute;
|
2023-05-02 17:54:28 +12:00
|
|
|
bottom: var(--controls-height);
|
|
|
|
z-index: 100;
|
2017-07-28 14:43:44 +01:00
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2022-11-04 14:58:37 +00:00
|
|
|
height: 100%;
|
2017-07-28 14:43:44 +01:00
|
|
|
margin: 0;
|
2022-11-04 14:58:37 +00:00
|
|
|
background-color: var(--secondary-background-colour);
|
2017-09-20 00:48:37 +01:00
|
|
|
opacity: 0;
|
2022-11-04 14:58:37 +00:00
|
|
|
visibility: hidden;
|
2019-01-15 19:03:17 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
transition: all 0.5s ease;
|
|
|
|
}
|
|
|
|
|
2023-08-16 16:42:05 +12:00
|
|
|
@media only screen and (min-width: 1024px){
|
2023-05-02 17:54:28 +12:00
|
|
|
#output-loader {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-16 12:29:34 +00:00
|
|
|
#output-loader-animation {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2019-01-15 19:03:17 +00:00
|
|
|
width: 60%;
|
|
|
|
height: 60%;
|
|
|
|
top: 10%;
|
2019-01-16 12:29:34 +00:00
|
|
|
transition: all 0.5s ease;
|
2019-01-15 19:03:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#output-loader .loading-msg {
|
|
|
|
opacity: 1;
|
|
|
|
font-family: var(--primary-font-family);
|
|
|
|
line-height: var(--primary-line-height);
|
|
|
|
color: var(--primary-font-colour);
|
|
|
|
left: unset;
|
|
|
|
top: 30%;
|
|
|
|
position: relative;
|
2017-07-28 14:43:44 +01:00
|
|
|
|
|
|
|
transition: all 0.5s ease;
|
|
|
|
}
|
|
|
|
|
2016-11-28 10:42:58 +00:00
|
|
|
.io-info {
|
2022-05-30 19:25:41 +01:00
|
|
|
margin-right: 18px;
|
2018-06-09 10:43:36 +01:00
|
|
|
margin-top: 1px;
|
2016-11-28 10:42:58 +00:00
|
|
|
height: 30px;
|
|
|
|
text-align: right;
|
2018-06-09 10:43:36 +01:00
|
|
|
line-height: 12px;
|
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;
|
2017-12-27 23:05:32 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2016-11-28 10:42:58 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2019-05-15 09:37:07 +01:00
|
|
|
#input-find-options,
|
|
|
|
#output-find-options {
|
2019-05-30 13:28:45 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2019-05-10 13:48:03 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-06-03 11:15:10 +01:00
|
|
|
#input-tab-body .form-group.input-group,
|
|
|
|
#output-tab-body .form-group.input-group {
|
2019-05-30 14:08:02 +01:00
|
|
|
width: 70%;
|
|
|
|
float: left;
|
|
|
|
margin-bottom: 2rem;
|
2019-05-30 13:28:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-find-option .toggle-string {
|
|
|
|
width: 70%;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-find-option-append button {
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
background-color: var(--arg-background) !important;
|
|
|
|
margin: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-find-option-append button:hover {
|
|
|
|
filter: brightness(97%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group.output-find-option {
|
|
|
|
width: 70%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2019-05-30 14:08:02 +01:00
|
|
|
#input-num-results-container,
|
2019-05-30 13:28:45 +01:00
|
|
|
#output-num-results-container {
|
|
|
|
width: 20%;
|
|
|
|
float: right;
|
2023-04-17 10:09:01 +12:00
|
|
|
margin: 0 0 0 10%;
|
2019-05-30 13:28:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#input-find-options-checkboxes,
|
|
|
|
#output-find-options-checkboxes {
|
|
|
|
list-style: none;
|
2019-05-30 14:08:02 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: auto;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
text-align: center;
|
|
|
|
width: fit-content;
|
2019-05-30 13:28:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#input-find-options-checkboxes li,
|
|
|
|
#output-find-options-checkboxes li {
|
2019-05-10 13:48:03 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
float: left;
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-04-20 18:47:37 +12:00
|
|
|
|
|
|
|
#input .cm-panels,
|
|
|
|
#output .cm-panels {
|
|
|
|
border-color: var(--primary-border-colour);
|
|
|
|
}
|
2023-05-10 13:15:01 +12:00
|
|
|
|
|
|
|
/* maximise pane and lay on top of everything ( mobile UI )*/
|
|
|
|
.top-zindex {
|
|
|
|
z-index: 200;
|
|
|
|
}
|