diff --git a/src/renderer/public/sdk/custom/css/index.css b/src/renderer/public/sdk/custom/css/index.css index be181e1..7c8a81e 100644 --- a/src/renderer/public/sdk/custom/css/index.css +++ b/src/renderer/public/sdk/custom/css/index.css @@ -33,6 +33,7 @@ src: url('../fonts/AlimamaShuHeiTi-Bold.ttf') format('truetype'); } + :root { --color-base1: 0, 255, 255; --color-sdk-auxiliary: 0, 66, 66; @@ -487,6 +488,7 @@ .YJ-custom-base-dialog>.content .table .table-body .tr:first-child { border-top: none; } + .YJ-custom-base-dialog>.content .table .table-body .tr:last-child { border-bottom: 1px solid rgba(var(--color-base1), 0.5); } @@ -586,7 +588,6 @@ } - .YJ-custom-base-dialog>.content .table .tr .td .link-edit { min-height: 32px; line-height: 18px; @@ -721,6 +722,7 @@ .YJ-custom-base-dialog>.content .input-number-unit input[type=number] { padding: 0 16px 0 10px; } + .YJ-custom-base-dialog>.content .input-number-unit input[type=number]::-webkit-outer-spin-button, .YJ-custom-base-dialog>.content .input-number-unit input[type=number]::-webkit-inner-spin-button { margin-left: 5px; @@ -1821,6 +1823,7 @@ border-color: rgba(var(--color-base1)); color: rgba(var(--color-base1)); } + .YJ-custom-base-dialog.trajectory-motion>.content .btn.is-active svg { fill: rgba(var(--color-base1)); } @@ -2091,6 +2094,7 @@ .YJ-custom-base-dialog.cut-fill>.content>div .div-item:last-child .row .unit { margin-left: 5px; } + .YJ-custom-base-dialog.cut-fill>.content .firstTip { position: absolute; left: 340px; @@ -2155,6 +2159,7 @@ flex: 0 0 60px; justify-content: center; } + .YJ-custom-base-dialog.submerge>.content .rangeWords { font-size: 14px; font-weight: 500; @@ -2316,6 +2321,7 @@ .YJ-custom-base-dialog.circle-view-shed>.content { width: 290px; } + .YJ-custom-base-dialog.circle-view-shed>.content .firstTip { font-size: 14px; font-weight: 700; @@ -3080,7 +3086,7 @@ } /* 文本框 */ -.popup-textarea{ +.popup-textarea { /* width: 212px; */ width: 161px; /* height: 154px; */ @@ -3093,28 +3099,30 @@ background-size: 100% 100%; padding: 5px 5px 0px 5px; } -.popup-textarea textarea{ + +.popup-textarea textarea { width: 158px; height: 95px; - background-color: unset!important; - border: unset!important; + background-color: unset !important; + border: unset !important; color: #fff; } + .popup-textarea textarea::-webkit-scrollbar { - width: 8px!important; + width: 8px !important; /* height: 8px!important; */ } .popup-textarea textarea::-webkit-scrollbar-thumb { - border-radius: 5px!important; - -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2)!important; - background-color: rgba(var(--color-base1))!important; + border-radius: 5px !important; + -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important; + background-color: rgba(var(--color-base1)) !important; } .popup-textarea textarea::-webkit-scrollbar-track { - -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2)!important; - border-radius: 5px!important; - background-color: rgba(var(--color-base1), 0.1)!important; + -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important; + border-radius: 5px !important; + background-color: rgba(var(--color-base1), 0.1) !important; } /* 贴地图片 */ @@ -3708,12 +3716,16 @@ border: 1px solid rgba(var(--color-base1), 0.5); border-right: none; } -.billboard-attribute-box .table .tr .th, .billboard-attribute-box .table .tr .td { + +.billboard-attribute-box .table .tr .th, +.billboard-attribute-box .table .tr .td { border-right: 1px solid rgba(var(--color-base1), 0.5); display: flex; justify-content: center; } -.billboard-attribute-box .table .tr .th:last-child, .billboard-attribute-box .table .tr .td:last-child { + +.billboard-attribute-box .table .tr .th:last-child, +.billboard-attribute-box .table .tr .td:last-child { border-right: none; } @@ -3761,19 +3773,18 @@ #YJ-custom-message.success { /* background-color: #f0f9eb; color: rgb(82, 196, 26); */ - background: - linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), - linear-gradient(0deg, rgba(27, 248, 195, 0.5) 0%, rgba(27, 248, 195, 0) 100%); + background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), + linear-gradient(0deg, rgba(27, 248, 195, 0.5) 0%, rgba(27, 248, 195, 0) 100%); font-size: 14px !important; font-weight: 500 !important; color: rgba(27, 248, 195, 1); } + #YJ-custom-message.warning { /* background-color: #fdf6ec; color: #e6a23c; */ - background: - linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), - linear-gradient(0deg, rgba(255, 161, 69, 0.5) 0%, rgba(255, 161, 69, 0) 100%); + background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), + linear-gradient(0deg, rgba(255, 161, 69, 0.5) 0%, rgba(255, 161, 69, 0) 100%); font-size: 14px !important; font-weight: 500 !important; color: rgba(255, 161, 69, 1) @@ -3872,4 +3883,4 @@ .yj-custom-icon.pic-line6 { background: url(../../img/arrow/6.png) 100% 100% no-repeat; background-size: 100% 100%; -} +} \ No newline at end of file diff --git a/src/renderer/src/assets/iconfont/SourceHanSansCN-Bold.ttf b/src/renderer/src/assets/iconfont/SourceHanSansCN-Bold.ttf new file mode 100644 index 0000000..d0dd35f Binary files /dev/null and b/src/renderer/src/assets/iconfont/SourceHanSansCN-Bold.ttf differ diff --git a/src/renderer/src/assets/iconfont/SourceHanSansCN-ExtraLight.ttf b/src/renderer/src/assets/iconfont/SourceHanSansCN-ExtraLight.ttf new file mode 100644 index 0000000..c8f1c5c Binary files /dev/null and b/src/renderer/src/assets/iconfont/SourceHanSansCN-ExtraLight.ttf differ diff --git a/src/renderer/src/assets/iconfont/SourceHanSansCN-Heavy.otf b/src/renderer/src/assets/iconfont/SourceHanSansCN-Heavy.otf new file mode 100644 index 0000000..58e1ca5 Binary files /dev/null and b/src/renderer/src/assets/iconfont/SourceHanSansCN-Heavy.otf differ diff --git a/src/renderer/src/assets/styles/font.css b/src/renderer/src/assets/styles/font.css index 4f77fc1..d815437 100644 --- a/src/renderer/src/assets/styles/font.css +++ b/src/renderer/src/assets/styles/font.css @@ -42,5 +42,15 @@ @font-face { font-family: 'SourceHanSans'; - src: url('../iconfont/SourceHanSansCN-ExtraLight.otf') format('opentype'); + src: url('../iconfont/SourceHanSansCN-ExtraLight.ttf') format('opentype'); +} + +@font-face { + font-family: 'siyuanheitibold'; + src: url('../iconfont/SourceHanSansCN-Bold.ttf') format('truetype'); +} + +@font-face { + font-family: 'siyuanheitiheavy'; + src: url('../iconfont/SourceHanSansCN-Heavy.otf') format('opentype'); } diff --git a/src/renderer/src/assets/styles/global.css b/src/renderer/src/assets/styles/global.css index bff9eca..5e3f521 100644 --- a/src/renderer/src/assets/styles/global.css +++ b/src/renderer/src/assets/styles/global.css @@ -108,7 +108,9 @@ div { -webkit-box-shadow: inset 0 0 6px rgba(var(--color-base1), 1); background-color: rgba(var(--color-base1), 1); } - +.siyuanheitibold { + font-family: 'siyuanheitibold'; +} .oneLine { overflow: hidden; white-space: nowrap; diff --git a/src/renderer/src/icons/svg/titleTs.svg b/src/renderer/src/icons/svg/titleTs.svg new file mode 100644 index 0000000..8ced99d --- /dev/null +++ b/src/renderer/src/icons/svg/titleTs.svg @@ -0,0 +1,43 @@ + diff --git a/src/renderer/src/utils/theme.ts b/src/renderer/src/utils/theme.ts index 91e1cbd..fdbef5d 100644 --- a/src/renderer/src/utils/theme.ts +++ b/src/renderer/src/utils/theme.ts @@ -8,47 +8,48 @@ let theme = { } theme.color1.set("--color-base1", "0, 255, 255") +theme.color1.set("--color-base1-half", "0, 255, 255,0.5") theme.color1.set("--color-base2", "0, 255, 255") theme.color1.set("--color-border1", "rgb(0, 200, 255)") theme.color1.set("--color-text2", "173, 241, 255") theme.color1.set("--color-text-shadow", "rgba(20, 118, 255, 1)") theme.color2.set("--color-base1", "0, 194, 142") +theme.color2.set("--color-base1-half", "0, 194, 142,0.5") theme.color2.set("--color-base2", "220, 255, 196") theme.color2.set("--color-border1", "rgba(var(--color-base1), 1)") theme.color2.set("--color-text2", "var(--color-base2)") theme.color2.set("--color-text-shadow", "rgba(var(--color-base2), 0)") theme.color3.set("--color-base1", "0, 255, 200") +theme.color3.set("--color-base1-half", "0, 255, 200,0.5") theme.color3.set("--color-base2", "201, 252, 232") theme.color3.set("--color-border1", "rgba(var(--color-base1), 1)") theme.color3.set("--color-text2", "var(--color-base2)") theme.color3.set("--color-text-shadow", "rgba(var(--color-base2), 0)") theme.color4.set("--color-base1", "42, 200, 251") +theme.color4.set("--color-base1-half", "42, 200, 251,0.5") theme.color4.set("--color-base2", "198, 248, 255") theme.color4.set("--color-border1", "rgba(var(--color-base1), 1)") theme.color4.set("--color-text2", "var(--color-base2)") theme.color4.set("--color-text-shadow", "rgba(var(--color-base2), 0)") theme.color5.set("--color-base1", "229, 93, 93") +theme.color5.set("--color-base1-half", "229, 93, 93,0.5") theme.color5.set("--color-base2", "255, 224, 228") theme.color5.set("--color-border1", "rgba(var(--color-base1), 1)") theme.color5.set("--color-text2", "var(--color-base2)") theme.color5.set("--color-text-shadow", "rgba(var(--color-base2), 0)") theme.color6.set("--color-base1", "255, 165, 92") +theme.color6.set("--color-base1-half", "255, 165, 92,0.5") theme.color6.set("--color-base2", "255, 233, 207") theme.color6.set("--color-border1", "rgba(var(--color-base1), 1)") theme.color6.set("--color-text2", "var(--color-base2)") theme.color6.set("--color-text-shadow", "rgba(var(--color-base2), 0)") - - - - - // theme.yingguangse.set("--svg-headColor1", "rgba(11, 37, 40, 0.6)") // theme.yingguangse.set("--svg-headColor2", "rgba(11, 37, 40, 0.8)") // theme.yingguangse.set("--svg-headColor3", "#0ff") diff --git a/src/renderer/src/views/TS/cabin.vue b/src/renderer/src/views/TS/cabin.vue index 0f7f7e8..f2da2c7 100644 --- a/src/renderer/src/views/TS/cabin.vue +++ b/src/renderer/src/views/TS/cabin.vue @@ -2,14 +2,14 @@