Browse Source

cleaned the assets/dist folder, removed code splitting for font-ubunt and materialdesignicons

bach 2 years ago
parent
commit
9fa3508260
23 changed files with 25 additions and 224 deletions
  1. 0 0
      web/themes/custom/materiotheme/assets/dist/main.css
  2. BIN
      web/themes/custom/materiotheme/assets/dist/main.css.gz
  3. 0 0
      web/themes/custom/materiotheme/assets/dist/main.js
  4. BIN
      web/themes/custom/materiotheme/assets/dist/main.js.gz
  5. 0 1
      web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.bundle.js
  6. BIN
      web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.bundle.js.gz
  7. 0 109
      web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.css
  8. BIN
      web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.css.gz
  9. 0 1
      web/themes/custom/materiotheme/assets/dist/module-mdi.bundle.js
  10. BIN
      web/themes/custom/materiotheme/assets/dist/module-mdi.bundle.js.gz
  11. 0 0
      web/themes/custom/materiotheme/assets/dist/module-mdi.css
  12. BIN
      web/themes/custom/materiotheme/assets/dist/module-mdi.css.gz
  13. 0 83
      web/themes/custom/materiotheme/assets/dist/module-pricing.css
  14. BIN
      web/themes/custom/materiotheme/assets/dist/module-pricing.css.gz
  15. BIN
      web/themes/custom/materiotheme/assets/dist/print.js.gz
  16. 1 1
      web/themes/custom/materiotheme/assets/dist/report.html
  17. 0 0
      web/themes/custom/materiotheme/assets/dist/vclb.css
  18. BIN
      web/themes/custom/materiotheme/assets/dist/vclb.css.gz
  19. 0 17
      web/themes/custom/materiotheme/assets/dist/web_themes_custom_materiotheme_vuejs_components_Content_Card_vue.bundle.js
  20. BIN
      web/themes/custom/materiotheme/assets/dist/web_themes_custom_materiotheme_vuejs_components_Content_Card_vue.bundle.js.gz
  21. 2 10
      web/themes/custom/materiotheme/assets/scripts/main.js
  22. 2 2
      web/themes/custom/materiotheme/assets/styles/main.scss
  23. 20 0
      web/themes/custom/materiotheme/materiotheme.theme

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.css


BIN
web/themes/custom/materiotheme/assets/dist/main.css.gz


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


BIN
web/themes/custom/materiotheme/assets/dist/main.js.gz


+ 0 - 1
web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.bundle.js

@@ -1 +0,0 @@
-(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[876],{2636:(e,c,s)=>{"use strict";s.r(c)}}]);

BIN
web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.bundle.js.gz


+ 0 - 109
web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.css

@@ -1,109 +0,0 @@
-/* Generated by Font Squirrel (http://www.fontsquirrel.com) on July 18, 2012 04:11:44 PM America/New_York */
-
-
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-R-webfont.63d344a.eot);
-    src: url(static/fonts/Ubuntu-R-webfont.63d344a.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-R-webfont.a0a8e45.woff) format('woff'),
-         url(static/fonts/Ubuntu-R-webfont.2a59e6c.ttf) format('truetype'),
-         url(3af7a2d2364adcc48e6af49e406773ee.svg#UbuntuRegular) format('svg');
-    font-weight: 500;
-    font-style: normal;
-}
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-RI-webfont.00e7af7.eot);
-    src: url(static/fonts/Ubuntu-RI-webfont.00e7af7.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-RI-webfont.573f77f.woff) format('woff'),
-         url(static/fonts/Ubuntu-RI-webfont.5b42e4b.ttf) format('truetype'),
-         url(b3d0f190163ecd732adda82871604a5c.svg#UbuntuItalic) format('svg');
-    font-weight: 500;
-    font-style: italic;
-}
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-B-webfont.393e752.eot);
-    src: url(static/fonts/Ubuntu-B-webfont.393e752.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-B-webfont.f324707.woff) format('woff'),
-         url(static/fonts/Ubuntu-B-webfont.7fa6a36.ttf) format('truetype'),
-         url(ea3d3b35e03ba2dd8d83106651f8f5a1.svg#UbuntuBold) format('svg');
-    font-weight: 900;
-    font-style: normal;
-}
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-BI-webfont.51491ec.eot);
-    src: url(static/fonts/Ubuntu-BI-webfont.51491ec.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-BI-webfont.26fe694.woff) format('woff'),
-         url(static/fonts/Ubuntu-BI-webfont.6157dcc.ttf) format('truetype'),
-         url(d9b56a97449c5bdb9ddc033ec18496c7.svg#UbuntuBoldItalic) format('svg');
-    font-weight: 900;
-    font-style: italic;
-}
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-L-webfont.411710f.eot);
-    src: url(static/fonts/Ubuntu-L-webfont.411710f.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-L-webfont.09ffe96.woff) format('woff'),
-         url(static/fonts/Ubuntu-L-webfont.2d6bf3a.ttf) format('truetype'),
-         url(1803a84304fbe15f80956efaae882e02.svg#UbuntuLight) format('svg');
-    font-weight: 300;
-    font-style: normal;
-
-}
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-LI-webfont.12ef61c.eot);
-    src: url(static/fonts/Ubuntu-LI-webfont.12ef61c.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-LI-webfont.f8810fe.woff) format('woff'),
-         url(static/fonts/Ubuntu-LI-webfont.da7ea56.ttf) format('truetype'),
-         url(ca5ecf294f9f30302fa7e4d40ee1f3b6.svg#UbuntuLightItalic) format('svg');
-    font-weight: 300;
-    font-style: italic;
-
-}
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-M-webfont.ee33df5.eot);
-    src: url(static/fonts/Ubuntu-M-webfont.ee33df5.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-M-webfont.f311b18.woff) format('woff'),
-         url(static/fonts/Ubuntu-M-webfont.b651dda.ttf) format('truetype'),
-         url(79e610e4ccd14907fa01d46e4fba5671.svg#UbuntuMedium) format('svg');
-    font-weight: 700;
-    font-style: normal;
-
-}
-
-@font-face {
-    font-family: 'Ubuntu';
-    src: url(static/fonts/Ubuntu-MI-webfont.4af2507.eot);
-    src: url(static/fonts/Ubuntu-MI-webfont.4af2507.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-MI-webfont.be5d020.woff) format('woff'),
-         url(static/fonts/Ubuntu-MI-webfont.86c7c2c.ttf) format('truetype'),
-         url(5f5b44f93726b220fb6e7ebd54d91668.svg#UbuntuMediumItalic) format('svg');
-    font-weight: 700;
-    font-style: italic;
-
-}
-
-@font-face {
-    font-family: 'UbuntuCondensed';
-    src: url(static/fonts/Ubuntu-C-webfont.22844a8.eot);
-    src: url(static/fonts/Ubuntu-C-webfont.22844a8.eot?#iefix) format('embedded-opentype'),
-         url(static/fonts/Ubuntu-C-webfont.e5dc2bd.woff) format('woff'),
-         url(static/fonts/Ubuntu-C-webfont.078c965.ttf) format('truetype'),
-         url(be810a8dfab8c64a45637b21cbfda8f5.svg#UbuntuCondensedRegular) format('svg');
-    font-weight: 500;
-    font-style: normal;
-
-}
-
-

BIN
web/themes/custom/materiotheme/assets/dist/module-font-ubuntu.css.gz


+ 0 - 1
web/themes/custom/materiotheme/assets/dist/module-mdi.bundle.js

@@ -1 +0,0 @@
-(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[462],{4834:(e,c,s)=>{"use strict";s.r(c)}}]);

BIN
web/themes/custom/materiotheme/assets/dist/module-mdi.bundle.js.gz


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/module-mdi.css


BIN
web/themes/custom/materiotheme/assets/dist/module-mdi.css.gz


+ 0 - 83
web/themes/custom/materiotheme/assets/dist/module-pricing.css

@@ -1,83 +0,0 @@
-.overlay[data-v-b98ce164] {
-  background-color: rgba(0, 0, 0, 0.8);
-  position: fixed;
-  top: 0;
-  right: 0;
-  bottom: 0;
-  left: 0;
-  z-index: 99999;
-}
-.modal[data-v-b98ce164] {
-  background-color: #fff;
-  position: absolute;
-  box-sizing: border;
-  max-width: 80vw;
-  max-height: 70vh;
-  top: 0;
-  right: 0;
-  bottom: 0;
-  left: 0;
-  margin: auto;
-  padding: 1em;
-  border-radius: 3px;
-  box-shadow: 2px 2px;
-}
-
-.form-item[data-v-7bb795f8],
-.form-actions[data-v-7bb795f8] {
-  display: inline-block;
-  max-width: 32%;
-  margin: 0;
-}
-input[data-v-7bb795f8] {
-  box-sizing: border-box;
-  max-width: 100%;
-}
-div.description[data-v-7bb795f8] {
-  display: none;
-}
-.form-item-persistent-login[data-v-7bb795f8] {
-  display: none;
-}
-
-.form-type-email[data-v-2acc57a0],
-.form-type-password-confirm[data-v-2acc57a0] {
-  max-width: 30%;
-  margin: 0;
-}
-.form-type-password input.weak[data-v-2acc57a0] {
-  border-width: 2px;
-  border-color: red !important;
-}
-.form-type-password input.weak[data-v-2acc57a0]:focus {
-    outline: none;
-}
-.form-type-password input.medium[data-v-2acc57a0] {
-  border-width: 2px;
-  border-color: orange !important;
-}
-.form-type-password input.medium[data-v-2acc57a0]:focus {
-    outline: none;
-}
-.form-type-password input.strong[data-v-2acc57a0] {
-  border-width: 2px;
-  border-color: green !important;
-}
-.form-type-password input.strong[data-v-2acc57a0]:focus {
-    outline: none;
-}
-input[data-v-2acc57a0] {
-  box-sizing: content-box;
-  max-width: 100%;
-}
-label[data-v-2acc57a0],
-div.description[data-v-2acc57a0] {
-  display: none;
-}
-
-fieldset[data-v-340aa566] {
-  padding: 0;
-  margin: 0;
-  border: none;
-}
-

BIN
web/themes/custom/materiotheme/assets/dist/module-pricing.css.gz


BIN
web/themes/custom/materiotheme/assets/dist/print.js.gz


File diff suppressed because it is too large
+ 1 - 1
web/themes/custom/materiotheme/assets/dist/report.html


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/vclb.css


BIN
web/themes/custom/materiotheme/assets/dist/vclb.css.gz


File diff suppressed because it is too large
+ 0 - 17
web/themes/custom/materiotheme/assets/dist/web_themes_custom_materiotheme_vuejs_components_Content_Card_vue.bundle.js


BIN
web/themes/custom/materiotheme/assets/dist/web_themes_custom_materiotheme_vuejs_components_Content_Card_vue.bundle.js.gz


+ 2 - 10
web/themes/custom/materiotheme/assets/scripts/main.js

@@ -34,6 +34,7 @@ import { i18n, loadLanguageAsync } from 'vuejs/i18n'
 import VueMeta from 'vue-meta'
 Vue.use(VueMeta)
 
+// LOADED IN COMPONENT
 // import VueSimpleAccordion from 'vue-simple-accordion'
 // Vue.use(VueSimpleAccordion, {
 //   // ... Options go here
@@ -53,16 +54,7 @@ import { mapState } from 'vuex'
 
 import 'vue-cool-lightbox/dist/vue-cool-lightbox.min.css'
 import 'slim-select/slimselect.min.css'
-import(
-  /* webpackChunkName: "module-mdi" */
-  /* webpackPrefetch: true */
-  /* webpackPreload: true */
-  'theme/assets/styles/mdi/scss/materialdesignicons.scss')
-import(
-  /* webpackChunkName: "module-font-ubuntu" */
-  /* webpackPrefetch: true */
-  /* webpackPreload: true */
-  'theme/assets/fonts/ubuntu/ubuntu.css')
+
 import 'theme/assets/styles/main.scss'
 import 'theme/assets/styles/print.scss'
 

+ 2 - 2
web/themes/custom/materiotheme/assets/styles/main.scss

@@ -2,7 +2,7 @@
 // @import '~slim-select/scss';
 
 $mdi-font-path: './mdi/fonts/';
-// @import './mdi/scss/materialdesignicons';
+@import './mdi/css/materialdesignicons.css';
 @import './mdi/scss/variables';
 @import './mdi/scss/functions';
 @import './base/variables';
@@ -11,9 +11,9 @@ $mdi-font-path: './mdi/fonts/';
 @import './base/grid';
 @import './base/layout';
 @import './base/animations';
+@import '../fonts/ubuntu/ubuntu.css';
 @import './base/fonts';
 // @import './base/responsive';
-
 // .dialog-off-canvas-main-canvas{
 //   background-color: red;
 // }

+ 20 - 0
web/themes/custom/materiotheme/materiotheme.theme

@@ -160,6 +160,26 @@ function materiotheme_preprocess_html(&$vars) {
   );
   $vars['page']['#attached']['html_head'][] = [$tc, '$tc'];
 
+  // <meta http-equiv="pragma" content="no-cache" />
+  $pragma = array(
+    '#tag' => 'meta',
+    '#attributes' => array(
+      'http-equiv' => 'pragma',
+      'content' => "no-cache"
+    ),
+  );
+  $vars['page']['#attached']['html_head'][] = [$pragma, '$pragma'];
+
+  // <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
+  $cachecontrol = array(
+    '#tag' => 'meta',
+    '#attributes' => array(
+      'http-equiv' => 'cache-control',
+      'content' => "no-cache, no-store, must-revalidate"
+    ),
+  );
+  $vars['page']['#attached']['html_head'][] = [$cachecontrol, '$cachecontrol'];
+
 }
 
 function materiotheme_preprocess_page(&$vars){

Some files were not shown because too many files changed in this diff