CoreFiles by mySites.guru
_choicesjs.scss82 lines, 1,437 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
489a0f80bd18062f81709244b1350064
sha1
402e229c95c66bb2fc2855f3e15f4d554769672a
sha256
56e3cc0e136decffd7a395544520a5335cd271879763100cc53a7a15ab6a60f6
// choices.js

// Fix position
.choices__list--dropdown {
  z-index: 10;
}

// Fix close button
.choices__button_joomla {
  position: relative;
  text-indent: -9999px;
  cursor: pointer;
  background: none;
  border: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;

  &::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    text-align: center;
    text-indent: 0;
    content: "\00d7";
  }

  &:focus {
    outline: none;
  }
}

.choices[data-type*="select-one"] {
  .choices__button_joomla {
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    margin-top: -10px;
    margin-right: 25px;
    border-radius: 10em;
    opacity: .5;
    &:hover, &:focus { opacity: 1; }
    &:focus { box-shadow: 0 0 0 2px #00bcd4; }
  }

  &[dir="rtl"] {
    .choices__button_joomla {
      right: auto;
      left: 0;
      margin-right: 0;
      margin-left: 25px;
    }
  }
}

.choices[data-type*="select-multiple"],
.choices[data-type*="text"] {
  .choices__button_joomla {
    position: relative;
    display: inline-block;
    width: 8px;
    padding-left: 16px;
    margin-top: 0;
    margin-right: -4px;
    margin-bottom: 0;
    margin-left: 8px;
    line-height: 1;
    border-left: 1px solid #008fa1;
    opacity: .75;
    &:hover, &:focus { opacity: 1; }
    &::before {
      color: #fff;
    }
  }
}

The same content is in 5 releases, Joomla 4.0.0-alpha6 to 4.0.0-alpha10. See them all, or every version of this file.