mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
Electron-134 - Updated logos
This commit is contained in:
parent
3aadfeeff0
commit
b94dbdef68
BIN
js/notify/assets/symphony-logo-black.png
Normal file
BIN
js/notify/assets/symphony-logo-black.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
js/notify/assets/symphony-logo-white.png
Normal file
BIN
js/notify/assets/symphony-logo-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
@ -78,6 +78,45 @@ function setContents(event, notificationObj) {
|
||||
|
||||
if (notificationObj.color) {
|
||||
container.style.backgroundColor = notificationObj.color;
|
||||
|
||||
if (notificationObj.color.match(/^(?:white|#fff(?:fff)?|rgba?\(\s*255\s*,\s*255\s*,\s*255\s*(?:,\s*1\s*)?\))$/i)) {
|
||||
let logo = notiDoc.getElementById('symphony-logo');
|
||||
logo.src = './assets/symphony-logo-black.png';
|
||||
} else {
|
||||
|
||||
let logo = notiDoc.getElementById('symphony-logo');
|
||||
let title = notiDoc.getElementById('title');
|
||||
let pod = notiDoc.getElementById('pod');
|
||||
let message = notiDoc.getElementById('message');
|
||||
|
||||
message.style.color = '#ffffff';
|
||||
title.style.color = '#ffffff';
|
||||
logo.src = './assets/symphony-logo-white.png';
|
||||
|
||||
switch (notificationObj.color){
|
||||
case '#ecc96f':
|
||||
pod.style.color = '#917630';
|
||||
break;
|
||||
case '#a2bf73':
|
||||
pod.style.color = '#5c6f3e';
|
||||
break;
|
||||
case '#52c5ff':
|
||||
pod.style.color = '#397797';
|
||||
break;
|
||||
case '#edac50':
|
||||
pod.style.color = '#8e6428';
|
||||
break;
|
||||
case '#b76069':
|
||||
pod.style.color = '#6d2930';
|
||||
break;
|
||||
case '#ac8dae':
|
||||
pod.style.color = '#553a57';
|
||||
break;
|
||||
default:
|
||||
pod.style.color = '#adadad';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (notificationObj.flash) {
|
||||
|
@ -3,97 +3,7 @@
|
||||
<body style='margin:0; overflow: hidden; -webkit-user-select: none;'>
|
||||
<div id="container">
|
||||
<div style="overflow: hidden; position: absolute; transform: translate(-25px, 10px);">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve">
|
||||
<image overflow="visible" width="122" height="121" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAAB5CAYAAAD2zTVKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
|
||||
bWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdp
|
||||
bj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6
|
||||
eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0
|
||||
NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJo
|
||||
dHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlw
|
||||
dGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAv
|
||||
IiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RS
|
||||
ZWY9Imh0dH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wqQA38Qd1yTuviMy9m/JUkSF5RxRr8G/wS0GArE8iuqTOKU6/ohvth8nBsYy9ADQh
|
||||
nJAa698ARJDmzkuK068ck5X/fkjuj8tKJNA8Kb+SdfxykFJWGvWVwm3YX1cZrWXqkneHmX6tsCnC
|
||||
ojVploI/9b9TLCyN9pIi7XmgTQlr8Vu6fer/C7DiMAC/IqsrU1KkKdCGRE4/kBNyOaHxA1i+jtVN
|
||||
iWxMsCySmbfOByZB1XVHLVIYOGnT6HMsCM5Tn5HVOsPmfgE/84tPRZGsGf8tvynSYH2MwjYpQItw
|
||||
jDsFwPvb+NdrLIZCAEATQH4O0DdDCPNSoFsAMIqYl8OwdsdQ/RLA36qoxA2fXLyfAh2d5OG3iwD+
|
||||
PszsPwO6Pu9dj4GNxyJFqrHNUu9IlazifcnaBelPP6ooIKzXNfUE646b6BTpCMUsRZoCHazENkWa
|
||||
Ah28rJNVlx2bFGkKtAEORNYmS1Gx8RToBIpUkbLwvvx0CnRyhdm91IBxirQ/BTq5skr/6+DQfWAp
|
||||
0AkUXazIlbHzKdDJFd5Mkfw3NxiMpkAnV7bJap/lrFnYp0J0RxlMl4v0TAsZ40LGTAp0coSrU3mP
|
||||
fBbAsp/mrJm8ojEFustFXkk8p+b3FHF1ZC+jSYEOVoO54IE3M6SMiXfMuLdqhyIu9k+B9i9FaHBF
|
||||
zae0HK1TTI7DToH2Pm9j0OARW9y8BZCv43bDqXQWJlNcmiSnOQzZmPMFWcdZ3MR1ZaZyG1COcUsY
|
||||
ckboYIucg7yRlhv7TuL+YL0OND//TyBSfQ7mg7Nc3AYsJcSNbnrQXpdWhfdMpq4QDp0CYP3a3u4z
|
||||
VT1UBWpnymNknXJfh2+tAuBaEh7yznLfVJIp/xVgABIoTQe7mM//AAAAAElFTkSuQmCC" transform="matrix(0.5246 0 0 0.5246 0 0.2622)">
|
||||
</image>
|
||||
</svg>
|
||||
<img src="" id="symphony-logo">
|
||||
</div>
|
||||
<div id="header">
|
||||
<span id="title"></span>
|
||||
@ -103,12 +13,12 @@
|
||||
<div id="picture">
|
||||
<img src="" id="image" />
|
||||
</div>
|
||||
<!--<div id="close">
|
||||
<div id="close">
|
||||
<svg fill="#000000" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path>
|
||||
<path d="M0 0h24v24H0z" fill="none"></path>
|
||||
</svg>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -57,7 +57,7 @@ let config = {
|
||||
startCorner: 'upper-right',
|
||||
width: 370,
|
||||
height: 70,
|
||||
borderRadius: 2,
|
||||
borderRadius: 5,
|
||||
displayTime: 5000,
|
||||
animationSteps: 5,
|
||||
animationStepMs: 5,
|
||||
@ -98,10 +98,10 @@ let config = {
|
||||
color: '#CCC'
|
||||
},
|
||||
defaultStyleTitle: {
|
||||
fontFamily: 'Lato-Bold',
|
||||
fontFamily: 'Lato-Bold, san-serif',
|
||||
fontSize: 14,
|
||||
fontWeight: 700,
|
||||
color: '#ffffff',
|
||||
color: '#4a4a4a',
|
||||
marginLeft: 52,
|
||||
overflow: 'hidden',
|
||||
display: '-webkit-box',
|
||||
@ -109,9 +109,9 @@ let config = {
|
||||
webkitBoxOrient: 'vertical',
|
||||
},
|
||||
defaultStylePod: {
|
||||
fontFamily: 'Lato-Regular',
|
||||
fontFamily: 'Lato-Regular, san-serif',
|
||||
fontSize: 11,
|
||||
color: '#397797',
|
||||
color: '#adadad',
|
||||
marginLeft: 52,
|
||||
overflow: 'hidden',
|
||||
display: '-webkit-box',
|
||||
@ -119,9 +119,9 @@ let config = {
|
||||
webkitBoxOrient: 'vertical',
|
||||
},
|
||||
defaultStyleText: {
|
||||
fontFamily: 'Lato-Regular',
|
||||
fontFamily: 'Lato-Regular, san-serif',
|
||||
fontSize: 12,
|
||||
color: '#ffffff',
|
||||
color: '#4a4a4a',
|
||||
marginTop: 6,
|
||||
marginRight: 52,
|
||||
marginLeft: 52,
|
||||
|
Loading…
Reference in New Issue
Block a user