CoreFiles by mySites.guru
_buttons.scss57 lines, 842 bytes, from Joomla_4.0.2-Stable-Full_Package.zip
Raw History Compare with 4.0.1
md5
7cb935a1485e58d6eb82737d7153f966
sha1
6d57240eac75994796a6e03ea5317101eebb9dec
sha256
bfd44761830b4ebd253ea68b5d64c8d1af3fc6ea7d7b44bd167769cfbaa84e87
// Buttons

.btn:focus,
.btn.focus,
.btn:active:focus,
.btn.focus:active,
.btn.active:focus,
.btn.active.focus {
  text-decoration: none;
}

.btn.group-move {
  cursor: move;
}

.btn-secondary {
  color: $gray-800;
  background-color: $white;
  border-color: $gray-400;

  &:hover,
  &:focus {
    color: $gray-800;
    background-color: $gray-100;
  }
}

.article-info .association,
.cat-list-association {
  .btn-secondary {
    font-weight: 700;
    color: $white;
    background-color: $gray-600;
    border-color: $gray-400;

    &:hover,
    &:focus {
      color: $white;
      background-color: $gray-800;
    }
  }

  .btn-sm {
    padding: 0 .25rem;
    font-size: .8rem;
    border-radius: .2rem;
  }
}

@include media-breakpoint-down(md) {
  .btn {
    margin-bottom: .25rem;
  }
  .input-group .btn {
    margin-bottom: 0;
  }
}

The same content is in 9 releases, Joomla 4.0.0-rc1 to 4.0.2. See them all, or every version of this file.