wikijs-fork/client/themes/default/scss/app.scss

1039 lines
21 KiB
SCSS
Raw Normal View History

/* THEME SPECIFIC STYLES */
.v-main .contents {
color: mc('grey', '800');
2019-07-29 04:50:03 +00:00
padding: .5rem 0 50px;
2019-05-21 20:45:27 +00:00
position: relative;
> div > *:first-child {
margin-top: 0;
}
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
color: mc('grey', '300');
2019-09-02 19:33:40 +00:00
}
// ---------------------------------
// LINKS
// ---------------------------------
a {
color: mc('blue', '700');
&.is-internal-link.is-invalid-page {
color: mc('red', '700');
@at-root .theme--dark & {
color: mc('red', '200');
}
}
2018-12-30 03:12:52 +00:00
2019-09-02 19:33:40 +00:00
&.is-external-link {
padding-right: 3px;
&::after {
2019-09-08 16:01:17 +00:00
font-family: 'Material Design Icons', sans-serif;
2019-09-02 19:33:40 +00:00
font-size: 24px/1;
padding-left: 3px;
display: inline-block;
2020-03-27 22:51:51 +00:00
content: '\F03CC';
2019-09-02 19:33:40 +00:00
color: mc('grey', '500');
text-decoration: none;
}
}
@at-root .theme--dark & {
color: mc('blue', '200');
2018-12-30 03:12:52 +00:00
}
2018-12-02 04:03:14 +00:00
}
2018-11-24 02:10:24 +00:00
// ---------------------------------
// HEADERS
// ---------------------------------
2018-09-17 04:36:44 +00:00
h1, h2, h3, h4, h5, h6 {
position: relative;
&:first-child {
padding-top: 0;
}
2018-09-17 04:36:44 +00:00
&:hover {
.toc-anchor {
display: block;
}
}
.toc-anchor {
display: none;
position: absolute;
right: 1rem;
bottom: .5rem;
font-size: 1.25rem;
text-decoration: none;
color: mc('grey', '500');
}
& + h2, & + h3, & + h4, & + h5, & + h6 {
margin-top: 8px;
}
& + hr.footnotes-sep {
display: none;
}
2018-09-17 04:36:44 +00:00
}
h1 {
2019-07-29 04:50:03 +00:00
padding: 0;
color: mc('blue', '800');
margin-top: 2rem;
position: relative;
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
2019-08-05 03:53:21 +00:00
color: mc('grey', '300');
2018-12-02 04:03:14 +00:00
}
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(to right, mc('theme', 'primary'), rgba(mc('theme', 'primary'), 0));
2019-07-29 04:50:03 +00:00
border-radius: 3px;
2018-12-30 03:12:52 +00:00
@at-root .theme--dark & {
2019-08-05 03:53:21 +00:00
background: linear-gradient(to right, mc('blue', '300') 0%, mc('blue', '500') 10%, rgba(mc('blue', '900'), 0) 100%);
2018-12-30 03:12:52 +00:00
}
@at-root .is-rtl & {
background: linear-gradient(to left, mc('theme', 'primary'), rgba(mc('theme', 'primary'), 0));
}
@at-root .theme--dark.is-rtl & {
background: linear-gradient(to left, mc('grey', '600'), rgba(mc('grey', '600'), 0));
}
}
}
h2 {
2019-07-29 04:50:03 +00:00
margin: 1rem 0 0 0;
color: mc('grey', '800');
position: relative;
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
color: mc('grey', '400');
2018-12-02 04:03:14 +00:00
}
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(to right, mc('grey', '700'), rgba(mc('grey', '700'), 0));
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
background: linear-gradient(to right, mc('grey', '300'), rgba(mc('grey', '700'), 0));
}
2018-09-16 04:35:03 +00:00
@at-root .is-rtl & {
background: linear-gradient(to left, mc('grey', '700'), rgba(mc('grey', '700'), 0));
}
@at-root .theme--dark.is-rtl & {
background: linear-gradient(to left, mc('grey', '300'), rgba(mc('grey', '700'), 0));
}
2018-09-16 04:35:03 +00:00
}
}
h3 {
2019-08-17 22:29:58 +00:00
margin: 8px 0 0 0;
2018-09-16 04:35:03 +00:00
color: mc('grey', '700');
position: relative;
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
color: mc('grey', '600');
}
2018-09-16 04:35:03 +00:00
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 90%);
}
}
h4, h5, h6 {
font-size: 1rem;
2019-08-17 22:29:58 +00:00
margin: 8px 0 0 0;
color: mc('grey', '700');
position: relative;
@at-root .theme--dark & {
color: mc('grey', '600');
}
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 70%);
}
}
h5 {
&::after {
background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 50%);
}
}
h6 {
&::after {
background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0) 30%);
2018-09-16 04:35:03 +00:00
}
}
2018-11-24 02:10:24 +00:00
// ---------------------------------
// PARAGRAPHS
// ---------------------------------
p {
padding: 1rem 0 0 0;
margin: 0;
@at-root .contents > div > p:first-child {
padding-top: 0;
}
2019-07-29 04:50:03 +00:00
@at-root .v-application & {
margin-bottom: 0;
}
}
2018-09-16 04:35:03 +00:00
2018-11-25 06:28:20 +00:00
hr {
2019-07-29 04:50:03 +00:00
margin: 1rem 0;
2018-11-25 06:28:20 +00:00
height: 1px;
border: none;
background-color: mc('grey', '400');
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
background-color: mc('grey', '700');
}
2018-11-25 06:28:20 +00:00
}
2019-01-18 20:58:39 +00:00
.emoji {
height: 1.25em;
margin: 0 1px -4px;
}
.text-huge {
font-size: 1.8em;
}
.text-big {
font-size: 1.4em;
}
.text-small {
font-size: .85em;
}
.text-tiny {
font-size: .7em;
}
2018-11-24 02:10:24 +00:00
blockquote {
padding: 0 1rem 1rem 1rem;
2020-05-08 22:48:07 +00:00
background-color: mc('blue-grey', '50');
border-left: 55px solid mc('blue-grey', '500');
2018-11-24 02:10:24 +00:00
border-radius: .5rem;
2019-07-29 04:50:03 +00:00
margin: 1rem 0;
2020-05-08 22:48:07 +00:00
position: relative;
@at-root .theme--dark & {
background-color: mc('blue-grey', '900');
}
&::before {
display: inline-block;
2020-05-11 23:49:40 +00:00
font: normal normal normal 24px/1 "Material Design Icons", sans-serif;
2020-05-08 22:48:07 +00:00
position: absolute;
margin-top: -12px;
top: 50%;
left: -38px;
color: rgba(255, 255, 255, .7);
content: "\F0757";
2020-05-08 22:48:07 +00:00
}
2018-11-24 02:10:24 +00:00
2019-01-19 21:57:25 +00:00
> p:first-child .emoji {
margin-right: .5rem;
}
2019-06-02 21:29:50 +00:00
&.valign-center > p {
display: flex;
align-items: center;
}
2018-11-24 02:10:24 +00:00
&.is-info {
background-color: mc('blue', '50');
2019-10-13 23:59:50 +00:00
border-color: mc('blue', '300');
color: mc('blue', '900');
2018-11-24 02:10:24 +00:00
2020-05-08 22:48:07 +00:00
&::before {
content: "\F02FC";
}
2018-11-24 02:10:24 +00:00
code {
background-color: mc('blue', '50');
color: mc('blue', '800');
}
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
2019-10-13 23:59:50 +00:00
background-color: mc('blue', '900');
color: mc('blue', '50');
2018-12-02 04:03:14 +00:00
border-color: mc('blue', '500');
}
2018-11-24 02:10:24 +00:00
}
&.is-warning {
background-color: mc('orange', '50');
2019-10-13 23:59:50 +00:00
border-color: mc('orange', '300');
color: darken(mc('orange', '900'), 10%);
2018-11-24 02:10:24 +00:00
2020-05-08 22:48:07 +00:00
&::before {
content: "\F0026";
}
2018-11-24 02:10:24 +00:00
code {
background-color: mc('orange', '50');
color: mc('orange', '800');
}
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
2019-10-13 23:59:50 +00:00
background-color: darken(mc('orange', '900'), 5%);
color: mc('orange', '100');
2018-12-02 04:03:14 +00:00
border-color: mc('orange', '500');
box-shadow: 0 0 2px 0 mc('grey', '900');
}
2018-11-24 02:10:24 +00:00
}
&.is-danger {
background-color: mc('red', '50');
2019-10-13 23:59:50 +00:00
border-color: mc('red', '300');
color: mc('red', '900');
2018-11-24 02:10:24 +00:00
2020-05-08 22:48:07 +00:00
&::before {
content: "\F0159";
}
2018-11-24 02:10:24 +00:00
code {
background-color: mc('red', '50');
color: mc('red', '800');
}
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
2019-10-13 23:59:50 +00:00
background-color: mc('red', '900');
color: mc('red', '100');
2018-12-02 04:03:14 +00:00
border-color: mc('red', '500');
}
2018-11-24 02:10:24 +00:00
}
&.is-success {
background-color: mc('green', '50');
2019-10-13 23:59:50 +00:00
border-color: mc('green', '300');
color: mc('green', '900');
2018-11-24 02:10:24 +00:00
2020-05-08 22:48:07 +00:00
&::before {
content: "\F0E1E";
}
2018-11-24 02:10:24 +00:00
code {
background-color: mc('green', '50');
color: mc('green', '800');
}
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
2019-10-13 23:59:50 +00:00
background-color: mc('green', '900');
color: mc('green', '50');
2018-12-02 04:03:14 +00:00
border-color: mc('green', '500');
}
2018-11-24 02:10:24 +00:00
}
}
2019-01-18 20:58:39 +00:00
// ---------------------------------
// LISTS
// ---------------------------------
2020-04-27 01:04:08 +00:00
ol, ul:not(.tabset-tabs) {
padding-top: 1rem;
width: 100%;
2019-01-18 20:58:39 +00:00
@at-root .is-rtl & {
padding-left: 0;
padding-right: 1rem;
}
2019-10-26 20:43:25 +00:00
li > ul, li > ol {
padding-top: .5rem;
2019-10-26 20:43:25 +00:00
padding-left: 1rem;
@at-root .is-rtl & {
padding-left: 0;
padding-right: 1rem;
}
2019-10-26 20:43:25 +00:00
}
2019-01-18 20:58:39 +00:00
li + li {
margin-top: .5rem;
}
&.links-list {
padding-left: 0;
list-style-type: none;
@at-root .is-rtl & {
padding-right: 0;
}
li {
background-color: mc('grey', '50');
background-image: linear-gradient(to bottom, #FFF, mc('grey', '50'));
border-right: 1px solid mc('grey', '200');
border-bottom: 1px solid mc('grey', '200');
border-left: 5px solid mc('grey', '300');
box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);
padding: 1rem;
border-radius: 5px;
font-weight: 500;
@at-root .is-rtl & {
border-left-width: 1px;
border-right-width: 5px;
}
&:hover {
background-image: linear-gradient(to bottom, #FFF, lighten(mc('blue', '50'), 4%));
border-left-color: mc('blue', '500');
cursor: pointer;
@at-root .is-rtl & {
border-left-color: mc('grey', '200');
border-right-width: mc('blue', '500');
}
}
&::before {
content: '';
display: none;
}
> a {
display: block;
text-decoration: none;
margin: -1rem;
padding: 1rem;
2019-06-02 21:29:50 +00:00
> em {
font-weight: 400;
font-style: normal;
color: mc('grey', '700');
display: inline-block;
padding-left: .5rem;
border-left: 1px solid mc('grey', '300');
margin-left: .5rem;
&.is-block {
display: block;
padding-left: 0;
margin-left: 0;
border-left: none;
}
}
}
> em {
font-weight: 400;
font-style: normal;
}
@at-root .theme--dark & {
background-color: mc('grey', '50');
background-image: linear-gradient(to bottom, lighten(mc('grey', '900'), 5%), mc('grey', '900'));
border-right: 1px solid mc('grey', '900');
border-bottom: 1px solid mc('grey', '900');
border-left: 5px solid mc('grey', '700');
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
@at-root .theme--dark.is-rtl & {
border-left-width: 1px;
border-right-width: 5px;
}
&:hover {
background-image: linear-gradient(to bottom, lighten(mc('grey', '900'), 2%), darken(mc('grey', '900'), 3%));
border-left-color: mc('indigo', '300');
cursor: pointer;
@at-root .theme--dark.is-rtl & {
border-left-color: mc('grey', '900');
border-right-width: mc('indigo', '300');
}
}
}
}
}
&.grid-list {
margin: 1rem 0 0 0;
background-color: #FFF;
border: 1px solid mc('grey', '200');
padding: 1px;
display: inline-block;
list-style-type: none;
@at-root .theme--dark & {
background-color: #000;
border: 1px solid mc('grey', '800');
}
li {
background-color: mc('grey', '50');
padding: .6rem 1rem;
display: block;
&:nth-child(odd) {
background-color: mc('grey', '100');
}
& + li {
margin-top: 0;
}
&::before {
2019-05-21 20:45:27 +00:00
content: '';
display: none;
}
@at-root .theme--dark & {
background-color: mc('grey', '900');
&:nth-child(odd) {
background-color: darken(mc('grey', '900'), 5%);
}
}
}
}
2019-01-18 20:58:39 +00:00
}
ul:not(.tabset-tabs):not(.contains-task-list) {
list-style: none;
> li::before {
position: absolute;
left: -1.1rem;
content: '\25b8';
color: mc('grey', '600');
width: 1.35rem;
2020-02-01 03:34:38 +00:00
@at-root .is-rtl & {
right: -1.1rem;
content: '\25C3';
}
}
}
2020-04-27 01:04:08 +00:00
ol, ul:not(.tabset-tabs) {
> li {
position: relative;
> p {
display:inline-block;
vertical-align:top;
padding-top:0;
}
}
2019-01-18 20:58:39 +00:00
}
2018-11-24 02:10:24 +00:00
// ---------------------------------
// CODE
// ---------------------------------
2018-09-16 04:35:03 +00:00
code {
2019-09-27 15:47:45 +00:00
background-color: mc('indigo', '50');
padding: 0 5px;
2019-09-27 15:47:45 +00:00
color: mc('indigo', '800');
font-family: 'Roboto Mono', monospace;
2019-09-27 15:47:45 +00:00
font-weight: normal;
font-size: 1rem;
box-shadow: none;
2018-09-16 04:35:03 +00:00
&::before, &::after {
display: none;
}
@at-root .theme--dark & {
background-color: darken(mc('grey', '900'), 5%);
color: mc('indigo', '100');
}
2018-09-16 04:35:03 +00:00
}
2018-09-17 02:30:24 +00:00
.prismjs{
border: none;
border-radius: 5px;
box-shadow: initial;
background-color: mc('grey', '900');
padding: 1rem 1rem 1rem 3rem;
margin: 1rem 0;
2018-09-17 02:30:24 +00:00
@at-root .theme--dark & {
background-color: darken(mc('grey', '900'), 5%);
}
2018-09-17 02:30:24 +00:00
> code {
background-color: transparent;
padding: 0;
color: #FFF;
2018-09-17 02:30:24 +00:00
box-shadow: initial;
display: block;
font-size: .85rem;
font-family: 'Roboto Mono', monospace;
2018-09-17 02:30:24 +00:00
&:after, &:before {
content: initial;
letter-spacing: initial;
}
}
2018-09-16 04:35:03 +00:00
}
.diagram {
margin-top: 1rem;
svg:first-child {
direction: ltr;
}
}
2018-11-24 02:10:24 +00:00
// ---------------------------------
// TASK LISTS
// ---------------------------------
.contains-task-list {
padding-left: 0;
}
2018-11-24 02:10:24 +00:00
.task-list-item {
position: relative;
2018-11-25 06:28:20 +00:00
list-style-type: none;
2018-11-24 02:10:24 +00:00
&-checkbox[disabled] {
width: 1.1rem;
height: 1.1rem;
top: 2px;
position: relative;
margin-right: 2px;
2018-11-24 02:10:24 +00:00
&::after {
2018-11-24 02:10:24 +00:00
position: absolute;
2018-11-25 06:28:20 +00:00
left: 0;
top: 0;
2018-11-24 02:10:24 +00:00
content: ' ';
display: block;
width: 1.1rem;
height: 1.1rem;
background-color: #FFF;
border: 1px solid mc('grey', '400');
border-radius: 2px;
font-weight: bold;
font-size: .8rem;
line-height: 1rem;
text-align: center;
2018-12-02 04:03:14 +00:00
@at-root .theme--dark & {
background-color: mc('grey', '900');
border-color: mc('grey', '700');
}
2018-11-24 02:10:24 +00:00
}
&[checked]::after {
2018-11-24 02:10:24 +00:00
content: '';
}
}
2018-11-25 06:28:20 +00:00
.contains-task-list {
padding: .5rem 0 0 1.5rem;
}
2018-11-24 02:10:24 +00:00
}
2019-01-19 21:57:25 +00:00
// ---------------------------------
// TABLES
// ---------------------------------
table {
margin: .5rem 1.75rem;
border-spacing: 0;
th {
padding: .75rem;
border-bottom: 2px solid mc('grey', '500');
color: mc('grey', '600');
}
td {
padding: .75rem;
}
tr {
td {
border-bottom: 1px solid mc('grey', '200');
}
}
}
2020-06-22 04:34:37 +00:00
figure.table {
margin: 0;
> table {
background-color: #FFF;
margin: 0;
border-collapse: collapse;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .07);
2020-06-23 03:56:18 +00:00
@at-root .theme--dark & {
background-color: darken(mc('grey', '900'), 3%);
}
2020-06-22 04:34:37 +00:00
td, th {
border: 1px solid mc('blue-grey', '100');
box-shadow: inset -1px -1px 0 0 #FFF, inset 1px 0 0 #FFF;
padding: .5rem .75rem;
2020-06-23 03:56:18 +00:00
@at-root .theme--dark & {
border-color: mc('grey', '700');
box-shadow: inset -1px -1px 0 0 rgba(0,0,0, .5);
}
2020-06-22 04:34:37 +00:00
}
th {
2020-06-23 03:56:18 +00:00
background-color: lighten(mc('blue-grey', '50'), 1%);
2020-06-22 04:34:37 +00:00
font-weight: 700;
2020-06-23 03:56:18 +00:00
color: mc('blue-grey', '700');
@at-root .theme--dark & {
background-color: mc('grey', '800');
color: mc('grey', '400');
}
2020-06-22 04:34:37 +00:00
}
thead th {
border-bottom: 2px solid mc('blue-grey', '100');
2020-06-23 03:56:18 +00:00
@at-root .theme--dark & {
border-bottom: none;
}
2020-06-22 04:34:37 +00:00
}
tbody th {
background-color: lighten(mc('blue-grey', '50'), 4%);
2020-06-23 03:56:18 +00:00
@at-root .theme--dark & {
background-color: darken(mc('grey', '800'), 8%);
}
2020-06-22 04:34:37 +00:00
}
}
}
2019-05-21 20:45:27 +00:00
// ---------------------------------
// IMAGES
// ---------------------------------
img {
2019-05-24 18:01:08 +00:00
max-width: 100%;
2019-05-21 20:45:27 +00:00
&.align-left {
float: left;
margin: 0 1rem 1rem 0;
}
&.align-right {
float: right;
margin: 0 0 1rem 1rem;
z-index: 1;
position: relative;
2019-05-21 20:45:27 +00:00
}
&.align-center {
display: block;
max-width: 100%;
margin: auto;
}
&.align-abstopright {
position: absolute;
2019-08-04 02:51:29 +00:00
top: -90px;
2019-05-21 20:45:27 +00:00
right: 1rem;
2019-08-04 02:51:29 +00:00
height: calc(90px - 32px);
2019-06-02 21:29:50 +00:00
width: auto;
2020-02-01 03:34:38 +00:00
@at-root .is-rtl & {
left: 1rem;
right: initial;
}
2019-05-21 20:45:27 +00:00
}
2019-05-22 01:03:40 +00:00
&.decor-shadow {
box-shadow: 0 3px 8px 0 rgba(116, 129, 141, 0.1);
}
&.decor-outline {
border: 1px solid mc('grey', '400');
}
2019-09-27 17:43:14 +00:00
&.uml-diagram {
margin: 1rem 0;
2019-09-27 17:43:14 +00:00
}
2019-05-21 20:45:27 +00:00
}
2019-09-08 16:01:17 +00:00
figure.image {
margin: 1rem 0 0 0;
2019-09-08 16:01:17 +00:00
img {
margin: 0 auto;
}
figcaption {
padding: 4px 1rem;
text-align: center;
font-size: 12px;
color: mc('grey', '700');
background-color: mc('grey', '100');
@at-root .theme--dark & {
color: mc('grey', '400');
background-color: mc('grey', '800');
}
}
}
figure.image-style-align-right {
float: right;
}
figure.image-style-align-left {
float: left;
}
2019-07-15 03:21:39 +00:00
// ---------------------------------
// DETAILS
// ---------------------------------
details {
background-color: mc('grey', '50');
margin: 1rem 2rem;
border: 1px solid mc('grey', '300');
border-radius: 7px;
> p {
padding-left: 0;
}
> summary {
2019-07-15 03:21:39 +00:00
border-radius: 7px;
background-color: mc('grey', '50');
cursor: pointer;
display: list-item;
2019-07-15 03:21:39 +00:00
align-items: center;
padding: 0.4rem 1rem;
2019-07-15 03:21:39 +00:00
transition: background-color .4s ease;
&:focus {
outline: none;
background-color: mc('grey', '100');
}
> h1, h2, h3, h4, h5, h6 {
width: 95%;
display: inline-block;
&:first-child {
margin-top: 0;
}
&:only-child::after {
display: none;
}
}
2019-07-15 03:21:39 +00:00
}
&[open] {
padding: 1rem;
> summary {
2019-07-15 03:21:39 +00:00
background-color: mc('grey', '100');
border-bottom: 1px solid mc('grey', '300');
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
margin: -1rem -1rem 1rem -1rem;
}
}
2019-07-21 02:44:41 +00:00
@at-root .theme--dark & {
background-color: mc('grey', '900');
border-color: mc('grey', '700');
> summary {
2019-07-21 02:44:41 +00:00
background-color: mc('grey', '900');
border-color: mc('grey', '700');
}
&[open] > summary {
2019-07-21 02:44:41 +00:00
background-color: lighten(mc('grey', '900'), 5%);
}
}
2019-07-15 03:21:39 +00:00
}
// ---------------------------------
// HIGHLIGHTING
// ---------------------------------
mark {
&.pen-red {
color: mc('red', '500');
background-color: initial;
}
&.pen-green {
color: mc('green', '500');
background-color: initial;
}
&.marker-blue {
background-color: mc('blue', '300');
}
&.marker-yellow {
background-color: mc('yellow', '300');
}
&.marker-pink {
background-color: mc('pink', '300');
}
&.marker-green {
background-color: mc('green', '300');
}
}
2020-06-23 03:56:18 +00:00
.mention {
background-color: rgba(153, 0, 48, .1);
color: #990030;
@at-root .theme--dark & {
color: mc('pink', '500');
}
}
}
2019-07-24 01:38:42 +00:00
2020-05-23 22:49:10 +00:00
// ---------------------------------
// COMMENTS
// ---------------------------------
2020-05-17 02:46:05 +00:00
2020-05-23 22:49:10 +00:00
.comments {
&-container {
border-radius: 7px;
}
&-header {
color: #FFF;
padding: 8px 20px;
font-size: 16px;
font-weight: 500;
background-color: mc('blue-grey', '500');
border-radius: 7px 7px 0 0;
@at-root .theme--dark & {
background-color: lighten(mc('blue-grey', '900'), 5%);
2020-05-23 22:49:10 +00:00
}
}
&-main {
background-color: mc('blue-grey', '50');
border-radius: 0 0 7px 7px;
padding: 20px;
@at-root .theme--dark & {
background-color: darken(mc('grey', '900'), 5%);
}
2020-05-17 02:46:05 +00:00
}
}
2019-07-24 01:38:42 +00:00
// ---------------
// RTL FIXES
// Vuetify GH Issue: https://github.com/vuetifyjs/vuetify/issues/6317
// ---------------
.is-rtl {
.page-col-content.is-page-header {
@each $size, $width in $grid-breakpoints {
@media (min-width: $width) {
@for $n from 0 through 12 {
&.offset-#{$size}-#{$n} {
margin-left: 0;
margin-right: ($n / 12 * 100) * 1%;
}
}
}
}
}
}
// ---------------
2019-07-24 01:38:42 +00:00
// PRINT OVERRIDES
// ---------------
@media print {
.nav-header,
.v-navigation-drawer,
2019-08-25 18:23:56 +00:00
.v-btn--fab,
.page-col-sd,
.v-tooltip__content
2019-07-24 01:38:42 +00:00
{
2019-08-25 18:23:56 +00:00
display: none !important;
2019-07-24 01:38:42 +00:00
}
2020-04-12 17:19:16 +00:00
.layout {
display: block !important;
}
2019-07-24 01:38:42 +00:00
.page-col-content {
flex-basis: 100% !important;
flex-grow: 1 !important;
max-width: 100% !important;
2019-08-25 18:23:56 +00:00
margin-left: 0 !important;
2019-07-24 01:38:42 +00:00
> .v-toolbar {
border: 1px solid mc('grey', '300') !important;
border-radius: 7px !important;
& + .v-divider {
display: none !important;
}
}
}
2020-11-01 18:03:22 +00:00
.v-main {
2019-07-24 01:38:42 +00:00
padding: 0 !important;
2019-08-25 18:23:56 +00:00
font-size: 14px;
background-color: #FFF;
2019-07-24 01:38:42 +00:00
}
2020-11-01 18:03:22 +00:00
.v-main .contents {
color: #000;
background-color: #FFF;
@at-root .theme--dark & {
color: #000;
}
2019-09-27 15:47:45 +00:00
.prismjs{
box-shadow: none;
background-color: #FFF;
2019-07-24 01:38:42 +00:00
@at-root .theme--dark & {
background-color: #FFF;
}
2019-09-27 15:47:45 +00:00
> code {
color: #000;
box-shadow: none;
text-shadow: none;
}
}
}
.comments-container {
display: none;
}
2019-07-24 01:38:42 +00:00
}