mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -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;
|
||||
}
|
||||
|
||||
.resize-indicator,
|
||||
.update-indicator {
|
||||
cursor: default;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
.resize-indicator {
|
||||
color: #fff;
|
||||
font: 11px Menlo;
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ nav {
|
|||
"Segoe UI", "Roboto", "Oxygen",
|
||||
"Ubuntu", "Cantarell", "Fira Sans",
|
||||
"Droid Sans", "Helvetica Neue", sans-serif;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
height: 37px;
|
||||
line-height: 37px;
|
||||
vertical-align: middle;
|
||||
color: #9B9B9B;
|
||||
cursor: default;
|
||||
|
|
@ -19,13 +19,13 @@ nav {
|
|||
|
||||
.tabs {
|
||||
border-bottom: 1px solid #333;
|
||||
max-height: 28px;
|
||||
max-height: 37px;
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
}
|
||||
|
||||
.tabs li:first-child {
|
||||
margin-left: 70px;
|
||||
margin-left: 76px;
|
||||
}
|
||||
|
||||
.tabs li {
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ export default class HyperTerm extends Component {
|
|||
this.state = {
|
||||
cols: null,
|
||||
rows: null,
|
||||
hpadding: 10,
|
||||
vpadding: 5,
|
||||
hpadding: 12,
|
||||
vpadding: 19,
|
||||
sessions: [],
|
||||
titles: {},
|
||||
urls: {},
|
||||
|
|
|
|||
2
index.js
2
index.js
|
|
@ -42,7 +42,7 @@ app.on('ready', () => {
|
|||
let win = new BrowserWindow({
|
||||
width: 540,
|
||||
height: 380,
|
||||
titleBarStyle: 'hidden',
|
||||
titleBarStyle: 'hidden-inset',
|
||||
title: 'HyperTerm',
|
||||
backgroundColor: config.getConfig().backgroundColor || '#000',
|
||||
transparent: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue