.DashboardPanelAddNew {}

/* Dropdown view */

.DashboardPanelAddNew--dropdown {
  .DashboardPanelAddNewDropdown {
    display: flex;
    button:first-of-type {
      flex-grow: 1;
    }
    button:last-of-type {
      margin-right: 0 !important;
    }
  }
}

/* List view */

.DashboardPanelAddNew--list {
  .uk-card-body {
    padding: 0;
  }
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  li {
    margin: 0;
  }
  a {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    padding: var(--dashboard-card-padding-list-y) var(--dashboard-card-padding-content-x);
    border-bottom: 1px solid var(--dashboard-color-separator);
    white-space: nowrap;
    &:hover {
      background: var(--dashboard-color-list-hover-bg);
    }
    > span {
      display: flex;
      align-items: center;
    }
  }
  span + span {
    min-width: 0px;
  }
  .fa {
    font-size: var(--dashboard-fontsize-icon) !important;
    margin-right: .5em;
    color: var(--dashboard-color-icon);
  }
  a:hover .fa {
    color: inherit;
  }
}
