2022-03-20 08:56:28 +00:00
|
|
|
@use "editor.scss";
|
|
|
|
@use "filter_box.scss";
|
2022-04-04 13:25:07 +00:00
|
|
|
@import "constants";
|
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--ident: 18px;
|
|
|
|
/* --editor-font: "Avenir"; */
|
|
|
|
--editor-font: "Menlo";
|
|
|
|
--ui-font: "Arial";
|
|
|
|
--top-bar-bg: rgb(41, 41, 41);
|
|
|
|
--highlight-color: #464cfc;
|
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2022-03-28 13:25:05 +00:00
|
|
|
.panel {
|
|
|
|
position: absolute;
|
2022-04-04 13:25:07 +00:00
|
|
|
top: $top-bar-height + 1px;
|
|
|
|
bottom: $bottom-bar-height;
|
2022-03-28 13:25:05 +00:00
|
|
|
right: 0;
|
2022-04-04 13:25:07 +00:00
|
|
|
width: 50%;
|
2022-03-28 13:25:05 +00:00
|
|
|
z-index: 20;
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-04-04 13:25:07 +00:00
|
|
|
padding: 0px;
|
|
|
|
margin: 0;
|
2022-03-28 13:25:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
#top {
|
2022-04-04 13:25:07 +00:00
|
|
|
height: $top-bar-height;
|
|
|
|
position: fixed;
|
2022-03-20 08:56:28 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: rgb(213, 213, 213);
|
|
|
|
border-bottom: rgb(193, 193, 193) 1px solid;
|
|
|
|
color: rgb(55, 55, 55);
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
padding-top: 12px;
|
2022-04-04 13:25:07 +00:00
|
|
|
max-width: $max-editor-width;
|
2022-03-20 08:56:28 +00:00
|
|
|
font-size: 28px;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
.status {
|
|
|
|
float: right;
|
|
|
|
border: rgb(41, 41, 41) 1px solid;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 3px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2022-03-28 13:25:05 +00:00
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
.current-page {
|
|
|
|
font-family: var(--ui-font);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
2022-03-31 12:28:07 +00:00
|
|
|
|
|
|
|
.icon.saved {
|
|
|
|
color: #015701;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon.unsaved {
|
|
|
|
color: #e19502;
|
|
|
|
}
|
2022-03-20 08:56:28 +00:00
|
|
|
}
|
2022-03-31 12:28:07 +00:00
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#editor {
|
|
|
|
position: absolute;
|
2022-04-04 13:25:07 +00:00
|
|
|
top: $top-bar-height;
|
|
|
|
bottom: $bottom-bar-height;
|
2022-03-20 08:56:28 +00:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
2022-03-28 13:25:05 +00:00
|
|
|
div.rhs-open #editor {
|
2022-04-04 13:25:07 +00:00
|
|
|
right: 50%;
|
2022-03-28 13:25:05 +00:00
|
|
|
}
|
|
|
|
|
2022-04-04 13:25:07 +00:00
|
|
|
div.rhs-open #top .inner {
|
|
|
|
max-width: 550px;
|
|
|
|
padding-right: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: $max-editor-width) {
|
2022-03-20 08:56:28 +00:00
|
|
|
.cm-editor .cm-content {
|
|
|
|
margin: 0 10px !important;
|
|
|
|
}
|
|
|
|
}
|
2022-04-04 13:25:07 +00:00
|
|
|
|
|
|
|
#bottom {
|
|
|
|
height: $bottom-bar-height;
|
|
|
|
background-color: #ccc;
|
|
|
|
position: fixed;
|
|
|
|
text-align: right;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: rgb(213, 213, 213);
|
|
|
|
border-top: rgb(193, 193, 193) 1px solid;
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|