mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	use $node-port-background as config node icon background
Makse sense since it contrasts the $node-port-label-color used for icon text Also, only show pointer if node icon has count
This commit is contained in:
		@@ -37,7 +37,7 @@ ul.red-ui-sidebar-node-config-list {
 | 
			
		||||
    }
 | 
			
		||||
    .red-ui-palette-node {
 | 
			
		||||
        overflow: hidden;
 | 
			
		||||
 | 
			
		||||
        cursor: default;
 | 
			
		||||
        &.selected {
 | 
			
		||||
            border-color: transparent;
 | 
			
		||||
            box-shadow: 0 0 0 2px $node-selected-color;
 | 
			
		||||
@@ -58,7 +58,7 @@ ul.red-ui-sidebar-node-config-list {
 | 
			
		||||
    .red-ui-palette-icon-container {
 | 
			
		||||
        font-size: 12px;
 | 
			
		||||
        line-height: 30px;
 | 
			
		||||
        background-color: $node-icon-background-color;
 | 
			
		||||
        background-color: $node-port-background;
 | 
			
		||||
        border-top-right-radius: 4px;
 | 
			
		||||
        border-bottom-right-radius: 4px;
 | 
			
		||||
        a {
 | 
			
		||||
@@ -68,6 +68,7 @@ ul.red-ui-sidebar-node-config-list {
 | 
			
		||||
            left: 0;
 | 
			
		||||
            right: 0;
 | 
			
		||||
            color: $node-port-label-color;
 | 
			
		||||
            cursor: pointer;
 | 
			
		||||
            &:hover {
 | 
			
		||||
                text-decoration: none;
 | 
			
		||||
                background: $node-port-background-hover;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user