Break out triggers into their own config section.

This commit is contained in:
Dermot Duffy
2022-06-10 10:07:40 -07:00
parent a295cbd870
commit b8f1fb2aa3
7 changed files with 187 additions and 83 deletions
+13 -2
View File
@@ -44,7 +44,7 @@ div.upgrade span {
cursor: pointer;
}
.submenu.selected .submenu-header {
.submenu.selected > .submenu-header {
background-color: var(--primary-color);
color: var(--primary-text-color);
}
@@ -58,7 +58,7 @@ div.upgrade span {
.submenu-header .new-camera {
font-style: italic;
}
.submenu:not(.selected) .submenu-header .new-camera {
.submenu:not(.selected) > .submenu-header .new-camera {
color: var(--secondary-text-color, 'black');
}
@@ -73,6 +73,17 @@ div.upgrade span {
border: 1px solid var(--primary-color);
}
// Nested menus should shrink width.
.submenu .submenu {
width: calc(100% - 10px * 2);
margin: auto;
margin-bottom: 10px;
}
.submenu :not(.submenu.selected) {
border: none;
}
.submenu .controls {
display: inline-block;
margin-left: auto;