aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/topbar
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2021-09-09 23:48:52 -0400
committerGitHub <noreply@github.com>2021-09-09 23:48:52 -0400
commitbc35345fdf72f26c5c94909180109a998c1513c0 (patch)
tree4000ee3540ebb84db85ffcfb8e09e43ec0fe92fc /src/client/views/topbar
parent2d2e027f11253834a337680bbfd1ac549bb2a1f0 (diff)
parent9d177851ecaaea1a89ac9b7de1cec16368603eaa (diff)
Merge pull request #35 from brown-dash/menu_updates_geireann
Menu updates geireann
Diffstat (limited to 'src/client/views/topbar')
-rw-r--r--src/client/views/topbar/TopBar.scss24
-rw-r--r--src/client/views/topbar/TopBar.tsx5
2 files changed, 16 insertions, 13 deletions
diff --git a/src/client/views/topbar/TopBar.scss b/src/client/views/topbar/TopBar.scss
index d04ae8a80..923f1892e 100644
--- a/src/client/views/topbar/TopBar.scss
+++ b/src/client/views/topbar/TopBar.scss
@@ -22,7 +22,7 @@
.topBar-icon {
cursor: pointer;
- font-size: 12px;
+ font-size: 12.5px;
font-family: 'Roboto';
width: fit-content;
display: flex;
@@ -31,18 +31,20 @@
align-items: center;
justify-self: center;
align-self: center;
- border-radius: 5px;
+ border-radius: $standard-border-radius;
padding: 5px;
- transition: linear 0.1s;
+ transition: linear 0.2s;
color: $black;
background-color: $light-gray;
- }
- .topBar-icon:hover {
- background-color: $light-blue;
+ &:hover {
+ background-color: darken($color: $light-gray, $amount: 20);
+ }
}
-
+
+
+
.topbar-center {
grid-column: 2;
display: inline-flex;
@@ -59,7 +61,7 @@
.topbar-lozenge-dashboard {
display: flex;
-
+
.topbar-dashSelect {
border: none;
@@ -156,9 +158,9 @@
}
&.topbar-input {
- margin:5px;
- border-radius:20px;
- border:$dark-gray;
+ margin: 5px;
+ border-radius: 20px;
+ border: $dark-gray;
display: block;
width: 130px;
-webkit-transition: width 0.4s;
diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx
index 05edb975c..d5254e315 100644
--- a/src/client/views/topbar/TopBar.tsx
+++ b/src/client/views/topbar/TopBar.tsx
@@ -28,7 +28,7 @@ export class TopBar extends React.Component {
{`${Doc.CurrentUserEmail}`}
</div>
<div className="topbar-icon" onClick={() => window.location.assign(Utils.prepend("/logout"))}>
- {"Sign out"}
+ {"Log out"}
</div>
</div>
<div className="topbar-center" >
@@ -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()}>