Sha256: 8ced224cf7f8d57dcedf127938d4876f2e66e644d5c97641ba442e648df8f44e

Contents?: true

Size: 1.08 KB

Versions: 58

Compression:

Stored size: 1.08 KB

Contents

html {
  // --wco-color-1: red;
  --wco-color-2: #ddd;
}

.chip,
.Chip {
  display: inline;

  border: 1px solid var(--wco-color-1);
  border-radius: 0.5em;
  padding: 0.1em .3em;
  margin-bottom: 0.1em;
  background: var(--wco-color-2);

}
.chip,
.Chip {
  // border: 1px solid black;
  border-radius: 1em 0 0 1em;

  margin-right: 32px;

  padding: 0.2em 0.2em 0.2em 0.6em;

  height: 32px;

  background: var(--wco-color-2);

  position: relative;

  &::before {
    // border: 1px solid red;
    // background: yellow;

    content: "";
    display: block;

    position: absolute;
    right: -16px;
    top: 0;

    width: 16px;
    height: 32px;

    // border-left: 12px solid white;
    border-top: 17px solid var(--wco-color-2);
    border-right: 12px solid transparent;
    // border-bottom: 12px solid transparent;
  }
  &::after {
    // border: 1px solid red;

    content: "";
    display: block;

    position: absolute;
    right: -16px;
    bottom: 0;

    width: 16px;
    height: 32px;

    border-bottom: 17px solid var(--wco-color-2);
    border-right: 12px solid transparent;
  }
}

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
wco_models-3.1.0.128 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.127 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.126 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.125 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.124 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.123 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.122 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.121 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.120 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.119 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.118 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.117 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.116 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.115 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.114 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.113 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.112 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.111 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.110 app/assets/stylesheets/wco/chip.scss
wco_models-3.1.0.109 app/assets/stylesheets/wco/chip.scss