How to disable autodesk-forge mouseHover on panel
I'm trying to add some CSS on a forge panel.
Whenever I put my mouse hover a forge panel the colour of the background become darker.
Is it possible to disable this behaviour?
Edited:
Here picture of my problem
My mouse was hover the panel titled 2.
I want the background to stay like the panel 1.
autodesk-forge
add a comment |
I'm trying to add some CSS on a forge panel.
Whenever I put my mouse hover a forge panel the colour of the background become darker.
Is it possible to disable this behaviour?
Edited:
Here picture of my problem
My mouse was hover the panel titled 2.
I want the background to stay like the panel 1.
autodesk-forge
Could you consider providing a reproducible case demonstrating how you create these two panels? I tried to reproduce the situation you mentioned, but unfortunately I couldn't. All panels I created are all transparent like your panel 2.
– Eason Kang
Nov 27 '18 at 7:30
I might have found the problem. We're using the third version of the forge viewer on the 6th version the problem doesn't appear. We are going to upgrade the viewer thx for your help
– lo lo
Nov 29 '18 at 11:19
Sure thing, thank you for confirming. :)
– Eason Kang
Nov 29 '18 at 11:42
add a comment |
I'm trying to add some CSS on a forge panel.
Whenever I put my mouse hover a forge panel the colour of the background become darker.
Is it possible to disable this behaviour?
Edited:
Here picture of my problem
My mouse was hover the panel titled 2.
I want the background to stay like the panel 1.
autodesk-forge
I'm trying to add some CSS on a forge panel.
Whenever I put my mouse hover a forge panel the colour of the background become darker.
Is it possible to disable this behaviour?
Edited:
Here picture of my problem
My mouse was hover the panel titled 2.
I want the background to stay like the panel 1.
autodesk-forge
autodesk-forge
edited Nov 23 '18 at 11:02
lo lo
asked Nov 20 '18 at 9:40
lo lolo lo
13
13
Could you consider providing a reproducible case demonstrating how you create these two panels? I tried to reproduce the situation you mentioned, but unfortunately I couldn't. All panels I created are all transparent like your panel 2.
– Eason Kang
Nov 27 '18 at 7:30
I might have found the problem. We're using the third version of the forge viewer on the 6th version the problem doesn't appear. We are going to upgrade the viewer thx for your help
– lo lo
Nov 29 '18 at 11:19
Sure thing, thank you for confirming. :)
– Eason Kang
Nov 29 '18 at 11:42
add a comment |
Could you consider providing a reproducible case demonstrating how you create these two panels? I tried to reproduce the situation you mentioned, but unfortunately I couldn't. All panels I created are all transparent like your panel 2.
– Eason Kang
Nov 27 '18 at 7:30
I might have found the problem. We're using the third version of the forge viewer on the 6th version the problem doesn't appear. We are going to upgrade the viewer thx for your help
– lo lo
Nov 29 '18 at 11:19
Sure thing, thank you for confirming. :)
– Eason Kang
Nov 29 '18 at 11:42
Could you consider providing a reproducible case demonstrating how you create these two panels? I tried to reproduce the situation you mentioned, but unfortunately I couldn't. All panels I created are all transparent like your panel 2.
– Eason Kang
Nov 27 '18 at 7:30
Could you consider providing a reproducible case demonstrating how you create these two panels? I tried to reproduce the situation you mentioned, but unfortunately I couldn't. All panels I created are all transparent like your panel 2.
– Eason Kang
Nov 27 '18 at 7:30
I might have found the problem. We're using the third version of the forge viewer on the 6th version the problem doesn't appear. We are going to upgrade the viewer thx for your help
– lo lo
Nov 29 '18 at 11:19
I might have found the problem. We're using the third version of the forge viewer on the 6th version the problem doesn't appear. We are going to upgrade the viewer thx for your help
– lo lo
Nov 29 '18 at 11:19
Sure thing, thank you for confirming. :)
– Eason Kang
Nov 29 '18 at 11:42
Sure thing, thank you for confirming. :)
– Eason Kang
Nov 29 '18 at 11:42
add a comment |
2 Answers
2
active
oldest
votes
I supposed that you want to change the background color of the tree nodes of the model structure panel or property panel while mouse hovering. Please place this CSS snippet after viewer's stylesheet:
// Change background color to red color in dark-theme
.adsk-viewing-viewer.dark-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
// Change background color to red color in light-theme
.adsk-viewing-viewer.light-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
And here you go!
sorry I have poorly explained my problem. I edited my question and an image. To show my problem
– lo lo
Nov 23 '18 at 11:03
add a comment |
This problem doesn't appear in the last version of the forge viewer. I'm gooing to upgrade my viewer
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53390098%2fhow-to-disable-autodesk-forge-mousehover-on-panel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I supposed that you want to change the background color of the tree nodes of the model structure panel or property panel while mouse hovering. Please place this CSS snippet after viewer's stylesheet:
// Change background color to red color in dark-theme
.adsk-viewing-viewer.dark-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
// Change background color to red color in light-theme
.adsk-viewing-viewer.light-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
And here you go!
sorry I have poorly explained my problem. I edited my question and an image. To show my problem
– lo lo
Nov 23 '18 at 11:03
add a comment |
I supposed that you want to change the background color of the tree nodes of the model structure panel or property panel while mouse hovering. Please place this CSS snippet after viewer's stylesheet:
// Change background color to red color in dark-theme
.adsk-viewing-viewer.dark-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
// Change background color to red color in light-theme
.adsk-viewing-viewer.light-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
And here you go!
sorry I have poorly explained my problem. I edited my question and an image. To show my problem
– lo lo
Nov 23 '18 at 11:03
add a comment |
I supposed that you want to change the background color of the tree nodes of the model structure panel or property panel while mouse hovering. Please place this CSS snippet after viewer's stylesheet:
// Change background color to red color in dark-theme
.adsk-viewing-viewer.dark-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
// Change background color to red color in light-theme
.adsk-viewing-viewer.light-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
And here you go!
I supposed that you want to change the background color of the tree nodes of the model structure panel or property panel while mouse hovering. Please place this CSS snippet after viewer's stylesheet:
// Change background color to red color in dark-theme
.adsk-viewing-viewer.dark-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.dark-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
// Change background color to red color in light-theme
.adsk-viewing-viewer.light-theme .treeview .group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview .leaf>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview group>lmvheader:hover,
.adsk-viewing-viewer.light-theme .treeview leaf>lmvheader:hover {
background: rgba(255,0,0,.4)!important;
}
And here you go!
answered Nov 23 '18 at 8:16
Eason KangEason Kang
1,713127
1,713127
sorry I have poorly explained my problem. I edited my question and an image. To show my problem
– lo lo
Nov 23 '18 at 11:03
add a comment |
sorry I have poorly explained my problem. I edited my question and an image. To show my problem
– lo lo
Nov 23 '18 at 11:03
sorry I have poorly explained my problem. I edited my question and an image. To show my problem
– lo lo
Nov 23 '18 at 11:03
sorry I have poorly explained my problem. I edited my question and an image. To show my problem
– lo lo
Nov 23 '18 at 11:03
add a comment |
This problem doesn't appear in the last version of the forge viewer. I'm gooing to upgrade my viewer
add a comment |
This problem doesn't appear in the last version of the forge viewer. I'm gooing to upgrade my viewer
add a comment |
This problem doesn't appear in the last version of the forge viewer. I'm gooing to upgrade my viewer
This problem doesn't appear in the last version of the forge viewer. I'm gooing to upgrade my viewer
answered Nov 29 '18 at 11:26
lo lolo lo
13
13
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53390098%2fhow-to-disable-autodesk-forge-mousehover-on-panel%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Could you consider providing a reproducible case demonstrating how you create these two panels? I tried to reproduce the situation you mentioned, but unfortunately I couldn't. All panels I created are all transparent like your panel 2.
– Eason Kang
Nov 27 '18 at 7:30
I might have found the problem. We're using the third version of the forge viewer on the 6th version the problem doesn't appear. We are going to upgrade the viewer thx for your help
– lo lo
Nov 29 '18 at 11:19
Sure thing, thank you for confirming. :)
– Eason Kang
Nov 29 '18 at 11:42