observatorio-jekyll-theme 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +168 -0
- data/README.md +164 -0
- data/_config.yml +112 -0
- data/_data/assets.json +4 -0
- data/_data/en.yml +106 -0
- data/_data/es.yml +131 -0
- data/_data/forms/asociate.yml +55 -0
- data/_data/forms/contacto.yml +59 -0
- data/_data/forms/dona.yml +60 -0
- data/_data/forms/newsletter.yml +18 -0
- data/_data/forms/shipping_address.yml +94 -0
- data/_data/forms/sumate.yml +46 -0
- data/_data/forms/user.yml +13 -0
- data/_data/layouts/about.yml +112 -0
- data/_data/layouts/banner_1.yml +65 -0
- data/_data/layouts/banner_2.yml +89 -0
- data/_data/layouts/biblioteca.yml +110 -0
- data/_data/layouts/cart.yml +222 -0
- data/_data/layouts/confirmation.yml +68 -0
- data/_data/layouts/contacto.yml +82 -0
- data/_data/layouts/email.yml +56 -0
- data/_data/layouts/integrante.yml +60 -0
- data/_data/layouts/menu.yml +73 -0
- data/_data/layouts/payment.yml +126 -0
- data/_data/layouts/peticiones.yml +87 -0
- data/_data/layouts/post.yml +135 -0
- data/_data/layouts/product.yml +142 -0
- data/_data/layouts/shipment.yml +126 -0
- data/_data/layouts/theme.yml +266 -0
- data/_includes/5b0263ea6cfc4dab9f3d3fcec87a8337.webp +0 -0
- data/_includes/archive.html +14 -0
- data/_includes/archive_layout_about.html +0 -0
- data/_includes/archive_layout_articulos.html +14 -0
- data/_includes/archive_layout_banner-1.html +0 -0
- data/_includes/archive_layout_banner-2.html +0 -0
- data/_includes/archive_layout_banner_1.html +0 -0
- data/_includes/archive_layout_banner_2.html +0 -0
- data/_includes/archive_layout_biblioteca.html +16 -0
- data/_includes/archive_layout_contacto.html +0 -0
- data/_includes/archive_layout_integrantes.html +26 -0
- data/_includes/archive_layout_layout.html +0 -0
- data/_includes/archive_layout_menu.html +0 -0
- data/_includes/archive_layout_theme.html +0 -0
- data/_includes/archive_post.html +0 -0
- data/_includes/boolean.html +30 -0
- data/_includes/cart_add.html +8 -0
- data/_includes/cart_controller.html +11 -0
- data/_includes/contact.html +23 -0
- data/_includes/content.html +1 -0
- data/_includes/country.html +53 -0
- data/_includes/device_detector.html +15 -0
- data/_includes/donacion.html +125 -0
- data/_includes/email.html +1 -0
- data/_includes/file.html +35 -0
- data/_includes/floating_alert.html +6 -0
- data/_includes/footer.html +11 -0
- data/_includes/form/boolean.html +1 -0
- data/_includes/form/content.html +1 -0
- data/_includes/form/email.html +1 -0
- data/_includes/form/file.html +1 -0
- data/_includes/form/hidden.html +1 -0
- data/_includes/form/image.html +1 -0
- data/_includes/form/input.html +1 -0
- data/_includes/form/markdown_content.html +1 -0
- data/_includes/form/number.html +1 -0
- data/_includes/form/predefined_array.html +1 -0
- data/_includes/form/section.html +1 -0
- data/_includes/form/separator.html +1 -0
- data/_includes/form/string.html +1 -0
- data/_includes/form/submit.html +1 -0
- data/_includes/form/tel.html +1 -0
- data/_includes/form/text.html +1 -0
- data/_includes/form/url.html +1 -0
- data/_includes/hidden.html +5 -0
- data/_includes/image.html +32 -0
- data/_includes/input.html +49 -0
- data/_includes/intento%20logo%20b_edited.webp +0 -0
- data/_includes/item.html +38 -0
- data/_includes/logo.png +0 -0
- data/_includes/logo.svg +1560 -0
- data/_includes/markdown_content.html +1 -0
- data/_includes/matomo.html +15 -0
- data/_includes/menu.html +27 -0
- data/_includes/navbar.html +32 -0
- data/_includes/newsletter.html +10 -0
- data/_includes/notification.html +5 -0
- data/_includes/number.html +1 -0
- data/_includes/pack.html +1 -0
- data/_includes/password.html +1 -0
- data/_includes/pay_what_you_can_controller.html +13 -0
- data/_includes/picture.html +23 -0
- data/_includes/post.html +48 -0
- data/_includes/postal_code.html +45 -0
- data/_includes/predefined_array.html +39 -0
- data/_includes/preload_font.html +1 -0
- data/_includes/product.html +38 -0
- data/_includes/search.html +25 -0
- data/_includes/section.html +1 -0
- data/_includes/separator.html +1 -0
- data/_includes/share.html +22 -0
- data/_includes/share_box.html +29 -0
- data/_includes/social_networks.html +8 -0
- data/_includes/state.html +52 -0
- data/_includes/string.html +3 -0
- data/_includes/subitem.html +7 -0
- data/_includes/submit.html +5 -0
- data/_includes/tel.html +1 -0
- data/_includes/text.html +32 -0
- data/_includes/url.html +1 -0
- data/_includes/video.html +7 -0
- data/_layouts/about.html +52 -0
- data/_layouts/acciones.html +21 -0
- data/_layouts/archive.html +5 -0
- data/_layouts/asociate.html +20 -0
- data/_layouts/biblioteca.html +85 -0
- data/_layouts/cart.html +72 -0
- data/_layouts/confirmation.html +23 -0
- data/_layouts/contacto.html +47 -0
- data/_layouts/default.html +72 -0
- data/_layouts/dona.html +20 -0
- data/_layouts/home.html +142 -0
- data/_layouts/integrante.html +26 -0
- data/_layouts/layout-categories.html +5 -0
- data/_layouts/layout.html +6 -0
- data/_layouts/page.html +5 -0
- data/_layouts/participa.html +12 -0
- data/_layouts/payment.html +21 -0
- data/_layouts/peticiones.html +24 -0
- data/_layouts/post.html +91 -0
- data/_layouts/product.html +110 -0
- data/_layouts/shipment.html +52 -0
- data/_layouts/sumate.html +20 -0
- data/_sass/accessibility.scss +54 -0
- data/_sass/content.scss +11 -0
- data/_sass/editor.scss +29 -0
- data/_sass/embed.scss +13 -0
- data/_sass/floating_alert.scss +48 -0
- data/_sass/fonts.scss +29 -0
- data/_sass/helpers.scss +379 -0
- data/_sass/menu.scss +36 -0
- data/_sass/share_box.scss +26 -0
- data/_sass/slider.scss +29 -0
- data/_sass/snap.scss +60 -0
- data/_sass/toggler.scss +62 -0
- data/assets/css/styles.scss +173 -0
- data/assets/data/site.json +10 -0
- data/assets/fonts/forkawesome-webfont.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOjCnqEu92Fr1Mu51TzBhc9-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1MmgWxP-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOkCnqEu92Fr1Mu52xP-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOlCnqEu92Fr1MmWUlvAw-subset.woff2 +0 -0
- data/assets/fonts/roboto/v27/KFOmCnqEu92Fr1Me5Q-subset.woff2 +0 -0
- data/assets/js/pack.9dc6883564ec9354c89d.js +114 -0
- data/assets/js/pack.9dc6883564ec9354c89d.js.map +1 -0
- data/assets/templates/alert.html +9 -0
- data/assets/templates/cart.html +67 -0
- data/assets/templates/confirmation.html +67 -0
- data/assets/templates/payment_methods.html +64 -0
- data/assets/templates/recover_order.html +13 -0
- data/assets/templates/results.html +53 -0
- data/assets/templates/shipping_methods.html +38 -0
- metadata +568 -0
@@ -0,0 +1,173 @@
|
|
1
|
+
---
|
2
|
+
# Ponemos un frontmatter porque queremos que Jekyll procese este archivo
|
3
|
+
---
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group Principal
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Traemos el primer artículo de tipo `theme` para obtener los valores
|
10
|
+
/// personalizados.
|
11
|
+
|
12
|
+
{% comment %}
|
13
|
+
Los artículos con layout `theme` contienen variables utilizadas por
|
14
|
+
Bootstrap que pueden ser redefinidas por les usuaries de Sutty a través
|
15
|
+
del panel.
|
16
|
+
{% endcomment %}
|
17
|
+
{% assign theme = site.posts | find: 'layout', 'theme' %}
|
18
|
+
{% assign theme_defaults = site.data.layouts.theme %}
|
19
|
+
{% comment %}
|
20
|
+
Ignorar estos campos que no son variables.
|
21
|
+
{% endcomment %}
|
22
|
+
{% assign ignored_keys = 'title,draft,order,last_modified_at,uuid,layout,liquid,usuaries' | split: ',' %}
|
23
|
+
{% comment %}
|
24
|
+
Cada variable de Bootstrap viene desde la definición de `theme`. Por
|
25
|
+
convención usamos snake_case, pero Bootstrap usa guión medio, así que
|
26
|
+
las convertimos.
|
27
|
+
|
28
|
+
Utilizamos los valores que vengan del artículo y si no existen, usamos
|
29
|
+
los valores por defecto de sutty-base. De lo contrario mantenemos los
|
30
|
+
de Bootstrap.
|
31
|
+
{% endcomment %}
|
32
|
+
{% for variable in theme_defaults %}
|
33
|
+
{% assign key = variable[0] %}
|
34
|
+
{% if ignored_keys contains key %}{% continue %}{% endif %}
|
35
|
+
{% assign default_value = variable[1].default[site.locale] %}
|
36
|
+
{% assign variable_name = key | replace: '_', '-' %}
|
37
|
+
{% comment %}
|
38
|
+
Generamos una definición de variable de SASS
|
39
|
+
{% endcomment %}
|
40
|
+
${{ variable_name }}: {{ theme[key] | default: default_value }}{{ variable[1].unit }};
|
41
|
+
{% endfor %}
|
42
|
+
|
43
|
+
/// El modo debug se desactiva en producción
|
44
|
+
$debug: {{ jekyll.environment | not: 'production' }};
|
45
|
+
$green: #1cdd57;
|
46
|
+
$dark: #000000;
|
47
|
+
$blue: #0c6c94;
|
48
|
+
$red: #9a3995;
|
49
|
+
$gray: #eff1f2;
|
50
|
+
$gray-900: #212529;
|
51
|
+
|
52
|
+
$success: $primary;
|
53
|
+
$carousel-control-color: $gray-900;
|
54
|
+
$headings-line-height: 1.35;
|
55
|
+
|
56
|
+
/// Los prefijos de navegadores para poder generar estilos que no están
|
57
|
+
/// estandarizados.
|
58
|
+
/// @link _sass/helpers.scss
|
59
|
+
$vendor-prefixes: ("", "-webkit-", "-ms-", "-o-", "-moz-");
|
60
|
+
/// Curva Bezier que acelera al principio y desacelera hacia el final,
|
61
|
+
/// para generar animaciones.
|
62
|
+
$bezier: cubic-bezier(0.75, 0, 0.25, 1);
|
63
|
+
|
64
|
+
/// Agregamos los colores propios de la plantilla aquí. Bootstrap los
|
65
|
+
/// agrega a su propia paleta de colores. Si usamos el mismo nombre
|
66
|
+
/// podemos redefinir el color.
|
67
|
+
///
|
68
|
+
/// Agregamos negro porque alguna gente no lo considera un color.
|
69
|
+
$colors: (
|
70
|
+
"black": black,
|
71
|
+
"primary": $primary
|
72
|
+
);
|
73
|
+
|
74
|
+
/// Redefinir los colores de temas aquí, esto aplica a los elementos
|
75
|
+
/// `-primary`, `-secondary`, etc. de Bootstrap. Por ejemplo para
|
76
|
+
/// generar un botón con otro color y sus sombras correspondientes, lo
|
77
|
+
/// agregamos acá.
|
78
|
+
$theme-colors: (
|
79
|
+
);
|
80
|
+
|
81
|
+
$spacer: 1rem !default;
|
82
|
+
$spacers: (
|
83
|
+
6: ($spacer * 4),
|
84
|
+
7: ($spacer * 5),
|
85
|
+
9: ($spacer * 7),
|
86
|
+
10: ($spacer * 8),
|
87
|
+
11: ($spacer * 9),
|
88
|
+
12: ($spacer * 10),
|
89
|
+
13: ($spacer * 11),
|
90
|
+
14: ($spacer * 12),
|
91
|
+
h1: 2.5rem,
|
92
|
+
8: 5rem,
|
93
|
+
100: 100%,
|
94
|
+
15: 15rem,
|
95
|
+
20: 20rem,
|
96
|
+
30: 30rem,
|
97
|
+
50vh: 50vh,
|
98
|
+
80vh: 80vh,
|
99
|
+
100vh: 100vh,
|
100
|
+
revert: revert
|
101
|
+
);
|
102
|
+
|
103
|
+
/// Tamaños (anchos y altos) redefinidos desde Bootstrap.
|
104
|
+
$sizes: (
|
105
|
+
10: 10%,
|
106
|
+
15: 15rem,
|
107
|
+
20: 20rem,
|
108
|
+
30: 30rem,
|
109
|
+
40: 40%,
|
110
|
+
50: 50%,
|
111
|
+
60: 60%,
|
112
|
+
70: 70%,
|
113
|
+
80: 80%,
|
114
|
+
90: 90%,
|
115
|
+
50vh: 50vh,
|
116
|
+
75vh: 75vh,
|
117
|
+
80vh: 80vh,
|
118
|
+
100vh: 100vh,
|
119
|
+
100vw: 100vw,
|
120
|
+
revert: revert
|
121
|
+
);
|
122
|
+
|
123
|
+
/// Niveles de opacidad/transparencia
|
124
|
+
$opacities: (
|
125
|
+
0: -100%,
|
126
|
+
1: -80%,
|
127
|
+
2: -60%,
|
128
|
+
3: -40%,
|
129
|
+
4: -20%,
|
130
|
+
5: 0%
|
131
|
+
);
|
132
|
+
|
133
|
+
/// Resetear algunos margins y paddings por defecto a cero
|
134
|
+
$paragraph-margin-bottom: 0;
|
135
|
+
$headings-margin-bottom: 0;
|
136
|
+
$label-margin-bottom: 0;
|
137
|
+
|
138
|
+
///tipografías responsive
|
139
|
+
$enable-responsive-font-sizes: true;
|
140
|
+
|
141
|
+
/// Redefinir variables de Boostrap acá. Se las puede ver en
|
142
|
+
/// node_modules/bootstrap/scss/_variables.scss
|
143
|
+
///
|
144
|
+
/// @todo Solo importar los archivos necesarios de bootstrap para
|
145
|
+
/// facilitar la reducción de CSS. Por ahora pedimos todo para poder
|
146
|
+
/// empezar a trabajar en el HTML sin pensar en CSS.
|
147
|
+
@import "bootstrap/scss/bootstrap";
|
148
|
+
/// Íconos
|
149
|
+
@import "fork-awesome/scss/fork-awesome";
|
150
|
+
/// Nuestro propio SCSS
|
151
|
+
@import "accessibility";
|
152
|
+
@import "helpers";
|
153
|
+
@import "toggler";
|
154
|
+
@import "share_box";
|
155
|
+
@import "embed";
|
156
|
+
@import "snap";
|
157
|
+
@import "slider";
|
158
|
+
@import "editor";
|
159
|
+
@import "menu";
|
160
|
+
@import "content";
|
161
|
+
@import "fonts";
|
162
|
+
@import "floating_alert";
|
163
|
+
|
164
|
+
/// La barra de progreso de Turbo tiene el color primario
|
165
|
+
/// de la paleta, definido por Bootstrap o por nosotres.
|
166
|
+
.turbo-progress-bar { background-color: $primary; }
|
167
|
+
|
168
|
+
/// Mostrar un borde alrededor de todos los elementos para poder
|
169
|
+
/// detectar el espacio que ocupan los elementos. El borde no ocupa
|
170
|
+
/// espacio de por sí, con lo que no afecta la estructura del sitio.
|
171
|
+
@if $debug {
|
172
|
+
// * { outline: 1px solid pink; }
|
173
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|