init
This commit is contained in:
144
src/assets/styles/echartsEditor.scss
Normal file
144
src/assets/styles/echartsEditor.scss
Normal file
@@ -0,0 +1,144 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
/* ==============X轴/Y轴区域样式=============*/
|
||||
.box-card-h {
|
||||
height: 390px !important;
|
||||
}
|
||||
.box-card::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
// 滚动条轨道
|
||||
.box-card::-webkit-scrollbar-track {
|
||||
background: rgb(239, 239, 239);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
// 小滑块
|
||||
.box-card::-webkit-scrollbar-thumb {
|
||||
background: rgba(80, 81, 82, 0.29);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.box-card {
|
||||
font-size: 15px;
|
||||
height: 350px;
|
||||
overflow-y: auto;
|
||||
|
||||
.el-card__body {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.x-y-axis {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.list-group {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.cards {
|
||||
margin-bottom: 10px;
|
||||
|
||||
span:last-child {
|
||||
color: #2a99ff;
|
||||
}
|
||||
|
||||
.update-color {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
> span{
|
||||
white-space: pre
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.card-active {
|
||||
outline: none; /* 隐藏默认的蓝色外边框 */
|
||||
box-shadow: 0 0 5px blue; /* 添加阴影效果,颜色为蓝色 */
|
||||
}
|
||||
|
||||
.x-y-cards {
|
||||
.el-card__body {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.cards-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
> span:first-child {
|
||||
color: #2a99ff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//扩大拖拽区域
|
||||
.drag-block {
|
||||
height: 329px;
|
||||
}
|
||||
.red-bgc {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
.yellow-bgc {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
/* ==============基础设置样式=============*/
|
||||
.basic-setup {
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.setting {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.setting-title {
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.setting-item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
/* ==============高级设置样式=============*/
|
||||
.advanced-setting{
|
||||
.el-form-item {
|
||||
display: block;
|
||||
|
||||
.el-form-item__label {
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.el-form-item__content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* ==============echarts样式=============*/
|
||||
#container {
|
||||
box-sizing: border-box;
|
||||
height: 450px;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
520
src/assets/styles/index.scss
Normal file
520
src/assets/styles/index.scss
Normal file
@@ -0,0 +1,520 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
html, body, #app, .el-container, .el-aside, .el-main {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.el-breadcrumb__item {
|
||||
line-height: 65px;
|
||||
}
|
||||
|
||||
.el-main {
|
||||
background: #F4F6F8;
|
||||
padding: 0 0 0 18px;
|
||||
//padding: 0;
|
||||
position: fixed;
|
||||
left: 200px;
|
||||
transition: left ease 0.15s;
|
||||
margin-left: 0;
|
||||
transition: margin-left .15s;
|
||||
// -webkit-transition: width .15s;
|
||||
// transition: width 0.15s;
|
||||
width: calc(100vw - 200px);
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
// 滚动条轨道
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgb(239, 239, 239);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
// 小滑块
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgba(80, 81, 82, 0.29);
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.main-collapse {
|
||||
left: 64px;
|
||||
width: calc(100vw - 64px);
|
||||
}
|
||||
|
||||
.el-aside {
|
||||
//box-shadow: 4px 0 2px 1px rgb(171, 167, 167);
|
||||
overflow: hidden;
|
||||
width: 200px;
|
||||
-webkit-transition: width .15s;
|
||||
transition: width 0.15s;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.el-dialog {
|
||||
border-radius: 12px !important;
|
||||
border: none;
|
||||
|
||||
.el-dialog__header {
|
||||
border-top-left-radius: 12px;
|
||||
border-top-right-radius: 12px;
|
||||
// background-color: #262626;
|
||||
margin: 0;
|
||||
// .el-dialog__title{
|
||||
// color: white;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
.table-header-btn {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.el-dialog__body{
|
||||
padding: 10px 20px;
|
||||
}
|
||||
.stateIcon {
|
||||
margin-top: 9px;
|
||||
margin-right: 7px;
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.query-form {
|
||||
//margin-left: 14px;
|
||||
margin-top: 15px;
|
||||
|
||||
.el-tag__content {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.el-form-item {
|
||||
//display: flex;
|
||||
//align-items: center;
|
||||
margin-right: 18px;
|
||||
}
|
||||
|
||||
.el-form-item__label {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.el-button {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.el-input {
|
||||
width: 280px;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.query-btn {
|
||||
margin-bottom: 10px;
|
||||
|
||||
.el-button {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.table {
|
||||
//margin-top: 15px;
|
||||
//margin-bottom: 20px;
|
||||
.el-tag {
|
||||
.el-tag__content {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
.el-table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
thead .el-table-column--selection .cell {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.el-table__header-wrapper {
|
||||
border-bottom: 1px solid #D1D4D6;
|
||||
|
||||
.el-table__header {
|
||||
.cell {
|
||||
font-size: 16px;
|
||||
font-family: DengXian-Bold, DengXian;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.dialog-form {
|
||||
.el-form-item {
|
||||
flex-direction: column;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.el-form-item__content {
|
||||
.el-select {
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.el-form-item__label {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.custom-dialog {
|
||||
:deep .el-dialog__header {
|
||||
padding: 10px 20px;
|
||||
|
||||
.el-dialog__title {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.el-dialog__headerbtn {
|
||||
top: 15px;
|
||||
|
||||
.i {
|
||||
font-size: large;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:deep .el-dialog__footer {
|
||||
padding: 10px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
//============node节点样式============
|
||||
.node-error-state {
|
||||
.node-body {
|
||||
box-shadow: 0px 0px 5px 0px #F56C6C !important;
|
||||
}
|
||||
}
|
||||
|
||||
.node-error {
|
||||
position: absolute;
|
||||
right: -40px;
|
||||
top: 20px;
|
||||
font-size: 25px;
|
||||
color: #F56C6C;
|
||||
}
|
||||
|
||||
.node-footer {
|
||||
position: relative;
|
||||
|
||||
.branch-merge {
|
||||
font-size: 12px;
|
||||
display: flex;
|
||||
width: 38px;
|
||||
border-radius: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: -20px auto 0;
|
||||
background: #fff;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
box-shadow: 0 0 5px 0 #d8d8d8;
|
||||
z-index: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding: 20px 0 32px;
|
||||
justify-content: center;
|
||||
z-index: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.el-button {
|
||||
//height: 32px;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
//z-index: -1;
|
||||
margin: auto;
|
||||
width: 2px;
|
||||
height: 100%;
|
||||
background-color: #CACACA;
|
||||
}
|
||||
}
|
||||
|
||||
//el-dialog的样式类名
|
||||
.border {
|
||||
.el-dialog__header {
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
|
||||
.el-dialog__footer {
|
||||
border-top: 1px solid #e8e8e8;
|
||||
}
|
||||
}
|
||||
|
||||
.layout {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
.scrollbar-user {
|
||||
height: calc(100vh - 250px)!important;
|
||||
overflow: auto!important;
|
||||
}
|
||||
|
||||
.scrollbar-dict {
|
||||
border: 1px solid #ebeef5;
|
||||
//min-height: 30vh;
|
||||
//height: 60vh;
|
||||
height: calc(100vh - 300px);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
// 滚动条轨道
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgb(239, 239, 239);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
// 小滑块
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgba(80, 81, 82, 0.29);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.el-tree--highlight-current
|
||||
.el-tree-node.is-current
|
||||
> .el-tree-node__content {
|
||||
// 设置颜色
|
||||
background-color: rgba(135, 206, 235, 0.2); // 透明度为0.2的skyblue,作者比较喜欢的颜色
|
||||
color: #409eff; // 节点的字体颜色
|
||||
font-weight: bold; // 字体加粗
|
||||
}
|
||||
}
|
||||
|
||||
.layout-left {
|
||||
width: 30%;
|
||||
//border: 1px solid #ebeef5;
|
||||
padding: 10px;
|
||||
margin-top: 5px;
|
||||
|
||||
.dict-tree {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
//:deep .el-button{
|
||||
// //border: 1px solid;
|
||||
// background-color: #fff;
|
||||
//}
|
||||
.left-type {
|
||||
margin-right: 20px;
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.layout-right {
|
||||
//width: 70%;
|
||||
//border: 1px solid #ebeef5;
|
||||
margin-left: 10px;
|
||||
padding: 0 10px;
|
||||
width: 80%;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.top-dialog {
|
||||
.el-overlay-dialog {
|
||||
left: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.el-overlay-dialog {
|
||||
left: 200px;
|
||||
}
|
||||
|
||||
//放大缩小按钮上外边距
|
||||
.scale {
|
||||
margin-top: 10px;
|
||||
z-index: 666;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.el-overlay-dialog {
|
||||
left: 200px !important;
|
||||
}
|
||||
|
||||
.el-overlay-dialog::-webkit-scrollbar, .scrollbar-dict::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
// 滚动条轨道
|
||||
.el-overlay-dialog::-webkit-scrollbar-track, .scrollbar-dict::-webkit-scrollbar-track {
|
||||
background: rgb(239, 239, 239);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
// 小滑块
|
||||
.el-overlay-dialog::-webkit-scrollbar-thumb, .scrollbar-dict::-webkit-scrollbar-thumb {
|
||||
background: rgba(80, 81, 82, 0.29);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.nowrap {
|
||||
white-space: pre
|
||||
}
|
||||
|
||||
//SvgIcon组件的样式
|
||||
.svg-icon {
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
vertical-align: -0.15em;
|
||||
fill: currentColor;
|
||||
overflow: hidden;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.er-icon {
|
||||
cursor: pointer;
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
vertical-align: -0.15em;
|
||||
fill: currentColor;
|
||||
overflow: hidden;
|
||||
margin-right: 5px;
|
||||
|
||||
&:hover {
|
||||
border: 1px solid darkgray;
|
||||
}
|
||||
}
|
||||
|
||||
.disabled-icon {
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
vertical-align: -0.15em;
|
||||
fill: currentColor;
|
||||
overflow: hidden;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.disabled-icon:hover {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.black-icon {
|
||||
width: 1.2em;
|
||||
height: 1.2em;
|
||||
vertical-align: -0.15em;
|
||||
fill: #383737;
|
||||
overflow: hidden;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.middle-icon {
|
||||
width: 1.4em;
|
||||
height: 1.4em;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
width: 1.1em;
|
||||
height: 1.1em;
|
||||
margin-left: 5px;
|
||||
vertical-align: -0.21em;
|
||||
}
|
||||
|
||||
.tag:hover {
|
||||
color: #418DFF;
|
||||
|
||||
.close-icon {
|
||||
fill: #418DFF;
|
||||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
.close-icon {
|
||||
fill: #418DFF;
|
||||
}
|
||||
}
|
||||
|
||||
.svg-icon:hover {
|
||||
cursor: pointer;
|
||||
//border: 1px solid #E9E9E9;
|
||||
}
|
||||
|
||||
//IconSelect组件的样式
|
||||
.icon-select {
|
||||
width: 100%;
|
||||
|
||||
.icon-name {
|
||||
width: 110px;
|
||||
overflow: hidden; //超出的文本隐藏
|
||||
text-overflow: ellipsis; //溢出用省略号显示
|
||||
white-space: nowrap; //溢出不换行
|
||||
}
|
||||
|
||||
.el-popper {
|
||||
.el-select-dropdown {
|
||||
max-width: 592px !important;
|
||||
|
||||
.el-select-dropdown__list {
|
||||
display: flex !important;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.el-select-dropdown__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
width: 148px;
|
||||
padding: 0 0 0 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.query-form {
|
||||
.el-form-item__content {
|
||||
.el-select__wrapper {
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.el-pagination {
|
||||
margin-top: 10px;
|
||||
}
|
||||
43
src/assets/styles/sidebar.scss
Normal file
43
src/assets/styles/sidebar.scss
Normal file
@@ -0,0 +1,43 @@
|
||||
.logo {
|
||||
height: 106px;
|
||||
background-color: #418DFF;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
font-size: 26px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.port-link{
|
||||
display: block;
|
||||
width: 200px;
|
||||
height: 50px;
|
||||
margin-left: -40px;
|
||||
padding-left: 40px;
|
||||
}
|
||||
.el-menu {
|
||||
border: none !important;
|
||||
.el-sub-menu {
|
||||
.el-sub-menu__title {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
&:hover{
|
||||
//background-color: #1F315F;
|
||||
}
|
||||
}
|
||||
|
||||
.el-menu-item {
|
||||
font-size: 14px;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
&:hover {
|
||||
//background-color: #373350 !important;
|
||||
//color: #EDC49A;
|
||||
}
|
||||
}
|
||||
.el-menu-item.is-active {
|
||||
background: #E9F4FF;
|
||||
//background-color: #373350 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user