Files
dmt-modelLibrary/web/src/styles/base.css
2026-05-29 17:24:33 +08:00

108 lines
2.9 KiB
CSS

:root {
font-family: "Microsoft YaHei", Arial, sans-serif;
color: #1c2733;
background: #eef2f5;
}
* {
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
margin: 0;
min-width: 320px;
}
button,
input,
select {
font: inherit;
}
button {
border: 1px solid #c6d0da;
background: #ffffff;
color: #243447;
border-radius: 4px;
min-height: 28px;
padding: 4px 10px;
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
opacity: 0.45;
}
input,
select {
width: 100%;
border: 1px solid #c9d3dd;
border-radius: 4px;
min-height: 28px;
padding: 5px 8px;
background: #ffffff;
}
.primary-btn {
background: #1f6f8b;
border-color: #1f6f8b;
color: #ffffff;
}
.ghost-btn {
background: #f7fafb;
}
.w2ui-panel .w2ui-panel-content {
font-size: 13px;
}
.jstree-default .jstree-anchor {
height: 24px;
line-height: 24px;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
.jstree-default .jstree-icon:empty {
width: 22px;
height: 22px;
line-height: 22px;
}
.vakata-context li > a {
min-height: 24px;
line-height: 24px;
padding: 0 18px 0 8px;
}
.vakata-context,
.vakata-context ul {
z-index: 12000 !important;
}
.vakata-context .tree-menu-icon {
width: 16px;
height: 16px;
margin: 1px 6px 0 2px;
background-position: center !important;
background-repeat: no-repeat !important;
background-size: 16px 16px !important;
}
.vakata-context .tree-menu-icon-add {
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.5A2.5 2.5 0 0 1 5.5 4H10l2 2h6.5A2.5 2.5 0 0 1 21 8.5v8A2.5 2.5 0 0 1 18.5 19h-13A2.5 2.5 0 0 1 3 16.5v-10Z' stroke='%231f6f8b' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M12 9.5v6M9 12.5h6' stroke='%231f6f8b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}
.vakata-context .tree-menu-icon-edit {
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h4.5L19.2 9.3a2.1 2.1 0 0 0 0-3L17.7 4.8a2.1 2.1 0 0 0-3 0L4 15.5V20Z' stroke='%2374612f' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M13.5 6 18 10.5' stroke='%23c08a28' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}
.vakata-context .tree-menu-icon-delete {
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7h14' stroke='%23b42318' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M9 7V5.5A1.5 1.5 0 0 1 10.5 4h3A1.5 1.5 0 0 1 15 5.5V7' stroke='%23b42318' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M7 7l1 12a2 2 0 0 0 2 1.8h4a2 2 0 0 0 2-1.8l1-12' stroke='%23b42318' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M10.5 11v6M13.5 11v6' stroke='%23b42318' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}