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);
|
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
|
|
|
}
|
|
|
|
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 {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 332px auto 314px;
|
|
|
|
grid-template-rows: 30px minmax(200px, 5000px) 26px;
|
|
|
|
grid-template-areas:
|
|
|
|
"left_bar toolbar toolbar"
|
|
|
|
"left_bar center right_bar"
|
|
|
|
"left_bar status_bar right_bar";
|
|
|
|
width: 100%;
|
2021-08-05 21:01:18 +08:00
|
|
|
height: calc(100% - 30px);
|
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 {
|
2021-05-08 17:43:40 +08:00
|
|
|
height: 30px;
|
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%;
|
|
|
|
}
|
|
|
|
div#preview {
|
|
|
|
flex-grow: 1;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1000px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
#status_bar {
|
|
|
|
grid-area: status_bar;
|
|
|
|
}
|
|
|
|
.single_canvas_wrapper {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2021-06-12 18:53:40 +08:00
|
|
|
/*overflow: hidden;*/
|
2020-04-26 02:25:07 +08:00
|
|
|
position: absolute;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
|
|
|
.quad_canvas_wrapper {
|
|
|
|
height: 50%;
|
|
|
|
width: 50%;
|
|
|
|
position: absolute;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
|
|
|
.quad_canvas_wrapper.qcw_x {
|
|
|
|
border-right: 2px solid var(--color-grid);
|
|
|
|
}
|
|
|
|
.quad_canvas_wrapper.qcw_y {
|
|
|
|
border-bottom: 2px solid var(--color-grid);
|
|
|
|
}
|
|
|
|
.quad_canvas_wrapper:not(.qcw_x) {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.quad_canvas_wrapper:not(.qcw_y) {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resizer {
|
|
|
|
position: absolute !important;
|
|
|
|
z-index: 12;
|
|
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
.resizer:hover, .resizer.ui-draggable-dragging {
|
|
|
|
background-color: var(--color-accent);
|
|
|
|
opacity: 0.2;
|
|
|
|
}*/
|
|
|
|
|
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);
|
|
|
|
}
|
2021-08-28 17:40:23 +08:00
|
|
|
@media (max-width:640px) {
|
|
|
|
div#header_free_bar.app-drag-region {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
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;
|
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
|
|
|
}
|
|
|
|
#web_download_button:hover a {
|
|
|
|
color: var(--color-accent_text);
|
|
|
|
}
|
|
|
|
#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 {
|
|
|
|
background-color: var(--color-close);
|
|
|
|
}
|
|
|
|
#windows_window_menu li i:not(.material-icons) {
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
#windows_window_menu i.material-icons {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
#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;
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
/*Mobile*/
|
2020-10-11 22:54:52 +08:00
|
|
|
@media (max-device-width: 640px) {
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
#page_wrapper {
|
2021-07-07 19:08:56 +08:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
#work_screen {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: grid;
|
2020-10-11 22:54:52 +08:00
|
|
|
grid-template-rows: auto minmax(200px, 5000px) 26px 36px;
|
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;
|
|
|
|
}
|
|
|
|
#main_toolbar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#main_toolbar > * {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#main_toolbar > div.tools {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
2020-10-11 22:54:52 +08:00
|
|
|
bottom: 62px;
|
2020-04-26 02:25:07 +08:00
|
|
|
right: 0px;
|
|
|
|
}
|
|
|
|
#main_toolbar > div.mobile_side {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
right: 0px;
|
2020-10-26 22:27:07 +08:00
|
|
|
margin-top: 30px;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#main_toolbar > div.tool_options {
|
|
|
|
background-color: var(--color-back);
|
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
.preview .preview_menu {
|
|
|
|
left: 0;
|
|
|
|
right: unset;
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
.resizer.vertical {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.sidebar {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
#left_bar, #right_bar {
|
|
|
|
width: calc(100% - 40px);
|
|
|
|
display: none;
|
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
#panel_selector_bar .panel_selector {
|
|
|
|
height: 36px;
|
|
|
|
flex: 36px 1 0;
|
|
|
|
text-align: center;
|
|
|
|
cursor: default;
|
|
|
|
color: var(--color-text);
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
#panel_selector_bar .panel_selector.selected {
|
|
|
|
border-bottom: 3px solid var(--color-accent);
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
.panel_selector:only-child {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
#panel_selector_bar .panel_selector .icon_wrapper {
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2021-05-29 05:42:35 +08:00
|
|
|
#mobile_keyboard_menu {
|
|
|
|
width: 40px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 6px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
#mobile_keyboard_menu:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
|
|
|
#mobile_keyboard_menu.enabled::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
height: 8px;
|
|
|
|
width: 8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--color-accent);
|
|
|
|
bottom: 2px;
|
|
|
|
right: 15px;
|
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
|
|
|
|
div#mobile_panel_overlay {
|
|
|
|
position: absolute;
|
2021-01-31 05:30:34 +08:00
|
|
|
z-index: 12;
|
2020-10-11 22:54:52 +08:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 40px;
|
|
|
|
bottom: 0;
|
2020-12-30 23:37:16 +08:00
|
|
|
overflow-x: hidden;
|
2020-10-26 22:27:07 +08:00
|
|
|
overflow-y: auto;
|
2020-10-11 22:54:52 +08:00
|
|
|
background: var(--color-ui);
|
|
|
|
}
|
|
|
|
div#mobile_panel_overlay > .panel {
|
|
|
|
height: 100%;
|
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%;
|
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;
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
#mode_selector {
|
|
|
|
font-size: 1.1em;
|
|
|
|
height: 30px;
|
2021-07-11 04:22:02 +08:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 0;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#mode_selector li {
|
|
|
|
display: inline-block;
|
|
|
|
height: 30px;
|
|
|
|
margin: 0 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 2px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
#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 {
|
|
|
|
background-color: var(--color-back);
|
|
|
|
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%;
|
|
|
|
padding: 2px 6px;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-flex;
|
|
|
|
margin-left: 2px;
|
|
|
|
border-top: 2px solid transparent;
|
2021-05-08 22:52:49 +08:00
|
|
|
left: 0;
|
|
|
|
--tabwidth: 202px;
|
|
|
|
}
|
|
|
|
#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);
|
|
|
|
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 {
|
|
|
|
background-color: var(--color-button);
|
|
|
|
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);
|
|
|
|
}
|
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 {
|
|
|
|
flex: 0 0 24px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
}
|
2021-07-11 04:22:02 +08:00
|
|
|
#tab_bar .project_tab_close_button > * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
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;
|
|
|
|
}
|
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;
|
|
|
|
padding-top: 4px;
|
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;
|
|
|
|
padding-top: 4px;
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
#tab_bar .project_tab > label.project_tab_session_badge i {
|
|
|
|
margin-right: 2px;
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
#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%);
|
|
|
|
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
|
|
|
}
|
|
|
|
@keyframes fade_in_thumbnail {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
80% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
/*Start Screen*/
|
2020-12-22 20:32:49 +08:00
|
|
|
#mode_screen_start {
|
2020-04-26 02:25:07 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2020-12-22 20:32:49 +08:00
|
|
|
#start_screen {
|
2021-08-14 18:57:17 +08:00
|
|
|
height: calc(100% - 30px);
|
2020-12-22 20:32:49 +08:00
|
|
|
width: 100%;
|
2021-08-14 18:57:17 +08:00
|
|
|
padding: 36px 0;
|
2020-12-22 20:32:49 +08:00
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
#start_screen h3 {
|
|
|
|
margin: 0;
|
2020-07-18 16:54:32 +08:00
|
|
|
padding-bottom: 0;
|
|
|
|
height: auto;
|
|
|
|
font-size: 18px;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#start_screen .bar.next_to_title {
|
2021-02-22 06:00:12 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#start_screen .recent_project {
|
|
|
|
margin: 2px 0;
|
|
|
|
display: flex;
|
2020-07-16 15:32:59 +08:00
|
|
|
cursor: pointer;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#start_screen .recent_project .icon_wrapper {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
#start_screen .recent_project_name {
|
|
|
|
font-size: 1.1em;
|
|
|
|
overflow-x: hidden;
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0 4px;
|
|
|
|
}
|
|
|
|
#start_screen .recent_project_date {
|
|
|
|
flex-shrink: 0;
|
2020-05-31 21:54:04 +08:00
|
|
|
position: relative;
|
2021-05-22 15:51:37 +08:00
|
|
|
color: var(--color-subtle_text);
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
span.recent_project_date:before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 16px;
|
|
|
|
height: 26px;
|
|
|
|
margin-left: -20px;
|
|
|
|
background: linear-gradient(90deg, transparent, var(--color-ui));
|
|
|
|
}
|
|
|
|
|
2020-07-16 15:32:59 +08:00
|
|
|
#start_screen_list_type {
|
|
|
|
height: 30px;
|
|
|
|
position: absolute;
|
|
|
|
top: 32px;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
#start_screen_list_type li.selected {
|
|
|
|
border-bottom: 3px solid var(--color-accent);
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
|
2020-07-16 15:32:59 +08:00
|
|
|
#start_screen .recent_project.thumbnail {
|
2021-08-18 04:38:31 +08:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
2020-07-16 15:32:59 +08:00
|
|
|
height: 130px;
|
2020-04-26 02:25:07 +08:00
|
|
|
position: relative;
|
|
|
|
background-color: var(--color-back);
|
2020-07-16 15:32:59 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#start_screen .recent_project.thumbnail .thumbnail_image {
|
|
|
|
width: 180px;
|
|
|
|
height: 100px;
|
2021-08-18 04:38:31 +08:00
|
|
|
margin: auto;
|
2020-07-16 15:32:59 +08:00
|
|
|
background-size: 180px;
|
2020-04-26 02:25:07 +08:00
|
|
|
background-repeat: no-repeat;
|
2020-07-16 15:32:59 +08:00
|
|
|
cursor: pointer;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#start_screen .recent_project.thumbnail:hover {
|
2020-07-16 15:32:59 +08:00
|
|
|
background-color: var(--color-accent);
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#start_screen .recent_project.thumbnail .recent_project_name {
|
|
|
|
font-size: 1em;
|
|
|
|
overflow-x: hidden;
|
2020-07-16 15:32:59 +08:00
|
|
|
height: 30px;
|
|
|
|
right: 0px;
|
|
|
|
left: 0px;
|
2020-04-26 02:25:07 +08:00
|
|
|
bottom: 0;
|
2020-07-16 15:32:59 +08:00
|
|
|
margin: 0;
|
2021-08-18 04:55:59 +08:00
|
|
|
padding-top: 2px;
|
2020-04-26 02:25:07 +08:00
|
|
|
position: absolute;
|
2020-07-16 15:32:59 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#start_screen .recent_project.thumbnail .icon_wrapper {
|
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
pointer-events: none;
|
|
|
|
padding: 2px;
|
|
|
|
color: var(--color-accent_text);
|
|
|
|
background-color: var(--color-accent);
|
|
|
|
}
|
|
|
|
#start_screen .recent_project.thumbnail:hover .recent_project_name {
|
|
|
|
color: var(--color-accent_text);
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
#start-files ul.redact li.recent_project.thumbnail .thumbnail_image {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
#start_screen .recent_project.thumbnail:hover .icon_wrapper {
|
|
|
|
display: block;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#start_screen > content {
|
|
|
|
display: block;
|
|
|
|
max-width: 1000px;
|
|
|
|
height: auto;
|
2021-08-14 18:57:17 +08:00
|
|
|
max-height: 100%;
|
2020-04-26 02:25:07 +08:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
background-color: var(--color-ui);
|
|
|
|
overflow-y: scroll;
|
2021-07-07 19:08:56 +08:00
|
|
|
overflow-x: hidden;
|
2020-04-26 02:25:07 +08:00
|
|
|
image-rendering: auto;
|
|
|
|
}
|
|
|
|
#start_screen > content > section {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
}
|
2021-09-22 03:13:24 +08:00
|
|
|
#start_screen > content > section.vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen section div.start_screen_left, #start_screen section div.start_screen_right {
|
2020-04-26 02:25:07 +08:00
|
|
|
display: block;
|
|
|
|
padding: 24px;
|
|
|
|
max-height: 600px;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen section div.start_screen_right > ul {
|
2020-04-26 02:25:07 +08:00
|
|
|
max-height: 465px;
|
|
|
|
padding-right: 5px;
|
2021-08-18 04:38:31 +08:00
|
|
|
overflow-y: auto;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(170px ,1fr));
|
|
|
|
grid-gap: 5px;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen div.start_screen_left {
|
2021-09-22 03:13:24 +08:00
|
|
|
max-width: 100%;
|
2020-04-26 02:25:07 +08:00
|
|
|
flex-grow: 0;
|
2021-09-22 03:13:24 +08:00
|
|
|
}
|
|
|
|
#start_screen div.start_screen_left.graphic {
|
2020-04-26 02:25:07 +08:00
|
|
|
background-size: cover;
|
2021-09-22 03:13:24 +08:00
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
#start_screen div.start_screen_left.graphic p {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 0.96em;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen div.start_screen_left i.graphic_icon {
|
2020-04-26 02:25:07 +08:00
|
|
|
font-size: 40px;
|
|
|
|
width: 12px;
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen div.start_screen_right {
|
2020-04-26 02:25:07 +08:00
|
|
|
flex-grow: 1;
|
2020-05-31 21:54:04 +08:00
|
|
|
width: 62%;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-09-22 03:13:24 +08:00
|
|
|
#start_screen section.vertical div.start_screen_right {
|
|
|
|
width: auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-04-26 02:25:07 +08:00
|
|
|
#start_screen i.start_screen_close_button {
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
right: 8px;
|
2021-06-24 03:20:15 +08:00
|
|
|
cursor: pointer;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#start_screen i.start_screen_close_button:not(:hover) {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
2021-09-22 03:13:24 +08:00
|
|
|
#start_screen section.vertical.bright_ui .start_screen_right {
|
|
|
|
box-shadow: 0 0 14px #00103030;
|
|
|
|
}
|
|
|
|
#start_screen .start_screen_features {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 12px;
|
|
|
|
background: #00004006;
|
|
|
|
}
|
|
|
|
#start_screen .start_screen_features > li {
|
|
|
|
width: 30%;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-width: 250px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
justify-content: space-between;
|
|
|
|
text-align: center;
|
|
|
|
margin: 7px;
|
|
|
|
padding: 7px;
|
|
|
|
}
|
|
|
|
#start_screen .start_screen_features > li > * {
|
|
|
|
max-width: 100%;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
#start_screen .start_screen_features > li > h3 {
|
|
|
|
font-size: 1.4em;
|
|
|
|
}
|
2020-10-11 22:54:52 +08:00
|
|
|
@media (max-device-width: 640px) {
|
2020-04-26 02:25:07 +08:00
|
|
|
#start_screen {
|
2021-01-31 05:30:34 +08:00
|
|
|
width: 100%;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
|
|
|
#start_screen > content {
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
#start_screen > content > section {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen content section div.start_screen_right {
|
2020-04-26 02:25:07 +08:00
|
|
|
width: 100% !important;
|
|
|
|
float: none;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen content section div.start_screen_left {
|
2020-04-26 02:25:07 +08:00
|
|
|
width: 100% !important;
|
|
|
|
float: none;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen content section div.start_screen_left {
|
2020-04-26 02:25:07 +08:00
|
|
|
width: 100% !important;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#start-files li:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen section#start-files div.start_screen_left {
|
2020-04-26 02:25:07 +08:00
|
|
|
width: 38%;
|
2021-02-22 06:00:12 +08:00
|
|
|
padding: 20px 24px 0px 24px;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start-files div.start_screen_right {
|
2020-04-26 02:25:07 +08:00
|
|
|
border-left: 1px solid var(--color-border);
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen div.start_screen_left > ul {
|
2021-02-22 06:00:12 +08:00
|
|
|
margin-bottom: 16px;
|
2020-07-16 15:32:59 +08:00
|
|
|
overflow-y: auto;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start_screen div.start_screen_right i {
|
2020-04-26 02:25:07 +08:00
|
|
|
vertical-align: sub;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start-files div.start_screen_left li {
|
2020-04-26 02:25:07 +08:00
|
|
|
padding: 4px 0;
|
2020-07-16 15:32:59 +08:00
|
|
|
cursor: pointer;
|
2020-04-26 02:25:07 +08:00
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start-files div.start_screen_left span.icon_wrapper {
|
2020-04-26 02:25:07 +08:00
|
|
|
height: 22px;
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start-files div.start_screen_left li p {
|
2021-01-02 22:08:07 +08:00
|
|
|
font-size: 0.94em;
|
2021-02-22 06:00:12 +08:00
|
|
|
line-height: normal;
|
2021-01-02 22:08:07 +08:00
|
|
|
color: var(--color-subtle_text);
|
|
|
|
}
|
2021-09-21 17:20:10 +08:00
|
|
|
#start-files div.start_screen_left i {
|
2021-01-02 22:08:07 +08:00
|
|
|
font-size: 18pt;
|
2020-04-26 02:25:07 +08:00
|
|
|
height: 22px;
|
2020-07-18 16:54:32 +08:00
|
|
|
margin: 2px 8px 0px 0;
|
2020-04-26 02:25:07 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2021-06-24 03:20:15 +08:00
|
|
|
section#keymap_preference {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
section#keymap_preference > ul {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto auto;
|
|
|
|
grid-gap: 6px;
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
section#keymap_preference > h2 {
|
|
|
|
padding: 12px 20px;
|
|
|
|
}
|
|
|
|
section#keymap_preference > p {
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
section#keymap_preference .keymap_select_box {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 12px;
|
|
|
|
min-height: 132px;
|
|
|
|
background-color: var(--color-back);
|
|
|
|
cursor: pointer;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
}
|
|
|
|
section#keymap_preference .keymap_select_box:hover {
|
|
|
|
color: var(--color-light);
|
|
|
|
border-color: var(--color-accent);
|
|
|
|
background-color: var(--color-ui);
|
|
|
|
}
|
|
|
|
section#keymap_preference .keymap_select_box p {
|
|
|
|
color: var(--color-subtle_text);
|
|
|
|
}
|
|
|
|
|
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-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-02-04 17:09:25 +08:00
|
|
|
}
|