Sha256: 19a50e5112ae5e537dd3b0236309132a2d238d782ad7b7d5a5212212e3b84cdc

Contents?: true

Size: 1.96 KB

Versions: 44

Compression:

Stored size: 1.96 KB

Contents

.button.small_ellipsis_button {
  margin: 0;
  padding: .1rem .3rem;
}

.fa-link-annotation {
  width: 1.4rem;
}

.page-actions {
  .button {
    margin-bottom: 0;
    margin-right: 0.8rem;
    padding: 0.4rem 1rem;
  }

  @media print {
    display: none;
  }
}

.button {
  border-radius: 2px !important;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;

  &:hover {
    background-color: $nhs-blue;
  }

  i.fa,
  i.fas,
  i.far {
    margin-right: .5rem;
  }

  &.with-icon {
    padding-left: 0.7rem;

    i.fa,
    i.fas,
    i.far  {
      font-size: 1.1rem;
      margin-right: 0.6rem;
    }
  }

  &.compact {
    font-size: 0.9rem;
    margin: 0;
    padding: 2px 5px;
  }

  &:focus {
    outline-style: none;
  }

  &.low-key {
    background-color: $off-white;
    border: solid 1px $light-grey;
    color: $dark-grey;

    &:hover {
      background-color: $white;
    }
  }

  &.alternative {
    background-color: $dashboard-muted-color;
  }
}

.radius.radius-right {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

.radius.radius-left {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.button.dropdown.actions {
  @extend %fa-icon;
  @extend .fas;
  background-color: $white;
  color: $monsoon;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 .3rem 0 0;
  padding: 0.2rem .9rem;
  border: solid 1px $light-grey;
  vertical-align: middle;

  &:hover {
    background-color: darken(#efefef, 10);
    color: darken(#555, 10);
  }

  &:before {
    content: fa-content($fa-var-ellipsis-h);
  }

  &:after {
    border: 0;
    position: relative;
  }
}

.f-dropdown {
  /* separator */
  li.separator {
    border-top: 1px solid #ccc;
    margin: .3rem 0 .1rem 0;
    padding: 0;
  }
}

.f-dropdown.f-dropdown-no-arrow {
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,.05);
  margin-left: 23px;
  margin-top: 0;
  max-width: 150px;

  &:before, &:after {
    border: 0;
    position: relative;
  }
}

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/assets/stylesheets/renalware/partials/_button.scss
renalware-core-2.0.126 app/assets/stylesheets/renalware/partials/_button.scss
renalware-core-2.0.125 app/assets/stylesheets/renalware/partials/_button.scss
renalware-core-2.0.124 app/assets/stylesheets/renalware/partials/_button.scss