app.scss 21 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039
  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. overflow: auto;
  508. svg:first-child {
  509. direction: ltr;
  510. }
  511. }
  512. // ---------------------------------
  513. // TASK LISTS
  514. // ---------------------------------
  515. .contains-task-list {
  516. padding-left: 0;
  517. }
  518. .task-list-item {
  519. position: relative;
  520. list-style-type: none;
  521. &-checkbox[disabled] {
  522. width: 1.1rem;
  523. height: 1.1rem;
  524. top: 2px;
  525. position: relative;
  526. margin-right: 2px;
  527. &::after {
  528. position: absolute;
  529. left: 0;
  530. top: 0;
  531. content: ' ';
  532. display: block;
  533. width: 1.1rem;
  534. height: 1.1rem;
  535. background-color: #FFF;
  536. border: 1px solid mc('grey', '400');
  537. border-radius: 2px;
  538. font-weight: bold;
  539. font-size: .8rem;
  540. line-height: 1rem;
  541. text-align: center;
  542. @at-root .theme--dark & {
  543. background-color: mc('grey', '900');
  544. border-color: mc('grey', '700');
  545. }
  546. }
  547. &[checked]::after {
  548. content: '✓';
  549. }
  550. }
  551. .contains-task-list {
  552. padding: .5rem 0 0 1.5rem;
  553. }
  554. }
  555. // ---------------------------------
  556. // TABLES
  557. // ---------------------------------
  558. table {
  559. margin: .5rem 1.75rem;
  560. border-spacing: 0;
  561. th {
  562. padding: .75rem;
  563. border-bottom: 2px solid mc('grey', '500');
  564. color: mc('grey', '600');
  565. }
  566. td {
  567. padding: .75rem;
  568. }
  569. tr {
  570. td {
  571. border-bottom: 1px solid mc('grey', '200');
  572. }
  573. }
  574. }
  575. figure.table {
  576. margin: 0;
  577. > table {
  578. background-color: #FFF;
  579. margin: 0;
  580. border-collapse: collapse;
  581. box-shadow: 0 0 5px 0 rgba(0, 0, 0, .07);
  582. @at-root .theme--dark & {
  583. background-color: darken(mc('grey', '900'), 3%);
  584. }
  585. td, th {
  586. border: 1px solid mc('blue-grey', '100');
  587. box-shadow: inset -1px -1px 0 0 #FFF, inset 1px 0 0 #FFF;
  588. padding: .5rem .75rem;
  589. @at-root .theme--dark & {
  590. border-color: mc('grey', '700');
  591. box-shadow: inset -1px -1px 0 0 rgba(0,0,0, .5);
  592. }
  593. }
  594. th {
  595. background-color: lighten(mc('blue-grey', '50'), 1%);
  596. font-weight: 700;
  597. color: mc('blue-grey', '700');
  598. @at-root .theme--dark & {
  599. background-color: mc('grey', '800');
  600. color: mc('grey', '400');
  601. }
  602. }
  603. thead th {
  604. border-bottom: 2px solid mc('blue-grey', '100');
  605. @at-root .theme--dark & {
  606. border-bottom: none;
  607. }
  608. }
  609. tbody th {
  610. background-color: lighten(mc('blue-grey', '50'), 4%);
  611. @at-root .theme--dark & {
  612. background-color: darken(mc('grey', '800'), 8%);
  613. }
  614. }
  615. }
  616. }
  617. // ---------------------------------
  618. // IMAGES
  619. // ---------------------------------
  620. img {
  621. max-width: 100%;
  622. &.align-left {
  623. float: left;
  624. margin: 0 1rem 1rem 0;
  625. }
  626. &.align-right {
  627. float: right;
  628. margin: 0 0 1rem 1rem;
  629. z-index: 1;
  630. position: relative;
  631. }
  632. &.align-center {
  633. display: block;
  634. max-width: 100%;
  635. margin: auto;
  636. }
  637. &.align-abstopright {
  638. position: absolute;
  639. top: -90px;
  640. right: 1rem;
  641. height: calc(90px - 32px);
  642. width: auto;
  643. @at-root .is-rtl & {
  644. left: 1rem;
  645. right: initial;
  646. }
  647. }
  648. &.decor-shadow {
  649. box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);
  650. }
  651. &.decor-outline {
  652. border: 1px solid mc('grey', '400');
  653. }
  654. &.uml-diagram {
  655. margin: 1rem 0;
  656. }
  657. }
  658. figure.image {
  659. margin: 1rem 0 0 0;
  660. img {
  661. margin: 0 auto;
  662. }
  663. figcaption {
  664. padding: 4px 1rem;
  665. text-align: center;
  666. font-size: 12px;
  667. color: mc('grey', '700');
  668. background-color: mc('grey', '100');
  669. @at-root .theme--dark & {
  670. color: mc('grey', '400');
  671. background-color: mc('grey', '800');
  672. }
  673. }
  674. }
  675. figure.image-style-align-right {
  676. float: right;
  677. }
  678. figure.image-style-align-left {
  679. float: left;
  680. }
  681. // ---------------------------------
  682. // DETAILS
  683. // ---------------------------------
  684. details {
  685. background-color: mc('grey', '50');
  686. margin: 1rem 2rem;
  687. border: 1px solid mc('grey', '300');
  688. border-radius: 7px;
  689. > p {
  690. padding-left: 0;
  691. }
  692. > summary {
  693. border-radius: 7px;
  694. background-color: mc('grey', '50');
  695. cursor: pointer;
  696. display: list-item;
  697. align-items: center;
  698. padding: 0.4rem 1rem;
  699. transition: background-color .4s ease;
  700. &:focus {
  701. outline: none;
  702. background-color: mc('grey', '100');
  703. }
  704. > h1, h2, h3, h4, h5, h6 {
  705. width: 95%;
  706. display: inline-block;
  707. &:first-child {
  708. margin-top: 0;
  709. }
  710. &:only-child::after {
  711. display: none;
  712. }
  713. }
  714. }
  715. &[open] {
  716. padding: 1rem;
  717. > summary {
  718. background-color: mc('grey', '100');
  719. border-bottom: 1px solid mc('grey', '300');
  720. border-bottom-left-radius: 0;
  721. border-bottom-right-radius: 0;
  722. margin: -1rem -1rem 1rem -1rem;
  723. }
  724. }
  725. @at-root .theme--dark & {
  726. background-color: mc('grey', '900');
  727. border-color: mc('grey', '700');
  728. > summary {
  729. background-color: mc('grey', '900');
  730. border-color: mc('grey', '700');
  731. }
  732. &[open] > summary {
  733. background-color: lighten(mc('grey', '900'), 5%);
  734. }
  735. }
  736. }
  737. // ---------------------------------
  738. // HIGHLIGHTING
  739. // ---------------------------------
  740. mark {
  741. &.pen-red {
  742. color: mc('red', '500');
  743. background-color: initial;
  744. }
  745. &.pen-green {
  746. color: mc('green', '500');
  747. background-color: initial;
  748. }
  749. &.marker-blue {
  750. background-color: mc('blue', '300');
  751. }
  752. &.marker-yellow {
  753. background-color: mc('yellow', '300');
  754. }
  755. &.marker-pink {
  756. background-color: mc('pink', '300');
  757. }
  758. &.marker-green {
  759. background-color: mc('green', '300');
  760. }
  761. }
  762. .mention {
  763. background-color: rgba(153, 0, 48, .1);
  764. color: #990030;
  765. @at-root .theme--dark & {
  766. color: mc('pink', '500');
  767. }
  768. }
  769. }
  770. // ---------------------------------
  771. // COMMENTS
  772. // ---------------------------------
  773. .comments {
  774. &-container {
  775. border-radius: 7px;
  776. }
  777. &-header {
  778. color: #FFF;
  779. padding: 8px 20px;
  780. font-size: 16px;
  781. font-weight: 500;
  782. background-color: mc('blue-grey', '500');
  783. border-radius: 7px 7px 0 0;
  784. @at-root .theme--dark & {
  785. background-color: lighten(mc('blue-grey', '900'), 5%);
  786. }
  787. }
  788. &-main {
  789. background-color: mc('blue-grey', '50');
  790. border-radius: 0 0 7px 7px;
  791. padding: 20px;
  792. @at-root .theme--dark & {
  793. background-color: darken(mc('grey', '900'), 5%);
  794. }
  795. }
  796. }
  797. // ---------------
  798. // RTL FIXES
  799. // Vuetify GH Issue: https://github.com/vuetifyjs/vuetify/issues/6317
  800. // ---------------
  801. .is-rtl {
  802. .page-col-content.is-page-header {
  803. @each $size, $width in $grid-breakpoints {
  804. @media (min-width: $width) {
  805. @for $n from 0 through 12 {
  806. &.offset-#{$size}-#{$n} {
  807. margin-left: 0;
  808. margin-right: ($n / 12 * 100) * 1%;
  809. }
  810. }
  811. }
  812. }
  813. }
  814. }
  815. // ---------------
  816. // PRINT OVERRIDES
  817. // ---------------
  818. @media print {
  819. .nav-header,
  820. .v-navigation-drawer,
  821. .v-btn--fab,
  822. .page-col-sd,
  823. .v-tooltip__content
  824. {
  825. display: none !important;
  826. }
  827. .layout {
  828. display: block !important;
  829. }
  830. .page-col-content {
  831. flex-basis: 100% !important;
  832. flex-grow: 1 !important;
  833. max-width: 100% !important;
  834. margin-left: 0 !important;
  835. > .v-toolbar {
  836. border: 1px solid mc('grey', '300') !important;
  837. border-radius: 7px !important;
  838. & + .v-divider {
  839. display: none !important;
  840. }
  841. }
  842. }
  843. .v-main {
  844. padding: 0 !important;
  845. font-size: 14px;
  846. background-color: #FFF;
  847. }
  848. .v-main .contents {
  849. color: #000;
  850. background-color: #FFF;
  851. @at-root .theme--dark & {
  852. color: #000;
  853. }
  854. .prismjs{
  855. box-shadow: none;
  856. background-color: #FFF;
  857. @at-root .theme--dark & {
  858. background-color: #FFF;
  859. }
  860. > code {
  861. color: #000;
  862. box-shadow: none;
  863. text-shadow: none;
  864. }
  865. }
  866. }
  867. .comments-container {
  868. display: none;
  869. }
  870. }