Added content from old ESPTerm repo @ b8ed46cbea0b88730a2a6bad8375790158110910
This commit is contained in:
@@ -0,0 +1,128 @@
|
||||
.page-about {
|
||||
.Box {
|
||||
padding-left:dist(0);
|
||||
padding-right:dist(0);
|
||||
|
||||
a {font-weight: bold;}
|
||||
}
|
||||
|
||||
#logo {
|
||||
float:right;
|
||||
height: 130px;
|
||||
}
|
||||
|
||||
// mobile friendly
|
||||
#logo2 {
|
||||
max-width: 100%;
|
||||
margin: 1rem;
|
||||
}
|
||||
|
||||
td {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.page-help {
|
||||
code {
|
||||
background: rgba(33, 97, 109, 0.31);
|
||||
border-radius: 1px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.colorprev {
|
||||
margin-top: dist(-2);
|
||||
margin-bottom: dist(-2);
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 2em;
|
||||
padding: dist(-2) 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.Row table {
|
||||
&,td,th{
|
||||
border: 1px solid #666;
|
||||
}
|
||||
|
||||
th,td {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: rgba(255,255,255,.1);
|
||||
}
|
||||
}
|
||||
|
||||
.ansiref {
|
||||
&.w100 {
|
||||
width: 100%;
|
||||
|
||||
td:nth-child(1) {
|
||||
width: 8em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nomen {
|
||||
width: 100%;
|
||||
|
||||
code {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
td:last-child {
|
||||
min-width: 15em;
|
||||
}
|
||||
}
|
||||
|
||||
.tscroll {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.charset {
|
||||
line-height: 1;
|
||||
|
||||
div {
|
||||
display: inline-block;
|
||||
width: 2.7em;
|
||||
border: 1px solid #666;
|
||||
height: 3em;
|
||||
margin: 1px;
|
||||
position: relative;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
span:nth-child(1) {
|
||||
left: .2em;
|
||||
top: .2em;
|
||||
height: 1em;
|
||||
font-size: 85%;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
span:nth-child(2) {
|
||||
right: .2em;
|
||||
top: .2em;
|
||||
height: 1em;
|
||||
font-size: 85%;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
span:nth-child(3) {
|
||||
width: 100%;
|
||||
font-size: 105%;
|
||||
text-align: center;
|
||||
bottom: .4em;
|
||||
font-family: $screen-stack;
|
||||
}
|
||||
|
||||
&.none {
|
||||
opacity: .4;
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+315
@@ -0,0 +1,315 @@
|
||||
body.term {
|
||||
#content {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
h1 {
|
||||
font-size: fsize(5);
|
||||
@include media($phone) {
|
||||
font-size: fsize(3);
|
||||
}
|
||||
}
|
||||
|
||||
// longer duration to load everything in background nicely
|
||||
transition: opacity 0.25s ease-in;
|
||||
}
|
||||
}
|
||||
|
||||
#screen {
|
||||
white-space: nowrap;
|
||||
background: #111213;
|
||||
padding: 6px;
|
||||
display: inline-block;
|
||||
border: 2px solid #3983CD;
|
||||
|
||||
font-size: 20px; // some font heights cause visual glitches with some font renderers. This should be configurable.
|
||||
font-family: $screen-stack;
|
||||
|
||||
span {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
> span {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
&::before {
|
||||
content: " ";
|
||||
}
|
||||
|
||||
> span {
|
||||
position:absolute;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&.noselect {
|
||||
@include noselect();
|
||||
}
|
||||
}
|
||||
|
||||
#action-buttons {
|
||||
margin-top: 10px;
|
||||
white-space: nowrap;
|
||||
|
||||
button {
|
||||
margin: 0 3px;
|
||||
padding: 8px 5px;
|
||||
min-width: 62px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
|
||||
&:focus {
|
||||
outline: 0 none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#term-nav {
|
||||
padding-top: 1.5em;
|
||||
text-align: center;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
padding: 5px 5px;
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
|
||||
&, &:visited, &:link {
|
||||
color: #336085;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: #5abfff;
|
||||
background: #1b273c;
|
||||
}
|
||||
|
||||
&:active {
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
i::before {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-left: .2em;
|
||||
}
|
||||
|
||||
@include media($phone) {
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
font-size: 130%;
|
||||
padding: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.icn-keyboard {
|
||||
text-decoration: none;
|
||||
font-size: 130%; // make it bigger - icon is too small to be recognizable
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
#term-wrap {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// Dummy input field used to open android keyboard
|
||||
#softkb-input {
|
||||
position: absolute;
|
||||
top: -9999px;
|
||||
}
|
||||
|
||||
#fu_modal {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
#fu_form {
|
||||
//border: 1px solid #3983CD;
|
||||
//border-radius: 2px;
|
||||
//padding: 0 dist(0);
|
||||
//background: #333e58;
|
||||
padding: dist(0);
|
||||
margin-top: 100px; // offset
|
||||
|
||||
z-index: 1000;
|
||||
|
||||
label {
|
||||
width: 8em;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
input[type="number"], select {
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
min-height: 8em;
|
||||
margin-top: dist(-1);
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.fu-buttons {
|
||||
text-align: center;
|
||||
padding: dist(-2);
|
||||
margin-top: dist(-2);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.fu-prog-box {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.busy {
|
||||
background: rgba($c-modal-bg, .3);
|
||||
border-left-color: rgba($c-form-highlight, .3);
|
||||
border-right-color: rgba($c-form-highlight, .3);
|
||||
|
||||
.fu-content {
|
||||
@include click-through;
|
||||
opacity: .3;
|
||||
}
|
||||
|
||||
.fu-buttons {
|
||||
text-align: left;
|
||||
background: $c-modal-bg;
|
||||
border: 1px solid $c-form-highlight;
|
||||
}
|
||||
|
||||
.fu-prog-box {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Tango
|
||||
.theme-0 {
|
||||
$term-colors:
|
||||
#111213, #CC0000, #4E9A06, #C4A000, #3465A4, #75507B, #06989A, #D3D7CF,
|
||||
#555753, #EF2929, #8AE234, #FCE94F, #729FCF, #AD7FA8, #34E2E2, #EEEEEC;
|
||||
@for $i from 1 through length($term-colors) {
|
||||
$c: nth($term-colors, $i);
|
||||
.fg#{$i - 1} { color: $c; }
|
||||
.bg#{$i - 1} { background-color: $c; }
|
||||
}
|
||||
}
|
||||
|
||||
// Linux
|
||||
.theme-1 {
|
||||
$term-colors:
|
||||
#000000, #aa0000, #00aa00, #aa5500, #0000aa, #aa00aa, #00aaaa, #aaaaaa,
|
||||
#555555, #ff5555, #55ff55, #ffff55, #5555ff, #ff55ff, #55ffff, #ffffff;
|
||||
@for $i from 1 through length($term-colors) {
|
||||
$c: nth($term-colors, $i);
|
||||
.fg#{$i - 1} { color: $c; }
|
||||
.bg#{$i - 1} { background-color: $c; }
|
||||
}
|
||||
}
|
||||
|
||||
// xterm
|
||||
.theme-2 {
|
||||
$term-colors:
|
||||
#000000, #cd0000, #00cd00, #cdcd00, #0000ee, #cd00cd, #00cdcd, #e5e5e5,
|
||||
#7f7f7f, #ff0000, #00ff00, #ffff00, #5c5cff, #ff00ff, #00ffff, #ffffff;
|
||||
@for $i from 1 through length($term-colors) {
|
||||
$c: nth($term-colors, $i);
|
||||
.fg#{$i - 1} { color: $c; }
|
||||
.bg#{$i - 1} { background-color: $c; }
|
||||
}
|
||||
}
|
||||
|
||||
// rxvt
|
||||
.theme-3 {
|
||||
$term-colors:
|
||||
#000000, #cd0000, #00cd00, #cdcd00, #0000cd, #cd00cd, #00cdcd, #faebd7,
|
||||
#404040, #ff0000, #00ff00, #ffff00, #0000ff, #ff00ff, #00ffff, #ffffff;
|
||||
@for $i from 1 through length($term-colors) {
|
||||
$c: nth($term-colors, $i);
|
||||
.fg#{$i - 1} { color: $c; }
|
||||
.bg#{$i - 1} { background-color: $c; }
|
||||
}
|
||||
}
|
||||
|
||||
// Ambience
|
||||
.theme-4 {
|
||||
$term-colors:
|
||||
#2e3436, #cc0000, #4e9a06, #c4a000, #3465a4, #75507b, #06989a, #d3d7cf,
|
||||
#555753, #ef2929, #8ae234, #fce94f, #729fcf, #ad7fa8, #34e2e2, #eeeeec;
|
||||
@for $i from 1 through length($term-colors) {
|
||||
$c: nth($term-colors, $i);
|
||||
.fg#{$i - 1} { color: $c; }
|
||||
.bg#{$i - 1} { background-color: $c; }
|
||||
}
|
||||
}
|
||||
|
||||
// Solarized
|
||||
.theme-5 {
|
||||
$term-colors:
|
||||
#073642, #dc322f, #859900, #b58900, #268bd2, #d33682, #2aa198, #eee8d5,
|
||||
#002b36, #cb4b16, #586e75, #657b83, #839496, #6c71c4, #93a1a1, #fdf6e3;
|
||||
@for $i from 1 through length($term-colors) {
|
||||
$c: nth($term-colors, $i);
|
||||
.fg#{$i - 1} { color: $c; }
|
||||
.bg#{$i - 1} { background-color: $c; }
|
||||
}
|
||||
}
|
||||
|
||||
// Attributes
|
||||
.bold {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.faint span { // content of faint is wrapped in span
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.under {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.strike {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.underline.strike {
|
||||
text-decoration: underline line-through;
|
||||
}
|
||||
|
||||
.blink-hide .blink {
|
||||
color: transparent;
|
||||
}
|
||||
//
|
||||
|
||||
.Row.color-preview {
|
||||
font-family: monospace;
|
||||
font-size: 16pt;
|
||||
display: block;
|
||||
margin-bottom: 0;
|
||||
|
||||
padding-left: $form-label-w;
|
||||
|
||||
@include media($phone) {
|
||||
padding-left: 0;
|
||||
font-size: 14pt;
|
||||
}
|
||||
|
||||
.colorprev {
|
||||
display:block;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
#color-example {
|
||||
display: inline-block;
|
||||
padding: 5px;
|
||||
}
|
||||
Executable
+186
@@ -0,0 +1,186 @@
|
||||
#ap-list {
|
||||
column-count: 3;
|
||||
column-gap: 0;
|
||||
|
||||
@include media($tablet) {
|
||||
column-count: 2;
|
||||
}
|
||||
|
||||
@include media($phone) {
|
||||
column-count: 1;
|
||||
}
|
||||
|
||||
margin: 0 (- dist(-3));
|
||||
}
|
||||
|
||||
#ap-loader, #ap-noscan, #ap-scan {
|
||||
background: rgba(white, .1);
|
||||
border-radius: 5px;
|
||||
padding: dist(-2);
|
||||
margin-bottom: dist(-2);
|
||||
margin-top: dist(-2);
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
#ap-noscan {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#ap-box {
|
||||
padding-top: dist(-2);
|
||||
|
||||
label {
|
||||
display: block;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
margin-bottom: dist(-3);
|
||||
}
|
||||
}
|
||||
|
||||
#psk-modal form {
|
||||
@extend %form-row-spacing;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: dist(-2);
|
||||
|
||||
input[type=password] {
|
||||
min-width: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
#wificonfbox form {
|
||||
@extend %form-row-spacing;
|
||||
}
|
||||
|
||||
%ap-inner {
|
||||
cursor: pointer;
|
||||
@include noselect;
|
||||
|
||||
position: relative;
|
||||
&:active {
|
||||
left: 0;
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
border-radius: 3px;
|
||||
color: #222;
|
||||
|
||||
background: #afafaf;
|
||||
transition: background-color 0.5s;
|
||||
&:hover { background: white }
|
||||
|
||||
display: flex;
|
||||
|
||||
.rssi {
|
||||
min-width: 2.5rem;
|
||||
flex: 0 0 15%;
|
||||
text-align: right;
|
||||
|
||||
&:after {
|
||||
padding-left: dist(-5);
|
||||
content: '%';
|
||||
font-size: fsize(-1);
|
||||
}
|
||||
}
|
||||
|
||||
.essid {
|
||||
flex: 1 1 70%;
|
||||
min-width: 0;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.auth {
|
||||
flex: 0 0 15%;
|
||||
}
|
||||
}
|
||||
|
||||
.AP {
|
||||
// can't use margins inside a column
|
||||
|
||||
break-inside: avoid-column;
|
||||
max-width: 500px;
|
||||
padding: dist(-3);
|
||||
|
||||
&.selected .inner {//#70dfa3
|
||||
background: #42a6f9 !important; // override the hover effect #43de81
|
||||
cursor: default;
|
||||
top: 0 !important; // no click effect
|
||||
}
|
||||
|
||||
.inner {
|
||||
@extend %ap-inner;
|
||||
|
||||
& > * {
|
||||
padding: dist(-1);
|
||||
@include nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.AP-preview-nil {
|
||||
padding: 8px;
|
||||
border-radius: 5px;
|
||||
border: 1px dashed #ddd;
|
||||
width: 250px;
|
||||
height: 94px;
|
||||
}
|
||||
|
||||
.AP-preview {
|
||||
.wrap {
|
||||
@extend %ap-inner;
|
||||
|
||||
flex-direction: row;
|
||||
background: #ddd !important; // override the hover effect #43de81
|
||||
cursor: default;
|
||||
top: 0 !important; // no click effect
|
||||
overflow: hidden;
|
||||
|
||||
.inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
& > * {
|
||||
padding: dist(-1);
|
||||
@include nowrap;
|
||||
}
|
||||
}
|
||||
.forget {
|
||||
align-self: stretch;
|
||||
line-height: 100%;
|
||||
padding: dist(-1);
|
||||
border-left: 1px solid #bbb;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&, &:hover {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
font-size: 28px;
|
||||
|
||||
&:hover {
|
||||
background: #dc4a6a;
|
||||
color: white;
|
||||
border-left: 1px solid #666;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
&:active {
|
||||
position: relative;
|
||||
padding-top: calc(#{dist(-1)} + 1px);
|
||||
}
|
||||
}
|
||||
|
||||
.essid, .passwd, .nopasswd {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.x-passwd {
|
||||
font-family: monospace;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user