.resource-actions {
  display: inline-block;

  BUTTON {
    color: #444;
    padding: 0;
  }

  BUTTON:hover {
    color: #1d6fa5;
  }
}

/*
  Hover actions on devices with mice, always shown on devices with touch.

  Put .resource-action-hover on a parent node that you want to trigger display of the actions on.
*/
.no-touch {
  .resource-action-hover {
    .resource-actions {
      display: none;

      &.open {
        display: block;
      }
    }

    &.hover {
      A.clip {
        padding-right: 27px;
      }

      .resource-actions {
        display: block;
      }
    }
  }
}

.resource-actions {
  position: relative;

  & > BUTTON {
    border-radius: 3px;
    padding: 0 3px;
  }

  .dropdown-menu,
  &.dropdown-menu {
    min-width: 123px;
  }

  .dropdown-menu > LI > A,
  &.dropdown-menu > LI > A {
    position: relative;
    padding: 3px 35px 5px 10px;
    font-size: 13px;

    I {
      position: absolute;
      top: 6px;
      right: 5px;
      color: #aaa;
    }

    &:hover I {
      color: #fff;
    }
  }
}

.global-actions {
  position: absolute;
}
