2
0

app.scss 20 KB

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