tiny-rdm/frontend/src/styles/style.scss

139 lines
2.2 KiB
SCSS
Raw Normal View History

2023-06-27 15:53:29 +08:00
:root {
2023-07-15 01:54:40 +08:00
//--bg-color: #f8f8f8;
//--bg-color-accent: #fff;
//--bg-color-page: #f2f3f5;
//--text-color-regular: #606266;
//--border-color: #dcdfe6;
2023-06-27 15:53:29 +08:00
--transition-duration-fast: 0.2s;
--transition-function-ease-in-out-bezier: cubic-bezier(0.645, 0.045, 0.355, 1);
}
html {
//text-align: center;
cursor: default;
-webkit-user-select: none; /* Chrome, Safari */
-moz-user-select: none; /* Firefox */
user-select: none;
}
body {
margin: 0;
padding: 0;
background-color: #0000;
line-height: 1.5;
2023-09-17 01:15:55 +08:00
font-family: v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2023-10-26 00:03:43 +08:00
overflow: hidden;
2023-06-27 15:53:29 +08:00
}
#app {
height: 100vh;
}
.flex-box {
display: flex;
}
.flex-box-v {
@extend .flex-box;
flex-direction: column;
}
.flex-box-h {
@extend .flex-box;
flex-direction: row;
}
.flex-item {
flex: 0 0 auto;
}
.flex-item-expand {
flex-grow: 1;
}
.icon-btn {
cursor: pointer;
line-height: 100%;
}
.ellipsis {
white-space: nowrap; /* 禁止文本换行 */
overflow: hidden; /* 隐藏超出容器的文本 */
text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */
}
.unit-item {
margin-left: 10px;
}
.fill-height {
height: 100%;
}
.text-block {
white-space: pre-line;
}
2023-06-27 15:53:29 +08:00
.content-wrapper {
height: 100%;
flex-grow: 1;
2023-06-27 15:53:29 +08:00
overflow: hidden;
gap: 5px;
padding-top: 5px;
//padding: 5px;
2023-06-27 15:53:29 +08:00
box-sizing: border-box;
.tb2 {
gap: 5px;
justify-content: flex-end;
align-items: center;
}
.value-wrapper {
//border-top: v-bind('themeVars.borderColor') 1px solid;
2023-06-27 15:53:29 +08:00
user-select: text;
height: 100%;
2023-06-27 15:53:29 +08:00
}
.value-item-part {
padding: 0 5px;
}
.value-footer {
align-items: center;
gap: 0;
padding: 3px 10px 3px 10px;
min-height: 30px;
}
2023-06-27 15:53:29 +08:00
}
.n-dynamic-input-item {
align-items: center;
gap: 10px;
}
.n-tree-node-content__text {
@extend .ellipsis;
}
2023-06-27 15:53:29 +08:00
.context-menu-item {
min-width: 100px;
2023-06-27 15:53:29 +08:00
padding-right: 10px;
}
.nav-pane-container {
overflow: hidden;
.nav-pane-bottom {
align-items: center;
gap: 8px;
padding: 3px 10px 3px 10px;
min-height: 30px;
//border-top: v-bind('themeVars.borderColor') 1px solid;
}
}
2023-09-17 01:15:55 +08:00
.n-modal-mask {
2023-09-17 01:15:55 +08:00
--wails-draggable: drag;
}