mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-18 01:06:39 +08:00
feat: adjust task list component styles
This commit is contained in:
parent
8557f5b94a
commit
acec0194de
@ -4,19 +4,96 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
.task-list-box .task-list-inner .el-tabs {
|
||||||
|
--el-tabs-header-height: 55px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .el-tabs__item {
|
||||||
|
color: #fff;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .title-tabs .el-tabs__item.is-active {
|
||||||
|
color: #47fff1;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .title-tabs .el-tabs__active-bar {
|
||||||
|
background-color: #47fff1;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .title-tabs .el-tabs__content {
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .el-textarea {
|
||||||
|
--el-input-focus-border-color: #47fff1;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .el-textarea__inner {
|
||||||
|
background: transparent;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .el-input__wrapper {
|
||||||
|
background: transparent;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .text {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
color: #6b778c;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .param-line.pt {
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .form-item-inner {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .form-item-inner .el-icon {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .el-form-item__label {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .img-uploader .el-upload {
|
||||||
|
border: 1px dashed var(--el-border-color);
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 300px;
|
||||||
|
transition: var(--el-transition-duration-fast);
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .img-uploader .el-upload:hover {
|
||||||
|
border-color: var(--el-color-primary);
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .img-uploader .el-upload .el-icon.uploader-icon {
|
||||||
|
font-size: 28px;
|
||||||
|
color: #8c939d;
|
||||||
|
width: 100%;
|
||||||
|
height: 120px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .submit-btn {
|
||||||
|
display: flex;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .submit-btn .el-button {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
.task-list-box .task-list-inner .submit-btn .text-info {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: right;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
.task-list-box .running-job-list .job-item {
|
.task-list-box .running-job-list .job-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background-color: #555;
|
background-color: #555;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .running-job-list .job-item .job-item-inner {
|
.task-list-box .running-job-list .job-item .job-item-inner {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .running-job-list .job-item .job-item-inner .progress {
|
.task-list-box .running-job-list .job-item .job-item-inner .progress {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -27,33 +104,32 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .running-job-list .job-item .job-item-inner .progress span {
|
.task-list-box .running-job-list .job-item .job-item-inner .progress span {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .finish-job-list .job-item {
|
.task-list-box .finish-job-list .job-item {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
border: 1px solid #666;
|
||||||
|
padding: 6px;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 6px;
|
||||||
|
transition: all 0.3s ease; /* 添加过渡效果 */
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .finish-job-list .job-item .opt .opt-line {
|
.task-list-box .finish-job-list .job-item .opt .opt-line {
|
||||||
margin: 6px 0;
|
margin: 6px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .finish-job-list .job-item .opt .opt-line ul {
|
.task-list-box .finish-job-list .job-item .opt .opt-line ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .finish-job-list .job-item .opt .opt-line ul li {
|
.task-list-box .finish-job-list .job-item .opt .opt-line ul li {
|
||||||
margin-right: 10px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .finish-job-list .job-item .opt .opt-line ul li a {
|
.task-list-box .finish-job-list .job-item .opt .opt-line ul li a {
|
||||||
padding: 3px 0;
|
padding: 3px 0;
|
||||||
width: 44px;
|
width: 40px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
display: block;
|
display: block;
|
||||||
@ -61,31 +137,29 @@
|
|||||||
background-color: #4e5058;
|
background-color: #4e5058;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .finish-job-list .job-item .opt .opt-line ul li a:hover {
|
.task-list-box .finish-job-list .job-item .opt .opt-line ul li a:hover {
|
||||||
background-color: #6d6f78;
|
background-color: #6d6f78;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .finish-job-list .job-item .opt .opt-line ul .show-prompt {
|
.task-list-box .finish-job-list .job-item .opt .opt-line ul .show-prompt {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.task-list-box .finish-job-list .animate:hover {
|
||||||
|
box-shadow: 0 0 10px rgba(71,255,241,0.6); /* 添加阴影效果 */
|
||||||
|
transform: translateY(-10px); /* 向上移动10像素 */
|
||||||
|
}
|
||||||
.task-list-box .el-image {
|
.task-list-box .el-image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-height: 240px;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .el-image img {
|
.task-list-box .el-image img {
|
||||||
height: 240px;
|
height: 240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .el-image .el-image-viewer__wrapper img {
|
.task-list-box .el-image .el-image-viewer__wrapper img {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .el-image .image-slot {
|
.task-list-box .el-image .image-slot {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
@ -94,21 +168,18 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
height: 240px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .el-image .image-slot .iconfont {
|
.task-list-box .el-image .image-slot .iconfont {
|
||||||
font-size: 50px;
|
font-size: 50px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .el-image.upscale {
|
.task-list-box .el-image.upscale {
|
||||||
max-height: 312px;
|
max-height: 310px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .el-image.upscale img {
|
.task-list-box .el-image.upscale img {
|
||||||
height: 312px;
|
height: 310px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list-box .el-image.upscale .el-image-viewer__wrapper img {
|
.task-list-box .el-image.upscale .el-image-viewer__wrapper img {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
Loading…
Reference in New Issue
Block a user