From: vincent@cubedesigners.com Date: Wed, 31 Aug 2016 14:47:29 +0000 (+0000) Subject: done #586 @0.6 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c831e06cdcb224a68d35f8ee86864da8d5ff8fd7;p=fluidbook-v3.git done #586 @0.6 --- diff --git a/css/fonts/icons/fluidbook.eot b/css/fonts/icons/fluidbook.eot new file mode 100644 index 0000000..f58bb47 Binary files /dev/null and b/css/fonts/icons/fluidbook.eot differ diff --git a/css/fonts/icons/fluidbook.svg b/css/fonts/icons/fluidbook.svg new file mode 100644 index 0000000..8531282 --- /dev/null +++ b/css/fonts/icons/fluidbook.svg @@ -0,0 +1,60 @@ + + + +Generated by Fontastic.me + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/css/fonts/icons/fluidbook.ttf b/css/fonts/icons/fluidbook.ttf new file mode 100644 index 0000000..5360e3e Binary files /dev/null and b/css/fonts/icons/fluidbook.ttf differ diff --git a/css/fonts/icons/fluidbook.woff b/css/fonts/icons/fluidbook.woff new file mode 100644 index 0000000..94c64c0 Binary files /dev/null and b/css/fonts/icons/fluidbook.woff differ diff --git a/css/fonts/icons/style.css b/css/fonts/icons/style.css new file mode 100644 index 0000000..a7edfa3 --- /dev/null +++ b/css/fonts/icons/style.css @@ -0,0 +1,190 @@ +@charset "UTF-8"; + +@font-face { + font-family: "fluidbook"; + src:url("fluidbook.eot"); + src:url("fluidbook.eot?#iefix") format("embedded-opentype"), + url("fluidbook.woff") format("woff"), + url("fluidbook.ttf") format("truetype"), + url("fluidbook.svg#fluidbook") format("svg"); + font-weight: normal; + font-style: normal; + +} + +[data-icon]:before { + font-family: "fluidbook" !important; + content: attr(data-icon); + font-style: normal !important; + font-weight: normal !important; + font-variant: normal !important; + text-transform: none !important; + speak: none; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +[class^="fb-"]:before, +[class*=" fb-"]:before { + font-family: "fluidbook" !important; + font-style: normal !important; + font-weight: normal !important; + font-variant: normal !important; + text-transform: none !important; + speak: none; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.fb-acces-securise:before { + content: "\68"; +} +.fb-assistance:before { + content: "\69"; +} +.fb-barre-de-defilement:before { + content: "\6a"; +} +.fb-chargement-optimise:before { + content: "\6b"; +} +.fb-diaporama:before { + content: "\6c"; +} +.fb-ergonomie-naturelle:before { + content: "\6d"; +} +.fb-flash-html5:before { + content: "\6e"; +} +.fb-hebergement:before { + content: "\6f"; +} +.fb-index-miniatures:before { + content: "\70"; +} +.fb-installation-ultra-simple:before { + content: "\71"; +} +.fb-interface-personnalisee:before { + content: "\72"; +} +.fb-impression-personnalisee:before { + content: "\73"; +} +.fb-liens-integres:before { + content: "\74"; +} +.fb-marque-page:before { + content: "\75"; +} +.fb-mini-fluidbook:before { + content: "\76"; +} +.fb-mode-plein-ecran:before { + content: "\77"; +} +.fb-moteur-3d:before { + content: "\78"; +} +.fb-moteur-de-recherche:before { + content: "\79"; +} +.fb-multilingue:before { + content: "\7a"; +} +.fb-multiplateforme:before { + content: "\41"; +} +.fb-onglets:before { + content: "\42"; +} +.fb-panier-ecommerce:before { + content: "\43"; +} +.fb-partage-social:before { + content: "\44"; +} +.fb-sommaire-personnalise:before { + content: "\46"; +} +.fb-son-podcast-musique:before { + content: "\47"; +} +.fb-statistiques-fluidbook:before { + content: "\48"; +} +.fb-telechargement-pdf:before { + content: "\49"; +} +.fb-video:before { + content: "\4a"; +} +.fb-zoom-ultra-rapide:before { + content: "\4b"; +} +.fb-referencement-naturel:before { + content: "\61"; +} +.fb-arrow-right:before { + content: "\2d"; +} +.fb-chevron-right:before { + content: "\3e"; +} +.fb-close:before { + content: "\58"; +} +.fb-burger:before { + content: "\62"; +} +.fb-left-open-big:before { + content: "\3c"; +} +.fb-youtube-play:before { + content: "\63"; +} +.fb-twitter:before { + content: "\64"; +} +.fb-facebook:before { + content: "\65"; +} +.fb-down-arrow:before { + content: "\56"; +} +.fb-animations:before { + content: "\45"; +} +.fb-offline:before { + content: "\4c"; +} +.fb-chevron-thin-left:before { + content: "\67"; +} +.fb-chevron-thin-right:before { + content: "\66"; +} +.fb-audiodescription:before { + content: "\4d"; +} +.fb-bibliotheque:before { + content: "\4e"; +} +.fb-download:before { + content: "\4f"; +} +.fb-elearning:before { + content: "\50"; +} +.fb-flux-sociaux:before { + content: "\51"; +} +.fb-google-analytics:before { + content: "\52"; +} +.fb-zone-zoom:before { + content: "\53"; +} diff --git a/framework/application/layouts/scripts/layout.phtml b/framework/application/layouts/scripts/layout.phtml index 47880dd..05d803a 100644 --- a/framework/application/layouts/scripts/layout.phtml +++ b/framework/application/layouts/scripts/layout.phtml @@ -8,8 +8,6 @@ $this->headMeta()->setViewport('device-width'); $this->headScript()->addIEConditionnals()->addFastClick(); $this->headScript()->appendFile('/js/002-common.js'); -// -$this->headLink()->appendStylesheet('https://file.myfontastic.com/2VZntjQVKuJUUqArhhJzkD/icons.css'); $this->headLink()->appendStylesheet('/less/002-common.less', 'all'); $this->headScript()->addTagHandler(true); // Used by related articles selector in admin @@ -27,7 +25,7 @@ $this->headScript()->addTagHandler(true); // Used by related articles selector i // Fonts $fonts = array('google' => array('families' => array('Open+Sans:400,300|Playfair+Display|Montserrat')), - 'custom' => array('families' => array('Montserrat'), 'urls' => array('/css/fonts/Montserrat/Montserrat.css'))); + 'custom' => array('families' => array('Montserrat', 'fluidbook'), 'urls' => array('/css/fonts/Montserrat/Montserrat.css', '/css/fonts/icons/style.css'))); $this->headScript()->addWebFont($fonts);