Sha256: 9002f4fe97da626ed845fe605795e96df2990c9de872ed882194ee0280709549

Contents?: true

Size: 293 Bytes

Versions: 3

Compression:

Stored size: 293 Bytes

Contents

.btn--toggle {
  [type="checkbox"] {
    position: absolute; clip: rect(0, 0, 0, 0);
  }

  &:has(:checked) {
    --btn-background: var(--color-secondary);
  }

  &:has(:focus-visible) {
    outline: var(--border-2) solid var(--color-selected-dark);
    outline-offset: var(--border-2);
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
css-zero-0.0.96 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.95 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.94 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css