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 {
|
|
|
|
margin: 0;
|
2022-04-04 16:33:13 +00:00
|
|
|
height: 100%;
|
2022-03-20 08:56:28 +00:00
|
|
|
padding: 0;
|
2022-04-04 16:33:13 +00:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2022-03-20 08:56:28 +00:00
|
|
|
}
|
|
|
|
|
2022-04-04 16:33:13 +00:00
|
|
|
#root {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-03-28 13:25:05 +00:00
|
|
|
}
|
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
#top {
|
2022-04-04 16:33:13 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
2022-04-04 13:25:07 +00:00
|
|
|
height: $top-bar-height;
|
2022-03-20 08:56:28 +00:00
|
|
|
background-color: rgb(213, 213, 213);
|
|
|
|
border-bottom: rgb(193, 193, 193) 1px solid;
|
|
|
|
color: rgb(55, 55, 55);
|
|
|
|
|
2022-04-04 16:33:13 +00:00
|
|
|
.main {
|
|
|
|
flex: 2;
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
max-width: $max-editor-width;
|
|
|
|
margin: auto;
|
|
|
|
padding-top: 12px;
|
|
|
|
font-size: 28px;
|
|
|
|
|
|
|
|
.status {
|
|
|
|
float: right;
|
|
|
|
border: rgb(41, 41, 41) 1px solid;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 3px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-page {
|
|
|
|
font-family: var(--ui-font);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon.saved {
|
|
|
|
color: #015701;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon.unsaved {
|
|
|
|
color: #e19502;
|
|
|
|
}
|
2022-03-20 08:56:28 +00:00
|
|
|
}
|
2022-04-04 16:33:13 +00:00
|
|
|
}
|
2022-03-28 13:25:05 +00:00
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
|
2022-04-04 16:33:13 +00:00
|
|
|
.panel {
|
|
|
|
flex: 1;
|
2022-03-31 12:28:07 +00:00
|
|
|
|
2022-04-04 16:33:13 +00:00
|
|
|
}
|
|
|
|
}
|
2022-03-31 12:28:07 +00:00
|
|
|
|
2022-04-04 16:33:13 +00:00
|
|
|
#main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-grow: 1;
|
|
|
|
height: 0;
|
|
|
|
|
|
|
|
.panel {
|
|
|
|
flex: 1;
|
|
|
|
border-left: 1px solid #eee;
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2022-03-31 12:28:07 +00:00
|
|
|
}
|
2022-03-20 08:56:28 +00:00
|
|
|
}
|
2022-03-31 12:28:07 +00:00
|
|
|
|
2022-03-20 08:56:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-04-04 16:33:13 +00:00
|
|
|
#editor {
|
|
|
|
overflow-y: scroll;
|
|
|
|
flex: 2;
|
|
|
|
height: 100%;
|
2022-03-28 13:25:05 +00:00
|
|
|
}
|
|
|
|
|
2022-04-04 13:25:07 +00:00
|
|
|
|
2022-04-04 16:33:13 +00:00
|
|
|
//
|
|
|
|
//@media only screen and (max-width: $max-editor-width) {
|
|
|
|
// .cm-editor .cm-content {
|
|
|
|
// margin: 0 10px !important;
|
|
|
|
// }
|
|
|
|
//}
|
2022-04-04 13:25:07 +00:00
|
|
|
|
|
|
|
#bottom {
|
2022-04-04 16:33:13 +00:00
|
|
|
height: 25px;
|
2022-04-04 13:25:07 +00:00
|
|
|
text-align: right;
|
|
|
|
background-color: rgb(213, 213, 213);
|
|
|
|
border-top: rgb(193, 193, 193) 1px solid;
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
}
|