From 4de75e0f305b2cb4a026073440f2bac7c34df817 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 25 Jun 2024 17:39:03 +0200 Subject: Focus indicator style --- tpl/objects/checkbox.pug | 4 ++-- tpl/objects/radio.pug | 4 ++-- tpl/objects/switch.pug | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tpl/objects') diff --git a/tpl/objects/checkbox.pug b/tpl/objects/checkbox.pug index 874505b..db794f6 100644 --- a/tpl/objects/checkbox.pug +++ b/tpl/objects/checkbox.pug @@ -12,7 +12,7 @@ mixin checkbox type='checkbox' class={ 'is-indeterminate': attributes.indeterminate } )&attributes(attributes) - .o-checkbox__box + span.o-checkbox__box +icon('check')(class='o-checkbox__check-icon') - .o-checkbox__label + span.o-checkbox__label block diff --git a/tpl/objects/radio.pug b/tpl/objects/radio.pug index 8cb1b1f..3243b05 100644 --- a/tpl/objects/radio.pug +++ b/tpl/objects/radio.pug @@ -7,6 +7,6 @@ mixin radio label(class=classes) input.o-radio__native(type='radio')&attributes(attributes) - .o-radio__circle - .o-radio__label + span.o-radio__circle + span.o-radio__label block diff --git a/tpl/objects/switch.pug b/tpl/objects/switch.pug index 0c9c1ab..6f83fdc 100644 --- a/tpl/objects/switch.pug +++ b/tpl/objects/switch.pug @@ -7,6 +7,6 @@ mixin switch label(class=classes) input.o-switch__native(type='checkbox')&attributes(attributes) - .o-switch__indicator - .o-switch__label + span.o-switch__indicator + span.o-switch__label block -- cgit v1.2.3-70-g09d2