summaryrefslogtreecommitdiff
path: root/web/css
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-12-01 12:56:36 +0300
committerDevaev Maxim <[email protected]>2018-12-01 12:56:36 +0300
commita6d4545bafe750f894654fa3cddbfe15a89e6e6e (patch)
tree14534ad82d798575904813134f4d2360f9c024b1 /web/css
parent5f7834724a48f28539a66b481772201f00147b31 (diff)
focus-based window manager
Diffstat (limited to 'web/css')
-rw-r--r--web/css/menu.css9
-rw-r--r--web/css/vars.css4
2 files changed, 11 insertions, 2 deletions
diff --git a/web/css/menu.css b/web/css/menu.css
index 6fa28e44..5ececb32 100644
--- a/web/css/menu.css
+++ b/web/css/menu.css
@@ -71,10 +71,11 @@ ul#menu li a.menu-item-selected {
ul#menu li div.menu-item-content {
visibility: hidden;
+ outline: none;
overflow: hidden;
white-space: nowrap;
- border: var(--border-intensive-2px);
- border-top: var(--border-control-thin);
+ border: var(--border-menu-item-content-default-2px);
+ border-top: var(--border-menu-item-content-top-thin);
border-radius: 0 0 8px 8px;
position: absolute;
background-color: var(--cs-menu-default-bg);
@@ -82,6 +83,10 @@ ul#menu li div.menu-item-content {
box-shadow: var(--shadow-big);
z-index: 2147483645;
}
+ul#menu li div.menu-item-content-active {
+ border: var(--border-menu-item-content-active-2px) !important;
+ border-top: var(--border-menu-item-content-top-thin) !important;
+}
ul#menu li div.menu-item-content-buttons {
background-color: var(--cs-control-default-bg);
diff --git a/web/css/vars.css b/web/css/vars.css
index 8f5c6d52..57e71c0f 100644
--- a/web/css/vars.css
+++ b/web/css/vars.css
@@ -56,4 +56,8 @@
--border-key-thin: thin solid #202225;
--border-intensive-2px: 2px solid #5b90bb;
--border-intensive-thin: thin solid #5b90bb;
+
+ --border-menu-item-content-default-2px: 2px solid black;
+ --border-menu-item-content-active-2px: 2px solid #5b90bb;
+ --border-menu-item-content-top-thin: thin solid #17191d;
}