Skip to content

Commit

Permalink
fix not visible cursor in FireFox
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed May 7, 2019
1 parent 47b1fda commit 3920957
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.
9 changes: 5 additions & 4 deletions css/jquery.terminal-2.4.1.css
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2019 Jakub Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Mon, 29 Apr 2019 21:57:48 +0000
* Date: Tue, 07 May 2019 16:20:50 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd .prompt, .cmd .prompt div {
Expand Down Expand Up @@ -59,6 +59,7 @@
text-indent: -9999em; /* better cursor hiding for Safari and IE */
top: calc(var(--cursor-line, 0) * 1em);
}

.cmd span.end-line,
.cmd span.end-line span,
.cmd div.end-line span[data-text]:last-child,
Expand Down Expand Up @@ -249,9 +250,9 @@ terminal .terminal-output > div {
.terminal td {
border: 1px solid #aaa;
}
.cmd span[data-text]:not(.emoji) span {
background-color: inherit !important;
color: inherit !important;
.cmd.cmd span[data-text]:not(.emoji) span {
background-color: inherit;
color: inherit;
}
/* fix for underline on middle line */
.cmd [role="presentation"].cursor-line {
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal-2.4.1.min.css

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions css/jquery.terminal-src.css
Expand Up @@ -59,6 +59,7 @@
text-indent: -9999em; /* better cursor hiding for Safari and IE */
top: calc(var(--cursor-line, 0) * 1em);
}

.cmd span.end-line,
.cmd span.end-line span,
.cmd div.end-line span[data-text]:last-child,
Expand Down Expand Up @@ -249,9 +250,9 @@ terminal .terminal-output > div {
.terminal td {
border: 1px solid #aaa;
}
.cmd span[data-text]:not(.emoji) span {
background-color: inherit !important;
color: inherit !important;
.cmd.cmd span[data-text]:not(.emoji) span {
background-color: inherit;
color: inherit;
}
/* fix for underline on middle line */
.cmd [role="presentation"].cursor-line {
Expand Down
9 changes: 5 additions & 4 deletions css/jquery.terminal.css
Expand Up @@ -12,7 +12,7 @@
* Copyright (c) 2011-2019 Jakub Jankiewicz <https://jcubic.pl/me>
* Released under the MIT license
*
* Date: Mon, 29 Apr 2019 21:57:48 +0000
* Date: Tue, 07 May 2019 16:20:50 +0000
*/
.terminal .terminal-output .format, .cmd .format,
.cmd .prompt, .cmd .prompt div {
Expand Down Expand Up @@ -59,6 +59,7 @@
text-indent: -9999em; /* better cursor hiding for Safari and IE */
top: calc(var(--cursor-line, 0) * 1em);
}

.cmd span.end-line,
.cmd span.end-line span,
.cmd div.end-line span[data-text]:last-child,
Expand Down Expand Up @@ -249,9 +250,9 @@ terminal .terminal-output > div {
.terminal td {
border: 1px solid #aaa;
}
.cmd span[data-text]:not(.emoji) span {
background-color: inherit !important;
color: inherit !important;
.cmd.cmd span[data-text]:not(.emoji) span {
background-color: inherit;
color: inherit;
}
/* fix for underline on middle line */
.cmd [role="presentation"].cursor-line {
Expand Down
4 changes: 2 additions & 2 deletions css/jquery.terminal.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/jquery.terminal.min.css.map

Large diffs are not rendered by default.

0 comments on commit 3920957

Please sign in to comment.