Skip to content

Commit 809e03d

Browse files
committed
doc: 格式化文档
1 parent aab6e2f commit 809e03d

1 file changed

Lines changed: 37 additions & 30 deletions

File tree

src/components/BootstrapBlazor.PdfReader/PdfReader.razor.css

Lines changed: 37 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
color: #fff;
1515
}
1616

17-
.bb-view-toolbar.init > div {
18-
visibility: hidden;
19-
}
17+
.bb-view-toolbar.init > div {
18+
visibility: hidden;
19+
}
2020

21-
.bb-view-toolbar ::deep .btn {
22-
--bs-btn-color: #fff;
23-
}
21+
.bb-view-toolbar ::deep .btn {
22+
--bs-btn-color: #fff;
23+
}
2424

25-
.bb-view-toolbar ::deep .dropdown-toggle::after {
26-
content: none;
27-
}
25+
.bb-view-toolbar ::deep .dropdown-toggle::after {
26+
content: none;
27+
}
2828

2929
.bb-view-title {
3030
display: flex;
@@ -39,9 +39,9 @@
3939
cursor: pointer;
4040
}
4141

42-
.bb-view-icon.disabled {
43-
color: #6c757d;
44-
}
42+
.bb-view-icon.disabled {
43+
color: #6c757d;
44+
}
4545

4646
.bb-view-bar {
4747
margin-inline-end: 2rem;
@@ -64,17 +64,17 @@
6464
justify-content: center;
6565
}
6666

67-
.bb-view-body.fit-page .bb-view-fit-page {
68-
display: none;
69-
}
67+
.bb-view-body.fit-page .bb-view-fit-page {
68+
display: none;
69+
}
7070

71-
.bb-view-body.fit-page .bb-view-fit-width {
72-
display: block;
73-
}
71+
.bb-view-body.fit-page .bb-view-fit-width {
72+
display: block;
73+
}
7474

75-
.bb-view-body .bb-view-fit-width {
76-
display: none;
77-
}
75+
.bb-view-body .bb-view-fit-width {
76+
display: none;
77+
}
7878

7979
.bb-view-num, .bb-view-scale {
8080
width: 36px;
@@ -121,22 +121,29 @@
121121
transition: flex-basis .3s linear;
122122
}
123123

124-
.bb-view-thumbnails.show {
125-
flex-basis: 300px;
126-
}
124+
.bb-view-thumbnails.show {
125+
flex-basis: 300px;
126+
}
127127

128128
::deep .bb-view-thumbnail-item {
129129
display: block;
130130
text-align: center;
131131
}
132132

133-
::deep .bb-view-thumbnail-item:not(:last-child) {
134-
margin-block-end: 1rem;
135-
}
133+
::deep .bb-view-thumbnail-item:not(:last-child) {
134+
margin-block-end: 1rem;
135+
}
136136

137-
::deep .bb-view-thumbnail-item img {
138-
width: 126px;
139-
}
137+
::deep .bb-view-thumbnail-item.active img {
138+
border: 2px solid #0d6efd;
139+
}
140+
141+
::deep .bb-view-thumbnail-item img {
142+
width: 128px;
143+
padding: 1px;
144+
cursor: pointer;
145+
border: 2px solid #28292a;
146+
}
140147

141148
.bb-view-content {
142149
position: relative;

0 commit comments

Comments
 (0)