Sha256: b2fe8df8ea393ab3acdc80dd2c3025b85cec80db8407f69b61a822c8badf8920

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

.toggle {
  display: inline-flex;

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

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

  [type="checkbox"]:checked + .btn {
    --btn-background: var(--color-secondary);
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
css-zero-0.0.35 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.34 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.33 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.32 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.31 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.30 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css
css-zero-0.0.29 lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css