app.scss 20 KB

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