From 2a1d7f1c24ed87cda7d653ff0c3c780a41e4db17 Mon Sep 17 00:00:00 2001 From: unknown <qq1940665526@163.com> Date: 星期四, 30 五月 2024 20:17:12 +0800 Subject: [PATCH] 优化 --- src/books/lifeCare/css/default.less | 167 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 148 insertions(+), 19 deletions(-) diff --git a/src/books/lifeCare/css/default.less b/src/books/lifeCare/css/default.less index 0e1d440..9b068d6 100644 --- a/src/books/lifeCare/css/default.less +++ b/src/books/lifeCare/css/default.less @@ -4,11 +4,17 @@ overflow: auto; } -.public-books { +.public-lifeCare { max-width: 816px; min-width: 375px; margin: 0 auto; border-color: #f49a4c; + height: 100%; + + .swiper-button-prev, + .swiper-button-next { + color: #F49A4C; + } textarea:focus, input:focus { @@ -22,6 +28,12 @@ text-indent: 2em; max-width: 653px; min-height: 100px; + } + + .coverImg { + position: absolute; + top: 0; + left: 0; } .prefaceImg { @@ -39,6 +51,97 @@ font-size: 16px; text-align: center; white-space: pre-line; + } + + .drawflow { + .main-path { + stroke: #f49a4c; + } + + .drawflow-delete { + width: 25px; + height: 25px; + line-height: 21px; + background-color: #f49a4c; + font-size: 20px; + + } + + .drawflow-node { + background-color: #fff; + border: 0px solid #f49a4c; + box-shadow: 1px 1px 5px 0 #f49a4c; + + .contentWall { + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + .contentTitle { + margin-bottom: 5px; + } + + .contentText { + textarea { + width: auto; + min-height: 50px; + margin: 0; + outline: none; + border-color: #f49a4c; + border-radius: 5px; + } + + textarea:focus { + border: 1px solid #fabf2e !important; + } + } + } + + .input, + .output { + border-color: #f49a4c; + border-width: 1px; + } + } + + .content { + .btn-export { + float: right; + position: absolute; + top: 10px; + right: 10px; + color: white; + font-weight: bold; + border: 1px solid #0e5ba3; + background: #4ea9ff; + padding: 5px 10px; + border-radius: 4px; + cursor: pointer; + z-index: 5; + } + + .btn-clear { + float: right; + position: absolute; + top: 10px; + right: 85px; + color: white; + font-weight: bold; + border: 1px solid #96015b; + background: #e3195a; + padding: 5px 10px; + border-radius: 4px; + cursor: pointer; + z-index: 5; + } + } + } + + .drawContent_wall { + width: 100%; + height: 890px; } .chapter { @@ -132,7 +235,6 @@ } } - .pageHeader-second { width: 100%; display: flex; @@ -224,6 +326,8 @@ background-color: #a5c24f; } } + + } .textareaInput { @@ -234,6 +338,11 @@ font-size: 15px; color: #000; background-color: #eee; + } + + .imgBox-003 { + width: 100%; + height: 220px; } .chapter01Table { @@ -346,9 +455,40 @@ } } + .btnUpload-list { + display: flex; + justify-content: center; + align-items: center; + width: 35px; + height: 30px; + border-radius: 5px; + background-color: #f49a4c; + border: 1px solid #f49a4c; + cursor: pointer; + + svg { + fill: #fff; + } + } + + .btnUpload-list:hover { + background-color: #fff; + + svg { + fill: #F49A4C; + } + } + + .pic-wall { + display: flex; + justify-content: flex-start; + align-items: center; + } + .bk-inputUpload { width: 100%; - height: 200px; + display: block; + min-height: 100px; input { width: 250px; @@ -364,17 +504,6 @@ justify-content: center; align-items: center; font-size: 50px; - cursor: pointer; - } - - .btnUpload-list { - width: 40px; - height: 40px; - border: 2px dashed #f49a4c; - display: flex; - justify-content: center; - align-items: center; - font-size: 40px; cursor: pointer; } } @@ -877,7 +1006,7 @@ } h4 { - font-family: "瀹嬩綋"; + font-family: "FZLTZHJW"; font-weight: bold; color: #f49a4c; font-size: 1.1em; @@ -1045,10 +1174,10 @@ -moz-text-emphasis-style: dot; -ms-text-emphasis-style: dot; text-emphasis-style: dot; - -webkit-text-emphasis-position: under; - -moz-text-emphasis-position: under; - -ms-text-emphasis-position: under; - text-emphasis-position: under; + -webkit-text-emphasis-position: under left; + -moz-text-emphasis-position: under left; + -ms-text-emphasis-position: under left; + text-emphasis-position: under left; } .fieldset { -- Gitblit v1.9.1