ManageIQ/manageiq-ui-classic

View on GitHub
app/stylesheet/tree.scss

Summary

Maintainability
Test Coverage
.react-tree-view {
  ul {
    padding-left: 0;
  }

  .dirty {
    color: #39a5dc;
  }

  .selected {
    background-color: #349ad3;
    color: #ffffff;
  }
}

.bx--cc--tooltip .content-box {
  .label {
    color: #171717;
    font-weight: 400;
  }
}

#roles_by_server_treebox, #servers_by_role_treebox, #genealogy_treebox {
  
  .react-tree-view {
    ul li{
      list-style: none;
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-bottom: 5px;
      min-height: 25px;

      &.selected{
        background-color: $button-primary;
      }
    }

    .icon {
      margin-right: 5px;
      padding: 4px;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
    }
    .indent-1.no-open-button {
      padding-left: 50px;
    }
    .indent-0.no-open-button {
      margin-left: 25px;
      padding: 0;
    }
  }
}