提交 326236ed 编写于 作者: D DepFA 提交者: AUTOMATIC1111

add styles for image zoom

上级 6d7ca54a
...@@ -246,17 +246,26 @@ input[type="range"]{ ...@@ -246,17 +246,26 @@ input[type="range"]{
background-color: rgba(20, 20, 20, 0.95); background-color: rgba(20, 20, 20, 0.95);
} }
.modalClose { .modalClose,
.modalZoom {
color: white; color: white;
position: absolute; position: absolute;
top: 10px; top: 10px;
right: 25px; right: 25px;
font-size: 35px; font-size: 35px;
font-weight: bold; font-weight: bold;
cursor: pointer;
}
.modalZoom {
left: 10px;
right: auto;
} }
.modalClose:hover, .modalClose:hover,
.modalClose:focus { .modalClose:focus,
.modalZoom:hover,
.modalZoom:focus {
color: #999; color: #999;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
...@@ -270,6 +279,11 @@ input[type="range"]{ ...@@ -270,6 +279,11 @@ input[type="range"]{
width: auto; width: auto;
} }
.modalImageFullscreen {
max-width: max-content;
height: 90%;
}
.modalPrev, .modalPrev,
.modalNext { .modalNext {
cursor: pointer; cursor: pointer;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册