Electron-134 - Completed the notification redesign

This commit is contained in:
Kiran Niranjan 2017-10-10 14:37:11 +05:30 committed by Kiran Niranjan
parent cdc249857d
commit 6b6a1d27a7
3 changed files with 7 additions and 6 deletions

View File

@ -16,7 +16,7 @@
</p> </p>
<p> <p>
<label for='image'>image url:</label> <label for='image'>image url:</label>
<input type='text' id='image' value='https://lh3.googleusercontent.com/-s2PXL6wWMCc/AAAAAAAAAAI/AAAAAAAAAAA/AAomvV2gUNMMeFsOijwVVpihfg_anpKWQA/s32-c-mo/photo.jpg'/> <input type='text' id='image' value='https://avatars0.githubusercontent.com/u/13243259?v=4&s=460'/>
</p> </p>
<p> <p>
<label for='flash'>flash:</label> <label for='flash'>flash:</label>

View File

@ -7,7 +7,8 @@
</div> </div>
<div id="header"> <div id="header">
<span id="title"></span> <span id="title"></span>
<span id="pod">corporate.symphony.com</span> <!-- Hard coding this until the backend is ready -->
<span id="pod">symphony</span>
<span id="message"></span> <span id="message"></span>
</div> </div>
<div id="picture"> <div id="picture">

View File

@ -55,7 +55,7 @@ let config = {
// corner to put notifications // corner to put notifications
// upper-right, upper-left, lower-right, lower-left // upper-right, upper-left, lower-right, lower-left
startCorner: 'upper-right', startCorner: 'upper-right',
width: 370, width: 380,
height: 70, height: 70,
borderRadius: 5, borderRadius: 5,
displayTime: 5000, displayTime: 5000,
@ -83,8 +83,8 @@ let config = {
defaultStyleImage: { defaultStyleImage: {
height: 43, height: 43,
position: 'absolute', position: 'absolute',
right: 13, right: 30,
top: 13, top: 11,
width: 43 width: 43
}, },
defaultStyleClose: { defaultStyleClose: {
@ -124,7 +124,7 @@ let config = {
fontSize: 12, fontSize: 12,
color: '#4a4a4a', color: '#4a4a4a',
marginTop: 6, marginTop: 6,
marginRight: 52, marginRight: 65,
marginLeft: 52, marginLeft: 52,
overflow: 'hidden', overflow: 'hidden',
display: '-webkit-box', display: '-webkit-box',