From db714ce341a4b8a150699e6a1c3f159c4a461dd0 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Fri, 18 Sep 2015 21:46:15 -0500 Subject: [PATCH] remove .hover css --- ionic/components/app/typography.scss | 3 +- ionic/components/button/button.scss | 4 +- ionic/components/button/modes/md.scss | 4 +- ionic/components/button/test/basic/main.html | 17 ++--- ionic/components/button/test/block/main.html | 2 +- ionic/components/button/test/clear/main.html | 27 +++---- .../components/button/test/outline/main.html | 35 +++------ ionic/components/button/test/round/main.html | 2 +- ionic/components/button/test/sizes/main.html | 2 +- ionic/components/tabs/tabs.scss | 3 +- .../toolbar/test/scenarios/main.html | 74 +------------------ ionic/components/toolbar/toolbar.scss | 2 - 12 files changed, 36 insertions(+), 139 deletions(-) diff --git a/ionic/components/app/typography.scss b/ionic/components/app/typography.scss index 367d940282..e42e5377ff 100644 --- a/ionic/components/app/typography.scss +++ b/ionic/components/app/typography.scss @@ -34,8 +34,7 @@ a { color: $link-color; background-color: transparent; } -.enable-hover a:hover, -a.hover { +.enable-hover a:hover { color: $link-hover-color; } diff --git a/ionic/components/button/button.scss b/ionic/components/button/button.scss index 7a6ea0b75b..bea4eed408 100644 --- a/ionic/components/button/button.scss +++ b/ionic/components/button/button.scss @@ -113,9 +113,7 @@ button, } .enable-hover button:hover, -.enable-hover [button]:hover, -button.hover -[button].hover { +.enable-hover [button]:hover { opacity: $button-hover-opacity; color: $button-text-color; text-decoration: none; diff --git a/ionic/components/button/modes/md.scss b/ionic/components/button/modes/md.scss index df4a7ea8fb..3443eedec9 100644 --- a/ionic/components/button/modes/md.scss +++ b/ionic/components/button/modes/md.scss @@ -83,9 +83,7 @@ button, } &.enable-hover button[clear]:hover, -&.enable-hover [button][clear]:hover, -button[clear].hover, -[button][clear].hover { +&.enable-hover [button][clear]:hover { background-color: $button-md-clear-hover-bg-color; } diff --git a/ionic/components/button/test/basic/main.html b/ionic/components/button/test/basic/main.html index a9de3ecaf7..87bc881f86 100644 --- a/ionic/components/button/test/basic/main.html +++ b/ionic/components/button/test/basic/main.html @@ -3,36 +3,31 @@ Default Buttons - +

- - +

- - +

- - +

- - +

- - +

diff --git a/ionic/components/button/test/block/main.html b/ionic/components/button/test/block/main.html index a1b8aad87f..e440bc75de 100644 --- a/ionic/components/button/test/block/main.html +++ b/ionic/components/button/test/block/main.html @@ -3,7 +3,7 @@ Block Buttons - +

a[button][block] diff --git a/ionic/components/button/test/clear/main.html b/ionic/components/button/test/clear/main.html index 178c7570dc..aee47ab00e 100644 --- a/ionic/components/button/test/clear/main.html +++ b/ionic/components/button/test/clear/main.html @@ -3,36 +3,31 @@ Clear Buttons - +

- - - + +

- - - + +

- - - + +

- - - + +

- - - + +

diff --git a/ionic/components/button/test/outline/main.html b/ionic/components/button/test/outline/main.html index fc5f4e9b33..7a5729a74a 100644 --- a/ionic/components/button/test/outline/main.html +++ b/ionic/components/button/test/outline/main.html @@ -3,46 +3,37 @@ Outline Buttons - +

- - - + +

- - - + +

- - - + +

- - - + +

- - - + +

-

- -

-

@@ -51,10 +42,6 @@

-

- -

-

diff --git a/ionic/components/button/test/round/main.html b/ionic/components/button/test/round/main.html index 21a6b57e80..f90d2f7b70 100644 --- a/ionic/components/button/test/round/main.html +++ b/ionic/components/button/test/round/main.html @@ -3,7 +3,7 @@ Round Buttons - + diff --git a/ionic/components/button/test/sizes/main.html b/ionic/components/button/test/sizes/main.html index 91234c1ca6..0db997df5a 100644 --- a/ionic/components/button/test/sizes/main.html +++ b/ionic/components/button/test/sizes/main.html @@ -3,7 +3,7 @@ Button Sizes - +

a[button] diff --git a/ionic/components/tabs/tabs.scss b/ionic/components/tabs/tabs.scss index 7969a6d71d..4611006465 100644 --- a/ionic/components/tabs/tabs.scss +++ b/ionic/components/tabs/tabs.scss @@ -80,8 +80,7 @@ ion-tab { background: none; } -.enable-hover .tab-button:hover, -.tab-button.hover { +.enable-hover .tab-button:hover { color: $tab-button-text-inactive; } diff --git a/ionic/components/toolbar/test/scenarios/main.html b/ionic/components/toolbar/test/scenarios/main.html index be3919ce44..7467222d5e 100644 --- a/ionic/components/toolbar/test/scenarios/main.html +++ b/ionic/components/toolbar/test/scenarios/main.html @@ -25,28 +25,10 @@ - - - - - - - - - Defaults.hover - - - - - - Clear - - - - - - - - - - - - Outline.hover - - - - - - - - ColorAttr.hover - - -