diff --git a/nezha-fronted/src/assets/css/components/page/config/about.scss b/nezha-fronted/src/assets/css/components/page/config/about.scss index bca32d062..c89f0704a 100644 --- a/nezha-fronted/src/assets/css/components/page/config/about.scss +++ b/nezha-fronted/src/assets/css/components/page/config/about.scss @@ -1,20 +1,30 @@ .about { - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; height: 100%; + width: 100%; + padding: 20px 20px 10px 20px; background-color: $--background-color-empty; - //border: 10px solid $--background-color-base; box-sizing: border-box; + .app{ + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 140px; + background-color: $--background-color-2; + } .about-label { color: $--color-text-secondary; } .app-header { display: flex; - min-width: 360px; + justify-content: center; + align-items: center; + border-right: 2px solid $--border-color-light; + padding-right: 20px; + margin-right: 20px; + // min-width: 360px; .header-logo { font-size: 0; @@ -22,19 +32,20 @@ } .header-title { - padding-left: 20px; + padding-left: 10px; display: flex; flex-direction: column; - justify-content: space-between; + justify-content: center; .app-name { font-weight: bold; - line-height: 50px; + line-height: 30px; font-size: 20px; color: $--color-text-primary; } .app-version { + padding-left: 1px; font-size: 14px; color: $--color-text-primary; font-weight: 400; @@ -43,28 +54,107 @@ } .app-component { - width: 360px; - margin-top: 35px; - - .component-title { - color: $--color-text-secondary; - height: 30px; - font-size: 14px; - line-height: 30px; - border-bottom: 1px solid $--color-text-secondary; - } - + display: flex; + justify-content: space-between; + align-items: center; .component-content { - padding-top: 8px; - } - - .app-component-row { - line-height: 28px; - display: flex; - color: $--color-text-primary; - font-size: 16px; - font-weight: 400; - justify-content: space-between; + // padding-top: 8px; + .app-component-row { + line-height: 28px; + display: flex; + color: $--color-text-primary; + font-size: 14px; + font-weight: 400; + justify-content: space-between; + } + .component-name{ + color: $--color-text-regular; + margin-right: 20px; + } } } + + .time-line{ + width: 100%; + height: calc(100% - 160px); + .time-line-title{ + margin-top: 20px; + width: 100%; + padding-bottom: 10px; + color: $--color-text-regular; + font-size: 14px; + font-weight: 700; + } + .time-line-body{ + width: 100%; + height: 96%; + padding: 30px 30px 0 35px; + border: 1px solid $--border-color-light; + box-sizing: border-box; + overflow-y: auto; + .el-timeline-item{ + padding-bottom: 0; + } + .about-summary{ + display: flex; + justify-content: start; + align-items: center; + padding-top: 6px; + line-height: 21px; + .dot{ + width: 6px; + height: 6px; + border-radius: 50%; + background-color: $--color-info; + margin-right: 5px; + } + .about-summary-text{ + font-size: 14px; + color: $--color-text-regular; + } + } + } + } + + .el-timeline-item__node.el-timeline-item__node--normal.el-timeline-item__node--{ + position: relative; + box-sizing: border-box; + width: 18px; + height: 18px; + border: 1px solid $--color-primary; + background-color: $--background-color-empty; + z-index: 3; + } + .el-timeline-item__node.el-timeline-item__node--normal.el-timeline-item__node--::before{ + content: ""; + width: 12px; + height: 12px; + border-radius: 50%; + background-color: $--color-primary; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; + z-index: 3; + } + .el-timeline-item__tail{ + border-left: 1px solid rgba(250,144,28,0.12); + left: 8px; + } + .el-timeline-item__wrapper{ + top:-21px; + padding-left: 38px; + .el-timeline-item__timestamp.is-top{ + font-size: 16px; + color: $--color-text-primary; + margin-bottom: 5px; + } + } + + + + + } diff --git a/nezha-fronted/src/components/page/config/about.vue b/nezha-fronted/src/components/page/config/about.vue index e4423db70..ff8570211 100644 --- a/nezha-fronted/src/components/page/config/about.vue +++ b/nezha-fronted/src/components/page/config/about.vue @@ -1,14 +1,14 @@