mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-31 00:48:41 +03:00
update resources\web
This commit is contained in:
70
resources/web/model_new/css/gallery.css
Normal file
70
resources/web/model_new/css/gallery.css
Normal file
@@ -0,0 +1,70 @@
|
||||
/* 简洁图片画廊样式 */
|
||||
.bs-gallery {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.bs-gallery-main {
|
||||
position: relative;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 0 0 560px;
|
||||
flex: 0 0 560px;
|
||||
width: 560px;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
background: #f3f3f3;
|
||||
}
|
||||
|
||||
.bs-gallery-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.bs-gallery-counter {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
bottom: 12px;
|
||||
background: rgba(0,0,0,.45);
|
||||
color: #fff;
|
||||
padding: 6px 10px;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.bs-gallery-thumbs {
|
||||
width: 180px;
|
||||
overflow-y: auto;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.bs-gallery-thumb {
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
margin-bottom: 16px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bs-gallery-thumb img {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
filter: grayscale(10%);
|
||||
}
|
||||
|
||||
.bs-gallery-thumb.active {
|
||||
border: 2px solid #426DC2; /* 绿色高亮 */
|
||||
}
|
||||
|
||||
.bs-gallery-thumb:last-child { margin-bottom: 0; }
|
||||
Reference in New Issue
Block a user