CoreFiles by mySites.guru
_modals.scss158 lines, 2,812 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
9b710e1c253239cb136605d63ea373f8
sha1
820f00ebd6ada24d6e1b76dd7b3458fa73c35f84
sha256
419d0386f505af9735dfe42c45a874156a9053f5070216d8d5d5a396180d68a9
// Modals

.modal {

  .btn {
    margin-right: .5rem;
    background: var(--white);
    border-color: var(--whiteoffset);
    color: var(--atum-text-dark);
    padding: 0 22px;
    font-size: 1rem;
    line-height: 2.375rem;
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,.25);


  }

  .btn-primary:not([href]),
  .btn-success:not([href]),
  .btn-danger:not([href]),
  .btn-secondary:not([href]) {
    color: var(--atum-text-dark);
    border:1px solid var(--atum-text-dark);
    background:var(--white);


  }

  .btn-success:not([href])
  {
    &:hover {
      color: var(--white);
      background:var(--success);
    }
  }

  .btn-danger:not([href])
  {
    &:hover {
      color: var(--white);
      background:var(--danger);
    }
  }

  .btn.btn-danger [class*=" fa-"],
  .btn.btn-danger [class*=" icon-"],
  .btn.btn-danger [class^=fa-],
  .btn.btn-danger [class^=icon-],
  .btn.btn-danger span{
    background-color: var(--danger);
    color: hsla(0,0%,100%,.9);

    display: inline-block;
    width: 2.375rem;
    height: 100%;
    margin: 0 16px 0 -22px;
    line-height: 2.375rem;
  }

  .btn.btn-success [class*=" fa-"],
  .btn.btn-success [class*=" icon-"],
  .btn.btn-success [class^=fa-],
  .btn.btn-success [class^=icon-],
  .btn.btn-success span{
    background-color: var(--success);
    color: hsla(0,0%,100%,.9);

    display: inline-block;
    width: 2.375rem;
    height: 100%;
    margin: 0 16px 0 -22px;
    line-height: 2.375rem;
  }

}

.modal-header {
  padding: 0 15px;

  .close {
    width: $modal-header-height;
    height: $modal-header-height;
    margin-top: 0;
    margin-right: -15px;
    font-size: 2rem;
    line-height: 1rem;
    border-left: 1px solid var(--border);
  }
}

.modal-body {
  overflow-y: auto;
}

.modal-title {
  font-weight: $font-weight-normal;
  line-height: $modal-header-height;
}

.contentpane {
  padding: 15px;
}

// Changelog
.changelog {
  text-align: left !important;

  &__item {
    display: flex;
    border-bottom: 1px solid $table-border-color;

    @include media-breakpoint-down(sm) {
      flex-direction: column;
    }
  }

  &__tag {
    flex: 1 0 180px;
    max-width: 180px;
    padding: 10px 15px;
    background: darken($gray-100, 2.5%);
    border-right: 1px solid $table-border-color;
    text-align: right;

    .badge {
      border-radius: .2rem;

      &.badge-jlanguage {
        background-color: $white;
      }
    }

    @include media-breakpoint-down(sm) {
      flex: 1 0 auto;
      max-width: 100%;
      text-align: left;
      border-right: 0;
      border-bottom: 1px solid $table-border-color;
    }
  }

  &__list {
    padding: 10px 15px;

    ul {
      padding-left: 15px;
      margin-bottom: 0;
    }

    li {
      margin-bottom: .15rem;

      &:last-of-type{
        margin-bottom: 0;
      }
    }
  }
}

The same content is in 2 releases, Joomla 4.0.0-alpha11 to 4.0.0-alpha12. See them all, or every version of this file.