Sha256: fb26a042acf3e576c21e4d70b22b3c40e9f3fd1330eb827dcc9b427bb99b9883

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

.c-checkbutton {
  display: inline-block;
  user-select: none;
  margin: .4rem;
  padding: 0;

  > input {
    display: none;
  }

  > span {
    border-radius: $border-radius-object;
    padding: .4rem .8rem;
    margin: 0;
    border: 1px solid var(--db-border-color);
    color: var(--db-text-color-inactive);
  }

  &:hover > span {
    background-color: var(--db-highlight-color-hover);
    color: var(--db-text-color-active);
  }

  > input:checked + span {
    background-color: var(--db-highlight-color);
    border: 1px solid var(--db-border-color);
    color: var(--db-text-color-active);
  }

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
databook-theme-0.1.2 _sass/components/_forms.scss