CoreFiles by mySites.guru
switcher.css77 lines, 1,466 bytes, from Joomla_4.0.0-alpha10-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha9
md5
fbe78dd3f8e8ba1cd6b9b6815e1389d4
sha1
ef0c4e8ab80a277ddad8ab8c6683155f0a45c8bd
sha256
2c84ec8583b1de77a45014b53742072ed8c65ec969ed789ea3c590b0f46c0f0d
.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-9 .switcher__legend,
.col-md-12 .switcher__legend {
  margin-left: -220px; }

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

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