Compare commits

...

2 Commits

Author SHA1 Message Date
Tuzki a489f9646f Merge remote-tracking branch 'origin/main' 8 months ago
Tuzki eb00963bba style(v-vision): 优化图片显示和布局 8 months ago
  1. 106
      src/assets/styles/v-vision.scss

@ -122,7 +122,7 @@ img {
max-width: calc(100% - 200px); max-width: calc(100% - 200px);
} }
.m-form-box.more + .m-filtre-more { .m-form-box.more+.m-filtre-more {
display: inline-block; display: inline-block;
} }
@ -150,7 +150,8 @@ img {
right: 0 !important; right: 0 !important;
} }
th.el-table__cell, td.el-table__cell { th.el-table__cell,
td.el-table__cell {
color: #000; color: #000;
font-weight: 400 !important; font-weight: 400 !important;
background-color: #fff; background-color: #fff;
@ -245,7 +246,8 @@ img {
overflow: hidden; overflow: hidden;
.img { .img {
width: 100%; height: 180px; width: 100%;
height: 180px;
} }
} }
@ -346,6 +348,18 @@ img {
padding-top: 100px; padding-top: 100px;
padding-bottom: 100px; padding-bottom: 100px;
.detail-left {
max-width: 780px;
.detail-content {
img {
max-width: 100% !important;
margin-left: -2em;
}
}
}
.detail-title { .detail-title {
position: relative; position: relative;
padding-left: 40px; padding-left: 40px;
@ -380,7 +394,15 @@ img {
.detail-right { .detail-right {
width: 370px; width: 370px;
margin-left: 70px; margin-left: 70px;
max-width: 370px;
.detail-content {
img {
max-width: 100% !important;
margin-left: -2em;
}
}
.list-title { .list-title {
margin-bottom: 10px; margin-bottom: 10px;
@ -562,6 +584,16 @@ img {
width: 300px; width: 300px;
flex: 0 0 300px; flex: 0 0 300px;
max-width: 300px;
.detail-content {
img {
max-width: 100% !important;
margin-left: -2em;
}
}
.about-box { .about-box {
.list-item { .list-item {
margin-bottom: 20px; margin-bottom: 20px;
@ -629,27 +661,33 @@ img {
margin-left: 10px; margin-left: 10px;
padding-left: 10px; padding-left: 10px;
border-left: 1px solid #ccc; border-left: 1px solid #ccc;
scrollbar-width: thin; /* 设置滚动条的宽度 */ scrollbar-width: thin;
scrollbar-color: rgba(#2A333D, .3) #f1f1f1; /* 设置滑块颜色和轨道颜色 */ /* 设置滚动条的宽度 */
scrollbar-color: rgba(#2A333D, .3) #f1f1f1;
/* 设置滑块颜色和轨道颜色 */
/* 自定义整个滚动条 */ /* 自定义整个滚动条 */
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: 12px; /* 设置滚动条的宽度 */ width: 12px;
/* 设置滚动条的宽度 */
} }
/* 自定义滚动条轨道 */ /* 自定义滚动条轨道 */
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {
background: #f1f1f1; /* 设置轨道的背景颜色 */ background: #f1f1f1;
/* 设置轨道的背景颜色 */
} }
/* 自定义滚动条的滑块(thumb) */ /* 自定义滚动条的滑块(thumb) */
&::-webkit-scrollbar-thumb { &::-webkit-scrollbar-thumb {
background: #888; /* 设置滑块的背景颜色 */ background: #888;
/* 设置滑块的背景颜色 */
} }
/* 当滑块悬停或活动时自定义滚动条的滑块 */ /* 当滑块悬停或活动时自定义滚动条的滑块 */
&::-webkit-scrollbar-thumb:hover { &::-webkit-scrollbar-thumb:hover {
background: rgba(#2A333D, .3); /* 设置滑块在悬停状态下的背景颜色 */ background: rgba(#2A333D, .3);
/* 设置滑块在悬停状态下的背景颜色 */
} }
@ -667,7 +705,8 @@ img {
background: linear-gradient(90deg, rgba(11, 89, 179, .1) 0%, rgba(11, 89, 179, 0) 100%); background: linear-gradient(90deg, rgba(11, 89, 179, .1) 0%, rgba(11, 89, 179, 0) 100%);
} }
.list-item:hover, .list-item.active { .list-item:hover,
.list-item.active {
color: #0B59B3 color: #0B59B3
} }
} }
@ -675,7 +714,15 @@ img {
.detail-right { .detail-right {
margin-left: 60px; margin-left: 60px;
max-width: 780px;
.detail-content {
img {
max-width: 100% !important;
// margin-left: -2em;
}
}
.detail-title { .detail-title {
position: relative; position: relative;
padding-left: 40px; padding-left: 40px;
@ -901,7 +948,8 @@ img {
position: relative; position: relative;
width: 250px; width: 250px;
height: 150px; height: 150px;
cursor: pointer; cursor: pointer;
&:before { &:before {
content: ""; content: "";
position: absolute; position: absolute;
@ -1081,7 +1129,7 @@ cursor: pointer;
visibility: hidden; visibility: hidden;
} }
.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before { .ql-container.ql-disabled .ql-editor ul[data-checked]>li::before {
pointer-events: none; pointer-events: none;
} }
@ -1111,7 +1159,7 @@ cursor: pointer;
word-wrap: break-word; word-wrap: break-word;
} }
.ql-editor > * { .ql-editor>* {
cursor: text; cursor: text;
} }
@ -1136,12 +1184,12 @@ cursor: pointer;
padding-left: 1.5em; padding-left: 1.5em;
} }
.ql-editor ol > li, .ql-editor ol>li,
.ql-editor ul > li { .ql-editor ul>li {
list-style-type: none; list-style-type: none;
} }
.ql-editor ul > li::before { .ql-editor ul>li::before {
content: '\2022'; content: '\2022';
} }
@ -1150,23 +1198,23 @@ cursor: pointer;
pointer-events: none; pointer-events: none;
} }
.ql-editor ul[data-checked=true] > li *, .ql-editor ul[data-checked=true]>li *,
.ql-editor ul[data-checked=false] > li * { .ql-editor ul[data-checked=false]>li * {
pointer-events: all; pointer-events: all;
} }
.ql-editor ul[data-checked=true] > li::before, .ql-editor ul[data-checked=true]>li::before,
.ql-editor ul[data-checked=false] > li::before { .ql-editor ul[data-checked=false]>li::before {
color: #777; color: #777;
cursor: pointer; cursor: pointer;
pointer-events: all; pointer-events: all;
} }
.ql-editor ul[data-checked=true] > li::before { .ql-editor ul[data-checked=true]>li::before {
content: '\2611'; content: '\2611';
} }
.ql-editor ul[data-checked=false] > li::before { .ql-editor ul[data-checked=false]>li::before {
content: '\2610'; content: '\2610';
} }
@ -1685,16 +1733,19 @@ cursor: pointer;
} }
@media (pointer: coarse) { @media (pointer: coarse) {
.ql-snow.ql-toolbar button:hover:not(.ql-active), .ql-snow.ql-toolbar button:hover:not(.ql-active),
.ql-snow .ql-toolbar button:hover:not(.ql-active) { .ql-snow .ql-toolbar button:hover:not(.ql-active) {
color: #444; color: #444;
} }
.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,
.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,
.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,
.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill { .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {
fill: #444; fill: #444;
} }
.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,
.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke, .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,
.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter, .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,
@ -2142,7 +2193,7 @@ cursor: pointer;
border-color: #000; border-color: #000;
} }
.ql-toolbar.ql-snow + .ql-container.ql-snow { .ql-toolbar.ql-snow+.ql-container.ql-snow {
border-top: 0px; border-top: 0px;
} }
@ -2232,6 +2283,11 @@ cursor: pointer;
.classic-case-text-right-middle-images { .classic-case-text-right-middle-images {
.el-image__inner{height: auto!important;}} .el-image__inner {
height: auto !important;
}
}
.cjy-about-popper{width: 150px;} .cjy-about-popper {
width: 150px;
}
Loading…
Cancel
Save