aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/topbar
diff options
context:
space:
mode:
authorgeireann <geireann.lindfield@gmail.com>2021-09-02 04:45:01 -0400
committergeireann <geireann.lindfield@gmail.com>2021-09-02 04:45:01 -0400
commit12d8267533d9b646247914e965b3cf7c32019e4b (patch)
tree3ce1f187991c790886d90d3c15f29a5daaa3dd05 /src/client/views/topbar
parent52c0e8f10555fc8ba05ce62bede60e50b33bdc54 (diff)
Many updates
- Fixed image uploads so it clones rather than makes an alias - Updated context menu - Removed tools panel from novice mode in favour of ":" menu - Added explainers to menus in novice mode - Re-added the trails button - Changed UI for text, PDF & websites so that it is more consistent
Diffstat (limited to 'src/client/views/topbar')
-rw-r--r--src/client/views/topbar/TopBar.scss4
-rw-r--r--src/client/views/topbar/TopBar.tsx3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/client/views/topbar/TopBar.scss b/src/client/views/topbar/TopBar.scss
index 05aeb177c..923f1892e 100644
--- a/src/client/views/topbar/TopBar.scss
+++ b/src/client/views/topbar/TopBar.scss
@@ -33,12 +33,12 @@
align-self: center;
border-radius: $standard-border-radius;
padding: 5px;
- transition: linear 0.1s;
+ transition: linear 0.2s;
color: $black;
background-color: $light-gray;
&:hover {
- background-color: $light-blue;
+ background-color: darken($color: $light-gray, $amount: 20);
}
}
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx
index 4dbd5e22c..d5254e315 100644
--- a/src/client/views/topbar/TopBar.tsx
+++ b/src/client/views/topbar/TopBar.tsx
@@ -51,7 +51,8 @@ export class TopBar extends React.Component {
</div>
</div>
<div className="topbar-right" >
- <div className="topbar-icon">
+ <div className="topbar-icon" onClick={() => window.open(
+ "https://brown-dash.github.io/Dash-Documentation/", "_blank")}>
{"Help"}<FontAwesomeIcon icon="question-circle"></FontAwesomeIcon>
</div>
<div className="topbar-icon" onClick={() => SettingsManager.Instance.open()}>