Skip to content

Commit

Permalink
Merge pull request #7063 from krisstern/feat/stable-2.361/backporting-2
Browse files Browse the repository at this point in the history
Second backporting for LTS 2.361.1
  • Loading branch information
NotMyFault committed Sep 3, 2022
2 parents 6f86b27 + b394da7 commit d7bf138
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
Expand Up @@ -77,4 +77,5 @@
</j:if>
</div>
</header>
<script src="${resURL}/jsbundles/keyboard-shortcuts.js" type="text/javascript"/>
</j:jelly>
2 changes: 0 additions & 2 deletions core/src/main/resources/lib/layout/layout.jelly
Expand Up @@ -236,8 +236,6 @@ THE SOFTWARE.
</div>
</footer>
</j:if>

<script src="${resURL}/jsbundles/keyboard-shortcuts.js" type="text/javascript"/>
</body>
</html>
</l:view>
Expand Down
36 changes: 36 additions & 0 deletions war/src/main/less/form/checkbox.less
Expand Up @@ -26,6 +26,42 @@
clip: rect(0 0 0 0);
clip-path: inset(50%);

&:not(:disabled) {
&:active,
&:focus {
& + label {
&::before {
box-shadow: 0 0 0 5px var(--focus-input-glow),
inset 0 0 0 5px var(--focus-input-border);
}
}
}

&:checked {
&:active,
&:focus {
& + label {
&::before {
box-shadow: 0 0 0 5px var(--focus-input-glow),
inset 0 0 0 12px var(--focus-input-border);
}
}
}
}
}

&:checked {
&:active,
&:focus {
& + label {
&::before {
box-shadow: 0 0 0 5px var(--focus-input-glow),
inset 0 0 0 12px var(--focus-input-border);
}
}
}
}

&:checked {
& + label {
&:active,
Expand Down

0 comments on commit d7bf138

Please sign in to comment.