From 0328159a4dbc641d10f7a98a95a38bd86230d237 Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Sun, 16 Jun 2024 18:39:04 +0200 Subject: [PATCH] Fix blue hover on all icons --- src/style/components.styl | 7 +------ src/style/index.styl | 4 ++-- src/style/scenegraph.styl | 1 + src/style/textureModal.styl | 12 ++++++------ 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/style/components.styl b/src/style/components.styl index 4b8a65ee..0ca81e2d 100644 --- a/src/style/components.styl +++ b/src/style/components.styl @@ -236,9 +236,4 @@ a.help-linkhover width 120px #componentEntityHeader .gltfIcon img - top 0 - -svg - color $white - &:hover - color $primary + top 0 \ No newline at end of file diff --git a/src/style/index.styl b/src/style/index.styl index c6d76722..24a715ea 100644 --- a/src/style/index.styl +++ b/src/style/index.styl @@ -206,8 +206,8 @@ body.aframe-inspector-opened margin-left 10px text-decoration none - a.buttonhover - color #1faaf2 + &:hover + color $primary @keyframes animateopacity from { opacity: 0 } diff --git a/src/style/scenegraph.styl b/src/style/scenegraph.styl index 25188e15..fa78f917 100644 --- a/src/style/scenegraph.styl +++ b/src/style/scenegraph.styl @@ -72,6 +72,7 @@ svg color #CCC + .toolbarActions svg:hover, .entityActions svg:hover color $primary diff --git a/src/style/textureModal.styl b/src/style/textureModal.styl index 7af1bea5..7652d527 100644 --- a/src/style/textureModal.styl +++ b/src/style/textureModal.styl @@ -36,8 +36,8 @@ font-size 28px font-weight bold -.closehover, -.closefocus +.close:hover, +.close:focus color #08f cursor pointer text-decoration none @@ -135,7 +135,7 @@ margin 0 10px 0 0 padding 5px 10px -.modal buttonfocus +.modal button:focus outline none .modal button @@ -143,17 +143,17 @@ border none color #fff -.modal buttonhover, +.modal button:hover, .modal button.hover background-color #346392 text-shadow -1px 1px #27496d -.modal buttonactive, +.modal button:active, .modal button.active background-color #27496d text-shadow -1px 1px #193047 -.modal buttondisabled +.modal button:disabled background-color #888 cursor none