
// app icons
.icon-grid {
  row-spacing: 12px;
  column-spacing: 12px;
  max-row-spacing: 72px;
  max-column-spacing: 72px;
  page-padding-top: 24px;
  page-padding-bottom: 24px;
  page-padding-left: 12px;
  page-padding-right: 12px;
}

/* App Icons */
.show-apps,
.app-well-app {
  .overview-icon.overview-icon-with-label {
   padding: 10px 12px 14px;

    > StBoxLayout {
      spacing: 6px;
    }
  }

  .overview-icon {
    color: $light_fg_color;
    border-radius: $wm_radius * 1.5;
    padding: 12px;
    border: none;
    transition-duration: 100ms;
    text-align: center;
    text-shadow: none;
    background-color: transparent;
  }

  &:hover .overview-icon,
  &:focus .overview-icon,
  &:selected .overview-icon {
    background-color: $light_divider_color;
    border-image: none;
    background-image: none;
  }

  &:active .overview-icon,
  &:checked .overview-icon {
    background-color: $light_track_color;
    box-shadow: none;
  }
}

// App Folders
.app-folder {
  background: none;
  border-radius: $wm_radius * 1.5;
  padding: 0;
  margin: 0;

  .overview-icon {
    background-color: $light_divider_color;
    border-radius: $wm_radius * 1.5;
  }

  &:hover .overview-icon {
    background-color: rgba(white, 0.2);
  }

  &:active .overview-icon {
    background-color: rgba(white, 0.3);
  }
}

.app-folder-dialog {
  .page-navigation-hint {
    width: if($laptop == 'true', 60px, 80px);
  }

  .page-navigation-arrow {
    margin: 18px;
  }
}

.apps-scroll-view {
  padding: 0;
}

.page-navigation-hint {
  width: if($laptop == 'true', 220px, 300px);

  &.dnd {
    background: rgba(255, 255, 255, 0.1);
  }

  &.next:ltr,
  &.previous:rtl {
    background-gradient-start: $light_divider_color;
    background-gradient-end: transparent;
    background-gradient-direction: horizontal;
    border-radius: $modal_radius 0px 0px $modal_radius;
  }

  &.previous:ltr,
  &.next:rtl {
    background-gradient-start: transparent;
    background-gradient-end: $light_divider_color;
    background-gradient-direction: horizontal;
    border-radius: 0px $modal_radius $modal_radius 0px;
  }
}

.page-navigation-arrow {
  margin: $container_padding;
  width: 24px;
  height: 24px;
  color: $light_alt_fg_color;
  icon-size: 24px;
}
