CoreFiles by mySites.guru
_choicesjs.scss80 lines, 1,384 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
087c310de1be782e8d5febeaf088fad5
sha1
4f02d83a06a76c77db935e8fdd98eb0cdc3d31e7
sha256
d4a492c5537d54dc2a237536b3a5cf82e9aed68b34b4ad4b625604df80ca30db
// 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;
  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 2 releases, Joomla 4.0.0-alpha11 to 4.0.0-alpha12. See them all, or every version of this file.