Restore native window chrome
// FREEBIE
This commit is contained in:
parent
82ce76265d
commit
2f8d973366
5 changed files with 4 additions and 11 deletions
|
@ -10,7 +10,6 @@
|
||||||
<li><a class='show-debug-log'>Submit debug log</a></li>
|
<li><a class='show-debug-log'>Submit debug log</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<span class='title-text'>Signal</span>
|
|
||||||
<span class='socket-status'></span>
|
<span class='socket-status'></span>
|
||||||
</div>
|
</div>
|
||||||
<div class='gutter'>
|
<div class='gutter'>
|
||||||
|
|
|
@ -63,8 +63,6 @@
|
||||||
extension.windows.open({
|
extension.windows.open({
|
||||||
id: 'inbox',
|
id: 'inbox',
|
||||||
url: 'index.html',
|
url: 'index.html',
|
||||||
type: 'panel',
|
|
||||||
frame: 'none',
|
|
||||||
focused: true,
|
focused: true,
|
||||||
width: 580,
|
width: 580,
|
||||||
height: 440,
|
height: 440,
|
||||||
|
|
|
@ -119,10 +119,6 @@
|
||||||
extension.windows.beforeUnload(function() {
|
extension.windows.beforeUnload(function() {
|
||||||
this.inboxListView.stopListening();
|
this.inboxListView.stopListening();
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
new Whisper.WindowControlsView({
|
|
||||||
appWindow: options.appWindow
|
|
||||||
}).$el.appendTo(this.$('#header'));
|
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
'click': 'closeMenu',
|
'click': 'closeMenu',
|
||||||
|
|
|
@ -85,7 +85,7 @@ button.back {
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: right;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ button.back {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
right: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: solid 1px $blue;
|
border: solid 1px $blue;
|
||||||
|
|
|
@ -84,7 +84,7 @@ button.back {
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: right;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
padding-right: 8px; }
|
padding-right: 8px; }
|
||||||
.menu .hamburger {
|
.menu .hamburger {
|
||||||
|
@ -97,7 +97,7 @@ button.back {
|
||||||
color: #454545;
|
color: #454545;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
right: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: solid 1px #2090ea;
|
border: solid 1px #2090ea;
|
||||||
|
|
Loading…
Reference in a new issue