CoreFiles by mySites.guru
_utilities.scss141 lines, 1,466 bytes, from Joomla_4.0.0-beta5-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta4
md5
d537a5b25f7ea2d2617976da1a836232
sha1
18f004f8063136e7f9618b154d4266814575127c
sha256
e61c02e1371812edea81890c0c967b9a0cdcd0cb29143dc25a9b9f145cb8cbda
// 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;
    }

    .control-label {
      width: 100%;
    }
  }

  .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 3 releases, Joomla 4.0.0-beta4 to 4.0.0-beta6. See them all, or every version of this file.