From 8063228c4898c97e3f8c337e42c751eba9955b87 Mon Sep 17 00:00:00 2001 From: berosoboy Date: Fri, 25 May 2018 15:29:43 -0300 Subject: [PATCH 1/3] Add style to input disabled Show cursor not-allowed on disabled inputs --- ios7-switch.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ios7-switch.css b/ios7-switch.css index 8dab045..86061c4 100644 --- a/ios7-switch.css +++ b/ios7-switch.css @@ -96,4 +96,8 @@ .ios7-switch:hover input:focus:checked + span { box-shadow: inset 0 0 0 0.73em #4cd964; -} \ No newline at end of file +} + +.ios7-switch:hover input:disabled + span { + cursor: not-allowed; +} From 2bcdf498cb1802316cc0860ddbcc5c51baa20796 Mon Sep 17 00:00:00 2001 From: berosoboy Date: Fri, 25 May 2018 15:40:21 -0300 Subject: [PATCH 2/3] Adicionado composer.json --- composer.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..ed6aca8 --- /dev/null +++ b/composer.json @@ -0,0 +1,4 @@ +{ + "name": "berosoboy/ios7-switch", + "description": "iOS7 style switch. Based on wilddeer/ios7-switch." +} From 231e653e484ea3b39cea324cd03a78dc3d6ffbb9 Mon Sep 17 00:00:00 2001 From: berosoboy Date: Fri, 25 May 2018 15:56:13 -0300 Subject: [PATCH 3/3] removido composer.json --- composer.json | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 composer.json diff --git a/composer.json b/composer.json deleted file mode 100644 index ed6aca8..0000000 --- a/composer.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "berosoboy/ios7-switch", - "description": "iOS7 style switch. Based on wilddeer/ios7-switch." -}