mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
* font size improvements - fixed keyboard shortcut registering (listeners were being called twice) - now saving fontSize in the state of Hyperterm - Term now accepts fontSize as a prop and internally sets it - added font size indicator on change (next to rows x cols) * linting * removed font size shortcuts from Hyperterm component, still in electron * only show font size indicator when it has changed * clean up fontSizeIndicatorTimeout on unmount, changeFontSize 2nd arg is now an options object
87 lines
1.2 KiB
CSS
87 lines
1.2 KiB
CSS
.main {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border: 1px solid #333;
|
|
}
|
|
|
|
.mac.main {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
header {
|
|
position: fixed;
|
|
top: 1px;
|
|
left: 1px;
|
|
right: 1px;
|
|
background: #000;
|
|
z-index: 100;
|
|
}
|
|
|
|
.mac header {
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
}
|
|
|
|
.terms {
|
|
position: absolute;
|
|
margin-top: 28px;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
color: #fff;
|
|
}
|
|
|
|
.term {
|
|
display: none;
|
|
}
|
|
|
|
.term.active {
|
|
display: block;
|
|
}
|
|
|
|
.resize-indicator {
|
|
color: #fff;
|
|
font: 11px Menlo;
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
opacity: 0;
|
|
transition: opacity 150ms ease-in;
|
|
display: flex;
|
|
}
|
|
|
|
.resize-indicator > div {
|
|
background: rgba(255, 255, 255, .2);
|
|
padding: 6px 14px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.resize-indicator.showing {
|
|
opacity: 1;
|
|
}
|
|
|
|
.update-indicator {
|
|
background: rgba(255, 51, 76, .8);
|
|
padding: 6px 14px;
|
|
color: #fff;
|
|
font: 11px Menlo;
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
opacity: 0;
|
|
transition: opacity 150ms ease-in;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.update-indicator a {
|
|
color: #fff;
|
|
}
|
|
|
|
.update-indicator.showing {
|
|
opacity: 1;
|
|
pointer-events: inherit;
|
|
}
|