|
19 | 19 | .repl.sidecar-visible p {
|
20 | 20 | white-space: normal;
|
21 | 21 | }
|
22 |
| -.repl-prompt { |
23 |
| - margin-right: 0.1875em; |
24 |
| - --color-prompt-text: var(--color-brand-02); |
25 |
| - --color-prompt-background: transparent; |
26 |
| - color: var(--color-prompt-text); |
27 |
| -} |
28 |
| -.repl-input:not(.kui--isearch-active) .repl-prompt { |
29 |
| - font-weight: 500; |
30 |
| - font-family: var(--font-sans-serif); |
31 |
| -} |
32 |
| -.repl-prompt .repl-selection { |
33 |
| - font-size: 80%; |
34 |
| - opacity: 0.6; |
35 |
| -} |
36 |
| -.repl-prompt .repl-selection.has-selection-true { |
37 |
| - margin-left: 1ex; |
38 |
| -} |
39 |
| -.repl-context { |
40 |
| - background-color: var(--color-prompt-background); |
41 |
| - letter-spacing: 0.16px; |
42 |
| - filter: opacity(0.6875) grayscale(50%); |
43 |
| -} |
44 |
| -/*.repl-block.using-custom-prompt .repl-prompt-righty > svg, |
| 22 | +.repl { |
| 23 | + .repl-prompt { |
| 24 | + font-size: 0.875em; |
| 25 | + margin-right: 0.25em; |
| 26 | + --color-prompt-text: var(--color-brand-02); |
| 27 | + --color-prompt-background: transparent; |
| 28 | + color: var(--color-prompt-text); |
| 29 | + } |
| 30 | + .repl-input:not(.kui--isearch-active) .repl-prompt { |
| 31 | + font-weight: 500; |
| 32 | + font-family: var(--font-sans-serif); |
| 33 | + } |
| 34 | + .repl-prompt .repl-selection { |
| 35 | + font-size: 80%; |
| 36 | + opacity: 0.6; |
| 37 | + } |
| 38 | + .repl-prompt .repl-selection.has-selection-true { |
| 39 | + margin-left: 1ex; |
| 40 | + } |
| 41 | + .repl-context { |
| 42 | + background-color: var(--color-prompt-background); |
| 43 | + letter-spacing: 0.16px; |
| 44 | + filter: grayscale(20%); |
| 45 | + } |
| 46 | + /*.repl-block.using-custom-prompt .repl-prompt-righty > svg, |
45 | 47 | .repl-block.using-custom-prompt .repl-prompt-righty > i,
|
46 | 48 | .repl-block.using-custom-prompt .repl-context {
|
47 | 49 | display: none;
|
48 | 50 | }*/
|
49 |
| -.repl-prompt-righty .repl-temporary { |
50 |
| - display: flex; |
51 |
| - align-items: center; |
52 |
| -} |
| 51 | + .repl-prompt-righty { |
| 52 | + font-weight: 700; |
| 53 | + text-shadow: 0 0 1px var(--color-text-02); |
| 54 | + } |
53 | 55 |
|
54 |
| -/* repl right-hand decorations */ |
55 |
| -.repl-prompt-right-elements { |
56 |
| - display: flex; |
57 |
| - align-items: center; |
58 |
| - flex: 0; |
59 |
| - white-space: nowrap; |
60 |
| - margin-left: 1em; |
61 |
| -} |
62 |
| -.kui--repl-prompt-buttons { |
63 |
| - margin-right: 1em; |
64 |
| -} |
65 |
| -.kui--repl-prompt-buttons .graphical-icon { |
66 |
| - opacity: 0.0375; |
| 56 | + .repl-prompt-righty .repl-temporary { |
| 57 | + display: flex; |
| 58 | + align-items: center; |
| 59 | + } |
| 60 | + |
| 61 | + /* repl right-hand decorations */ |
| 62 | + .repl-prompt-right-elements { |
| 63 | + display: flex; |
| 64 | + align-items: center; |
| 65 | + flex: 0; |
| 66 | + white-space: nowrap; |
| 67 | + margin-left: 1em; |
| 68 | + } |
| 69 | + .kui--repl-prompt-buttons { |
| 70 | + margin-right: 1em; |
| 71 | + } |
| 72 | + .kui--repl-prompt-buttons .graphical-icon { |
| 73 | + opacity: 0.0375; |
| 74 | + } |
67 | 75 | }
|
68 | 76 | .repl-block .repl-input:hover .kui--repl-prompt-buttons .graphical-icon {
|
69 | 77 | opacity: 0.25;
|
@@ -129,6 +137,9 @@ body/*:not(.sidecar-full-screen)*/ repl.sidecar-visible .repl-selection, body/*.
|
129 | 137 | white-space: nowrap;
|
130 | 138 | /* text-overflow: ellipsis; see https://github.com/IBM/kui/issues/3539 */
|
131 | 139 | }
|
| 140 | +.repl-block:not(.repl-active) .repl-input-element { |
| 141 | + color: var(--color-text-02); |
| 142 | +} |
132 | 143 | .kui--prompt-like:empty {
|
133 | 144 | border-right: 1ex solid var(--color-caret);
|
134 | 145 | }
|
@@ -278,7 +289,6 @@ body/*:not(.sidecar-full-screen)*/ repl.sidecar-visible .repl-selection, body/*.
|
278 | 289 | .bx--inline-loading__text {
|
279 | 290 | color: var(--color-text-02);
|
280 | 291 | font-size: 0.75em;
|
281 |
| - opacity: 0.75; |
282 | 292 | order: -1;
|
283 | 293 | margin-right: 0.875em;
|
284 | 294 | }
|
|
0 commit comments