Skip to content

Commit

Permalink
add glow style #549
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 18, 2019
1 parent 6bec527 commit a5f7386
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions css/jquery.terminal-src.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ body.full-screen-terminal .terminal {
* it's hard to overwrite long :not selector (:not(a span) don't work)
*/
color: #0F60FF !important;
--color: var(--link-color, #0F60FF);
color: var(--link-color, #0F60FF) !important;
text-decoration: underline;
}
Expand Down Expand Up @@ -607,6 +608,7 @@ terminal .terminal-output > div {
}
.terminal .terminal-output > :not(.raw) a[href], .cmd a[href] {
color: #0F60FF;
--color: var(--link-color, #0F60FF);
color: var(--link-color, #0F60FF);
cursor: pointer;
}
Expand Down Expand Up @@ -849,3 +851,17 @@ terminal .terminal-output > div {
.terminal-output svg.terminal-broken-image use {
fill: var(--color, #ccc);
}
.terminal-error {
--color: var(--error-color);
}
.terminal-glow {
--animation: terminal-glow;
}
.terminal-glow span[data-text],
.terminal-glow a[data-text],
.terminal-glow [data-text] span,
.terminal-glow .terminal-output > div span,
.terminal-glow .terminal-output > div a[href] {
text-shadow: 1px 1px 5px #ccc;
text-shadow: 1px 1px 5px var(--color, #ccc);
}

0 comments on commit a5f7386

Please sign in to comment.