mirror of
https://github.com/mathuo/dockview
synced 2025-05-04 18:48:26 +00:00
Merge pull request #415 from mathuo/414-css-styles-for-focused-tab
feat: indicate focused tab with css style
This commit is contained in:
commit
fa25c55655
@ -9,6 +9,24 @@
|
|||||||
.tab {
|
.tab {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
|
&:focus-within,
|
||||||
|
&:focus {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
pointer-events: none;
|
||||||
|
outline: 1px solid var(--dv-tab-divider-color) !important;
|
||||||
|
outline-offset: -1px;
|
||||||
|
z-index: 5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.dv-tab-dragging {
|
&.dv-tab-dragging {
|
||||||
.tab-action {
|
.tab-action {
|
||||||
background-color: var(--dv-activegroup-visiblepanel-tab-color);
|
background-color: var(--dv-activegroup-visiblepanel-tab-color);
|
||||||
|
Loading…
Reference in New Issue
Block a user