1 | .command-line-prompt {
|
2 | border-right: 1px solid #999;
|
3 | display: block;
|
4 | float: left;
|
5 | font-size: 100%;
|
6 | letter-spacing: -1px;
|
7 | margin-right: 1em;
|
8 | pointer-events: none;
|
9 |
|
10 | -webkit-user-select: none;
|
11 | -moz-user-select: none;
|
12 | -ms-user-select: none;
|
13 | user-select: none;
|
14 | }
|
15 |
|
16 | .command-line-prompt > span:before {
|
17 | color: #999;
|
18 | content: ' ';
|
19 | display: block;
|
20 | padding-right: 0.8em;
|
21 | }
|
22 |
|
23 | .command-line-prompt > span[data-user]:before {
|
24 | content: "[" attr(data-user) "@" attr(data-host) "] $";
|
25 | }
|
26 |
|
27 | .command-line-prompt > span[data-user="root"]:before {
|
28 | content: "[" attr(data-user) "@" attr(data-host) "] #";
|
29 | }
|
30 |
|
31 | .command-line-prompt > span[data-prompt]:before {
|
32 | content: attr(data-prompt);
|
33 | }
|