Merge pull request #20131 from calixteman/fix_css
[Editor] Remove useless css and use a defined but unused property
This commit is contained in:
commit
d9ffffd435
@ -166,7 +166,7 @@
|
|||||||
0 0 15px 0 rgb(0 0 0 / 0.25);
|
0 0 15px 0 rgb(0 0 0 / 0.25);
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: var(--menu-bg-color);
|
background-color: var(--menuitem-bg-color);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -250,39 +250,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.annotationLayer {
|
|
||||||
--comment-inline-button-bg: #e0e0e6;
|
|
||||||
--comment-inline-button-fg: black;
|
|
||||||
--comment-inline-button-border-color: #8f8f9d;
|
|
||||||
--comment-button-dim: 24px;
|
|
||||||
--comment-button-offset: calc(var(--comment-button-dim) / 2);
|
|
||||||
|
|
||||||
.annotationCommentButton {
|
|
||||||
position: absolute;
|
|
||||||
width: var(--comment-button-dim);
|
|
||||||
height: var(--comment-button-dim);
|
|
||||||
background-color: var(--comment-inline-button-bg);
|
|
||||||
cursor: auto;
|
|
||||||
z-index: 1;
|
|
||||||
border: 1px solid var(--comment-inline-button-border-color);
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 2px;
|
|
||||||
margin: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
pointer-events: auto;
|
|
||||||
|
|
||||||
&::before {
|
|
||||||
content: "";
|
|
||||||
display: inline-block;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
mask-size: cover;
|
|
||||||
mask-image: var(--comment-edit-image);
|
|
||||||
background-color: var(--comment-inline-button-fg);
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user