Sha256: 82c070f4f63552d34fac203e80569c5d25b4672b5bfcdf15f127455e48a3b275

Contents?: true

Size: 1017 Bytes

Versions: 2

Compression:

Stored size: 1017 Bytes

Contents

/*!
 * [color-sampler]{@link https://github.com/emn178/color-sampler}
 *
 * @version 0.1.5
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2015-2016
 * @license MIT
 */
.color-sampler-preview {
  position: absolute;
  z-index: 100;
  display: none;
  width: 110px;
  height: 110px;
  border: 1px solid;
  border-radius: 50%;
  overflow: hidden;
}

.color-sampler-preview.active {
  display: block;
}

.color-sampler-preview table {
   border-spacing: 0;
}

.color-sampler-preview td {
  border: 1px solid gray;
  height: 8px;
  width: 8px;
  background-color: #BBB4B4;
  padding: 0;
}

.color-sampler-preview td[x="5"][y="5"] {
  border-color: red;
}

.color-sampler-preview td[x="5"][y="4"] {
  border-bottom-color: red;
}

.color-sampler-preview td[x="5"][y="6"] {
  border-top-color: red;
}

.color-sampler-preview td[x="4"][y="5"] {
  border-right-color: red;
}

.color-sampler-preview td[x="6"][y="5"] {
  border-left-color: red;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kolor-picker-0.1.1 app/assets/stylesheets/kolor-picker/color-sampler.css
kolor-picker-0.1.0 app/assets/stylesheets/kolor-picker/color-sampler.css