mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
refactor css into sub-files
This commit is contained in:
@@ -0,0 +1,419 @@
|
||||
.cmd-input-info, .cmd-history {
|
||||
&::-webkit-scrollbar {
|
||||
background-color: #777;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
|
||||
.info-message {
|
||||
position: relative;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
color: @term-white;
|
||||
|
||||
.message-content {
|
||||
position: absolute;
|
||||
display: none;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
top: -6px;
|
||||
left: -6px;
|
||||
padding: 5px;
|
||||
border: 1px solid #777;
|
||||
background-color: #444;
|
||||
border-radius: 5px;
|
||||
z-index: 5;
|
||||
overflow: hidden;
|
||||
|
||||
.info-icon {
|
||||
margin-right: 5px;
|
||||
width: 12px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.info-children {
|
||||
flex: 1 0 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.message-content {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmd-input {
|
||||
border-radius: 0;
|
||||
border-top: 4px solid #ccc;
|
||||
border-right: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-bottom-right-radius: 10px;
|
||||
max-height: max(300px, 40%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding: 20px 25px 20px 20px;
|
||||
z-index: 100;
|
||||
|
||||
&.has-info {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.focus-indicator {
|
||||
height: 90%;
|
||||
top: 5%;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
&.has-history {
|
||||
padding-top: 5px;
|
||||
height: max(300px, 40%);
|
||||
}
|
||||
|
||||
&.has-remote {
|
||||
max-height: max(300px, 70%);
|
||||
}
|
||||
|
||||
.remote-status-warning {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
color: @term-yellow;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
|
||||
.button {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.remote-name {
|
||||
.mono-font(14px)
|
||||
}
|
||||
}
|
||||
|
||||
.input-minmax-control {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
color: @term-white;
|
||||
font-size: 12px;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.cmd-input-grow-spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.cmd-input-context {
|
||||
.mono-font();
|
||||
color: #fff;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cmd-input-field {
|
||||
position: relative;
|
||||
|
||||
.cmd-input-control {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.cmd-hints {
|
||||
position: absolute;
|
||||
bottom: -14px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
color: white;
|
||||
background-color: black;
|
||||
.mono-font();
|
||||
padding-bottom: calc(0.5em - 1px);
|
||||
padding-top: calc(0.5em - 1px);
|
||||
resize: none;
|
||||
overflow-wrap: anywhere;
|
||||
|
||||
&:active, &:focus {
|
||||
border-color: white !important;
|
||||
}
|
||||
|
||||
&.display-disabled {
|
||||
background-color: #444;
|
||||
}
|
||||
}
|
||||
|
||||
input.history-input {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.cmd-quick-context .button {
|
||||
.mono-font();
|
||||
background-color: #000 !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
&.inputmode-global .cmd-quick-context .button {
|
||||
color: black;
|
||||
background-color: @tab-green !important;
|
||||
}
|
||||
|
||||
&.inputmode-comment .cmd-quick-context .button {
|
||||
color: black;
|
||||
background-color: @tab-blue !important;
|
||||
}
|
||||
|
||||
.cmd-exec .button {
|
||||
background-color: #000 !important;
|
||||
color: #d3d7cf;
|
||||
}
|
||||
}
|
||||
|
||||
.cmd-history {
|
||||
color: @term-white;
|
||||
margin-bottom: 5px;
|
||||
overflow: auto;
|
||||
flex-shrink: 1;
|
||||
|
||||
.history-title {
|
||||
position: absolute;
|
||||
z-index: 102;
|
||||
top: 5px;
|
||||
left: 20px;
|
||||
background-color: black;
|
||||
.mono-font(12px, 700);
|
||||
color: @soft-blue;
|
||||
padding-bottom: 4px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: calc(100% - 40px);
|
||||
overflow-x: auto;
|
||||
|
||||
.history-opt {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.history-clickable-opt {
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.grow-spacer {
|
||||
flex: 1 0 10px;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
flex: 0 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.history-items {
|
||||
margin-top: 24px;
|
||||
color: @term-white;
|
||||
.mono-font(12px);
|
||||
padding-bottom: 6px;
|
||||
|
||||
.history-line {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.history-item.history-haderror {
|
||||
color: mix(@term-red, @term-white, 50%);
|
||||
}
|
||||
|
||||
.history-line:first-child {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.history-item {
|
||||
padding-left: 5px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: #222;
|
||||
}
|
||||
}
|
||||
|
||||
.history-item.is-selected {
|
||||
font-weight: bold;
|
||||
color: @term-bright-white;
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
.history-item.is-selected.history-haderror {
|
||||
color: mix(@term-bright-red, @term-bright-white, 50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cmd-input-info {
|
||||
flex-shrink: 1;
|
||||
overflow-y: auto;
|
||||
margin-bottom: 5px;
|
||||
|
||||
.info-msg {
|
||||
.mono-font(14px, 400);
|
||||
color: @soft-blue;
|
||||
padding-bottom: 2px;
|
||||
|
||||
a {
|
||||
color: @term-blue;
|
||||
}
|
||||
}
|
||||
|
||||
.info-title {
|
||||
.mono-font(14px, 700);
|
||||
color: @soft-blue;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.info-lines {
|
||||
.mono-font(12px);
|
||||
color: @term-white;
|
||||
white-space: pre;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.info-comps {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
padding-bottom: 5px;
|
||||
.mono-font(14px, 400);
|
||||
|
||||
.info-comp {
|
||||
min-width: 200px;
|
||||
color: @term-white;
|
||||
margin-right: 10px;
|
||||
|
||||
&.has-space {
|
||||
text-decoration: underline dotted #777;
|
||||
}
|
||||
}
|
||||
|
||||
.metacmd-comp {
|
||||
color: @term-bright-green;
|
||||
}
|
||||
}
|
||||
|
||||
.info-error {
|
||||
.mono-font(14px, 700);
|
||||
color: @term-red;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.info-remote-showall {
|
||||
table.remotes-table {
|
||||
th {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 3px 8px 3px 8px;
|
||||
}
|
||||
|
||||
td {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
tr:hover td {
|
||||
background-color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info-remote {
|
||||
color: #d3d7cf;
|
||||
.mono-font(12px);
|
||||
|
||||
.info-remote-title {
|
||||
font-weight: bold;
|
||||
color: @term-cyan;
|
||||
}
|
||||
|
||||
.info-error, .info-msg {
|
||||
margin-top: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.remote-field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.remote-field-def {
|
||||
white-space: pre;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.remote-field-val {
|
||||
white-space: pre;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.remote-input-field {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 25px;
|
||||
align-items: center;
|
||||
|
||||
.remote-field-label {
|
||||
white-space: pre;
|
||||
width: 140px;
|
||||
font-weight: bold;
|
||||
color: @term-bright-white;
|
||||
}
|
||||
|
||||
.undo-icon {
|
||||
margin-left: 4px;
|
||||
cursor: pointer;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.remote-field-control {
|
||||
&.text-control {
|
||||
}
|
||||
|
||||
&.text-input {
|
||||
input[type=text], input[type=number], input[type=password] {
|
||||
background-color: black;
|
||||
color: white;
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
&.checkbox-input {
|
||||
input[type=checkbox] {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
&.select-input {
|
||||
select {
|
||||
width: 200px;
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.info-remote-showall {
|
||||
color: #d3d7cf;
|
||||
.mono-font(12px);
|
||||
}
|
||||
}
|
||||
}
|
||||
+623
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,36 @@
|
||||
@keyframes loader-ring {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
80% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fade-in-out {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
50% {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
+532
File diff suppressed because it is too large
Load Diff
+605
File diff suppressed because it is too large
Load Diff
+17
-3557
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,284 @@
|
||||
.main-sidebar .logo-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
border-bottom: 2px solid #ddd;
|
||||
margin-left: -4px;
|
||||
margin-right: -5px;
|
||||
|
||||
.title.prompt-logo-small {
|
||||
padding-left: 5px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
margin-bottom: 0;
|
||||
.mono-font(1.5rem);
|
||||
background-color: darken(rgb(0, 177, 10), 30%);
|
||||
color: rgb(0, 177, 10);
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
|
||||
&.is-dev {
|
||||
background-color: darken(rgb(177, 0, 10), 30%);
|
||||
}
|
||||
|
||||
&.collapsed {
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
.title-cursor {
|
||||
position: relative;
|
||||
bottom: 3px;
|
||||
left: 3px;
|
||||
.mono-font(1.2rem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.main-sidebar {
|
||||
border-right: 1px solid #aaa;
|
||||
padding: 0 5px 5px 5px;
|
||||
width: 200px;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: #ddd;
|
||||
position: relative;
|
||||
background-color: darken(rgb(0, 177, 10), 30%);
|
||||
flex-shrink: 0;
|
||||
|
||||
&.is-dev {
|
||||
background-color: darken(rgb(177, 0, 10), 30%);
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding-top: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
|
||||
.spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.bottom-spacer {
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-label {
|
||||
color: #bbb;
|
||||
|
||||
a {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
|
||||
p.menu-label {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.menu-list {
|
||||
li.new-session, li.add-remote {
|
||||
a {
|
||||
color: #666;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.fa {
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
.mono-font();
|
||||
}
|
||||
|
||||
li.menu-loading-message {
|
||||
.mono-font();
|
||||
}
|
||||
|
||||
li.menu-history, li.menu-bookmarks, li.menu-settings, li.menu-websharing {
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
li.menu-bookmarks {
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
li {
|
||||
.hotkey {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
&:hover .hotkey {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-list.session-menu-list {
|
||||
li a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.session-num {
|
||||
width: 24px;
|
||||
margin-left: -12px;
|
||||
}
|
||||
|
||||
.session-gear {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
&:hover .session-gear {
|
||||
color: #ccc;
|
||||
visibility: visible;
|
||||
|
||||
&:hover {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-list.remotes-menu-list {
|
||||
max-height: 35%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.menu-list li.remote-menu-item {
|
||||
a {
|
||||
.mono-font(11px);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-list li a {
|
||||
color: #bbb;
|
||||
white-space: nowrap;
|
||||
padding: 3px 5px 3px 12px;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
|
||||
.user-status {
|
||||
position: absolute !important;
|
||||
top: 24px !important;
|
||||
left: 32px !important;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.session-num {
|
||||
color: #777;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
&.is-active .small-text {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.small-text {
|
||||
color: #777;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
&.is-active {
|
||||
color: #ddd;
|
||||
font-weight: bold;
|
||||
background-color: @active-menu-color;
|
||||
|
||||
.session-num {
|
||||
color: #aaa;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-label {
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
&.activity {
|
||||
font-weight: bold;
|
||||
color: #ddd;
|
||||
|
||||
.tag {
|
||||
margin-left: 4px;
|
||||
padding: 0 5px 0 5px;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
&.is-active:hover {
|
||||
background-color: #3273dc;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: #444;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
.status {
|
||||
font-size: 8px;
|
||||
margin-right: 5px;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
color: #4e9a06;
|
||||
|
||||
&.offline {
|
||||
color: #cc0000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.collapsed {
|
||||
width: 55px;
|
||||
|
||||
.collapse-container {
|
||||
right: 17px;
|
||||
}
|
||||
|
||||
.menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.collapse-container {
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 42px;
|
||||
|
||||
.arrow-container {
|
||||
color: #777;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: #ddd;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-list .remote-status.status-connecting {
|
||||
position: relative;
|
||||
top: 0px;
|
||||
font-size: 12px;
|
||||
margin-left: -3px;
|
||||
}
|
||||
+269
@@ -0,0 +1,269 @@
|
||||
#main .screen-tabs .screen-tab {
|
||||
&.color-green {
|
||||
color: @tab-white-text;
|
||||
background-color: desaturate(@tab-green, 50%);
|
||||
&:hover {
|
||||
background-color: @tab-green;
|
||||
}
|
||||
&.is-active {
|
||||
color: white;
|
||||
background-color: @tab-green;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-orange {
|
||||
color: @tab-black-text;
|
||||
background-color: desaturate(@tab-orange, 30%);
|
||||
&:hover {
|
||||
background-color: @tab-orange;
|
||||
}
|
||||
&.is-active {
|
||||
color: black;
|
||||
background-color: @tab-orange;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-red {
|
||||
color: @tab-white-text;
|
||||
background-color: desaturate(@tab-red, 40%);
|
||||
&:hover {
|
||||
background-color: @tab-red;
|
||||
}
|
||||
&.is-active {
|
||||
color: white;
|
||||
background-color: @tab-red;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-yellow {
|
||||
color: @tab-black-text;
|
||||
background-color: desaturate(@tab-yellow, 40%);
|
||||
&:hover {
|
||||
background-color: @tab-yellow;
|
||||
}
|
||||
&.is-active {
|
||||
background-color: @tab-yellow;
|
||||
color: black;
|
||||
box-shadow:
|
||||
0 3px 0 #fff inset,
|
||||
0 4px 0 #000 inset;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-blue {
|
||||
color: @tab-white-text;
|
||||
background-color: desaturate(@tab-blue, 50%);
|
||||
&:hover {
|
||||
background-color: @tab-blue;
|
||||
}
|
||||
&.is-active {
|
||||
color: white;
|
||||
background-color: @tab-blue;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-magenta {
|
||||
color: @tab-white-text;
|
||||
background-color: desaturate(@tab-magenta, 20%);
|
||||
&:hover {
|
||||
background-color: @tab-magenta;
|
||||
}
|
||||
&.is-active {
|
||||
color: white;
|
||||
background-color: @tab-magenta;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-cyan {
|
||||
color: @tab-black-text;
|
||||
background-color: desaturate(@tab-cyan, 20%);
|
||||
&:hover {
|
||||
background-color: @tab-cyan;
|
||||
}
|
||||
&.is-active {
|
||||
color: black;
|
||||
background-color: @tab-cyan;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-white {
|
||||
color: @tab-black-text;
|
||||
background-color: @term-white;
|
||||
&:hover {
|
||||
background-color: @tab-white;
|
||||
}
|
||||
&.is-active {
|
||||
color: black;
|
||||
background-color: @tab-white;
|
||||
box-shadow:
|
||||
0 3px 0 #fff inset,
|
||||
0 4px 0 #000 inset;
|
||||
}
|
||||
}
|
||||
|
||||
&.color-black {
|
||||
color: @tab-white-text;
|
||||
background-color: lighten(@tab-black, 20%);
|
||||
&:hover {
|
||||
background-color: @tab-black;
|
||||
}
|
||||
&.is-active {
|
||||
color: white;
|
||||
background-color: @tab-black;
|
||||
}
|
||||
}
|
||||
|
||||
.web-share-icon {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.screen-tabs-container {
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
&:hover .cmd-hints {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.cmd-hints {
|
||||
position: absolute;
|
||||
bottom: -18px;
|
||||
left: 0px;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.screen-tabs {
|
||||
height: 30px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border-top: 1px solid #666;
|
||||
border-right: 1px solid #eee;
|
||||
overflow-x: overlay;
|
||||
overflow-y: visible;
|
||||
align-items: center;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
z-index: 5;
|
||||
background-color: #fff;
|
||||
height: 4px;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: #777;
|
||||
}
|
||||
|
||||
&.scrolling::-webkit-scrollbar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.screen-tab {
|
||||
height: 30px;
|
||||
min-width: 80px;
|
||||
width: 150px;
|
||||
line-height: 1.0;
|
||||
flex-shrink: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
border-right: 1px solid #777;
|
||||
|
||||
.tab-name {
|
||||
flex-grow: 1;
|
||||
flex-basis: 50px;
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.is-active {
|
||||
box-shadow: 0 3px 0 #fff inset;
|
||||
border-top: none;
|
||||
opacity: 1.0;
|
||||
}
|
||||
|
||||
&.is-archived {
|
||||
.fa.fa-archive {
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-index {
|
||||
font-size: 11px;
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 4px;
|
||||
bottom: 0;
|
||||
font-weight: normal;
|
||||
display: none;
|
||||
padding-left: 4px;
|
||||
padding-top: 6px;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.tab-gear {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 4px;
|
||||
bottom: 0;
|
||||
font-weight: normal;
|
||||
display: none;
|
||||
padding-left: 5px;
|
||||
padding-top: 5px;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.tab-gear {
|
||||
display: block;
|
||||
|
||||
&:hover {
|
||||
display: block;
|
||||
top: 4px;
|
||||
padding-top: 4px;
|
||||
right: 3px;
|
||||
padding-left: 4px;
|
||||
i {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .screen-tab .tab-index {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&:hover .screen-tab:hover .tab-index {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.screen-tab.new-screen {
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
background-color: black;
|
||||
border-right: none;
|
||||
color: #ccc;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: #666;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
.mono-font(@size: inherit, @weight: inherit) {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: @size;
|
||||
font-weight: @weight;
|
||||
}
|
||||
|
||||
.monofont-thin {
|
||||
.mono-font(inherit, 200);
|
||||
}
|
||||
|
||||
.monofont-normal {
|
||||
.mono-font(inherit, 400);
|
||||
}
|
||||
|
||||
.monofont-bold {
|
||||
.mono-font(inherit, 700);
|
||||
}
|
||||
|
||||
.display-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.term-black {
|
||||
color: @term-black;
|
||||
}
|
||||
|
||||
.term-red {
|
||||
color: @term-red;
|
||||
}
|
||||
|
||||
.term-green {
|
||||
color: @term-green;
|
||||
}
|
||||
|
||||
.term-yellow {
|
||||
color: @term-yellow;
|
||||
}
|
||||
|
||||
.term-blue {
|
||||
color: @term-blue;
|
||||
}
|
||||
|
||||
.term-magenta {
|
||||
color: @term-magenta;
|
||||
}
|
||||
|
||||
.term-cyan {
|
||||
color: @term-cyan;
|
||||
}
|
||||
|
||||
.term-white {
|
||||
color: @term-white;
|
||||
}
|
||||
|
||||
.term-bright-white {
|
||||
color: @term-bright-white;
|
||||
}
|
||||
|
||||
.term-bright-green {
|
||||
color: @term-bright-green;
|
||||
}
|
||||
|
||||
.term-bright-red {
|
||||
color: @term-bright-red;
|
||||
}
|
||||
|
||||
.flex-spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.flex-centered-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flex-centered-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
a.a-block {
|
||||
display: block;
|
||||
}
|
||||
+556
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,126 @@
|
||||
body.prompt-webshare #main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.logo-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #777;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
|
||||
.logo-text {
|
||||
.mono-font(32px);
|
||||
a {
|
||||
color: @prompt-green;
|
||||
}
|
||||
}
|
||||
|
||||
.screen-name {
|
||||
color: white;
|
||||
.mono-font(24px);
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.download-button {
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.webshare-controls {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-shrink: 0;
|
||||
height: 40px;
|
||||
align-items: center;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
background-color: darken(@prompt-green, 30%);
|
||||
color: white;
|
||||
|
||||
.screen-sharename {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sync-control {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
color: @term-white;
|
||||
font-size: 13px;
|
||||
align-items: center;
|
||||
|
||||
div:first-child {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.prompt-content {
|
||||
flex-grow: 1;
|
||||
padding: 10px 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
|
||||
.web-screen-view {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.lines {
|
||||
height: 100%;
|
||||
flex-grow: 1;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.prompt-footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
color: #aaa;
|
||||
border-top: 1px solid #777;
|
||||
height: 50px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
flex-shrink: 0;
|
||||
|
||||
.footer-copy {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
color: white;
|
||||
|
||||
#app {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.lines .line-sep {
|
||||
margin-left: 0px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.lines .line.line-cmd {
|
||||
.line-icon.copy-icon {
|
||||
color: @term-white;
|
||||
font-size: 18px;
|
||||
|
||||
&:hover {
|
||||
color: @term-bright-white;
|
||||
}
|
||||
}
|
||||
|
||||
.copied-indicator {
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user