diff --git a/config/titleBarStyles.css b/config/titleBarStyles.css index 9d441b855..06ab86378 100644 --- a/config/titleBarStyles.css +++ b/config/titleBarStyles.css @@ -1,4 +1,3 @@ - /*--- title: Tile bar section: div @@ -13,20 +12,20 @@ Typically you'll want to set background-image: url(""); and background-size: cov */ #title-bar { - display: flex; - position: fixed; - background: rgba(74,74,74,1); - top: 0; - left: 0; - width: 100%; - height: 32px; - padding-left: 0; - justify-content: center; - align-items: center; - -webkit-app-region: drag; - -webkit-user-select: none; - box-sizing: content-box; - z-index: 1000; + display: flex; + position: fixed; + background: rgba(74, 74, 74, 1); + top: 0; + left: 0; + width: 100%; + height: 32px; + padding-left: 0; + justify-content: center; + align-items: center; + -webkit-app-region: drag; + -webkit-user-select: none; + box-sizing: content-box; + z-index: 1000; } /*--- @@ -59,96 +58,101 @@ Typically you'll want to set content: url("") and adjust the width property ``` */ .branding-logo { - height: 32px; + height: 32px; } .hamburger-menu-button { - color: rgba(255,255,255,1); - text-align: center; - width: 40px; - height: 32px; - background: center; - border: none; - border-image: initial; - display: inline-grid; - border-radius: 0; - padding: 11px; - box-sizing: border-box; - cursor: default; + color: rgba(255, 255, 255, 1); + text-align: center; + width: 40px; + height: 32px; + background: center; + border: none; + border-image: initial; + display: inline-grid; + border-radius: 0; + padding: 11px; + box-sizing: border-box; + cursor: default; } .hamburger-menu-button:focus { - outline: none; + outline: none; } .title-container { - height: 32px; - flex: 1; - display: flex; - justify-content: flex-start; - align-items: center; - white-space: nowrap; - overflow: hidden; + height: 32px; + flex: 1; + display: flex; + justify-content: flex-start; + align-items: center; + white-space: nowrap; + overflow: hidden; +} + +.symphony-messaging-logo { + width: 20px; + height: 20px; } #title-bar-title { - font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; - color: white; - margin: 0; - padding-left: 10px; - font-size: 13px; + font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; + color: white; + margin: 0; + padding-left: 10px; + font-size: 13px; } .title-bar-button-container { - justify-content: center; - align-items: center; - right: 0; - color: rgba(255,255,255,1); - -webkit-app-region: no-drag; - text-align: center; - width: 45px; - height: 32px; - margin: 0; - box-sizing: border-box !important; - cursor: default; + justify-content: center; + align-items: center; + right: 0; + color: rgba(255, 255, 255, 1); + -webkit-app-region: no-drag; + text-align: center; + width: 45px; + height: 32px; + margin: 0; + box-sizing: border-box !important; + cursor: default; } .title-bar-button { - color: rgba(255,255,255,1); - text-align: center; - width: 45px; - height: 32px; - background: center; - border: none; - border-image: initial; - display: inline-grid; - border-radius: 0; - padding: 10px 15px; - cursor: default; - align-content: center; + color: rgba(255, 255, 255, 1); + text-align: center; + width: 45px; + height: 32px; + background: center; + border: none; + border-image: initial; + display: inline-grid; + border-radius: 0; + padding: 10px 15px; + cursor: default; + align-content: center; } .title-bar-button:hover { - background-color: rgba(255,255,255,0.2); + background-color: rgba(255, 255, 255, 0.2); } .title-bar-button:focus { - outline: none; + outline: none; } .title-bar-button-container:hover { - background-color: rgba(255,255,255,0.2); + background-color: rgba(255, 255, 255, 0.2); } .window-border { - border-left: 1px solid rgba(74,74,74,1); - border-right: 1px solid rgba(74,74,74,1); + border-left: 1px solid rgba(74, 74, 74, 1); + border-right: 1px solid rgba(74, 74, 74, 1); } .bottom-window-border { - position: fixed; - border-bottom: 1px solid rgba(74,74,74,1); - width: 100%; - z-index: 3000; - bottom: 0; + position: fixed; + border-bottom: 1px solid rgba(74, 74, 74, 1); + width: 100%; + z-index: 3000; + bottom: 0; } diff --git a/src/locale/en-US.json b/src/locale/en-US.json index febba183f..9fbb79947 100644 --- a/src/locale/en-US.json +++ b/src/locale/en-US.json @@ -199,6 +199,7 @@ "Client 2.0 channel": "Client 2.0 channel", "SDA update channel": "SDA update channel", "Stable": "Stable", + "Symphony Messaging": "Symphony Messaging", "Latest": "Latest", "Daily": "Daily", "Beta": "Beta", diff --git a/src/locale/en.json b/src/locale/en.json index d4bbfb7eb..1e1315672 100644 --- a/src/locale/en.json +++ b/src/locale/en.json @@ -198,6 +198,7 @@ "Client 2.0 channel": "Client 2.0 channel", "SDA update channel": "SDA update channel", "Stable": "Stable", + "Symphony Messaging": "Symphony Messaging", "Latest": "Latest", "Daily": "Daily", "Beta": "Beta", diff --git a/src/renderer/assets/symphony-messaging.png b/src/renderer/assets/symphony-messaging.png new file mode 100644 index 000000000..303ea413b Binary files /dev/null and b/src/renderer/assets/symphony-messaging.png differ diff --git a/src/renderer/components/windows-title-bar.tsx b/src/renderer/components/windows-title-bar.tsx index ff54e0370..32f37afff 100644 --- a/src/renderer/components/windows-title-bar.tsx +++ b/src/renderer/components/windows-title-bar.tsx @@ -25,7 +25,7 @@ export default class WindowsTitleBar extends React.Component<{}, IState> { constructor(props) { super(props); this.state = { - title: document.title || 'Symphony', + title: document.title || i18n.t('Symphony Messaging')(), isMaximized: false, isDisabled: false, }; @@ -55,7 +55,7 @@ export default class WindowsTitleBar extends React.Component<{}, IState> { this.observer = new MutationObserver((mutations) => { const title: string = mutations[0].target.textContent ? mutations[0].target.textContent - : 'Symphony'; + : i18n.t('Symphony Messaging')(); this.setState({ title }); }); if (target) { @@ -118,7 +118,11 @@ export default class WindowsTitleBar extends React.Component<{}, IState> {
{title}