refactor(aio): use the same selectors for screen and print styles (#23538)

PR Close #23538
This commit is contained in:
George Kalpakas 2018-04-25 13:47:14 +03:00 committed by Igor Minar
parent 14d8a98001
commit 3f20a5c7c8
2 changed files with 5 additions and 7 deletions

View File

@ -179,7 +179,7 @@ ol.linenums {
/* SHELL / TERMINAL CODE BLOCKS */ /* SHELL / TERMINAL CODE BLOCKS */
code-example.code-shell, code-example[language=sh], code-example[language=bash] { code-example.code-shell, code-example[language=sh], code-example[language=bash] {
& .pnk, .blk,.pln, .otl, .kwd, .typ, .tag, .str, .atv, .atn, .com, .lit, .pun, .dec { .pnk, .blk, .pln, .otl, .kwd, .typ, .tag, .str, .atv, .atn, .com, .lit, .pun, .dec {
color: $codegreen; color: $codegreen;
} }
} }

View File

@ -66,12 +66,10 @@
} }
code-example { code-example {
pre.lang-bash code span { &.code-shell, &[language=sh], &[language=bash] {
color: $mediumgray !important; .pnk, .blk, .pln, .otl, .kwd, .typ, .tag, .str, .atv, .atn, .com, .lit, .pun, .dec {
color: $darkgray;
} }
pre.lang-sh code span {
color: $darkgray !important;
} }
header { header {