CoreFiles by mySites.guru
_utilities.scss137 lines, 1,418 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
4d5dfed501a5407c15015ef76e638f34
sha1
4211ae0b4c49f14f825984c808f1d966841b29fa
sha256
99a9760f2319b37cca48ac046c169b726b442ccbaabd66fcb171c23f53cf0f10
// Utilities
* {
  box-sizing: border-box;
}

// Keep B/C
.element-invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.hidden {
  display: none;
}

.table-row {
  display: table-row;
}

// Column Count

[class^='column-'],
[class*=' column-'] {
  padding-bottom: 1rem;
  column-gap: 2rem;

  > div {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    break-inside: avoid;
    page-break-inside: avoid;

    &.hidden {
      display: none;
    }
  }

  .form-no-columns & {
    column-count: auto;
  }
}

@include media-breakpoint-up(sm) {
  .column-count-sm-2 {
    column-count: 2;
  }

  .column-count-sm-3 {
    column-count: 3;
  }
}

@include media-breakpoint-up(md) {
  .column-count-md-2 {
    column-count: 2;
  }

  .column-count-md-3 {
    column-count: 3;
  }
}

@include media-breakpoint-up(lg) {
  .column-count-lg-2 {
    column-count: 2;
  }

  .column-count-lg-3 {
    column-count: 3;
  }
}

// Sizing

.w-1 {
  width: 1%;
}

.w-3 {
  width: 3%;
}

.w-5 {
  width: 5%;
}

.w-6 {
  width: 6%;
}

.w-7 {
  width: 7%;
}

.w-10 {
  width: 10%;
}

.w-12 {
  width: 12%;
}

.w-15 {
  width: 15%;
}

.w-20 {
  width: 20%;
}

.w-30 {
  width: 30%;
}

.w-35 {
  width: 35%;
}

.w-40 {
  width: 40%;
}

.w-60 {
  width: 60%;
}

.w-80 {
  width: 80%;
}

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