app.scss 21 KB

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