2019-08-30 20:47:31 +00:00
|
|
|
//= require_tree .
|
2019-09-11 19:29:05 +00:00
|
|
|
|
|
|
|
$black: black;
|
|
|
|
$white: white;
|
|
|
|
$grey: grey;
|
|
|
|
$cyan: #13fefe;
|
|
|
|
$magenta: #f206f9;
|
|
|
|
|
2020-02-18 18:15:02 +00:00
|
|
|
// Redefinir variables de Bootstrap
|
|
|
|
$primary: $magenta;
|
|
|
|
|
|
|
|
@import "bootstrap";
|
|
|
|
|
2019-09-12 18:10:01 +00:00
|
|
|
:root {
|
|
|
|
--foreground: #{$black};
|
|
|
|
--background: #{$white};
|
|
|
|
--color: #{$magenta};
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--foreground: #{$white};
|
|
|
|
--background: #{$black};
|
|
|
|
--color: #{$cyan};
|
|
|
|
}
|
2020-01-27 20:56:50 +00:00
|
|
|
trix-toolbar {
|
|
|
|
.trix-button--icon {
|
|
|
|
background-color: var(--color);
|
|
|
|
}
|
|
|
|
}
|
2019-09-12 18:10:01 +00:00
|
|
|
}
|
|
|
|
|
2020-01-24 17:52:36 +00:00
|
|
|
trix-toolbar {
|
|
|
|
background-color: var(--background);
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2020-01-27 20:56:50 +00:00
|
|
|
|
2020-01-24 17:52:36 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2019-08-01 18:15:31 +00:00
|
|
|
a {
|
2019-09-12 18:10:01 +00:00
|
|
|
color: var(--color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: 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
|
|
|
}
|
|
|
|
|
|
|
|
.form-control {
|
|
|
|
&:focus {
|
|
|
|
border-color: transparentize($verde, 0.25);
|
|
|
|
box-shadow: 0 0 0 0.2rem transparentize($verde, 0.75);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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-10 16:09:42 +00:00
|
|
|
.rtl {
|
|
|
|
direction: rtl;
|
|
|
|
text-align: right;
|
|
|
|
}
|
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
|
|
|
|
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;
|
|
|
|
width: calc(100% - 90px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=checkbox] {
|
|
|
|
}
|
|
|
|
|
|
|
|
&[type=button] {
|
|
|
|
@extend .btn;
|
|
|
|
@extend .btn-info;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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 {
|
2019-09-12 18:10:01 +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;
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|