app.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038
  1. /* THEME SPECIFIC STYLES */
  2. .v-main .contents {
  3. color: mc('grey', '800');
  4. padding: .5rem 0 50px;
  5. position: relative;
  6. > div > *:first-child {
  7. margin-top: 0;
  8. }
  9. @at-root .theme--dark & {
  10. color: mc('grey', '300');
  11. }
  12. // ---------------------------------
  13. // LINKS
  14. // ---------------------------------
  15. a {
  16. color: mc('blue', '700');
  17. &.is-internal-link.is-invalid-page {
  18. color: mc('red', '700');
  19. @at-root .theme--dark & {
  20. color: mc('red', '200');
  21. }
  22. }
  23. &.is-external-link {
  24. padding-right: 3px;
  25. &::after {
  26. font-family: 'Material Design Icons', sans-serif;
  27. font-size: 24px/1;
  28. padding-left: 3px;
  29. display: inline-block;
  30. content: '\F03CC';
  31. color: mc('grey', '500');
  32. text-decoration: none;
  33. }
  34. }
  35. @at-root .theme--dark & {
  36. color: mc('blue', '200');
  37. }
  38. }
  39. // ---------------------------------
  40. // HEADERS
  41. // ---------------------------------
  42. h1, h2, h3, h4, h5, h6 {
  43. position: relative;
  44. &:first-child {
  45. padding-top: 0;
  46. }
  47. &:hover {
  48. .toc-anchor {
  49. display: block;
  50. }
  51. }
  52. .toc-anchor {
  53. display: none;
  54. position: absolute;
  55. right: 1rem;
  56. bottom: .5rem;
  57. font-size: 1.25rem;
  58. text-decoration: none;
  59. color: mc('grey', '500');
  60. }
  61. & + h2, & + h3, & + h4, & + h5, & + h6 {
  62. margin-top: 8px;
  63. }
  64. & + hr.footnotes-sep {
  65. display: none;
  66. }
  67. }
  68. h1 {
  69. padding: 0;
  70. color: mc('blue', '800');
  71. margin-top: 2rem;
  72. position: relative;
  73. @at-root .theme--dark & {
  74. color: mc('grey', '300');
  75. }
  76. &::after {
  77. content: '';
  78. position: absolute;
  79. bottom: 0;
  80. left: 0;
  81. width: 100%;
  82. height: 2px;
  83. background: linear-gradient(to right, mc('theme', 'primary'), rgba(mc('theme', 'primary'), 0));
  84. border-radius: 3px;
  85. @at-root .theme--dark & {
  86. background: linear-gradient(to right, mc('blue', '300') 0%, mc('blue', '500') 10%, rgba(mc('blue', '900'), 0) 100%);
  87. }
  88. @at-root .is-rtl & {
  89. background: linear-gradient(to left, mc('theme', 'primary'), rgba(mc('theme', 'primary'), 0));
  90. }
  91. @at-root .theme--dark.is-rtl & {
  92. background: linear-gradient(to left, mc('grey', '600'), rgba(mc('grey', '600'), 0));
  93. }
  94. }
  95. }
  96. h2 {
  97. margin: 1rem 0 0 0;
  98. color: mc('grey', '800');
  99. position: relative;
  100. @at-root .theme--dark & {
  101. color: mc('grey', '400');
  102. }
  103. &::after {
  104. content: '';
  105. position: absolute;
  106. bottom: 0;
  107. left: 0;
  108. width: 100%;
  109. height: 1px;
  110. background: linear-gradient(to right, mc('grey', '700'), rgba(mc('grey', '700'), 0));
  111. @at-root .theme--dark & {
  112. background: linear-gradient(to right, mc('grey', '300'), rgba(mc('grey', '700'), 0));
  113. }
  114. @at-root .is-rtl & {
  115. background: linear-gradient(to left, mc('grey', '700'), rgba(mc('grey', '700'), 0));
  116. }
  117. @at-root .theme--dark.is-rtl & {
  118. background: linear-gradient(to left, mc('grey', '300'), rgba(mc('grey', '700'), 0));
  119. }
  120. }
  121. }
  122. h3 {
  123. margin: 8px 0 0 0;
  124. color: mc('grey', '700');
  125. position: relative;
  126. @at-root .theme--dark & {
  127. color: mc('grey', '600');
  128. }
  129. &::after {
  130. content: '';
  131. position: absolute;
  132. bottom: 0;
  133. left: 0;
  134. width: 100%;
  135. height: 1px;
  136. background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 90%);
  137. }
  138. }
  139. h4, h5, h6 {
  140. font-size: 1rem;
  141. margin: 8px 0 0 0;
  142. color: mc('grey', '700');
  143. position: relative;
  144. @at-root .theme--dark & {
  145. color: mc('grey', '600');
  146. }
  147. &::after {
  148. content: '';
  149. position: absolute;
  150. bottom: 0;
  151. left: 0;
  152. width: 100%;
  153. height: 1px;
  154. background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 70%);
  155. }
  156. }
  157. h5 {
  158. &::after {
  159. background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 50%);
  160. }
  161. }
  162. h6 {
  163. &::after {
  164. background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 30%);
  165. }
  166. }
  167. // ---------------------------------
  168. // PARAGRAPHS
  169. // ---------------------------------
  170. p {
  171. padding: 1rem 0 0 0;
  172. margin: 0;
  173. @at-root .contents > div > p:first-child {
  174. padding-top: 0;
  175. }
  176. @at-root .v-application & {
  177. margin-bottom: 0;
  178. }
  179. }
  180. hr {
  181. margin: 1rem 0;
  182. height: 1px;
  183. border: none;
  184. background-color: mc('grey', '400');
  185. @at-root .theme--dark & {
  186. background-color: mc('grey', '700');
  187. }
  188. }
  189. .emoji {
  190. height: 1.25em;
  191. margin: 0 1px -4px;
  192. }
  193. .text-huge {
  194. font-size: 1.8em;
  195. }
  196. .text-big {
  197. font-size: 1.4em;
  198. }
  199. .text-small {
  200. font-size: .85em;
  201. }
  202. .text-tiny {
  203. font-size: .7em;
  204. }
  205. blockquote {
  206. padding: 0 1rem 1rem 1rem;
  207. background-color: mc('blue-grey', '50');
  208. border-left: 55px solid mc('blue-grey', '500');
  209. border-radius: .5rem;
  210. margin: 1rem 0;
  211. position: relative;
  212. @at-root .theme--dark & {
  213. background-color: mc('blue-grey', '900');
  214. }
  215. &::before {
  216. display: inline-block;
  217. font: normal normal normal 24px/1 "Material Design Icons", sans-serif;
  218. position: absolute;
  219. margin-top: -12px;
  220. top: 50%;
  221. left: -38px;
  222. color: rgba(255, 255, 255, .7);
  223. content: "\F0757";
  224. }
  225. > p:first-child .emoji {
  226. margin-right: .5rem;
  227. }
  228. &.valign-center > p {
  229. display: flex;
  230. align-items: center;
  231. }
  232. &.is-info {
  233. background-color: mc('blue', '50');
  234. border-color: mc('blue', '300');
  235. color: mc('blue', '900');
  236. &::before {
  237. content: "\F02FC";
  238. }
  239. code {
  240. background-color: mc('blue', '50');
  241. color: mc('blue', '800');
  242. }
  243. @at-root .theme--dark & {
  244. background-color: mc('blue', '900');
  245. color: mc('blue', '50');
  246. border-color: mc('blue', '500');
  247. }
  248. }
  249. &.is-warning {
  250. background-color: mc('orange', '50');
  251. border-color: mc('orange', '300');
  252. color: darken(mc('orange', '900'), 10%);
  253. &::before {
  254. content: "\F0026";
  255. }
  256. code {
  257. background-color: mc('orange', '50');
  258. color: mc('orange', '800');
  259. }
  260. @at-root .theme--dark & {
  261. background-color: darken(mc('orange', '900'), 5%);
  262. color: mc('orange', '100');
  263. border-color: mc('orange', '500');
  264. box-shadow: 0 0 2px 0 mc('grey', '900');
  265. }
  266. }
  267. &.is-danger {
  268. background-color: mc('red', '50');
  269. border-color: mc('red', '300');
  270. color: mc('red', '900');
  271. &::before {
  272. content: "\F0159";
  273. }
  274. code {
  275. background-color: mc('red', '50');
  276. color: mc('red', '800');
  277. }
  278. @at-root .theme--dark & {
  279. background-color: mc('red', '900');
  280. color: mc('red', '100');
  281. border-color: mc('red', '500');
  282. }
  283. }
  284. &.is-success {
  285. background-color: mc('green', '50');
  286. border-color: mc('green', '300');
  287. color: mc('green', '900');
  288. &::before {
  289. content: "\F0E1E";
  290. }
  291. code {
  292. background-color: mc('green', '50');
  293. color: mc('green', '800');
  294. }
  295. @at-root .theme--dark & {
  296. background-color: mc('green', '900');
  297. color: mc('green', '50');
  298. border-color: mc('green', '500');
  299. }
  300. }
  301. }
  302. // ---------------------------------
  303. // LISTS
  304. // ---------------------------------
  305. ol, ul:not(.tabset-tabs) {
  306. padding-top: 1rem;
  307. width: 100%;
  308. @at-root .is-rtl & {
  309. padding-left: 0;
  310. padding-right: 1rem;
  311. }
  312. li > ul, li > ol {
  313. padding-top: .5rem;
  314. padding-left: 1rem;
  315. @at-root .is-rtl & {
  316. padding-left: 0;
  317. padding-right: 1rem;
  318. }
  319. }
  320. li + li {
  321. margin-top: .5rem;
  322. }
  323. &.links-list {
  324. padding-left: 0;
  325. list-style-type: none;
  326. @at-root .is-rtl & {
  327. padding-right: 0;
  328. }
  329. li {
  330. background-color: mc('grey', '50');
  331. background-image: linear-gradient(to bottom, #FFF, mc('grey', '50'));
  332. border-right: 1px solid mc('grey', '200');
  333. border-bottom: 1px solid mc('grey', '200');
  334. border-left: 5px solid mc('grey', '300');
  335. box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);
  336. padding: 1rem;
  337. border-radius: 5px;
  338. font-weight: 500;
  339. @at-root .is-rtl & {
  340. border-left-width: 1px;
  341. border-right-width: 5px;
  342. }
  343. &:hover {
  344. background-image: linear-gradient(to bottom, #FFF, lighten(mc('blue', '50'), 4%));
  345. border-left-color: mc('blue', '500');
  346. cursor: pointer;
  347. @at-root .is-rtl & {
  348. border-left-color: mc('grey', '200');
  349. border-right-width: mc('blue', '500');
  350. }
  351. }
  352. &::before {
  353. content: '';
  354. display: none;
  355. }
  356. > a {
  357. display: block;
  358. text-decoration: none;
  359. margin: -1rem;
  360. padding: 1rem;
  361. > em {
  362. font-weight: 400;
  363. font-style: normal;
  364. color: mc('grey', '700');
  365. display: inline-block;
  366. padding-left: .5rem;
  367. border-left: 1px solid mc('grey', '300');
  368. margin-left: .5rem;
  369. &.is-block {
  370. display: block;
  371. padding-left: 0;
  372. margin-left: 0;
  373. border-left: none;
  374. }
  375. }
  376. }
  377. > em {
  378. font-weight: 400;
  379. font-style: normal;
  380. }
  381. @at-root .theme--dark & {
  382. background-color: mc('grey', '50');
  383. background-image: linear-gradient(to bottom, lighten(mc('grey', '900'), 5%), mc('grey', '900'));
  384. border-right: 1px solid mc('grey', '900');
  385. border-bottom: 1px solid mc('grey', '900');
  386. border-left: 5px solid mc('grey', '700');
  387. box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
  388. @at-root .theme--dark.is-rtl & {
  389. border-left-width: 1px;
  390. border-right-width: 5px;
  391. }
  392. &:hover {
  393. background-image: linear-gradient(to bottom, lighten(mc('grey', '900'), 2%), darken(mc('grey', '900'), 3%));
  394. border-left-color: mc('indigo', '300');
  395. cursor: pointer;
  396. @at-root .theme--dark.is-rtl & {
  397. border-left-color: mc('grey', '900');
  398. border-right-width: mc('indigo', '300');
  399. }
  400. }
  401. }
  402. }
  403. }
  404. &.grid-list {
  405. margin: 1rem 0 0 0;
  406. background-color: #FFF;
  407. border: 1px solid mc('grey', '200');
  408. padding: 1px;
  409. display: inline-block;
  410. list-style-type: none;
  411. @at-root .theme--dark & {
  412. background-color: #000;
  413. border: 1px solid mc('grey', '800');
  414. }
  415. li {
  416. background-color: mc('grey', '50');
  417. padding: .6rem 1rem;
  418. display: block;
  419. &:nth-child(odd) {
  420. background-color: mc('grey', '100');
  421. }
  422. & + li {
  423. margin-top: 0;
  424. }
  425. &::before {
  426. content: '';
  427. display: none;
  428. }
  429. @at-root .theme--dark & {
  430. background-color: mc('grey', '900');
  431. &:nth-child(odd) {
  432. background-color: darken(mc('grey', '900'), 5%);
  433. }
  434. }
  435. }
  436. }
  437. }
  438. ul:not(.tabset-tabs):not(.contains-task-list) {
  439. list-style: none;
  440. > li::before {
  441. position: absolute;
  442. left: -1.1rem;
  443. content: '\25b8';
  444. color: mc('grey', '600');
  445. width: 1.35rem;
  446. @at-root .is-rtl & {
  447. right: -1.1rem;
  448. content: '\25C3';
  449. }
  450. }
  451. }
  452. ol, ul:not(.tabset-tabs) {
  453. > li {
  454. position: relative;
  455. > p {
  456. display:inline-block;
  457. vertical-align:top;
  458. padding-top:0;
  459. }
  460. }
  461. }
  462. // ---------------------------------
  463. // CODE
  464. // ---------------------------------
  465. code {
  466. background-color: mc('indigo', '50');
  467. padding: 0 5px;
  468. color: mc('indigo', '800');
  469. font-family: 'Roboto Mono', monospace;
  470. font-weight: normal;
  471. font-size: 1rem;
  472. box-shadow: none;
  473. &::before, &::after {
  474. display: none;
  475. }
  476. @at-root .theme--dark & {
  477. background-color: darken(mc('grey', '900'), 5%);
  478. color: mc('indigo', '100');
  479. }
  480. }
  481. .prismjs{
  482. border: none;
  483. border-radius: 5px;
  484. box-shadow: initial;
  485. background-color: mc('grey', '900');
  486. padding: 1rem 1rem 1rem 3rem;
  487. margin: 1rem 0;
  488. @at-root .theme--dark & {
  489. background-color: darken(mc('grey', '900'), 5%);
  490. }
  491. > code {
  492. background-color: transparent;
  493. padding: 0;
  494. color: #FFF;
  495. box-shadow: initial;
  496. display: block;
  497. font-size: .85rem;
  498. font-family: 'Roboto Mono', monospace;
  499. &:after, &:before {
  500. content: initial;
  501. letter-spacing: initial;
  502. }
  503. }
  504. }
  505. .diagram {
  506. margin-top: 1rem;
  507. svg:first-child {
  508. direction: ltr;
  509. }
  510. }
  511. // ---------------------------------
  512. // TASK LISTS
  513. // ---------------------------------
  514. .contains-task-list {
  515. padding-left: 0;
  516. }
  517. .task-list-item {
  518. position: relative;
  519. list-style-type: none;
  520. &-checkbox[disabled] {
  521. width: 1.1rem;
  522. height: 1.1rem;
  523. top: 2px;
  524. position: relative;
  525. margin-right: 2px;
  526. &::after {
  527. position: absolute;
  528. left: 0;
  529. top: 0;
  530. content: ' ';
  531. display: block;
  532. width: 1.1rem;
  533. height: 1.1rem;
  534. background-color: #FFF;
  535. border: 1px solid mc('grey', '400');
  536. border-radius: 2px;
  537. font-weight: bold;
  538. font-size: .8rem;
  539. line-height: 1rem;
  540. text-align: center;
  541. @at-root .theme--dark & {
  542. background-color: mc('grey', '900');
  543. border-color: mc('grey', '700');
  544. }
  545. }
  546. &[checked]::after {
  547. content: '✓';
  548. }
  549. }
  550. .contains-task-list {
  551. padding: .5rem 0 0 1.5rem;
  552. }
  553. }
  554. // ---------------------------------
  555. // TABLES
  556. // ---------------------------------
  557. table {
  558. margin: .5rem 1.75rem;
  559. border-spacing: 0;
  560. th {
  561. padding: .75rem;
  562. border-bottom: 2px solid mc('grey', '500');
  563. color: mc('grey', '600');
  564. }
  565. td {
  566. padding: .75rem;
  567. }
  568. tr {
  569. td {
  570. border-bottom: 1px solid mc('grey', '200');
  571. }
  572. }
  573. }
  574. figure.table {
  575. margin: 0;
  576. > table {
  577. background-color: #FFF;
  578. margin: 0;
  579. border-collapse: collapse;
  580. box-shadow: 0 0 5px 0 rgba(0, 0, 0, .07);
  581. @at-root .theme--dark & {
  582. background-color: darken(mc('grey', '900'), 3%);
  583. }
  584. td, th {
  585. border: 1px solid mc('blue-grey', '100');
  586. box-shadow: inset -1px -1px 0 0 #FFF, inset 1px 0 0 #FFF;
  587. padding: .5rem .75rem;
  588. @at-root .theme--dark & {
  589. border-color: mc('grey', '700');
  590. box-shadow: inset -1px -1px 0 0 rgba(0,0,0, .5);
  591. }
  592. }
  593. th {
  594. background-color: lighten(mc('blue-grey', '50'), 1%);
  595. font-weight: 700;
  596. color: mc('blue-grey', '700');
  597. @at-root .theme--dark & {
  598. background-color: mc('grey', '800');
  599. color: mc('grey', '400');
  600. }
  601. }
  602. thead th {
  603. border-bottom: 2px solid mc('blue-grey', '100');
  604. @at-root .theme--dark & {
  605. border-bottom: none;
  606. }
  607. }
  608. tbody th {
  609. background-color: lighten(mc('blue-grey', '50'), 4%);
  610. @at-root .theme--dark & {
  611. background-color: darken(mc('grey', '800'), 8%);
  612. }
  613. }
  614. }
  615. }
  616. // ---------------------------------
  617. // IMAGES
  618. // ---------------------------------
  619. img {
  620. max-width: 100%;
  621. &.align-left {
  622. float: left;
  623. margin: 0 1rem 1rem 0;
  624. }
  625. &.align-right {
  626. float: right;
  627. margin: 0 0 1rem 1rem;
  628. z-index: 1;
  629. position: relative;
  630. }
  631. &.align-center {
  632. display: block;
  633. max-width: 100%;
  634. margin: auto;
  635. }
  636. &.align-abstopright {
  637. position: absolute;
  638. top: -90px;
  639. right: 1rem;
  640. height: calc(90px - 32px);
  641. width: auto;
  642. @at-root .is-rtl & {
  643. left: 1rem;
  644. right: initial;
  645. }
  646. }
  647. &.decor-shadow {
  648. box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);
  649. }
  650. &.decor-outline {
  651. border: 1px solid mc('grey', '400');
  652. }
  653. &.uml-diagram {
  654. margin: 1rem 0;
  655. }
  656. }
  657. figure.image {
  658. margin: 1rem 0 0 0;
  659. img {
  660. margin: 0 auto;
  661. }
  662. figcaption {
  663. padding: 4px 1rem;
  664. text-align: center;
  665. font-size: 12px;
  666. color: mc('grey', '700');
  667. background-color: mc('grey', '100');
  668. @at-root .theme--dark & {
  669. color: mc('grey', '400');
  670. background-color: mc('grey', '800');
  671. }
  672. }
  673. }
  674. figure.image-style-align-right {
  675. float: right;
  676. }
  677. figure.image-style-align-left {
  678. float: left;
  679. }
  680. // ---------------------------------
  681. // DETAILS
  682. // ---------------------------------
  683. details {
  684. background-color: mc('grey', '50');
  685. margin: 1rem 2rem;
  686. border: 1px solid mc('grey', '300');
  687. border-radius: 7px;
  688. > p {
  689. padding-left: 0;
  690. }
  691. > summary {
  692. border-radius: 7px;
  693. background-color: mc('grey', '50');
  694. cursor: pointer;
  695. display: list-item;
  696. align-items: center;
  697. padding: 0.4rem 1rem;
  698. transition: background-color .4s ease;
  699. &:focus {
  700. outline: none;
  701. background-color: mc('grey', '100');
  702. }
  703. > h1, h2, h3, h4, h5, h6 {
  704. width: 95%;
  705. display: inline-block;
  706. &:first-child {
  707. margin-top: 0;
  708. }
  709. &:only-child::after {
  710. display: none;
  711. }
  712. }
  713. }
  714. &[open] {
  715. padding: 1rem;
  716. > summary {
  717. background-color: mc('grey', '100');
  718. border-bottom: 1px solid mc('grey', '300');
  719. border-bottom-left-radius: 0;
  720. border-bottom-right-radius: 0;
  721. margin: -1rem -1rem 1rem -1rem;
  722. }
  723. }
  724. @at-root .theme--dark & {
  725. background-color: mc('grey', '900');
  726. border-color: mc('grey', '700');
  727. > summary {
  728. background-color: mc('grey', '900');
  729. border-color: mc('grey', '700');
  730. }
  731. &[open] > summary {
  732. background-color: lighten(mc('grey', '900'), 5%);
  733. }
  734. }
  735. }
  736. // ---------------------------------
  737. // HIGHLIGHTING
  738. // ---------------------------------
  739. mark {
  740. &.pen-red {
  741. color: mc('red', '500');
  742. background-color: initial;
  743. }
  744. &.pen-green {
  745. color: mc('green', '500');
  746. background-color: initial;
  747. }
  748. &.marker-blue {
  749. background-color: mc('blue', '300');
  750. }
  751. &.marker-yellow {
  752. background-color: mc('yellow', '300');
  753. }
  754. &.marker-pink {
  755. background-color: mc('pink', '300');
  756. }
  757. &.marker-green {
  758. background-color: mc('green', '300');
  759. }
  760. }
  761. .mention {
  762. background-color: rgba(153, 0, 48, .1);
  763. color: #990030;
  764. @at-root .theme--dark & {
  765. color: mc('pink', '500');
  766. }
  767. }
  768. }
  769. // ---------------------------------
  770. // COMMENTS
  771. // ---------------------------------
  772. .comments {
  773. &-container {
  774. border-radius: 7px;
  775. }
  776. &-header {
  777. color: #FFF;
  778. padding: 8px 20px;
  779. font-size: 16px;
  780. font-weight: 500;
  781. background-color: mc('blue-grey', '500');
  782. border-radius: 7px 7px 0 0;
  783. @at-root .theme--dark & {
  784. background-color: lighten(mc('blue-grey', '900'), 5%);
  785. }
  786. }
  787. &-main {
  788. background-color: mc('blue-grey', '50');
  789. border-radius: 0 0 7px 7px;
  790. padding: 20px;
  791. @at-root .theme--dark & {
  792. background-color: darken(mc('grey', '900'), 5%);
  793. }
  794. }
  795. }
  796. // ---------------
  797. // RTL FIXES
  798. // Vuetify GH Issue: https://github.com/vuetifyjs/vuetify/issues/6317
  799. // ---------------
  800. .is-rtl {
  801. .page-col-content.is-page-header {
  802. @each $size, $width in $grid-breakpoints {
  803. @media (min-width: $width) {
  804. @for $n from 0 through 12 {
  805. &.offset-#{$size}-#{$n} {
  806. margin-left: 0;
  807. margin-right: ($n / 12 * 100) * 1%;
  808. }
  809. }
  810. }
  811. }
  812. }
  813. }
  814. // ---------------
  815. // PRINT OVERRIDES
  816. // ---------------
  817. @media print {
  818. .nav-header,
  819. .v-navigation-drawer,
  820. .v-btn--fab,
  821. .page-col-sd,
  822. .v-tooltip__content
  823. {
  824. display: none !important;
  825. }
  826. .layout {
  827. display: block !important;
  828. }
  829. .page-col-content {
  830. flex-basis: 100% !important;
  831. flex-grow: 1 !important;
  832. max-width: 100% !important;
  833. margin-left: 0 !important;
  834. > .v-toolbar {
  835. border: 1px solid mc('grey', '300') !important;
  836. border-radius: 7px !important;
  837. & + .v-divider {
  838. display: none !important;
  839. }
  840. }
  841. }
  842. .v-main {
  843. padding: 0 !important;
  844. font-size: 14px;
  845. background-color: #FFF;
  846. }
  847. .v-main .contents {
  848. color: #000;
  849. background-color: #FFF;
  850. @at-root .theme--dark & {
  851. color: #000;
  852. }
  853. .prismjs{
  854. box-shadow: none;
  855. background-color: #FFF;
  856. @at-root .theme--dark & {
  857. background-color: #FFF;
  858. }
  859. > code {
  860. color: #000;
  861. box-shadow: none;
  862. text-shadow: none;
  863. }
  864. }
  865. }
  866. .comments-container {
  867. display: none;
  868. }
  869. }