@import "./action-sheet";
@import "./action-sheet.md.vars";

// Material Design Action Sheet Title
// -----------------------------------------

.action-sheet-title {
  @include padding($action-sheet-md-title-padding-top, $action-sheet-md-title-padding-end, $action-sheet-md-title-padding-bottom, $action-sheet-md-title-padding-start);

  color: $action-sheet-md-title-color;

  font-size: $action-sheet-md-title-font-size;

  text-align: $action-sheet-md-text-align;
}

.action-sheet-sub-title {
  @include padding($action-sheet-md-sub-title-padding-top, $action-sheet-md-sub-title-padding-end, $action-sheet-md-sub-title-padding-bottom, $action-sheet-md-sub-title-padding-start);

  font-size: $action-sheet-md-sub-title-font-size;
}


// Material Design Action Sheet Group
// -----------------------------------------

.action-sheet-group {
  background-color: $action-sheet-md-background-color;
}

.action-sheet-group:first-child {
  @include padding($action-sheet-md-padding-top, null, null, null);
}

.action-sheet-group:last-child {
  @include padding(null, null, $action-sheet-md-padding-bottom, null);
}


// Material Design Action Sheet Buttons
// -----------------------------------------

.action-sheet-button {
  @include padding($action-sheet-md-button-padding-top, $action-sheet-md-button-padding-end, $action-sheet-md-button-padding-bottom, $action-sheet-md-button-padding-start);

  position: relative;

  height: $action-sheet-md-button-height;

  background: $action-sheet-md-button-background;
  color: $action-sheet-md-button-text-color;

  font-size: $action-sheet-md-button-font-size;

  text-align: $action-sheet-md-text-align;

  contain: strict;
  overflow: hidden;
}

.action-sheet-button.activated {
  background: $action-sheet-md-button-background-activated;
}

.action-sheet-icon {
  @include margin($action-sheet-md-icon-margin-top, $action-sheet-md-icon-margin-end, $action-sheet-md-icon-margin-bottom, $action-sheet-md-icon-margin-start);

  font-size: $action-sheet-md-icon-font-size;
}

.action-sheet-button-inner {
  justify-content: flex-start;
}

.action-sheet-selected {
  background-color: $action-sheet-md-button-background-selected;

  font-weight: bold;
}
