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-05-06 16:55:04 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: "iA-Mono";
|
|
|
|
src: url("../fonts/iAWriterMonoS-Regular.woff2");
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "iA-Mono";
|
|
|
|
src: url("../fonts/iAWriterMonoS-Bold.woff2");
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "iA-Mono";
|
|
|
|
src: url("../fonts/iAWriterMonoS-Italic.woff2");
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "iA-Mono";
|
|
|
|
src: url("../fonts/iAWriterMonoS-BoldItalic.woff2");
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2022-03-20 08:56:28 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--ident: 18px;
|
|
|
|
/* --editor-font: "Avenir"; */
|
2022-05-06 16:55:04 +00:00
|
|
|
--editor-font: "iA-Mono", "Menlo";
|
2022-03-20 08:56:28 +00:00
|
|
|
--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-06-17 18:17:22 +00:00
|
|
|
z-index: 20;
|
2022-04-04 16:33:13 +00:00
|
|
|
|
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;
|
2022-06-20 15:24:44 +00:00
|
|
|
max-width: 100%;
|
2022-04-04 16:33:13 +00:00
|
|
|
|
|
|
|
.inner {
|
|
|
|
max-width: $max-editor-width;
|
|
|
|
margin: auto;
|
|
|
|
font-size: 28px;
|
2022-04-09 20:43:46 +00:00
|
|
|
padding: 10px 20px;
|
2022-06-20 15:24:44 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
2022-07-14 11:32:28 +00:00
|
|
|
.notifications {
|
2022-06-20 16:30:45 +00:00
|
|
|
position: absolute;
|
|
|
|
font-family: "iA-Mono";
|
|
|
|
bottom: 45px;
|
|
|
|
left: 5px;
|
|
|
|
right: 5px;
|
|
|
|
font-size: 15px;
|
|
|
|
z-index: 100;
|
2022-07-14 11:32:28 +00:00
|
|
|
|
|
|
|
> div {
|
|
|
|
padding: 3px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: rgb(41, 41, 41) 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-info {
|
|
|
|
background-color: rgb(187, 221, 247);
|
|
|
|
}
|
|
|
|
.notification-error {
|
|
|
|
background-color: rgb(255, 84, 84);
|
|
|
|
}
|
2022-06-20 16:30:45 +00:00
|
|
|
}
|
2022-04-04 16:33:13 +00:00
|
|
|
|
|
|
|
.current-page {
|
|
|
|
font-family: var(--ui-font);
|
|
|
|
font-weight: bold;
|
2022-06-20 15:24:44 +00:00
|
|
|
flex: 1;
|
2022-06-17 18:17:22 +00:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
2022-06-20 16:30:45 +00:00
|
|
|
text-align: left;
|
2022-06-17 18:17:22 +00:00
|
|
|
display: block;
|
2022-06-20 16:30:45 +00:00
|
|
|
text-overflow: ellipsis;
|
2022-04-04 16:33:13 +00:00
|
|
|
}
|
|
|
|
|
2022-04-10 09:04:07 +00:00
|
|
|
.saved {
|
|
|
|
color: #111;
|
2022-04-04 16:33:13 +00:00
|
|
|
}
|
|
|
|
|
2022-04-10 09:04:07 +00:00
|
|
|
.unsaved {
|
|
|
|
color: #5e5e5e;
|
2022-04-04 16:33:13 +00:00
|
|
|
}
|
2022-03-20 08:56:28 +00:00
|
|
|
}
|
2022-05-06 16:55:04 +00:00
|
|
|
.actions {
|
2022-06-17 18:17:22 +00:00
|
|
|
text-align: right;
|
|
|
|
|
2022-07-04 09:38:16 +00:00
|
|
|
button {
|
|
|
|
border: 1px solid #7897d0;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 3px;
|
|
|
|
padding: 5px;
|
|
|
|
background-color: #e6e6e6;
|
2022-05-06 16:55:04 +00:00
|
|
|
}
|
|
|
|
}
|
2022-04-04 16:33:13 +00:00
|
|
|
}
|
2022-03-28 13:25:05 +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
|
|
|
#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-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-26 17:04:36 +00:00
|
|
|
#bhs {
|
2022-05-09 12:59:12 +00:00
|
|
|
height: 300px;
|
2022-04-26 17:04:36 +00:00
|
|
|
width: 100%;
|
2022-05-09 12:59:12 +00:00
|
|
|
border-top: rgb(193, 193, 193) 1px solid;
|
|
|
|
|
|
|
|
.panel {
|
|
|
|
height: 100%;
|
2022-04-26 17:04:36 +00:00
|
|
|
|
|
|
|
iframe {
|
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#status-bar {
|
2022-04-09 20:43:46 +00:00
|
|
|
height: 40px;
|
|
|
|
line-height: 40px;
|
|
|
|
padding: 0 10px;
|
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;
|
2022-05-09 12:59:12 +00:00
|
|
|
font-family: "iA-Mono";
|
2022-04-04 13:25:07 +00:00
|
|
|
}
|