From 2f3cb85d22bf4f2465cc6e4c99ff88d856278168 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Thu, 4 May 2023 13:46:28 +0300 Subject: [PATCH] Fix focus logic in css --- resources/wdeUI.css | 6 +++--- templates/blog-viewer/app.tmpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/wdeUI.css b/resources/wdeUI.css index 2bcf1a6..021c2ab 100644 --- a/resources/wdeUI.css +++ b/resources/wdeUI.css @@ -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; diff --git a/templates/blog-viewer/app.tmpl b/templates/blog-viewer/app.tmpl index 99be9e9..395dd16 100644 --- a/templates/blog-viewer/app.tmpl +++ b/templates/blog-viewer/app.tmpl @@ -7,7 +7,7 @@
-
+
{{ range $block := .blocks }}