Fix focus logic in css

This commit is contained in:
cyber-dream 2023-05-04 13:46:28 +03:00
parent 0b6507e52a
commit 2f3cb85d22
2 changed files with 4 additions and 4 deletions

View File

@ -31,11 +31,11 @@
box-shadow: 2px 2px 0px #555555;
}
.Focused .WindowFrameShadow {
.WindowFrameShadow.Focused {
box-shadow: 2px 2px 0px #000000;
}
.Focused .ConvexElement {
.ConvexElement.Focused {
box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.25),
inset -1px -1px 0px rgba(0, 0, 0, 0.27),
inset 1px 1px 0px #FFFFFF;
@ -45,7 +45,7 @@
border: 1px solid #555555;
}
.Focused .AdjectiveElement {
.Focused .AdjectiveElement {
border: 1px solid #000000;
box-shadow: -1px -1px 0px rgba(0, 0, 0, 0.25),
1px 1px 0px #FFFFFF;

View File

@ -7,7 +7,7 @@
</div>
<div id="Drag" class="VisualDragArea"></div>
</div>
<div class="ContentBorder">
<div class="ContentBorder AdjectiveElement">
<div class="blog-viewer ScrollContent">
{{ range $block := .blocks }}
<div class="{{$block.Type}}" >