CoreFiles by mySites.guru
switcher.css76 lines, 1,436 bytes, from Joomla_4.0.0-alpha9-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha8
md5
eca394ca252bbcaf38c153f6e393a93e
sha1
8a7fadec0c91e78a7293b6028a1ac1ad97c1181e
sha256
8aca52ceb83f5079b3ca8db7a28d89bde356008d7ee634818245c1cb980c7d65
.switcher {
  position: relative;
  width: 18rem;
  height: 28px; }

.switcher input {
  position: absolute;
  top: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
  height: 28px;
  width: 62px;
  margin: 0; }

.switcher input:checked {
  z-index: 1; }

.switcher input:checked + label {
  opacity: 1; }

.switcher input:not(:checked) + label {
  opacity: 0; }

.switcher label {
  line-height: 28px;
  display: inline-block;
  width: 6rem;
  height: 100%;
  margin-left: 70px;
  text-align: left;
  position: absolute;
  transition: opacity 0.25s ease;
  margin-bottom: 0; }

.switcher .toggle-outside {
  height: 100%;
  padding: 0.25rem;
  overflow: hidden;
  transition: 0.25s ease all;
  background: grey;
  position: absolute;
  width: 62px;
  box-sizing: border-box; }

.switcher input ~ input:checked ~ .toggle-outside {
  background: green; }

.switcher .toggle-inside {
  height: 20px;
  width: 20px;
  background: white;
  position: absolute;
  transition: 0.25s ease all; }

.switcher input:checked ~ .toggle-outside .toggle-inside {
  left: 0.25rem; }

.switcher input ~ input:checked ~ .toggle-outside .toggle-inside {
  left: 38px; }

.switcher__legend {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 400;
  float: left;
  width: 220px;
  padding-top: 5px;
  padding-right: 5px;
  text-align: left; }

.col-md-3 .switcher__legend {
  margin-left: 0; }

.col-md-9 .switcher__legend {
  margin-left: -220px; }

No other release has this exact content. See every version of this file.