2023-06-27 15:53:29 +08:00
|
|
|
:root {
|
2023-12-08 16:00:26 +08:00
|
|
|
//--bg-color: #f8f8f8;
|
|
|
|
//--bg-color-accent: #fff;
|
|
|
|
//--bg-color-page: #f2f3f5;
|
|
|
|
//--text-color-regular: #606266;
|
|
|
|
//--border-color: #dcdfe6;
|
|
|
|
--transition-duration-fast: 0.2s;
|
|
|
|
--transition-function-ease-in-out-bezier: cubic-bezier(0.645, 0.045, 0.355, 1);
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
2023-12-08 16:00:26 +08:00
|
|
|
//text-align: center;
|
|
|
|
cursor: default;
|
|
|
|
-webkit-user-select: none; /* Chrome, Safari */
|
|
|
|
-moz-user-select: none; /* Firefox */
|
|
|
|
user-select: none;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2023-12-08 16:00:26 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #0000;
|
|
|
|
line-height: 1.5;
|
|
|
|
font-family: v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
|
overflow: hidden;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
2023-12-01 17:59:04 +08:00
|
|
|
@mixin bottom-shadow($transparent) {
|
2023-12-08 16:00:26 +08:00
|
|
|
box-shadow: 0 5px 5px -5px rgba(0, 0, 0, $transparent);
|
2023-12-01 17:59:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin top-shadow($transparent) {
|
2023-12-08 16:00:26 +08:00
|
|
|
box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, $transparent);
|
2023-12-01 17:59:04 +08:00
|
|
|
}
|
|
|
|
|
2023-06-27 15:53:29 +08:00
|
|
|
#app {
|
2023-12-08 16:00:26 +08:00
|
|
|
height: 100vh;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex-box {
|
2023-12-08 16:00:26 +08:00
|
|
|
display: flex;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex-box-v {
|
2023-12-08 16:00:26 +08:00
|
|
|
@extend .flex-box;
|
|
|
|
flex-direction: column;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex-box-h {
|
2023-12-08 16:00:26 +08:00
|
|
|
@extend .flex-box;
|
|
|
|
flex-direction: row;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex-item {
|
2023-12-08 16:00:26 +08:00
|
|
|
flex: 0 0 auto;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex-item-expand {
|
2023-12-08 16:00:26 +08:00
|
|
|
flex-grow: 1;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
2023-11-14 22:58:44 +08:00
|
|
|
.clickable {
|
2023-12-08 16:00:26 +08:00
|
|
|
cursor: pointer;
|
2023-11-14 22:58:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-btn {
|
2023-12-08 16:00:26 +08:00
|
|
|
@extend .clickable;
|
|
|
|
line-height: 100%;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ellipsis {
|
2023-12-08 16:00:26 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.fill-height {
|
2023-12-08 16:00:26 +08:00
|
|
|
height: 100%;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
2023-07-03 23:30:04 +08:00
|
|
|
.text-block {
|
2023-12-08 16:00:26 +08:00
|
|
|
white-space: pre-line;
|
2023-07-03 23:30:04 +08:00
|
|
|
}
|
|
|
|
|
2023-06-27 15:53:29 +08:00
|
|
|
.content-wrapper {
|
2023-12-08 16:00:26 +08:00
|
|
|
height: 100%;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
2023-06-27 15:53:29 +08:00
|
|
|
gap: 5px;
|
2023-12-08 16:00:26 +08:00
|
|
|
padding-top: 5px;
|
|
|
|
//padding: 5px;
|
2023-11-08 23:45:33 +08:00
|
|
|
box-sizing: border-box;
|
2023-12-08 16:00:26 +08:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.tb2 {
|
|
|
|
gap: 5px;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2023-10-29 23:05:34 +08:00
|
|
|
|
2023-12-08 16:00:26 +08:00
|
|
|
.value-wrapper {
|
|
|
|
//border-top: v-bind('themeVars.borderColor') 1px solid;
|
|
|
|
user-select: text;
|
|
|
|
//height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2023-10-29 23:05:34 +08:00
|
|
|
|
2023-12-08 16:00:26 +08:00
|
|
|
.value-item-part {
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.value-footer {
|
|
|
|
@include top-shadow(0.1);
|
|
|
|
align-items: center;
|
|
|
|
gap: 0;
|
|
|
|
padding: 3px 10px 3px 10px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.n-dynamic-input-item {
|
2023-12-08 16:00:26 +08:00
|
|
|
align-items: center;
|
|
|
|
gap: 10px;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
|
|
|
|
2023-07-07 02:23:33 +08:00
|
|
|
.n-tree-node-content__text {
|
2023-12-08 16:00:26 +08:00
|
|
|
@extend .ellipsis;
|
2023-07-07 02:23:33 +08:00
|
|
|
}
|
|
|
|
|
2023-06-27 15:53:29 +08:00
|
|
|
.context-menu-item {
|
2023-12-08 16:00:26 +08:00
|
|
|
min-width: 100px;
|
|
|
|
padding-right: 10px;
|
2023-06-27 15:53:29 +08:00
|
|
|
}
|
2023-07-04 00:42:17 +08:00
|
|
|
|
|
|
|
.nav-pane-container {
|
2023-12-08 16:00:26 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.nav-pane-func {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
gap: 3px;
|
|
|
|
padding: 3px 8px;
|
|
|
|
min-height: 30px;
|
|
|
|
|
|
|
|
.nav-pane-func-btn {
|
|
|
|
padding: 3px;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2023-11-29 16:16:13 +08:00
|
|
|
}
|
2023-07-04 00:42:17 +08:00
|
|
|
}
|
2023-09-17 01:15:55 +08:00
|
|
|
|
2023-09-25 17:30:01 +08:00
|
|
|
.n-modal-mask {
|
2023-12-08 16:00:26 +08:00
|
|
|
--wails-draggable: drag;
|
2023-09-17 01:15:55 +08:00
|
|
|
}
|
2023-11-08 23:45:33 +08:00
|
|
|
|
|
|
|
.n-tabs .n-tabs-nav {
|
2023-12-08 16:00:26 +08:00
|
|
|
line-height: 1.3;
|
2023-11-08 23:45:33 +08:00
|
|
|
}
|
2023-12-04 15:43:25 +08:00
|
|
|
|
|
|
|
// animations
|
|
|
|
.fade-enter-active,
|
|
|
|
.fade-leave-active {
|
2023-12-08 16:00:26 +08:00
|
|
|
transition: opacity 0.3s ease;
|
2023-12-04 15:43:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.fade-enter-from,
|
|
|
|
.fade-leave-to {
|
2023-12-08 16:00:26 +08:00
|
|
|
opacity: 0;
|
2023-12-04 15:43:25 +08:00
|
|
|
}
|
2024-01-12 15:36:30 +08:00
|
|
|
|
|
|
|
.auto-rotate {
|
|
|
|
animation: rotate 2s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotate {
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|