2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
/*Layout*/
|
|
|
|
#page_wrapper {
|
2021-07-31 05:12:51 +08:00
|
|
|
height: calc(100% - 26px);
|
2020-04-26 02:25:07 +08:00
|
|
|
width: 100%;
|
|
|
|
border: 2px solid var(--color-frame);
|
|
|
|
border-top: none;
|
2021-08-18 04:55:59 +08:00
|
|
|
background-color: var(--color-dark);
|
2021-11-22 02:28:19 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-07-07 19:08:56 +08:00
|
|
|
#page_wrapper.invisible {
|
|
|
|
visibility: hidden;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-11-05 03:09:16 +08:00
|
|
|
#page_wrapper.accept_detached_tab > * {
|
|
|
|
filter: brightness(0.4);
|
|
|
|
}
|
|
|
|
#page_wrapper.accept_detached_tab::after {
|
|
|
|
content: "+";
|
|
|
|
font-weight: 300;
|
|
|
|
font-size: 120px;
|
|
|
|
position: absolute;
|
|
|
|
margin: auto;
|
|
|
|
top: calc(50% - 100px);
|
|
|
|
right: -10px;
|
|
|
|
left: -10px;
|
|
|
|
width: 50px;
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
body {
|
|
|
|
background-image: url('../assets/logo_cutout.svg');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 128px;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
#loading_error_message {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
background-color: var(--color-dark);
|
|
|
|
border: 2px solid var(--color-accent);
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 160px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 250;
|
|
|
|
}
|
2021-07-07 19:08:56 +08:00
|
|
|
#work_screen {
|
2021-10-15 21:14:32 +08:00
|
|
|
--toolbar-height: 30px;
|
2022-02-23 01:12:27 +08:00
|
|
|
position: relative;
|
2021-07-07 19:08:56 +08:00
|
|
|
display: grid;
|
2022-03-12 22:09:09 +08:00
|
|
|
overflow: hidden;
|
2021-07-07 19:08:56 +08:00
|
|
|
grid-template-columns: 332px auto 314px;
|
2021-10-15 21:14:32 +08:00
|
|
|
grid-template-rows: var(--toolbar-height) minmax(200px, 5000px) 26px;
|
2021-07-07 19:08:56 +08:00
|
|
|
grid-template-areas:
|
|
|
|
"left_bar toolbar toolbar"
|
|
|
|
"left_bar center right_bar"
|
|
|
|
"left_bar status_bar right_bar";
|
|
|
|
width: 100%;
|
2021-11-22 02:28:19 +08:00
|
|
|
min-height: 300px;
|
2021-07-07 19:08:56 +08:00
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
2021-05-05 19:54:41 +08:00
|
|
|
#tab_bar {
|
2022-10-21 19:00:37 +08:00
|
|
|
height: 34px;
|
2021-05-05 19:54:41 +08:00
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
.sidebar {
|
|
|
|
background-color: var(--color-ui);;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
#left_bar {
|
|
|
|
grid-area: left_bar;
|
|
|
|
}
|
|
|
|
#right_bar {
|
|
|
|
grid-area: right_bar;
|
|
|
|
}
|
|
|
|
|
|
|
|
#center {
|
|
|
|
grid-area: center;
|
|
|
|
background-color: var(--color-dark);
|
|
|
|
min-width: 100px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-10-11 22:54:52 +08:00
|
|
|
position: relative;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
div#center > div {
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
2022-02-12 07:06:31 +08:00
|
|
|
#preview {
|
2020-04-26 02:25:07 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1000px;
|
|
|
|
position: relative;
|
2022-02-12 07:06:31 +08:00
|
|
|
|
|
|
|
--color-solid: #c1c1c1;
|
|
|
|
--color-outline: var(--color-accent);
|
|
|
|
--color-gizmohover: var(--color-outline);
|
|
|
|
--color-ground: var(--color-back);
|
2023-07-12 05:56:14 +08:00
|
|
|
--color-brush-outline: #ffffff;
|
2022-02-12 07:06:31 +08:00
|
|
|
--color-axis-x: #fd3043;
|
|
|
|
--color-axis-y: #26ec45;
|
|
|
|
--color-axis-z: #2d5ee8;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#status_bar {
|
|
|
|
grid-area: status_bar;
|
|
|
|
}
|
2022-03-09 02:23:30 +08:00
|
|
|
#top_slot,
|
|
|
|
#bottom_slot {
|
|
|
|
background-color: var(--color-ui);
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
.single_canvas_wrapper {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
cursor: inherit;
|
2023-02-17 04:10:15 +08:00
|
|
|
z-index: 1;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2023-05-11 05:24:46 +08:00
|
|
|
.split_screen_wrapper {
|
2020-04-26 02:25:07 +08:00
|
|
|
cursor: inherit;
|
|
|
|
}
|
2023-05-11 05:24:46 +08:00
|
|
|
#preview.image_mode > .single_canvas_wrapper,
|
|
|
|
#preview.image_mode > .split_screen_wrapper {
|
|
|
|
display: none !important;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2023-05-11 05:24:46 +08:00
|
|
|
#preview[split_screen_mode] {
|
|
|
|
display: grid;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2023-05-11 05:24:46 +08:00
|
|
|
#preview[split_screen_mode=double_horizontal] {
|
|
|
|
grid-template:
|
|
|
|
"preview_0"
|
|
|
|
"preview_1";
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
grid-template-rows: var(--split-y) calc(100% - var(--split-y));
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=double_vertical] {
|
|
|
|
grid-template:
|
|
|
|
"preview_1 preview_0";
|
|
|
|
grid-template-columns: var(--split-x) calc(100% - var(--split-x));
|
|
|
|
grid-template-rows: 100%;
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=quad] {
|
|
|
|
grid-template:
|
|
|
|
"preview_0 preview_1"
|
|
|
|
"preview_2 preview_3";
|
|
|
|
grid-template-columns: var(--split-x) calc(100% - var(--split-x));
|
|
|
|
grid-template-rows: var(--split-y) calc(100% - var(--split-y));
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=triple_left] {
|
|
|
|
grid-template:
|
|
|
|
"preview_0 preview_1"
|
|
|
|
"preview_0 preview_2";
|
|
|
|
grid-template-columns: var(--split-x) calc(100% - var(--split-x));
|
|
|
|
grid-template-rows: var(--split-y) calc(100% - var(--split-y));
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=triple_right] {
|
|
|
|
grid-template:
|
|
|
|
"preview_1 preview_0"
|
|
|
|
"preview_2 preview_0";
|
|
|
|
grid-template-columns: var(--split-x) calc(100% - var(--split-x));
|
|
|
|
grid-template-rows: var(--split-y) calc(100% - var(--split-y));
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=triple_top] {
|
|
|
|
grid-template:
|
|
|
|
"preview_0 preview_0"
|
|
|
|
"preview_1 preview_2";
|
|
|
|
grid-template-columns: var(--split-x) calc(100% - var(--split-x));
|
|
|
|
grid-template-rows: var(--split-y) calc(100% - var(--split-y));
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=triple_bottom] {
|
|
|
|
grid-template:
|
|
|
|
"preview_1 preview_2"
|
|
|
|
"preview_0 preview_0";
|
|
|
|
grid-template-columns: var(--split-x) calc(100% - var(--split-x));
|
|
|
|
grid-template-rows: var(--split-y) calc(100% - var(--split-y));
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2023-05-11 05:24:46 +08:00
|
|
|
|
|
|
|
|
|
|
|
.split_screen_wrapper {
|
|
|
|
border-width: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: var(--color-grid);
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=double_horizontal] > .split_screen_wrapper_0,
|
|
|
|
#preview[split_screen_mode=triple_right] > .split_screen_wrapper_1,
|
|
|
|
#preview[split_screen_mode=triple_left] > .split_screen_wrapper_1,
|
|
|
|
#preview[split_screen_mode=triple_top] > .split_screen_wrapper_0,
|
|
|
|
#preview[split_screen_mode=triple_bottom] > .split_screen_wrapper_1,
|
|
|
|
#preview[split_screen_mode=triple_bottom] > .split_screen_wrapper_2,
|
|
|
|
#preview[split_screen_mode=quad] > .split_screen_wrapper_0,
|
|
|
|
#preview[split_screen_mode=quad] > .split_screen_wrapper_1
|
|
|
|
{
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
}
|
|
|
|
#preview[split_screen_mode=double_vertical] > .split_screen_wrapper_0,
|
|
|
|
#preview[split_screen_mode=triple_right] > .split_screen_wrapper_0,
|
|
|
|
#preview[split_screen_mode=triple_left] > .split_screen_wrapper_1,
|
|
|
|
#preview[split_screen_mode=triple_left] > .split_screen_wrapper_2,
|
|
|
|
#preview[split_screen_mode=quad] > .split_screen_wrapper_1,
|
|
|
|
#preview[split_screen_mode=quad] > .split_screen_wrapper_3,
|
|
|
|
#preview[split_screen_mode=triple_top] > .split_screen_wrapper_2,
|
|
|
|
#preview[split_screen_mode=triple_bottom] > .split_screen_wrapper_2
|
|
|
|
{
|
|
|
|
border-left-width: 2px;
|
2022-09-10 04:59:40 +08:00
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
.resizer {
|
|
|
|
position: absolute !important;
|
|
|
|
z-index: 12;
|
2022-09-11 00:15:25 +08:00
|
|
|
opacity: 0;
|
2023-04-10 19:34:55 +08:00
|
|
|
touch-action: none;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
.resizer.vertical { /* | */
|
|
|
|
cursor: ew-resize;
|
|
|
|
width: 6px;
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
.resizer.horizontal { /* __ */
|
|
|
|
cursor: ns-resize;
|
|
|
|
height: 6px;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
|
|
|
.resizer.disabled {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-04-10 19:34:55 +08:00
|
|
|
.resizer:hover, .resizer.dragging {
|
2020-04-26 02:25:07 +08:00
|
|
|
background-color: var(--color-accent);
|
2022-09-11 00:15:25 +08:00
|
|
|
opacity: 0.3;
|
|
|
|
}
|
2023-04-10 19:34:55 +08:00
|
|
|
.resizer:hover:not(.dragging) {
|
2022-09-13 19:30:00 +08:00
|
|
|
animation: resize_line_fade_in 500ms;
|
2022-09-11 00:15:25 +08:00
|
|
|
}
|
|
|
|
@keyframes resize_line_fade_in {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2022-09-13 19:30:00 +08:00
|
|
|
75% {
|
2022-09-11 00:15:25 +08:00
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
2021-02-28 19:51:15 +08:00
|
|
|
/* Toast Notification */
|
|
|
|
#toast_notification_list {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
z-index: 8;
|
|
|
|
}
|
|
|
|
.toast_notification {
|
|
|
|
position: relative;
|
|
|
|
background-color: var(--color-accent);
|
|
|
|
color: var(--color-accent_text);
|
|
|
|
min-height: 30px;
|
|
|
|
margin: 2px;
|
|
|
|
padding: 3px 28px 3px 10px;
|
|
|
|
width: calc(100% - 4px);
|
|
|
|
box-shadow: 0.4px 0.4px 4px rgba(0, 0, 0, 0.7);
|
|
|
|
}
|
|
|
|
.toast_notification .icon {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.toast_close_button {
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
padding: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.toast_close_button:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
/*Head Bars*/
|
|
|
|
#main_toolbar {
|
|
|
|
background-color: var(--color-ui);;
|
|
|
|
grid-area: toolbar;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
#main_toolbar > * {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.toolbar_wrapper.tool_options {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
background-color: var(--color-frame);
|
|
|
|
grid-area: titlebar;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
white-space: nowrap;
|
|
|
|
height: 26px;
|
|
|
|
}
|
|
|
|
header > * {
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
header ::-webkit-scrollbar {
|
|
|
|
height: 0;
|
|
|
|
}
|
2021-05-25 03:39:15 +08:00
|
|
|
div#corner_logo {
|
2020-04-26 02:25:07 +08:00
|
|
|
width: auto;
|
2021-07-07 19:08:56 +08:00
|
|
|
height: 26px;
|
2020-04-26 02:25:07 +08:00
|
|
|
padding-right: 8px;
|
|
|
|
padding-left: 6px;
|
|
|
|
margin-left: 4px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: normal;
|
|
|
|
color: var(--color-light);
|
|
|
|
vertical-align: top;
|
|
|
|
margin-top: -0.6px;
|
|
|
|
}
|
2021-05-25 03:39:15 +08:00
|
|
|
div#corner_logo img {
|
|
|
|
margin-top: 3px;
|
|
|
|
width: 134px;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
@media (max-width:950px) {
|
2021-05-25 03:39:15 +08:00
|
|
|
div#corner_logo {
|
|
|
|
width: 36px;
|
|
|
|
overflow: hidden;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-drag-region {
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
}
|
|
|
|
div#header_free_bar.app-drag-region {
|
|
|
|
flex-grow: 1;
|
2021-07-30 00:17:26 +08:00
|
|
|
overflow: hidden;
|
2021-07-07 19:08:56 +08:00
|
|
|
height: auto;
|
2021-07-11 04:22:02 +08:00
|
|
|
padding: 3px;
|
|
|
|
color: var(--color-subtle_text);
|
|
|
|
text-align: center;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
div#header_free_bar.app-drag-region.resize_space {
|
|
|
|
margin-top: 4px;
|
2021-08-19 01:12:34 +08:00
|
|
|
padding-top: 0;
|
2020-04-26 02:25:07 +08:00
|
|
|
height: calc(100% - 4px);
|
|
|
|
}
|
2022-03-10 22:17:29 +08:00
|
|
|
body.is_mobile div#header_free_bar.app-drag-region {
|
|
|
|
display: none;
|
2021-08-28 17:40:23 +08:00
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
#web_download_button {
|
|
|
|
margin-left: auto;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2020-07-16 15:32:59 +08:00
|
|
|
cursor: pointer;
|
2022-07-03 18:57:44 +08:00
|
|
|
background: transparent;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#web_download_button a {
|
|
|
|
text-decoration: none !important;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 12px;
|
2020-07-18 18:23:06 +08:00
|
|
|
cursor: inherit;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-07-03 18:57:44 +08:00
|
|
|
#web_download_button a > i {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2022-07-19 02:13:16 +08:00
|
|
|
#web_download_button a > * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
#web_download_button:hover a {
|
2022-07-03 18:57:44 +08:00
|
|
|
color: var(--color-light);
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#windows_window_menu {
|
|
|
|
margin-left: auto;
|
2021-07-30 00:17:26 +08:00
|
|
|
flex-shrink: 0;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#windows_window_menu li {
|
2020-05-31 21:54:04 +08:00
|
|
|
display: block;
|
2020-04-26 02:25:07 +08:00
|
|
|
width: 42px;
|
|
|
|
height: 100%;
|
|
|
|
text-align: center;
|
2020-05-31 21:54:04 +08:00
|
|
|
float: left;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#windows_window_menu li:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
background-color: var(--color-selected);
|
|
|
|
}
|
|
|
|
#windows_window_menu li.wwm_r:hover {
|
2022-10-09 20:57:33 +08:00
|
|
|
color: var(--color-accent_text);
|
2020-04-26 02:25:07 +08:00
|
|
|
background-color: var(--color-close);
|
|
|
|
}
|
2023-10-23 02:44:45 +08:00
|
|
|
#windows_window_menu svg {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
body:not(.maximized) #windows_window_menu svg.restore {
|
|
|
|
display: none;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2023-10-23 02:44:45 +08:00
|
|
|
body.maximized #windows_window_menu svg.maximize {
|
|
|
|
display: none;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#mac_window_menu {
|
|
|
|
width: 68px;
|
2021-07-30 00:17:26 +08:00
|
|
|
flex-shrink: 0;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-08-12 04:59:48 +08:00
|
|
|
header .tool .icon {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2023-01-12 00:49:17 +08:00
|
|
|
#settings_profiles_header_menu {
|
|
|
|
width: 24px;
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 2px;
|
|
|
|
margin-right: 4px;
|
|
|
|
opacity: 0.9;
|
|
|
|
}
|
|
|
|
#settings_profiles_header_menu:hover {
|
|
|
|
opacity: 1.0;
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
/*Mobile*/
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile #page_wrapper {
|
2021-07-07 19:08:56 +08:00
|
|
|
border: none;
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile #work_screen {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: grid;
|
2021-10-15 21:14:32 +08:00
|
|
|
grid-template-rows: auto minmax(200px, 5000px) 26px 36px !important;
|
2020-04-26 02:25:07 +08:00
|
|
|
grid-template-areas:
|
|
|
|
"toolbar"
|
|
|
|
"center"
|
2020-10-11 22:54:52 +08:00
|
|
|
"status_bar"
|
|
|
|
"panel_selector";
|
2020-04-26 02:25:07 +08:00
|
|
|
grid-template-columns: auto !important;
|
2022-02-23 01:12:27 +08:00
|
|
|
position: relative;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile.is_landscape #work_screen {
|
|
|
|
grid-template-columns: auto 48px !important;
|
2022-03-09 02:23:30 +08:00
|
|
|
grid-template-rows: auto minmax(200px, 5000px) 26px !important;
|
2022-03-07 21:37:19 +08:00
|
|
|
grid-template-areas:
|
|
|
|
"toolbar panel_selector"
|
|
|
|
"center panel_selector"
|
|
|
|
"status_bar panel_selector";
|
|
|
|
position: relative;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-03-16 23:20:27 +08:00
|
|
|
body.is_mobile.is_landscape.mobile_sidebar_left #work_screen {
|
|
|
|
grid-template-columns: 48px auto !important;
|
|
|
|
grid-template-areas:
|
|
|
|
"panel_selector toolbar"
|
|
|
|
"panel_selector center"
|
|
|
|
"panel_selector status_bar";
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile.is_landscape #work_screen #center {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2022-03-16 23:20:27 +08:00
|
|
|
body.is_mobile.is_landscape.mobile_sidebar_left #work_screen #center {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile #main_toolbar {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: block;
|
|
|
|
}
|
2022-03-09 02:23:30 +08:00
|
|
|
body.is_mobile.is_landscape #main_toolbar {
|
|
|
|
display: flex;
|
|
|
|
height: fit-content;
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile #main_toolbar > * {
|
|
|
|
display: block;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile .toolbar_wrapper.narrow.tools {
|
2020-04-26 02:25:07 +08:00
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
2022-03-25 03:09:12 +08:00
|
|
|
top: 0;
|
2022-03-07 21:37:19 +08:00
|
|
|
bottom: 0px;
|
2020-04-26 02:25:07 +08:00
|
|
|
right: 0px;
|
2022-03-25 03:09:12 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: end;
|
|
|
|
}
|
|
|
|
body.is_mobile .toolbar_wrapper.narrow.tools .toolbar {
|
|
|
|
height: auto;
|
|
|
|
max-height: 100%;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile #main_toolbar > div.tool_options {
|
2020-04-26 02:25:07 +08:00
|
|
|
background-color: var(--color-back);
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile .preview .preview_menu {
|
2020-10-11 22:54:52 +08:00
|
|
|
left: 0;
|
|
|
|
right: unset;
|
2022-03-07 21:37:19 +08:00
|
|
|
flex-direction: row-reverse;
|
2020-10-11 22:54:52 +08:00
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile .resizer.vertical {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile .sidebar {
|
2020-04-26 02:25:07 +08:00
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile #left_bar, body.is_mobile #right_bar {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
|
2022-03-08 02:49:43 +08:00
|
|
|
body.is_mobile #preview {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile #panel_selector_bar {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: flex;
|
2020-10-11 22:54:52 +08:00
|
|
|
grid-area: panel_selector;
|
2022-03-16 23:20:27 +08:00
|
|
|
background-color: var(--color-frame);
|
2020-10-11 22:54:52 +08:00
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile.is_landscape #panel_selector_bar {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
body.is_mobile #panel_selector_bar .panel_selector {
|
2020-10-11 22:54:52 +08:00
|
|
|
height: 36px;
|
|
|
|
flex: 36px 1 0;
|
|
|
|
text-align: center;
|
|
|
|
cursor: default;
|
|
|
|
color: var(--color-text);
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile.is_landscape #panel_selector_bar .panel_selector {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
body.is_mobile #panel_selector_bar .panel_selector.selected {
|
2020-10-11 22:54:52 +08:00
|
|
|
border-bottom: 3px solid var(--color-accent);
|
2022-03-16 23:20:27 +08:00
|
|
|
background-color: var(--color-back);
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2022-03-07 21:37:19 +08:00
|
|
|
body.is_mobile.is_landscape #panel_selector_bar .panel_selector.selected {
|
|
|
|
border-bottom: none;
|
|
|
|
border-right: 5px solid var(--color-accent);
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2022-03-16 23:20:27 +08:00
|
|
|
body.is_mobile.is_landscape #panel_selector_bar .panel_selector.selected {
|
|
|
|
border-left: 5px solid var(--color-accent);
|
|
|
|
border-right: none;
|
|
|
|
padding-right: 5px;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2022-11-27 21:17:17 +08:00
|
|
|
.panel_selector:only-child {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2022-11-27 21:17:17 +08:00
|
|
|
#panel_selector_bar .panel_selector .icon_wrapper {
|
2020-10-11 22:54:52 +08:00
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2022-11-27 21:17:17 +08:00
|
|
|
#mobile_keyboard_menu {
|
2022-03-07 21:37:19 +08:00
|
|
|
width: 48px;
|
2021-05-29 05:42:35 +08:00
|
|
|
text-align: center;
|
|
|
|
padding: 6px;
|
|
|
|
position: relative;
|
2022-03-07 21:37:19 +08:00
|
|
|
color: var(--color-accent);
|
2021-05-29 05:42:35 +08:00
|
|
|
}
|
2022-11-27 21:17:17 +08:00
|
|
|
#mobile_keyboard_menu:hover {
|
2021-05-29 05:42:35 +08:00
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2022-11-27 21:17:17 +08:00
|
|
|
#mobile_keyboard_menu.enabled::after {
|
2021-05-29 05:42:35 +08:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 8px;
|
|
|
|
width: 8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--color-accent);
|
|
|
|
bottom: 2px;
|
2022-03-07 21:37:19 +08:00
|
|
|
right: 19px;
|
2021-05-29 05:42:35 +08:00
|
|
|
}
|
2022-11-27 21:17:17 +08:00
|
|
|
#status_bar #mobile_keyboard_menu.enabled::after {
|
|
|
|
right: 4px;
|
|
|
|
bottom: 9px;
|
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
/*Menu Bar*/
|
|
|
|
ul#menu_bar {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
li.menu_bar_point {
|
|
|
|
font-size: 17px;
|
|
|
|
padding: 0 8px;
|
|
|
|
padding-top: 2px;
|
|
|
|
display: inline-block;
|
2021-05-29 05:42:35 +08:00
|
|
|
height: 100%;
|
2022-05-20 06:24:43 +08:00
|
|
|
min-width: 42px;
|
|
|
|
text-align: center;
|
2020-04-26 02:25:07 +08:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
li.menu_bar_point.opened {
|
2021-03-21 06:51:48 +08:00
|
|
|
color: var(--color-accent_text);
|
2020-04-26 02:25:07 +08:00
|
|
|
background: var(--color-accent);
|
|
|
|
}
|
2021-05-23 02:19:41 +08:00
|
|
|
li.menu_bar_point.highlighted {
|
|
|
|
animation: menu_item_highlight 1s infinite ease-in-out;
|
|
|
|
}
|
2022-03-10 22:17:29 +08:00
|
|
|
header .tool {
|
2021-11-22 02:28:19 +08:00
|
|
|
height: 100%;
|
|
|
|
}
|
2022-03-10 22:17:29 +08:00
|
|
|
header .tool > i {
|
2021-11-22 02:28:19 +08:00
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2022-03-10 22:17:29 +08:00
|
|
|
body.is_mobile.is_landscape #title_bar_undo_controls {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
#mode_selector {
|
|
|
|
height: 30px;
|
2021-07-11 04:22:02 +08:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 0;
|
2022-03-07 21:37:19 +08:00
|
|
|
text-align: right;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#mode_selector li {
|
|
|
|
display: inline-block;
|
|
|
|
height: 30px;
|
|
|
|
margin: 0 5px;
|
|
|
|
overflow: hidden;
|
2023-09-30 20:25:35 +08:00
|
|
|
padding-top: 1px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
cursor: pointer;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#mode_selector li:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
|
|
|
#mode_selector li.selected {
|
|
|
|
border-bottom: 3px solid var(--color-accent);
|
|
|
|
}
|
|
|
|
|
2021-05-05 19:54:41 +08:00
|
|
|
/* Tab Bar */
|
|
|
|
#tab_bar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
padding-left: 4px;
|
2021-08-08 20:51:00 +08:00
|
|
|
background: var(--color-frame);
|
2021-05-05 19:54:41 +08:00
|
|
|
}
|
2021-08-28 04:43:01 +08:00
|
|
|
#tab_bar #tab_bar_list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2021-09-23 04:56:54 +08:00
|
|
|
flex-grow: 1;
|
2021-08-28 04:43:01 +08:00
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2021-05-05 19:54:41 +08:00
|
|
|
#tab_bar .project_tab {
|
|
|
|
cursor: pointer;
|
2021-07-24 19:51:42 +08:00
|
|
|
width: 240px;
|
2021-05-05 19:54:41 +08:00
|
|
|
min-width: 120px;
|
|
|
|
height: 100%;
|
2022-10-21 19:00:37 +08:00
|
|
|
padding: 3px 6px;
|
2021-05-05 19:54:41 +08:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-flex;
|
|
|
|
margin-left: 2px;
|
2022-10-21 19:00:37 +08:00
|
|
|
border-top: 3px solid transparent;
|
2021-05-08 22:52:49 +08:00
|
|
|
left: 0;
|
2022-11-05 03:09:16 +08:00
|
|
|
--tabwidth: 242px;
|
2021-05-08 22:52:49 +08:00
|
|
|
}
|
|
|
|
#tab_bar.drag_mode .project_tab {
|
|
|
|
transition: left 100ms ease;
|
2021-05-05 19:54:41 +08:00
|
|
|
}
|
|
|
|
#tab_bar .project_tab.selected {
|
|
|
|
background-color: var(--color-ui);
|
2022-10-30 05:33:11 +08:00
|
|
|
color: var(--color-text);
|
2021-05-05 19:54:41 +08:00
|
|
|
cursor: default;
|
|
|
|
border-top-color: var(--color-accent);
|
|
|
|
}
|
2021-07-07 19:08:56 +08:00
|
|
|
#tab_bar .project_tab.selected.new_tab {
|
|
|
|
background-color: var(--color-dark);
|
|
|
|
}
|
2021-05-05 19:54:41 +08:00
|
|
|
#tab_bar .project_tab:not(.selected):hover {
|
2022-10-30 05:33:11 +08:00
|
|
|
background-color: var(--color-back);
|
2021-05-05 19:54:41 +08:00
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2021-05-08 22:52:49 +08:00
|
|
|
#tab_bar .project_tab.dragging {
|
|
|
|
background-color: var(--color-button);
|
|
|
|
color: var(--color-light);
|
|
|
|
position: relative;
|
|
|
|
z-index: 5;
|
|
|
|
box-shadow: 0 0 10px #00000080;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
#tab_bar .project_tab.move_back {
|
|
|
|
left: calc(var(--tabwidth) * -1);
|
|
|
|
}
|
|
|
|
#tab_bar .project_tab.move_forth {
|
|
|
|
left: var(--tabwidth);
|
|
|
|
}
|
2023-11-27 02:00:05 +08:00
|
|
|
#tab_bar .project_tab > .icon {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2021-05-05 19:54:41 +08:00
|
|
|
#tab_bar .project_tab > label {
|
|
|
|
overflow: hidden;
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
flex: 1 1 auto;
|
|
|
|
padding: 0 4px;
|
2021-05-08 22:52:49 +08:00
|
|
|
pointer-events: none;
|
2021-05-05 19:54:41 +08:00
|
|
|
}
|
|
|
|
#tab_bar .project_tab > * {
|
|
|
|
cursor: inherit
|
|
|
|
}
|
|
|
|
#tab_bar .project_tab_close_button {
|
2022-12-22 20:22:30 +08:00
|
|
|
flex: 0 0 21px;
|
2021-05-05 19:54:41 +08:00
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
2022-12-22 20:22:30 +08:00
|
|
|
color: var(--color-text);
|
2021-05-05 19:54:41 +08:00
|
|
|
}
|
2021-07-11 04:22:02 +08:00
|
|
|
#tab_bar .project_tab_close_button > * {
|
|
|
|
pointer-events: none;
|
2022-12-22 20:22:30 +08:00
|
|
|
font-size: 19px;
|
|
|
|
padding-top: 3px;
|
2021-07-11 04:22:02 +08:00
|
|
|
}
|
2021-05-05 19:54:41 +08:00
|
|
|
#tab_bar .project_tab:hover .project_tab_close_button,
|
|
|
|
#tab_bar .project_tab.selected .project_tab_close_button,
|
|
|
|
#tab_bar .project_tab .project_tab_close_button.unsaved {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#tab_bar .project_tab_close_button:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2021-09-14 02:36:51 +08:00
|
|
|
#tab_bar .project_tab_close_button.unsaved > i.unsaved_icon {
|
2021-05-05 19:54:41 +08:00
|
|
|
font-size: 13px;
|
|
|
|
text-align: center;
|
2022-12-22 20:22:30 +08:00
|
|
|
padding-top: 5px;
|
2021-05-05 19:54:41 +08:00
|
|
|
}
|
2021-09-14 02:36:51 +08:00
|
|
|
#tab_bar .project_tab_close_button.unsaved:hover > i.unsaved_icon,
|
|
|
|
#tab_bar .project_tab_close_button.unsaved:not(:hover) > i.close_icon {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-05-08 17:43:40 +08:00
|
|
|
#new_tab_button {
|
|
|
|
height: 100%;
|
|
|
|
width: 32px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2022-10-21 21:53:24 +08:00
|
|
|
padding-top: 6px;
|
2021-08-28 04:43:01 +08:00
|
|
|
flex-shrink: 0;
|
2021-05-08 17:43:40 +08:00
|
|
|
}
|
|
|
|
#new_tab_button:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2021-08-28 04:43:01 +08:00
|
|
|
#search_tab_button {
|
|
|
|
height: 100%;
|
|
|
|
width: 32px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2022-10-21 19:00:37 +08:00
|
|
|
padding-top: 6px;
|
2021-08-28 04:43:01 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
#search_tab_button:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2021-07-24 19:51:42 +08:00
|
|
|
#tab_bar .project_tab > label.project_tab_session_badge {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 0;
|
|
|
|
width: auto;
|
|
|
|
color: var(--color-accent);
|
2023-12-01 01:12:31 +08:00
|
|
|
flex-shrink: 0;
|
|
|
|
padding-right: 0;
|
2021-07-24 19:51:42 +08:00
|
|
|
}
|
|
|
|
#tab_bar.invisible {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2021-08-21 02:35:13 +08:00
|
|
|
.project_thumbnail {
|
|
|
|
z-index: 50;
|
|
|
|
background-color: var(--color-back);
|
|
|
|
position: absolute;
|
|
|
|
box-shadow: 0 0 10px rgb(0 0 0 / 40%);
|
2022-10-19 19:59:35 +08:00
|
|
|
min-width: 200px;
|
2021-08-21 02:35:13 +08:00
|
|
|
max-width: 240px;
|
|
|
|
image-rendering: auto;
|
|
|
|
animation: fade_in_thumbnail 700ms;
|
2021-08-22 21:07:59 +08:00
|
|
|
transition: left 100ms ease-in-out;
|
2021-08-21 02:35:13 +08:00
|
|
|
}
|
2022-10-19 19:59:35 +08:00
|
|
|
.project_thumbnail.pixelated {
|
|
|
|
image-rendering: inherit;
|
|
|
|
}
|
2021-08-21 02:35:13 +08:00
|
|
|
@keyframes fade_in_thumbnail {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2022-10-29 04:56:39 +08:00
|
|
|
#drag_out_window_helper {
|
|
|
|
width: 200px;
|
|
|
|
height: 120px;
|
|
|
|
position: absolute;
|
|
|
|
margin: -14px -40px;
|
|
|
|
background-color: var(--color-ui);
|
|
|
|
border: 3px solid var(--color-frame);
|
|
|
|
box-shadow: 1px 1px 10px rgb(0 0 0 / 40%);
|
|
|
|
background-image: url('../assets/logo_cutout.svg');
|
|
|
|
background-position: center 48px;
|
|
|
|
background-size: 40px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
z-index: 200;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#drag_out_window_helper > div {
|
|
|
|
width: 100%;
|
|
|
|
height: 26px;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
background-color: var(--color-frame);
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
/*Status Bar*/
|
|
|
|
#status_bar {
|
|
|
|
position: relative;
|
2021-01-10 01:33:42 +08:00
|
|
|
display: flex;
|
2020-04-26 02:25:07 +08:00
|
|
|
background: var(--color-back);
|
|
|
|
}
|
|
|
|
#status_bar > div {
|
|
|
|
padding-left: 6px;
|
|
|
|
padding-right: 6px;
|
2021-01-10 01:33:42 +08:00
|
|
|
padding-top: 1px;
|
|
|
|
flex-shrink: 0;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#status_bar > div#status_saved {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
2021-01-10 01:33:42 +08:00
|
|
|
#status_bar > div#status_name {
|
|
|
|
width: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
#status_bar #status_progress {
|
|
|
|
position: absolute;
|
|
|
|
height: 4px;
|
|
|
|
background: var(--color-accent);
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2021-11-30 06:50:51 +08:00
|
|
|
#status_bar .status_bar_modifier_key {
|
|
|
|
flex-grow: 0.06;
|
2023-02-21 05:18:09 +08:00
|
|
|
flex-shrink: 1;
|
2021-11-30 06:50:51 +08:00
|
|
|
text-align: center;
|
|
|
|
padding-top: 2px;
|
|
|
|
font-size: 0.92em;
|
|
|
|
}
|
|
|
|
#status_bar .status_bar_modifier_key kbd {
|
|
|
|
font-family: inherit;
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: var(--color-button);
|
|
|
|
padding: 1px 5px;
|
|
|
|
}
|
|
|
|
#status_bar .status_bar_modifier_key span {
|
|
|
|
color: var(--color-subtle_text);
|
|
|
|
}
|
2021-10-09 05:31:17 +08:00
|
|
|
#status_bar .status_selection_info {
|
|
|
|
color: var(--color-subtle_text);
|
|
|
|
}
|
2022-08-04 03:14:59 +08:00
|
|
|
#status_bar #validator_status {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#status_bar #validator_status i {
|
|
|
|
vertical-align: sub;
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 2px;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2021-01-10 01:33:42 +08:00
|
|
|
#status_bar .sidebar_toggle_button {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 2px;
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
.sidebar_toggle_button > i {
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
|
|
|
.sidebar_toggle_button:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2021-02-04 17:09:25 +08:00
|
|
|
|
|
|
|
/* Preview */
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo {
|
2021-02-04 17:09:25 +08:00
|
|
|
position: absolute;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2021-02-05 00:20:01 +08:00
|
|
|
opacity: 0.6;
|
2021-02-04 17:09:25 +08:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo:hover, .orbit_gizmo.mouse_active {
|
2021-02-04 17:09:25 +08:00
|
|
|
background-color: #00000040;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo > svg {
|
2021-02-04 17:09:25 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
2021-02-05 00:20:01 +08:00
|
|
|
pointer-events: none;
|
|
|
|
filter: brightness(0.7);
|
2021-02-04 17:09:25 +08:00
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo > svg path {
|
2021-02-04 17:09:25 +08:00
|
|
|
stroke-width: 2px;
|
|
|
|
fill: none;
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo_side {
|
2021-02-04 17:09:25 +08:00
|
|
|
color: var(--color-accent_text);
|
|
|
|
position: absolute;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: -8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
z-index: 1;
|
2021-02-05 00:20:01 +08:00
|
|
|
text-align: center;
|
2021-02-04 17:09:25 +08:00
|
|
|
font-size: 12px;
|
2021-02-05 00:20:01 +08:00
|
|
|
line-height: 16px;
|
2021-02-04 17:09:25 +08:00
|
|
|
font-family: var(--font-code);
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo.mouse_active .orbit_gizmo_side {
|
2021-02-04 17:09:25 +08:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo_side[axis="x"], .orbit_gizmo > svg path[axis="x"] {
|
2021-02-04 17:09:25 +08:00
|
|
|
background-color: var(--color-axis-x);
|
|
|
|
stroke: var(--color-axis-x);
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo_side[axis="y"], .orbit_gizmo > svg path[axis="y"] {
|
2021-02-04 17:09:25 +08:00
|
|
|
background-color: var(--color-axis-y);
|
|
|
|
stroke: var(--color-axis-y);
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo_side[axis="z"], .orbit_gizmo > svg path[axis="z"] {
|
2021-02-04 17:09:25 +08:00
|
|
|
background-color: var(--color-axis-z);
|
|
|
|
stroke: var(--color-axis-z);
|
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo_side.background {
|
2021-02-04 17:09:25 +08:00
|
|
|
z-index: 0;
|
2021-02-05 00:20:01 +08:00
|
|
|
filter: brightness(0.7);
|
2021-02-04 17:09:25 +08:00
|
|
|
}
|
2021-03-06 02:03:19 +08:00
|
|
|
.orbit_gizmo:not(.mouse_active) .orbit_gizmo_side:hover {
|
2021-02-04 17:09:25 +08:00
|
|
|
background-color: var(--color-bright_ui) !important;
|
2021-02-05 00:20:01 +08:00
|
|
|
filter: brightness(1);
|
2021-12-08 01:31:16 +08:00
|
|
|
}
|
2022-08-25 01:53:09 +08:00
|
|
|
div#preview_copy_brush_outline {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
margin: -10px;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
mix-blend-mode: difference;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
div#preview_copy_brush_outline::after {
|
|
|
|
content: "\2b";
|
|
|
|
font-family: 'Font Awesome 6 Free';
|
|
|
|
font-weight: 900;
|
|
|
|
font-size: 19px;
|
|
|
|
position: absolute;
|
|
|
|
margin: auto;
|
|
|
|
top: calc(50% - 15px);
|
|
|
|
right: -10px;
|
|
|
|
left: -10px;
|
|
|
|
color: white;
|
|
|
|
width: 16px;
|
|
|
|
}
|
2023-03-25 20:33:53 +08:00
|
|
|
#center_first_person_button {
|
|
|
|
position: absolute;
|
|
|
|
margin: auto;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 7px;
|
|
|
|
width: fit-content;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2023-02-17 04:10:15 +08:00
|
|
|
|
|
|
|
.reference_image {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-03-11 06:17:25 +08:00
|
|
|
.reference_image[reference_layer=viewport] {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
.reference_image[reference_layer=float] {
|
|
|
|
z-index: 8;
|
|
|
|
}
|
2023-04-17 19:51:18 +08:00
|
|
|
.reference_image.selected[reference_layer=float] > img {
|
2023-03-11 06:17:25 +08:00
|
|
|
box-shadow: 3px 3px 10px rgb(0 0 0 / 70%);
|
|
|
|
}
|
2023-02-20 00:56:08 +08:00
|
|
|
#work_screen.reference_image_mode .reference_image {
|
|
|
|
pointer-events: initial;
|
2023-03-11 06:17:25 +08:00
|
|
|
}
|
|
|
|
#work_screen.reference_image_mode .single_canvas_wrapper,
|
2023-05-11 05:24:46 +08:00
|
|
|
#work_screen.reference_image_mode .split_screen_wrapper {
|
2023-03-11 06:17:25 +08:00
|
|
|
pointer-events: none;
|
2023-02-20 00:56:08 +08:00
|
|
|
}
|
2023-04-08 05:24:03 +08:00
|
|
|
#work_screen.reference_image_mode .reference_image.invisible:not(.selected):not(:hover) {
|
|
|
|
outline: 1px solid var(--color-grid);
|
|
|
|
}
|
2023-02-17 04:10:15 +08:00
|
|
|
.reference_image.selected {
|
2023-04-08 05:24:03 +08:00
|
|
|
z-index: 9;
|
2023-02-17 04:10:15 +08:00
|
|
|
pointer-events: initial;
|
2023-02-20 00:56:08 +08:00
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
.reference_image.selected, .reference_image:hover {
|
|
|
|
outline: 1px solid var(--color-accent);
|
2023-02-17 04:10:15 +08:00
|
|
|
}
|
|
|
|
.reference_image > img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.reference_image.flip_x > img {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
.reference_image.flip_y > img {
|
|
|
|
transform: scaleY(-1);
|
|
|
|
}
|
|
|
|
.reference_image.flip_y.flip_x > img {
|
|
|
|
transform: scaleX(-1) scaleY(-1);
|
|
|
|
}
|
2023-02-20 00:56:08 +08:00
|
|
|
|
|
|
|
.reference_image_resize_corner {
|
|
|
|
position: absolute;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
background-color: var(--color-text);
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
.reference_image_resize_corner:hover {
|
|
|
|
background-color: var(--color-light);
|
|
|
|
}
|
|
|
|
.reference_image_resize_corner.nw {
|
|
|
|
top: -5px;
|
|
|
|
left: -5px;
|
|
|
|
cursor: nw-resize;
|
|
|
|
}
|
|
|
|
.reference_image_resize_corner.ne {
|
|
|
|
top: -5px;
|
|
|
|
right: -5px;
|
|
|
|
cursor: ne-resize;
|
|
|
|
}
|
|
|
|
.reference_image_resize_corner.sw {
|
|
|
|
bottom: -5px;
|
|
|
|
left: -5px;
|
|
|
|
cursor: sw-resize;
|
|
|
|
}
|
|
|
|
.reference_image_resize_corner.se {
|
|
|
|
bottom: -5px;
|
|
|
|
right: -5px;
|
|
|
|
cursor: se-resize;
|
|
|
|
}
|
|
|
|
.reference_image_rotate_handle {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
|
|
|
position: absolute;
|
2023-04-09 19:26:44 +08:00
|
|
|
cursor: url('../assets/rotate_cursor.png') 9 9, auto;
|
2023-02-20 00:56:08 +08:00
|
|
|
text-shadow: 1px 1px 0px black;
|
|
|
|
}
|
|
|
|
.reference_image_rotate_handle:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
|
|
|
body.light_mode .reference_image_rotate_handle {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
2023-03-04 04:10:41 +08:00
|
|
|
.reference_image_toolbar {
|
|
|
|
position: absolute;
|
|
|
|
margin: auto;
|
|
|
|
height: auto;
|
|
|
|
bottom: 0;
|
2023-04-03 03:44:09 +08:00
|
|
|
right: -150px;
|
|
|
|
left: -150px;
|
2023-03-04 04:10:41 +08:00
|
|
|
background-color: var(--color-ui);
|
|
|
|
max-width: fit-content;
|
|
|
|
display: flex;
|
2023-04-03 03:44:09 +08:00
|
|
|
width: fit-content;
|
2023-03-04 04:10:41 +08:00
|
|
|
}
|
2023-02-20 00:56:08 +08:00
|
|
|
|
2023-03-11 06:17:25 +08:00
|
|
|
.toolbar[toolbar_id=reference_images] {
|
|
|
|
position: absolute;
|
|
|
|
width: 280px;
|
|
|
|
max-width: 100vw;
|
|
|
|
margin: auto;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 35px;
|
|
|
|
background-color: var(--color-ui);
|
|
|
|
border: 2px solid var(--color-accent);
|
|
|
|
z-index: 4;
|
|
|
|
}
|
2023-02-20 00:56:08 +08:00
|
|
|
|
|
|
|
|
2023-03-11 06:17:25 +08:00
|
|
|
.clamped_reference_images {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2023-02-20 00:56:08 +08:00
|
|
|
|
|
|
|
|
2021-12-13 21:41:07 +08:00
|
|
|
/* GIF Recorder */
|
|
|
|
#gif_recording_frame {
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
border: 2px dashed var(--color-accent);
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
#gif_recording_frame.recording {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
#gif_recording_frame_label {
|
|
|
|
text-align: center;
|
|
|
|
color: var(--color-subtle_text);
|
|
|
|
font-family: var(--font-code);
|
2022-03-18 06:42:12 +08:00
|
|
|
pointer-events: initial;
|
|
|
|
cursor: move;
|
2021-12-13 21:41:07 +08:00
|
|
|
}
|
|
|
|
#gif_recording_controls {
|
|
|
|
pointer-events: initial;
|
|
|
|
background-color: var(--color-ui);
|
|
|
|
box-shadow: 0 0 8px #00000040;
|
|
|
|
height: 30px;
|
|
|
|
width: fit-content;
|
|
|
|
margin: auto;
|
|
|
|
position: absolute;
|
2021-12-14 07:14:23 +08:00
|
|
|
display: flex;
|
2021-12-13 21:41:07 +08:00
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.gif_recording_frame_handle {
|
|
|
|
pointer-events: initial;
|
|
|
|
position: absolute;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
#gif_recording_frame.recording .gif_recording_frame_handle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.gif_recording_frame_handle:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
|
|
|
#gif_recording_controls .gif_record_button:hover {
|
|
|
|
filter: brightness(1.2);
|
|
|
|
}
|
|
|
|
#gif_recording_frame.recording .gif_record_button {
|
|
|
|
animation: record_button_blink 0.5s infinite;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
@keyframes record_button_blink {
|
|
|
|
0% {opacity: 0;}
|
|
|
|
50% {opacity: 0;}
|
|
|
|
51% {opacity: 1;}
|
|
|
|
}
|
|
|
|
.gif_recording_frame_handle.gif_resize_ne {cursor: ne-resize}
|
|
|
|
.gif_recording_frame_handle.gif_resize_nw {cursor: nw-resize}
|
|
|
|
.gif_recording_frame_handle.gif_resize_se {cursor: se-resize}
|
|
|
|
.gif_recording_frame_handle.gif_resize_sw {cursor: sw-resize}
|
2021-12-14 06:52:23 +08:00
|
|
|
.gif_recording_frame_handle.gif_resize_ne i {transform: rotate(-45deg);}
|
|
|
|
.gif_recording_frame_handle.gif_resize_nw i {transform: rotate(225deg);}
|
|
|
|
.gif_recording_frame_handle.gif_resize_se i {transform: rotate(45deg);}
|
|
|
|
.gif_recording_frame_handle.gif_resize_sw i {transform: rotate(135deg);}
|
2021-12-13 21:41:07 +08:00
|
|
|
|
2021-12-08 01:31:16 +08:00
|
|
|
/* Amend Edit Menu */
|
|
|
|
#amend_edit_menu {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding-right: 30px;
|
|
|
|
margin: auto;
|
|
|
|
width: fit-content;
|
2023-03-25 20:46:30 +08:00
|
|
|
z-index: 3;
|
2021-12-08 01:31:16 +08:00
|
|
|
}
|
|
|
|
#amend_edit_menu > div.amend_edit_line {
|
|
|
|
background-color: var(--color-ui);
|
|
|
|
padding: 0px 8px;
|
|
|
|
height: 30px;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
#amend_edit_menu > div.amend_edit_line .nslide_tool {
|
|
|
|
float: none;
|
|
|
|
}
|
2023-05-21 05:32:24 +08:00
|
|
|
#amend_edit_menu > div.amend_edit_line > input {
|
|
|
|
width: 73px;
|
|
|
|
}
|
2021-12-08 01:31:16 +08:00
|
|
|
#amend_edit_menu > div.amend_edit_line > label {
|
|
|
|
padding: 4px 6px;
|
|
|
|
}
|
|
|
|
.amend_edit_close_button {
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
padding: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.amend_edit_close_button:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|