Fix a couple css errors in menu/config sidebar

This commit is contained in:
Nick O'Leary
2019-05-20 22:03:05 +01:00
parent 5f5feaed5f
commit c63b8a4ebc
3 changed files with 31 additions and 13 deletions

View File

@@ -223,9 +223,8 @@
> li:focus > a {
background: $header-menu-item-hover !important;
}
li.divider {
li.red-ui-menu-divider {
background: $headerMenuItemDivider;
border-bottom-color: $header-menu-item-hover;
}
li.disabled a {
color: $header-menu-color-disabled;

View File

@@ -22,15 +22,28 @@
@include disable-selection;
}
.red-ui-sidebar-node-config-list {
ul.red-ui-sidebar-node-config-list {
margin: 0;
padding: 0;
list-style-type: none;
li {
padding: 0;
margin: 0;
text-align: center;
}
.red-ui-palette-node {
overflow: hidden;
&.selected {
margin: 10px auto;
margin: 4px auto;
border-color: $node-selected-color;
border-width: 2px;
&:first-child {
margin-top: 9px;
}
&:last-child {
margin-bottom: 9px;
}
}
}
.red-ui-palette-label {
@@ -68,7 +81,7 @@
color: $primary-text-color;
cursor: pointer;
}
.red-ui-palette-node-config-type {
ul.red-ui-sidebar-node-config-list li.red-ui-palette-node-config-type {
color: $secondary-text-color;
text-align: right;
padding-right: 3px;