app.scss 21 KB

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