You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
949 B
43 lines
949 B
.command-line-prompt { |
|
border-right: 1px solid #999; |
|
display: block; |
|
float: left; |
|
font-size: 100%; |
|
letter-spacing: -1px; |
|
margin-right: 1em; |
|
pointer-events: none; |
|
text-align: right; |
|
|
|
-webkit-user-select: none; |
|
-moz-user-select: none; |
|
-ms-user-select: none; |
|
user-select: none; |
|
} |
|
|
|
.command-line-prompt > span:before { |
|
opacity: 0.7; |
|
content: ' '; |
|
display: block; |
|
padding-right: 0.8em; |
|
} |
|
|
|
.command-line-prompt > span[data-user]:before { |
|
content: "[" attr(data-user) "@" attr(data-host) "] $"; |
|
} |
|
|
|
.command-line-prompt > span[data-user="root"]:before { |
|
content: "[" attr(data-user) "@" attr(data-host) "] #"; |
|
} |
|
|
|
.command-line-prompt > span[data-prompt]:before { |
|
content: attr(data-prompt); |
|
} |
|
|
|
.command-line-prompt > span[data-continuation-prompt]:before { |
|
content: attr(data-continuation-prompt); |
|
} |
|
|
|
.command-line span.token.output { |
|
/* Make shell output lines a bit lighter to distinguish them from shell commands */ |
|
opacity: 0.7; |
|
}
|
|
|