hyper/app/css/hyperterm.css
Leo Lamprecht 647d024a39 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
2016-07-08 06:03:40 -07:00

105 lines
1.4 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,
.update-indicator {
cursor: default;
-webkit-user-select: none;
}
.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: #7ED321;
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 .close {
color: #528D11;
cursor: pointer;
}
.update-indicator.showing {
opacity: 1;
pointer-events: inherit;
}
.icon {
vertical-align: middle;
fill: currentColor;
width: 1em;
height: 1em;
}