.p-file_browser_file--media {
  border: 1px solid $border;
}

.p-file_browser_file--detail {
  + .p-file_browser_file--detail {
    border-top: $border;
  }
}

.p-file_browser_focused_grid__action,
.p-file_browser_focused_grid__title {
  color: $text;
}

.p-file_browser_list {
  .c-virtual_list__item:not(:first-child) {
    border-top: $border;
  }
}

.p-file_browser_focused_list__action,
.p-file_browser_focused_list__title {
  color: $text;
}

.p-file_browser_section__action,
.p-file_browser_section__title {
  color: $text;
}

.p-file_browser_search_results__title {
  color: $text;
}

.p-file_storage_warning__results_warning_container {
  color: $fg;
  background-color: $bg;
  border-bottom: 1px solid $borderLight;
}

.p-browse_page_results__channel_files_results_display {
  background-color: $bg;
}

.p-browse_sidebar {
  background-color: $contrast;
}

.p-browse_sidebar__divider {
  border-bottom: 1px solid $borderLight;
}

.p-browse_sidebar__item {
  &:not(.c-link--disabled) {
    color: inherit;
  }

  &.p-browse_sidebar__item--selected {
    background-color: $tree;
    color: $primary;

    @include left-indicator;

    &:hover {
      background-color: $selectBg;
      color: $selectFg;
    }
  }
}

.p-ia4_client--theming .p-browse_sidebar__item.p-browse_sidebar__item--selected {
  color: $primary;
}

.p-browse_sidebar__item:hover {
  background-color: $tree;
}
