Skip to content

Commit 14d3d5a

Browse files
feat(DockView): bump version 4.2.4 (#429)
* release: dockview update to v4.2.4 * release: dockview update to v4.2.4 * chore: bump version 9.1.12-beta01 * refactor: 微调样式 * chore: bump version 9.1.12 --------- Co-authored-by: zhaijunlei <276318515@qq.com>
1 parent 60a3200 commit 14d3d5a

4 files changed

Lines changed: 190 additions & 140 deletions

File tree

src/components/BootstrapBlazor.DockView/BootstrapBlazor.DockView.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<Version>9.1.11</Version>
4+
<Version>9.1.12</Version>
55
</PropertyGroup>
66

77
<PropertyGroup>

src/components/BootstrapBlazor.DockView/wwwroot/css/dockview-bb.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,16 +214,18 @@
214214
}
215215

216216
.bb-dockview .bb-dockview-aside-left {
217-
left: 2px;
217+
left: 0;
218+
border-right: 1px solid var(--bs-border-color);
218219
}
219220

220221
.bb-dockview .bb-dockview-aside-right {
221-
right: 0
222+
right: 0;
223+
border-left: 1px solid var(--bs-border-color);
222224
}
223225

224226
.bb-dockview .bb-dockview-aside > .bb-dockview-aside-button {
225227
position: relative;
226-
margin-inline: .25rem;
228+
margin: .25rem 2px;
227229
padding-inline: .5rem;
228230
cursor: pointer;
229231
user-select: none;

src/components/BootstrapBlazor.DockView/wwwroot/css/dockview.css

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -686,15 +686,6 @@
686686
min-height: 0;
687687
outline: none;
688688
}
689-
.dv-root-wrapper {
690-
height: 100%;
691-
width: 100%;
692-
}
693-
.dv-grid-view,
694-
.dv-branch-node {
695-
height: 100%;
696-
width: 100%;
697-
}
698689
.dv-debug .dv-resize-container .dv-resize-handle-top {
699690
background-color: red;
700691
}
@@ -813,6 +804,15 @@
813804
outline: 1px solid red;
814805
outline-offset: -1;
815806
}
807+
.dv-root-wrapper {
808+
height: 100%;
809+
width: 100%;
810+
}
811+
.dv-grid-view,
812+
.dv-branch-node {
813+
height: 100%;
814+
width: 100%;
815+
}
816816
.dv-pane-container {
817817
height: 100%;
818818
width: 100%;
@@ -1023,63 +1023,6 @@
10231023
pointer-events: none;
10241024
background-color: var(--dv-separator-border);
10251025
}
1026-
.dv-dragged {
1027-
transform: translate3d(0px, 0px, 0px); /* forces tab to be drawn on a separate layer (see https://github.com/microsoft/vscode/issues/18733) */
1028-
}
1029-
1030-
.dv-tab {
1031-
flex-shrink: 0;
1032-
}
1033-
.dv-tab:focus-within, .dv-tab:focus {
1034-
position: relative;
1035-
}
1036-
.dv-tab:focus-within::after, .dv-tab:focus::after {
1037-
position: absolute;
1038-
content: "";
1039-
height: 100%;
1040-
width: 100%;
1041-
top: 0px;
1042-
left: 0px;
1043-
pointer-events: none;
1044-
outline: 1px solid var(--dv-tab-divider-color) !important;
1045-
outline-offset: -1px;
1046-
z-index: 5;
1047-
}
1048-
.dv-tab.dv-tab-dragging .dv-default-tab-action {
1049-
background-color: var(--dv-activegroup-visiblepanel-tab-color);
1050-
}
1051-
.dv-tab.dv-active-tab .dv-default-tab .dv-default-tab-action {
1052-
visibility: visible;
1053-
}
1054-
.dv-tab.dv-inactive-tab .dv-default-tab .dv-default-tab-action {
1055-
visibility: hidden;
1056-
}
1057-
.dv-tab.dv-inactive-tab .dv-default-tab:hover .dv-default-tab-action {
1058-
visibility: visible;
1059-
}
1060-
.dv-tab .dv-default-tab {
1061-
position: relative;
1062-
height: 100%;
1063-
display: flex;
1064-
align-items: center;
1065-
white-space: nowrap;
1066-
text-overflow: ellipsis;
1067-
}
1068-
.dv-tab .dv-default-tab .dv-default-tab-content {
1069-
flex-grow: 1;
1070-
margin-right: 4px;
1071-
}
1072-
.dv-tab .dv-default-tab .dv-default-tab-action {
1073-
padding: 4px;
1074-
display: flex;
1075-
align-items: center;
1076-
justify-content: center;
1077-
box-sizing: border-box;
1078-
}
1079-
.dv-tab .dv-default-tab .dv-default-tab-action:hover {
1080-
border-radius: 2px;
1081-
background-color: var(--dv-icon-hover-background-color);
1082-
}
10831026
.dv-tabs-overflow-dropdown-default {
10841027
height: 100%;
10851028
color: var(--dv-activegroup-hiddenpanel-tab-color);
@@ -1186,6 +1129,63 @@
11861129
.dv-tabs-and-actions-container .dv-right-actions-container {
11871130
display: flex;
11881131
}
1132+
.dv-dragged {
1133+
transform: translate3d(0px, 0px, 0px); /* forces tab to be drawn on a separate layer (see https://github.com/microsoft/vscode/issues/18733) */
1134+
}
1135+
1136+
.dv-tab {
1137+
flex-shrink: 0;
1138+
}
1139+
.dv-tab:focus-within, .dv-tab:focus {
1140+
position: relative;
1141+
}
1142+
.dv-tab:focus-within::after, .dv-tab:focus::after {
1143+
position: absolute;
1144+
content: "";
1145+
height: 100%;
1146+
width: 100%;
1147+
top: 0px;
1148+
left: 0px;
1149+
pointer-events: none;
1150+
outline: 1px solid var(--dv-tab-divider-color) !important;
1151+
outline-offset: -1px;
1152+
z-index: 5;
1153+
}
1154+
.dv-tab.dv-tab-dragging .dv-default-tab-action {
1155+
background-color: var(--dv-activegroup-visiblepanel-tab-color);
1156+
}
1157+
.dv-tab.dv-active-tab .dv-default-tab .dv-default-tab-action {
1158+
visibility: visible;
1159+
}
1160+
.dv-tab.dv-inactive-tab .dv-default-tab .dv-default-tab-action {
1161+
visibility: hidden;
1162+
}
1163+
.dv-tab.dv-inactive-tab .dv-default-tab:hover .dv-default-tab-action {
1164+
visibility: visible;
1165+
}
1166+
.dv-tab .dv-default-tab {
1167+
position: relative;
1168+
height: 100%;
1169+
display: flex;
1170+
align-items: center;
1171+
white-space: nowrap;
1172+
text-overflow: ellipsis;
1173+
}
1174+
.dv-tab .dv-default-tab .dv-default-tab-content {
1175+
flex-grow: 1;
1176+
margin-right: 4px;
1177+
}
1178+
.dv-tab .dv-default-tab .dv-default-tab-action {
1179+
padding: 4px;
1180+
display: flex;
1181+
align-items: center;
1182+
justify-content: center;
1183+
box-sizing: border-box;
1184+
}
1185+
.dv-tab .dv-default-tab .dv-default-tab-action:hover {
1186+
border-radius: 2px;
1187+
background-color: var(--dv-icon-hover-background-color);
1188+
}
11891189
.dv-watermark {
11901190
display: flex;
11911191
height: 100%;

0 commit comments

Comments
 (0)