2019-09-11 19:29:05 +00:00
|
|
|
$black: black;
|
|
|
|
$white: white;
|
|
|
|
$grey: grey;
|
|
|
|
$cyan: #13fefe;
|
|
|
|
$magenta: #f206f9;
|
|
|
|
|
2020-11-13 21:38:02 +00:00
|
|
|
$colors: (
|
|
|
|
"black": $black,
|
|
|
|
"white": $white,
|
|
|
|
"cyan": $cyan,
|
2020-11-14 12:49:49 +00:00
|
|
|
"magenta": $magenta
|
2020-11-13 21:38:02 +00:00
|
|
|
);
|
|
|
|
|
2020-02-18 18:15:02 +00:00
|
|
|
// Redefinir variables de Bootstrap
|
|
|
|
$primary: $magenta;
|
2020-12-24 15:36:38 +00:00
|
|
|
$secondary: $black;
|
2020-06-08 23:25:05 +00:00
|
|
|
$jumbotron-bg: transparent;
|
2020-07-22 19:21:44 +00:00
|
|
|
$enable-rounded: false;
|
2023-04-17 18:42:32 +00:00
|
|
|
$form-feedback-valid-color: $black;
|
2020-07-22 19:21:44 +00:00
|
|
|
$form-feedback-invalid-color: $magenta;
|
|
|
|
$form-feedback-icon-valid-color: $black;
|
|
|
|
$component-active-bg: $magenta;
|
2023-04-15 19:39:05 +00:00
|
|
|
$btn-white-space: nowrap;
|
2023-04-18 19:30:00 +00:00
|
|
|
$font-weight-bolder: 700;
|
2020-02-18 18:15:02 +00:00
|
|
|
|
2021-05-07 19:17:25 +00:00
|
|
|
$spacers: (
|
|
|
|
2-plus: 0.75rem
|
|
|
|
);
|
|
|
|
|
2023-03-28 22:21:07 +00:00
|
|
|
$sizes: (
|
|
|
|
"70ch": 70ch,
|
|
|
|
);
|
|
|
|
|
2020-02-18 18:15:02 +00:00
|
|
|
@import "bootstrap";
|
2020-11-13 21:38:02 +00:00
|
|
|
@import "editor";
|
2020-02-18 18:15:02 +00:00
|
|
|
|
2020-11-17 22:00:02 +00:00
|
|
|
.editor {
|
|
|
|
.editor-content {
|
|
|
|
figure {
|
|
|
|
border: 1px solid transparentize($magenta, 0.3)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-12 18:10:01 +00:00
|
|
|
:root {
|
|
|
|
--foreground: #{$black};
|
|
|
|
--background: #{$white};
|
|
|
|
--color: #{$magenta};
|
|
|
|
}
|
|
|
|
|
2023-04-22 22:56:24 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--foreground: #{$white};
|
|
|
|
--background: #{$black};
|
|
|
|
--color: #{$cyan};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-13 19:09:23 +00:00
|
|
|
// TODO: Encontrar la forma de generar esto desde los locales de Rails
|
|
|
|
$custom-file-text: (
|
|
|
|
en: 'Browse',
|
|
|
|
es: 'Buscar archivo'
|
|
|
|
);
|
|
|
|
|
2019-07-31 20:55:34 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Saira';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
|
|
|
font-display: optional;
|
|
|
|
src: local('Saira Medium'), local('Saira-Medium'),
|
2020-01-24 14:57:20 +00:00
|
|
|
font-url('saira/v3/SairaMedium-subset.woff2') format('woff2'),
|
|
|
|
font-url('saira/v3/SairaMedium-subset.zopfli.woff') format('woff');
|
2019-07-31 20:55:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Saira';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
font-display: optional;
|
|
|
|
src: local('Saira Bold'), local('Saira-Bold'),
|
2020-01-24 14:57:20 +00:00
|
|
|
font-url('saira/v3/SairaBold-subset.woff2') format('woff2'),
|
|
|
|
font-url('saira/v3/SairaBold-subset.zopfli.woff') format('woff');
|
2019-07-31 20:55:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: Saira, sans-serif;
|
2019-09-12 18:10:01 +00:00
|
|
|
background-color: var(--background);
|
|
|
|
color: var(--foreground);
|
2019-07-31 20:55:34 +00:00
|
|
|
}
|
|
|
|
|
2020-05-23 18:42:12 +00:00
|
|
|
* {
|
|
|
|
.rtl,
|
|
|
|
&[dir=rtl] {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-01 18:15:31 +00:00
|
|
|
a {
|
2019-09-12 18:10:01 +00:00
|
|
|
color: var(--color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color);
|
|
|
|
}
|
|
|
|
|
2023-04-15 19:57:42 +00:00
|
|
|
&:focus {
|
|
|
|
outline: 1px solid var(--color);
|
|
|
|
}
|
|
|
|
|
2019-08-01 18:15:31 +00:00
|
|
|
&[target=_blank] {
|
|
|
|
/* TODO: Convertir a base64 para no hacer peticiones extra */
|
|
|
|
&:after {
|
|
|
|
content: image-url('icon_external_link.png');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-29 18:09:30 +00:00
|
|
|
$footer-height: 60px;
|
|
|
|
|
2018-02-03 14:02:21 +00:00
|
|
|
/* Colores */
|
2018-02-24 22:40:31 +00:00
|
|
|
$purpura: #5c004d;
|
|
|
|
$turquesa: #009389;
|
|
|
|
$azul: #0b2660;
|
|
|
|
$fucsia: #e9193e;
|
|
|
|
$celeste: #91f0ff;
|
|
|
|
$verde: #96d643;
|
|
|
|
|
|
|
|
ol.breadcrumb {
|
2019-09-11 19:29:05 +00:00
|
|
|
background-color: transparent;
|
2018-02-24 22:40:31 +00:00
|
|
|
}
|
|
|
|
|
2019-09-30 17:11:33 +00:00
|
|
|
.breadcrumb-item,
|
|
|
|
.breadcrumb-item.active,
|
|
|
|
.table,
|
|
|
|
.form-control,
|
|
|
|
.custom-file-label {
|
|
|
|
color: var(--foreground);
|
2018-02-24 22:40:31 +00:00
|
|
|
}
|
|
|
|
|
2022-04-30 21:42:50 +00:00
|
|
|
.table tr.sticky-top,
|
2019-09-30 17:11:33 +00:00
|
|
|
.form-control,
|
|
|
|
.custom-file-label {
|
|
|
|
background-color: var(--background);
|
2018-02-24 22:40:31 +00:00
|
|
|
}
|
2018-02-03 14:02:21 +00:00
|
|
|
|
|
|
|
.turbolinks-progress-bar {
|
2018-02-03 22:35:14 +00:00
|
|
|
height: 3px;
|
2019-09-11 19:34:08 +00:00
|
|
|
background-color: $magenta;
|
2018-02-03 14:02:21 +00:00
|
|
|
}
|
|
|
|
|
2018-02-26 22:08:21 +00:00
|
|
|
.btn-text {
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
}
|
2018-04-16 17:20:45 +00:00
|
|
|
|
|
|
|
.inline {
|
|
|
|
display: inline;
|
|
|
|
}
|
2018-04-27 19:46:21 +00:00
|
|
|
|
|
|
|
.sindu_dragger table {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
2018-04-30 17:19:19 +00:00
|
|
|
|
|
|
|
.d-none, .d-block {
|
|
|
|
transition: all 3s;
|
|
|
|
}
|
2018-06-19 17:33:13 +00:00
|
|
|
|
2023-03-22 17:38:18 +00:00
|
|
|
fieldset {
|
|
|
|
legend {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-28 21:05:59 +00:00
|
|
|
.mapable,
|
2019-08-16 23:25:07 +00:00
|
|
|
.taggable {
|
2020-01-28 21:05:59 +00:00
|
|
|
.input-map,
|
2019-08-16 23:25:07 +00:00
|
|
|
.input-tag {
|
|
|
|
legend {
|
|
|
|
@extend .sr-only
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&[type=text] {
|
|
|
|
@extend .form-control;
|
|
|
|
display: inline-block;
|
2020-02-19 21:48:22 +00:00
|
|
|
width: calc(100% - 93px);
|
2019-08-16 23:25:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[type=checkbox] {
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=button] {
|
|
|
|
@extend .btn;
|
|
|
|
@extend .btn-info;
|
2020-07-22 19:21:44 +00:00
|
|
|
@extend .m-0;
|
2019-08-16 23:25:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-09-04 16:50:27 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
.is-path-magenta {
|
2019-09-12 18:10:01 +00:00
|
|
|
fill: var(--foreground);
|
2019-09-11 19:29:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-12 16:55:20 +00:00
|
|
|
.btn {
|
2023-04-21 17:53:37 +00:00
|
|
|
background-color: var(--foreground);
|
|
|
|
color: var(--background);
|
2019-09-12 16:55:20 +00:00
|
|
|
border: none;
|
|
|
|
border-radius: 0;
|
2020-02-11 17:45:00 +00:00
|
|
|
margin-right: 0.3rem;
|
2020-02-19 21:48:22 +00:00
|
|
|
margin-bottom: 0.3rem;
|
2019-09-12 16:55:20 +00:00
|
|
|
|
|
|
|
&:hover {
|
2019-09-12 18:10:01 +00:00
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--color);
|
2019-09-12 16:55:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2019-09-12 18:10:01 +00:00
|
|
|
background-color: var(--color);
|
2019-09-12 16:55:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2019-09-12 18:10:01 +00:00
|
|
|
box-shadow: 0 0 0 0.2rem var(--color);
|
2019-09-12 16:55:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-15 19:39:31 +00:00
|
|
|
.badge {
|
|
|
|
white-space: break-spaces;
|
|
|
|
}
|
|
|
|
|
2021-05-07 20:31:13 +00:00
|
|
|
.btn-sm {
|
|
|
|
@extend .badge
|
|
|
|
}
|
|
|
|
|
2019-09-11 19:29:05 +00:00
|
|
|
.black-bg {
|
|
|
|
color: $white;
|
|
|
|
background-color: $black;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
.is-path-magenta {
|
|
|
|
fill: $white
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $magenta;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: $white;
|
|
|
|
color: $black;
|
|
|
|
border: none;
|
|
|
|
|
2019-09-12 16:55:20 +00:00
|
|
|
&:hover {
|
|
|
|
color: $black;
|
|
|
|
background-color: $cyan;
|
|
|
|
}
|
|
|
|
|
2019-09-11 19:29:05 +00:00
|
|
|
&:active {
|
|
|
|
background-color: $cyan;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0 0 0 0.2rem $cyan;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb-item {
|
|
|
|
color: $white;
|
2019-09-04 16:50:27 +00:00
|
|
|
}
|
|
|
|
}
|
2019-09-30 17:11:33 +00:00
|
|
|
|
|
|
|
::-moz-selection,
|
|
|
|
::selection {
|
|
|
|
background: var(--color);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
.black-bg {
|
|
|
|
::selection,
|
|
|
|
::-moz-selection {
|
|
|
|
background-color: $magenta;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
}
|
2019-11-06 21:06:19 +00:00
|
|
|
|
|
|
|
.handle {
|
|
|
|
img {
|
|
|
|
height: 1rem;
|
|
|
|
}
|
|
|
|
}
|
2020-03-31 21:30:09 +00:00
|
|
|
|
|
|
|
.custom-control-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.designs {
|
|
|
|
.design {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
2020-05-26 21:32:46 +00:00
|
|
|
|
|
|
|
.editor {
|
|
|
|
.ProseMirror-menubar {
|
|
|
|
min-height: 32px;
|
2020-06-24 20:48:58 +00:00
|
|
|
color: var(--color);
|
2020-06-01 20:44:20 +00:00
|
|
|
background-color: var(--background);
|
2020-05-26 21:32:46 +00:00
|
|
|
border: none;
|
|
|
|
|
|
|
|
.ProseMirror-menu-active {
|
|
|
|
border-radius: unset;
|
|
|
|
color: var(--color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ProseMirror {
|
|
|
|
@extend .form-control;
|
|
|
|
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
2020-06-08 23:25:05 +00:00
|
|
|
|
|
|
|
.vh-100 {
|
|
|
|
height: 100vh !important;
|
|
|
|
}
|
2020-11-16 23:52:02 +00:00
|
|
|
|
|
|
|
// Viene de sutty-base-jekyll-theme
|
|
|
|
$prefixes: ("", "-webkit-", "-ms-", "-o-", "-moz-");
|
|
|
|
$overflows: auto, hidden, scroll;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Usar en animaciones, empiezan rápido y desaceleran hacia el final.
|
|
|
|
*/
|
|
|
|
$bezier: cubic-bezier(0.75, 0, 0.25, 1);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Ocultar la barra de scroll, útil para sliders horizontales.
|
|
|
|
*/
|
|
|
|
.no-scrollbar {
|
|
|
|
scrollbar-width: none;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar { display: none; }
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $cursor in (pointer none) {
|
|
|
|
.cursor-#{$cursor} {
|
|
|
|
cursor: $cursor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $direction in (top, right, bottom, left) {
|
|
|
|
.#{$direction}-0 {
|
|
|
|
#{$direction}: 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $value in $overflows {
|
|
|
|
.overflow-#{$value} { overflow: $value !important; }
|
|
|
|
}
|
|
|
|
|
|
|
|
@each $axis in (y, x) {
|
|
|
|
@each $value in $overflows {
|
|
|
|
.overflow-#{$axis}-#{$value} { overflow-#{$axis}: $value !important; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Poder aumentar o disminuir el alto de la tipografía, se usa de la
|
|
|
|
* misma forma que los modificadores de padding y margin.
|
|
|
|
*/
|
|
|
|
@each $size, $length in $spacers {
|
|
|
|
.f-#{$size} {
|
|
|
|
font-size: $length !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-column-#{$size} {
|
|
|
|
column-count: $size;
|
|
|
|
}
|
2021-05-09 16:12:06 +00:00
|
|
|
|
|
|
|
.line-clamp-#{$size} {
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: $size;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
2020-11-16 23:52:02 +00:00
|
|
|
}
|
|
|
|
|
2023-04-15 22:24:45 +00:00
|
|
|
.word-break-all { word-break: break-all !important; }
|
2023-04-20 21:17:41 +00:00
|
|
|
.hyphens { hyphens: auto; }
|
2023-04-15 22:24:45 +00:00
|
|
|
|
2020-11-16 23:52:02 +00:00
|
|
|
/*
|
|
|
|
* Modificadores de Bootstrap que no tienen versión responsive.
|
|
|
|
*/
|
|
|
|
@each $grid-breakpoint, $_ in $grid-breakpoints {
|
|
|
|
@include media-breakpoint-up($grid-breakpoint) {
|
|
|
|
// border
|
|
|
|
.border-#{$grid-breakpoint} { border: $border-width solid $border-color !important; }
|
|
|
|
.border-#{$grid-breakpoint}-top { border-top: $border-width solid $border-color !important; }
|
|
|
|
.border-#{$grid-breakpoint}-right { border-right: $border-width solid $border-color !important; }
|
|
|
|
.border-#{$grid-breakpoint}-bottom { border-bottom: $border-width solid $border-color !important; }
|
|
|
|
.border-#{$grid-breakpoint}-left { border-left: $border-width solid $border-color !important; }
|
|
|
|
.border-#{$grid-breakpoint}-0 { border: 0 !important; }
|
|
|
|
.border-#{$grid-breakpoint}-top-0 { border-top: 0 !important; }
|
|
|
|
.border-#{$grid-breakpoint}-right-0 { border-right: 0 !important; }
|
|
|
|
.border-#{$grid-breakpoint}-bottom-0 { border-bottom: 0 !important; }
|
|
|
|
.border-#{$grid-breakpoint}-left-0 { border-left: 0 !important; }
|
|
|
|
|
|
|
|
// alineación
|
|
|
|
.text-#{$grid-breakpoint}-left { text-align: left !important; }
|
|
|
|
.text-#{$grid-breakpoint}-right { text-align: right !important; }
|
|
|
|
.text-#{$grid-breakpoint}-center { text-align: center !important; }
|
|
|
|
|
2023-04-15 22:24:45 +00:00
|
|
|
.word-break-#{$grid-breakpoint}-all { word-break: break-all !important; }
|
|
|
|
|
2020-11-16 23:52:02 +00:00
|
|
|
// posición
|
|
|
|
@each $position in $positions {
|
|
|
|
.position-#{$grid-breakpoint}-#{$position} { position: $position !important; }
|
|
|
|
}
|
|
|
|
|
|
|
|
// anchos y altos
|
|
|
|
@each $prop, $abbrev in (width: w, height: h) {
|
|
|
|
@each $size, $length in $sizes {
|
|
|
|
.#{$abbrev}-#{$grid-breakpoint}-#{$size} { #{$prop}: $length !important; }
|
2023-03-29 23:39:27 +00:00
|
|
|
.min-#{$abbrev}-#{$grid-breakpoint}-#{$size} { min-#{$prop}: $length !important; }
|
|
|
|
.max-#{$abbrev}-#{$grid-breakpoint}-#{$size} { max-#{$prop}: $length !important; }
|
2020-11-16 23:52:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// versión responsive de f
|
|
|
|
@each $size, $length in $spacers {
|
|
|
|
.f-#{$grid-breakpoint}-#{$size} {
|
|
|
|
font-size: $length !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-column-#{$grid-breakpoint}-#{$size} {
|
|
|
|
column-count: $size;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Crea una propiedad con prefijos de navegador
|
|
|
|
*/
|
|
|
|
@mixin vendor-prefix($property, $definition...) {
|
|
|
|
@each $prefix in $prefixes {
|
|
|
|
#{$prefix}$property: $definition;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Crea clases para asignar colores según la lista de colores.
|
|
|
|
*/
|
|
|
|
@each $color, $_ in $colors {
|
|
|
|
.background-#{$color} {
|
|
|
|
background-color: var(--#{$color});
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: var(--#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbar-#{$color} {
|
|
|
|
scrollbar-color: var(--#{$color}) transparent;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 5px;
|
|
|
|
height: 8px;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
background: var(--#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.border-#{$color} {
|
|
|
|
border-color: var(--#{$color}) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hover-bg-#{$color} {
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hover-#{$color} {
|
|
|
|
&:hover {
|
|
|
|
color: var(--#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.#{$color} {
|
|
|
|
color: var(--#{$color});
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
color: var(--#{$color});
|
|
|
|
}
|
|
|
|
|
|
|
|
::-moz-selection,
|
|
|
|
::selection {
|
|
|
|
background: var(--#{$color});
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
* {
|
|
|
|
fill: var(--#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-control {
|
|
|
|
border-color: var(--#{$color});
|
|
|
|
color: var(--#{$color});
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-color: var(--#{$color});
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-10-24 17:42:24 +00:00
|
|
|
|
|
|
|
@import "new_editor";
|
2022-11-04 19:58:56 +00:00
|
|
|
|
|
|
|
.new-editor {
|
|
|
|
.editor {
|
|
|
|
table {
|
|
|
|
@extend .table;
|
|
|
|
@extend .table-responsive;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-11-08 23:19:53 +00:00
|
|
|
|
|
|
|
.content {
|
|
|
|
p { min-height: $font-size-base * $line-height-base; }
|
|
|
|
h1 { min-height: $h1-font-size * $headings-line-height; }
|
|
|
|
h2 { min-height: $h2-font-size * $headings-line-height; }
|
|
|
|
h3 { min-height: $h3-font-size * $headings-line-height; }
|
|
|
|
h4 { min-height: $h4-font-size * $headings-line-height; }
|
|
|
|
h5 { min-height: $h5-font-size * $headings-line-height; }
|
|
|
|
h6 { min-height: $h6-font-size * $headings-line-height; }
|
|
|
|
|
|
|
|
iframe { border: 0; }
|
|
|
|
|
|
|
|
audio { width: 100%; }
|
|
|
|
|
|
|
|
img,
|
|
|
|
video,
|
|
|
|
iframe {
|
|
|
|
@extend .img-fluid;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|