mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 13:18:40 -09:00
Centered traffic lights & disabled text selection for indicator (#36)
* Disallow text selection within indicator * Fix size of menu * More spacing within text element * Make traffic lights inset
This commit is contained in:
parent
026252da8f
commit
647d024a39
4 changed files with 13 additions and 7 deletions
|
|
@ -43,6 +43,12 @@ header {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.resize-indicator,
|
||||||
|
.update-indicator {
|
||||||
|
cursor: default;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
.resize-indicator {
|
.resize-indicator {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font: 11px Menlo;
|
font: 11px Menlo;
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ nav {
|
||||||
"Segoe UI", "Roboto", "Oxygen",
|
"Segoe UI", "Roboto", "Oxygen",
|
||||||
"Ubuntu", "Cantarell", "Fira Sans",
|
"Ubuntu", "Cantarell", "Fira Sans",
|
||||||
"Droid Sans", "Helvetica Neue", sans-serif;
|
"Droid Sans", "Helvetica Neue", sans-serif;
|
||||||
height: 28px;
|
height: 37px;
|
||||||
line-height: 28px;
|
line-height: 37px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
color: #9B9B9B;
|
color: #9B9B9B;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
@ -19,13 +19,13 @@ nav {
|
||||||
|
|
||||||
.tabs {
|
.tabs {
|
||||||
border-bottom: 1px solid #333;
|
border-bottom: 1px solid #333;
|
||||||
max-height: 28px;
|
max-height: 37px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row;
|
flex-flow: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs li:first-child {
|
.tabs li:first-child {
|
||||||
margin-left: 70px;
|
margin-left: 76px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs li {
|
.tabs li {
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ export default class HyperTerm extends Component {
|
||||||
this.state = {
|
this.state = {
|
||||||
cols: null,
|
cols: null,
|
||||||
rows: null,
|
rows: null,
|
||||||
hpadding: 10,
|
hpadding: 12,
|
||||||
vpadding: 5,
|
vpadding: 19,
|
||||||
sessions: [],
|
sessions: [],
|
||||||
titles: {},
|
titles: {},
|
||||||
urls: {},
|
urls: {},
|
||||||
|
|
|
||||||
2
index.js
2
index.js
|
|
@ -42,7 +42,7 @@ app.on('ready', () => {
|
||||||
let win = new BrowserWindow({
|
let win = new BrowserWindow({
|
||||||
width: 540,
|
width: 540,
|
||||||
height: 380,
|
height: 380,
|
||||||
titleBarStyle: 'hidden',
|
titleBarStyle: 'hidden-inset',
|
||||||
title: 'HyperTerm',
|
title: 'HyperTerm',
|
||||||
backgroundColor: config.getConfig().backgroundColor || '#000',
|
backgroundColor: config.getConfig().backgroundColor || '#000',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue