Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2k
David/enhancement modebar#7429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
54d1253318530eebb7b128748342fd9ad69e2c6615a2fa28606d3d1fe557ee19386b156dc49c9905cab1363a873165dffe904e64a605c627663dbf1b17b7f0File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -8,7 +8,7 @@ | ||
| @include vendor('transition', background-color 0.3s ease 0s); | ||
| } | ||
| .modebar--hover> :not(.watermark) { | ||
| .modebar--hover> :not(.watermark) { | ||
| opacity: 0; | ||
| @include vendor('transition', opacity 0.3s ease 0s); | ||
| } | ||
| @@ -17,6 +17,10 @@ | ||
| opacity: 1; | ||
| } | ||
| &:focus-within .modebar--hover .modebar-group { | ||
| opacity: 1; | ||
| } | ||
| .modebar-group { | ||
| float: left; | ||
| display: inline-block; | ||
| @@ -25,6 +29,11 @@ | ||
| position: relative; | ||
| vertical-align: middle; | ||
| white-space: nowrap; | ||
| a { | ||
| display: grid; | ||
| place-content: center; | ||
| } | ||
| } | ||
| .modebar-btn { | ||
| @@ -36,15 +45,20 @@ | ||
| cursor: pointer; | ||
| line-height: normal; | ||
| box-sizing: border-box; | ||
| border: none; | ||
| background: transparent; | ||
| svg { | ||
| position: relative; | ||
| top: 2px; | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @davidangarita1 why did we get rid of this? ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By converting the anchor to Button they are misaligned, this style is that the buttons icon is centered | ||
| } | ||
| &.modebar-btn--logo { | ||
| &:focus-visible { | ||
| outline: 1px solid black; | ||
| outline-offset: 1px; | ||
| border-radius: 3px; | ||
| } | ||
| &.modebar-btn--logo {} | ||
| } | ||
| .modebar.vertical { | ||
| @@ -53,9 +67,11 @@ | ||
| flex-wrap: wrap; | ||
| align-content: flex-end; | ||
| max-height: 100%; | ||
| svg { | ||
| top: -1px; | ||
| top: -1px; | ||
| } | ||
| .modebar-group { | ||
| display: block; | ||
| float: none; | ||
| @@ -67,4 +83,4 @@ | ||
| text-align: center; | ||
| } | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidangarita1 do we still use this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By converting the Anchor to Button they were misaligned, this style is to focus the Plotly logo into the mode bar
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i mean the anchor tag, is there still an anchor tag?
edit: ok, i get it