Skip to content
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

perspective-workspace CSS fixes #1183

Merged
merged 2 commits into from
Sep 7, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix perspective-workspace CSS quirks
  • Loading branch information
texodus committed Sep 6, 2020
commit d47913c13c71c13779b44e1fbf1f0a002197ab39
1 change: 0 additions & 1 deletion packages/perspective-viewer/src/config/umd.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module.exports = common({}, config => {
for (const theme of THEMES) {
try_delete(theme.replace("less", "js"));
try_delete(theme.replace("less", "js.map"));
try_delete(theme.replace("less", "css.map"));
}
});
}
Expand Down
6 changes: 5 additions & 1 deletion packages/perspective-viewer/src/less/viewer.less
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,11 @@
}

:hover::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.3);
background-color: rgba(0,0,0,0.15);
}

:hover::-webkit-scrollbar-thumb:hover {
background-color: rgba(0,0,0,0.3);
}

::-webkit-scrollbar-thumb {
Expand Down
4 changes: 4 additions & 0 deletions packages/perspective-workspace/src/less/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
background: #e5e5e5;
}

.p-Menu.workspace-master-menu .p-Menu-item.p-mod-active {
background: #555;
}

.p-MenuBar.p-mod-active .p-MenuBar-item.p-mod-active {
z-index: 10001;
background: white;
Expand Down
4 changes: 4 additions & 0 deletions packages/perspective-workspace/src/less/tabbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -317,5 +317,9 @@

.perspective-workspace.context-menu * .p-TabBar {
opacity: 0.2;
}

.perspective-workspace .p-TabBar {
transition: opacity 0.2s ease-out;
}