/*
 * EdGEL Mixins
 * --------------------------------------------------
 */

/* Box shadows */
.shade() {
  @shadow: 0 4px 6px -5px rgba(0, 0, 0, 30%), 0 0 1px rgba(0, 0, 0, 10%);
  .box-shadow(@shadow);
}

.shade-light() {
  @shadow: 0 2px 1px -1px rgba(0, 0, 0, 15%);
  .box-shadow(@shadow);
}

/* Top line border */
.topline() {
  border-top: 8px solid @brand-color;
}

.px-rem(@px-size) when (ispixel(@px-size)) and (ispixel(@rem-size)) {
  @result: unit((unit(@px-size)/unit(@rem-size)), rem);
}
