From 9b52c0798508a003a722c7bcd849c7ed977e3487 Mon Sep 17 00:00:00 2001 From: Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:16:34 -0400 Subject: updated to add tooltips also removed background colour for stacking docs (ask bob why we are setting arbitrary background colour for stacking docs?) --- .../views/collections/CollectionStackingView.tsx | 2 +- src/client/views/nodes/button/FontIconBox.tsx | 2 +- src/client/views/topbar/TopBar.scss | 18 +-------------- src/client/views/topbar/TopBar.tsx | 26 +++++++++------------- .../Session/utilities/session_config.ts | 2 +- src/server/server_Initialization.ts | 2 +- 6 files changed, 16 insertions(+), 36 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index ec529afc3..805002452 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -138,7 +138,7 @@ export class CollectionStackingView extends CollectionSubView diff --git a/src/client/views/nodes/button/FontIconBox.tsx b/src/client/views/nodes/button/FontIconBox.tsx index e2fe0bcf1..b9f75444f 100644 --- a/src/client/views/nodes/button/FontIconBox.tsx +++ b/src/client/views/nodes/button/FontIconBox.tsx @@ -475,7 +475,7 @@ export class FontIconBox extends DocComponent() { ); console.log("switchToggle", switchToggle, this.rootDoc.title) return ( - + ) if (switchToggle) { diff --git a/src/client/views/topbar/TopBar.scss b/src/client/views/topbar/TopBar.scss index ede59a910..2237d5ac1 100644 --- a/src/client/views/topbar/TopBar.scss +++ b/src/client/views/topbar/TopBar.scss @@ -1,22 +1,6 @@ @import '../global/globalCssVariables'; -.iconButton-container.primary { - color: white; - .iconButton-background { - filter: unset; - background: transparent; - } -} -.topbarHeart-red { - .iconButton-container.primary { - .iconButton-content { - color: red; - } - .iconButton-background { - background: black; - } - } -} + .topbar-container { flex-direction: column; font-size: 10px; diff --git a/src/client/views/topbar/TopBar.tsx b/src/client/views/topbar/TopBar.tsx index 1d9c25e3c..a73d5cce0 100644 --- a/src/client/views/topbar/TopBar.tsx +++ b/src/client/views/topbar/TopBar.tsx @@ -147,21 +147,17 @@ export class TopBar extends React.Component { }} size={Size.SMALL} />} - } /> - } /> - window.open('https://brown-dash.github.io/Dash-Documentation/', '_blank')} icon={} /> - } /> - {'Server connection ' + (PingManager.Instance.IsBeating ? 'active' : 'broken')}}> -
- } - /> -
-
+ } /> + } /> + window.open('https://brown-dash.github.io/Dash-Documentation/', '_blank')} icon={} /> + } /> + } + /> {/*