From 300c4138487211373d7a8bbbf4ea0ab0182075dd Mon Sep 17 00:00:00 2001 From: Harrys Ravalomanana Date: Thu, 6 Jun 2019 18:21:57 +0400 Subject: [PATCH] PHRAS-2419 #comment add icomoon #time 5h --- .../fonts/PhraseanetIcomoon/Read Me.txt | 7 + .../PhraseanetIcomoon/demo-files/demo.css | 152 ++++++++++++++++++ .../PhraseanetIcomoon/demo-files/demo.js | 30 ++++ .../styles/fonts/PhraseanetIcomoon/demo.html | 134 +++++++++++++++ .../fonts/PhraseanetIcomoon/fonts/icomoon.eot | Bin 0 -> 2164 bytes .../fonts/PhraseanetIcomoon/fonts/icomoon.svg | 16 ++ .../PhraseanetIcomoon/fonts/icomoon.woff | Bin 0 -> 2076 bytes .../fonts/set-icon-phraseanet.ttf | Bin 0 -> 2000 bytes .../fonts/PhraseanetIcomoon/selection.json | 1 + .../styles/fonts/PhraseanetIcomoon/style.css | 34 ++++ resources/www/common/styles/main.scss | 34 ++++ templates/web/prod/results/record.html.twig | 16 +- 12 files changed, 416 insertions(+), 8 deletions(-) create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/Read Me.txt create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.css create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.js create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/demo.html create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.eot create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.svg create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.woff create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/set-icon-phraseanet.ttf create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/selection.json create mode 100755 resources/www/common/styles/fonts/PhraseanetIcomoon/style.css diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/Read Me.txt b/resources/www/common/styles/fonts/PhraseanetIcomoon/Read Me.txt new file mode 100755 index 0000000000..8491652f88 --- /dev/null +++ b/resources/www/common/styles/fonts/PhraseanetIcomoon/Read Me.txt @@ -0,0 +1,7 @@ +Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures. + +To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts + +You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects. + +You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection. diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.css b/resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.css new file mode 100755 index 0000000000..39b8991da7 --- /dev/null +++ b/resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.css @@ -0,0 +1,152 @@ +body { + padding: 0; + margin: 0; + font-family: sans-serif; + font-size: 1em; + line-height: 1.5; + color: #555; + background: #fff; +} +h1 { + font-size: 1.5em; + font-weight: normal; +} +small { + font-size: .66666667em; +} +a { + color: #e74c3c; + text-decoration: none; +} +a:hover, a:focus { + box-shadow: 0 1px #e74c3c; +} +.bshadow0, input { + box-shadow: inset 0 -2px #e7e7e7; +} +input:hover { + box-shadow: inset 0 -2px #ccc; +} +input, fieldset { + font-family: sans-serif; + font-size: 1em; + margin: 0; + padding: 0; + border: 0; +} +input { + color: inherit; + line-height: 1.5; + height: 1.5em; + padding: .25em 0; +} +input:focus { + outline: none; + box-shadow: inset 0 -2px #449fdb; +} +.glyph { + font-size: 16px; + width: 15em; + padding-bottom: 1em; + margin-right: 4em; + margin-bottom: 1em; + float: left; + overflow: hidden; +} +.liga { + width: 80%; + width: calc(100% - 2.5em); +} +.talign-right { + text-align: right; +} +.talign-center { + text-align: center; +} +.bgc1 { + background: #f1f1f1; +} +.fgc1 { + color: #999; +} +.fgc0 { + color: #000; +} +p { + margin-top: 1em; + margin-bottom: 1em; +} +.mvm { + margin-top: .75em; + margin-bottom: .75em; +} +.mtn { + margin-top: 0; +} +.mtl, .mal { + margin-top: 1.5em; +} +.mbl, .mal { + margin-bottom: 1.5em; +} +.mal, .mhl { + margin-left: 1.5em; + margin-right: 1.5em; +} +.mhmm { + margin-left: 1em; + margin-right: 1em; +} +.mls { + margin-left: .25em; +} +.ptl { + padding-top: 1.5em; +} +.pbs, .pvs { + padding-bottom: .25em; +} +.pvs, .pts { + padding-top: .25em; +} +.unit { + float: left; +} +.unitRight { + float: right; +} +.size1of2 { + width: 50%; +} +.size1of1 { + width: 100%; +} +.clearfix:before, .clearfix:after { + content: " "; + display: table; +} +.clearfix:after { + clear: both; +} +.hidden-true { + display: none; +} +.textbox0 { + width: 3em; + background: #f1f1f1; + padding: .25em .5em; + line-height: 1.5; + height: 1.5em; +} +#testDrive { + display: block; + padding-top: 24px; + line-height: 1.5; +} +.fs0 { + font-size: 16px; +} +.fs1 { + font-size: 32px; +} + diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.js b/resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.js new file mode 100755 index 0000000000..6f45f1c409 --- /dev/null +++ b/resources/www/common/styles/fonts/PhraseanetIcomoon/demo-files/demo.js @@ -0,0 +1,30 @@ +if (!('boxShadow' in document.body.style)) { + document.body.setAttribute('class', 'noBoxShadow'); +} + +document.body.addEventListener("click", function(e) { + var target = e.target; + if (target.tagName === "INPUT" && + target.getAttribute('class').indexOf('liga') === -1) { + target.select(); + } +}); + +(function() { + var fontSize = document.getElementById('fontSize'), + testDrive = document.getElementById('testDrive'), + testText = document.getElementById('testText'); + function updateTest() { + testDrive.innerHTML = testText.value || String.fromCharCode(160); + if (window.icomoonLiga) { + window.icomoonLiga(testDrive); + } + } + function updateSize() { + testDrive.style.fontSize = fontSize.value + 'px'; + } + fontSize.addEventListener('change', updateSize, false); + testText.addEventListener('input', updateTest, false); + testText.addEventListener('change', updateTest, false); + updateSize(); +}()); diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/demo.html b/resources/www/common/styles/fonts/PhraseanetIcomoon/demo.html new file mode 100755 index 0000000000..9a25225d1c --- /dev/null +++ b/resources/www/common/styles/fonts/PhraseanetIcomoon/demo.html @@ -0,0 +1,134 @@ + + + + + IcoMoon Demo + + + + + +
+

Font Name: icomoon (Glyphs: 6)

+
+
+

Grid Size: Unknown

+
+
+ + + + icon-picto-information +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + icon-pastille-rond +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + icon-pastille-carre +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + icon-picto-point-list +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + icon-picto-three-little-point +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + icon-picto-search-new +
+
+ + +
+
+ liga: + +
+
+
+ + +
+

Font Test Drive

+ + +
  +
+
+ +
+

Generated by IcoMoon

+
+ + + + diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.eot b/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.eot new file mode 100755 index 0000000000000000000000000000000000000000..4b9f6ad620c2dd47788ddfff64541f3c556ba598 GIT binary patch literal 2164 zcma)7O>7%Q6#iz{b`nSVG1zgFMy_4QNvI`buM<18C9*0ts$1HilqTZPQrB^vl-Q0E zM@=M9D^=n^5mc?HDCZoIB2{qWP!2v;0wlx@kxRv?<-!3DP}Sy}*^O)`Zs19~^S$rA zH*aS4&AxIw@KYNgprKg=?g+`e^>#BaeNB0COS`|@26ST)S(H%VQ$mpr-IzfRd8}ax z8LW`$!z`H^}_)n$&o)aBToU)s3(=NTDj^i zuDXlog;$L}kIU@{9v&WdjV1KBCwO7VFouGLVQg(_?;Ar^5C=638REhg*T+1y3Kv$v zK`QRHZqdf*k%$->9v@3iiew^gczwd#XT#{|?MoN0UAuVc_9&%}MP)Ci>~jD0`Tbm7 zz?_RqG!q4^OfDgNTY*$xz4%_z`!I<^8!Ew zcqlO*N`R*l8%xAp|4HcP5z^P_vyO8Q7T;>{g~Pt8dcO>BA2}qQ4jtJ&>eqMJ>fNwU z`uM`tyE|UmJu9MGHcep@kd>8K!OgA|i|`SW$WA)cPPVf2d7Ty|JY$IN?u$>*oV_^sRGZuDY03XZ$qpgEXH!UXC zi1QZKiQlxajrao#+u7*Y0aUDm{EUU27{lgbwp1vUip||}Hn+06SStEsk!b4{*)pmn zIg`t;EoD}kdv8n6sZz1*&*zG{l}tG|@4vF)PiISKxwZ(VRC_LS7kM`9qH5Y1lsV3m WyMhhA)2iK{wc34zr!KqDKJqUOv{38- literal 0 HcmV?d00001 diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.svg b/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.svg new file mode 100755 index 0000000000..1f68a02ec0 --- /dev/null +++ b/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.svg @@ -0,0 +1,16 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.woff b/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/icomoon.woff new file mode 100755 index 0000000000000000000000000000000000000000..fa451ea255ae9a7425a87432b5f7d016ec41b3cb GIT binary patch literal 2076 zcma)7O>7%Q6n?YopW2lZFW7ODM%#65C!v;%y>{%-hRCW^t1fCIwKNuomb#AXq{QCJ zag;^^6$yz0MSxm?DCZuKA|Y`CsT_RZ21tk-A{WFd<-!3DP-^qd>;xO)8lLrLzW2?0 z^WMzPj5ikx1!4p_Fi8h_@BY@dIsT_CUU=3dVh6xp;X3-1>tUr{z5#9p_KRFYOW(a+ zE3b3z3)tM3tG~9kbq(B?MCz|xAN>C54=dI3GLiFhjAyy(?;pCm0utOWu%lcx#rM@p zy>*kw6@Wd%H8#OKYgPq*u6fvFT-A@2ck1Pv$m`;D7(z9AsZp+1!L^Y4O|JLOcplxb z)?vH<{M%0jQXLQ2d*mci?kQixe%J2V&y;2!*!{x%{T9c0qFtxj?zSnfLcxeVMbE_$ zt;hm2i7}2R(Q>aza?l)lFLp}7kCCzK>^|;x!69~+1ZLfzLJk=r2GB5K@ER4f*qlO? zdrqY8qlZ z6XSeMScjb7Ky_hzE|h2|3d>BIO!bX&Egp-_`5|+$Sp4xv{g&Du#O_5Pmy3$z!CE%S zPhm1?fzHqpN(f_9QrMI*b|sa`rnUbhRC^2IYmUk7+=tm`3hD8<-VyDS@XoO#-08@% zfA{L<9^1JS*SU`#@7&q*Qtrx#PRkyO+W;)iI<@I_Uml0>Fy-jN@bBgv@=b@0`SRoA zrQ;_~o;-29G!E(EN7Qfi<0p@>_WpVLBmXz%XG)xTd1e=|`a#DvXfHb)nO0~mO?P2yzLW`$#y>_Z_Zn1ExrbB=i3%5)^ zi9{Eky3Y== z57{5!d2L=Q;XZNM%Pb7pjL;`CFC#ZN9>G1`bVXtnI4iLOctc_*{-uHvyTHF7v6m+3 zE&e__JYYsJVq*okCb0_qyu=RRS0#4hKg5vO1^&FmUdqt@)rwWOtOl)8g)FK=Eov-P zo9nAq!$>8Pcp<9Pq;)u80Q00MLCJwp1IhE%+QwSBiKJB&xvOSh3EcwgeSK?iRAwFik^LRHhdCWpGz%3vE#>;H

)X3j~q4F2qcSO(t literal 0 HcmV?d00001 diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/set-icon-phraseanet.ttf b/resources/www/common/styles/fonts/PhraseanetIcomoon/fonts/set-icon-phraseanet.ttf new file mode 100755 index 0000000000000000000000000000000000000000..c84af7bb4ec40627e63401b219780def34c81968 GIT binary patch literal 2000 zcma)7O>7%Q6#iz{b`nQUV(?FsMy_4kNvI`bZyYG~o?a&5R$M<&-=-c}t~NHKV`6~%_td8<^(O!saU6cnfg!QxDb()zba515c?>F~`-kF#iy_X%6;V#nNQ4F z{Dx^G%X1=F_Vbbj_Ux+O(vej;Xf)2EEkOy4Y{nR;&74)~H4YnQ$ve>xg+GDdp1t*~ z)sj)cJxDBCzxr*A>t0tt&}+DhQ-I8C(xu~fFh?t^-eJ`)o)=!$d|tQ55k5LG<4&d3 zX>a&aMAIT+P1AOEly|g96U1Q!5lvj$VTH`o(pi{}!&E$dL!yt-lW{RQF_X&7iA;K0 z^9O|AXT#Lgohz4b+_-$@&J?ACg}$GYcH;m#>jzm~$Xtshnu$VICbyO9v2r~Yjn0lx zW~0&AvoE_fRqw^NBbdv9JO;Rzo9xRFG|b^F7Fa@vhmz!>gm@~+RC?O|pM+{2A$>KU zb)5UK_*Ow677H}x^F?^~*b&3&$gzLV>diLWyc-J`K7m;CZre+_XGJs{rYU9uvPKu` zxb4ca2@fNKiwD0q`vLFtAe$>YI=XoL#Hmv!jxUZT`B!$)P)c|Ee9r?qs(?-dy#-peEsXFOi7=S(7zNq4Y# zCGL(T1A+4C-1+(3>2iQVJfFLzjfm)Cb61>{G3ovBBib$cbwbWdoQ%2S&D}*2zLN|sShPID!bl3~2( z24|b#$Rp24-grx#@F2jOQp2`5B)$-TlQ(K}Vv+aBkalLNSdSrmZRHi{BWFYyo_)A# zVU;*-VH@#=h3))@@mknH{tXK|F@_I~@1t#i%n&UmR*1_MR*7G?u#Na#3)|rX{{dvI zgZu>xJCVZnO0iz8*K1fo5p`5K>ZmQ0*49_*wO}%y;1{BVHLTNt2CkDt9EqM$J;@8D z@O<=!E0N=e6fCxwZ)N>xf{%0<}x)|Q2`Ck ZOXRL$i_g5=z&UdRtkL{8k_X@W@efc5KimKS literal 0 HcmV?d00001 diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/selection.json b/resources/www/common/styles/fonts/PhraseanetIcomoon/selection.json new file mode 100755 index 0000000000..7db069282f --- /dev/null +++ b/resources/www/common/styles/fonts/PhraseanetIcomoon/selection.json @@ -0,0 +1 @@ +{"IcoMoonType":"selection","icons":[{"icon":{"paths":["M85.333 341.333c47.128 0 85.333 38.205 85.333 85.333v512c0 47.128-38.205 85.333-85.333 85.333s-85.333-38.205-85.333-85.333v-512c0-47.128 38.205-85.333 85.333-85.333z","M0 0h170.667v170.667h-170.667v-170.667z"],"attrs":[],"width":171,"grid":0,"tags":["picto-information"]},"attrs":[],"properties":{"order":177,"id":5,"name":"picto-information","prevSize":32,"code":59648},"setIdx":1,"setId":1,"iconIdx":0},{"icon":{"paths":["M1024 512c0 282.77-229.23 512-512 512s-512-229.23-512-512c0-282.77 229.23-512 512-512s512 229.23 512 512z"],"attrs":[],"grid":0,"tags":["pastille-rond"]},"attrs":[],"properties":{"order":178,"id":4,"name":"pastille-rond","prevSize":32,"code":59649},"setIdx":1,"setId":1,"iconIdx":1},{"icon":{"paths":["M204.8 0h614.4c113.108 0 204.8 91.692 204.8 204.8v614.4c0 113.108-91.692 204.8-204.8 204.8h-614.4c-113.108 0-204.8-91.692-204.8-204.8v-614.4c0-113.108 91.692-204.8 204.8-204.8z"],"attrs":[],"width":1062,"grid":0,"tags":["pastille-carre"]},"attrs":[],"properties":{"order":179,"id":3,"name":"pastille-carre","prevSize":32,"code":59650},"setIdx":1,"setId":1,"iconIdx":2},{"icon":{"paths":["M438.857 73.143h512c40.396 0 73.143 32.747 73.143 73.143v0c0 40.396-32.747 73.143-73.143 73.143h-512c-40.396 0-73.143-32.747-73.143-73.143v0c0-40.396 32.747-73.143 73.143-73.143z","M438.857 438.857h512c40.396 0 73.143 32.747 73.143 73.143v0c0 40.396-32.747 73.143-73.143 73.143h-512c-40.396 0-73.143-32.747-73.143-73.143v0c0-40.396 32.747-73.143 73.143-73.143z","M438.857 804.571h512c40.396 0 73.143 32.747 73.143 73.143v0c0 40.396-32.747 73.143-73.143 73.143h-512c-40.396 0-73.143-32.747-73.143-73.143v0c0-40.396 32.747-73.143 73.143-73.143z","M219.429 146.286c0 40.396-32.747 73.143-73.143 73.143s-73.143-32.747-73.143-73.143c0-40.396 32.747-73.143 73.143-73.143s73.143 32.747 73.143 73.143z","M219.429 512c0 40.396-32.747 73.143-73.143 73.143s-73.143-32.747-73.143-73.143c0-40.396 32.747-73.143 73.143-73.143s73.143 32.747 73.143 73.143z","M219.429 877.714c0 40.396-32.747 73.143-73.143 73.143s-73.143-32.747-73.143-73.143c0-40.396 32.747-73.143 73.143-73.143s73.143 32.747 73.143 73.143z"],"attrs":[],"width":1097,"grid":0,"tags":["point-list"]},"attrs":[],"properties":{"order":180,"id":2,"name":"picto-point-list","prevSize":32,"code":59651},"setIdx":1,"setId":1,"iconIdx":3},{"icon":{"paths":["M3392 512c0 176.731-143.269 320-320 320s-320-143.269-320-320c0-176.731 143.269-320 320-320s320 143.269 320 320z","M2112 512c0 176.731-143.269 320-320 320s-320-143.269-320-320c0-176.731 143.269-320 320-320s320 143.269 320 320z","M832 512c0 176.731-143.269 320-320 320s-320-143.269-320-320c0-176.731 143.269-320 320-320s320 143.269 320 320z"],"attrs":[{"strokeLinejoin":"miter","strokeLinecap":"butt","strokeMiterlimit":"4","strokeWidth":128},{"strokeLinejoin":"miter","strokeLinecap":"butt","strokeMiterlimit":"4","strokeWidth":128},{"strokeLinejoin":"miter","strokeLinecap":"butt","strokeMiterlimit":"4","strokeWidth":128}],"width":3584,"grid":0,"tags":["three-little-point"]},"attrs":[{"strokeLinejoin":"miter","strokeLinecap":"butt","strokeMiterlimit":"4","strokeWidth":128},{"strokeLinejoin":"miter","strokeLinecap":"butt","strokeMiterlimit":"4","strokeWidth":128},{"strokeLinejoin":"miter","strokeLinecap":"butt","strokeMiterlimit":"4","strokeWidth":128}],"properties":{"order":181,"id":1,"name":"picto-three-little-point","prevSize":32,"code":59652},"setIdx":1,"setId":1,"iconIdx":4},{"icon":{"paths":["M380.56 644.025c-145.784 0-263.465-117.681-263.465-263.465s117.681-263.465 263.465-263.465c145.784 0 263.465 117.681 263.465 263.465s-117.681 263.465-263.465 263.465zM731.847 644.025h-46.253l-16.393-15.808c57.377-66.744 91.92-153.395 91.92-247.657 0-210.186-170.374-380.56-380.56-380.56s-380.56 170.374-380.56 380.56c0 210.186 170.374 380.56 380.56 380.56 94.262 0 180.913-34.543 247.657-91.92l15.808 16.393v46.253l292.739 292.153 87.236-87.236-292.153-292.739z"],"attrs":[],"grid":0,"tags":["search-new"]},"attrs":[],"properties":{"order":182,"id":0,"name":"picto-search-new","prevSize":32,"code":59653},"setIdx":1,"setId":1,"iconIdx":5}],"height":1024,"metadata":{"name":"icomoon"},"preferences":{"showGlyphs":true,"showCodes":true,"showQuickUse":false,"showQuickUse2":true,"showSVGs":true,"fontPref":{"prefix":"icon-","metadata":{"fontFamily":"icomoon","majorVersion":1,"minorVersion":0},"metrics":{"emSize":1024,"baseline":6.25,"whitespace":50},"embed":false,"autoHost":true,"showMetrics":false,"showMetadata":false,"showVersion":false},"imagePref":{"prefix":"icon-","png":true,"useClassSelector":true,"color":0,"bgColor":16777215},"historySize":50,"gridSize":16,"quickUsageToken":{"icon-alchemy":"NDcwYTI2OTBkYmY0ZjNkOTBiMzg2Yjk2OWZlNjY2YTMjMSMxNTM4NTczNzc3IyMj"},"showLiga":false}} \ No newline at end of file diff --git a/resources/www/common/styles/fonts/PhraseanetIcomoon/style.css b/resources/www/common/styles/fonts/PhraseanetIcomoon/style.css new file mode 100755 index 0000000000..9869ae9201 --- /dev/null +++ b/resources/www/common/styles/fonts/PhraseanetIcomoon/style.css @@ -0,0 +1,34 @@ + +[class^="icon-"], [class*=" icon-"] { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'icomoon' !important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-picto-information:before { + content: "\e900"; +} +.icon-pastille-rond:before { + content: "\e901"; +} +.icon-pastille-carre:before { + content: "\e902"; +} +.icon-picto-point-list:before { + content: "\e903"; +} +.icon-picto-three-little-point:before { + content: "\e904"; +} +.icon-picto-search-new:before { + content: "\e905"; +} diff --git a/resources/www/common/styles/main.scss b/resources/www/common/styles/main.scss index ad1e9e34cd..9090fe92b3 100644 --- a/resources/www/common/styles/main.scss +++ b/resources/www/common/styles/main.scss @@ -1,7 +1,18 @@ +@font-face { + font-family: 'icomoon'; + src: url('../fonts/PhraseanetIcomoon/fonts/icomoon.eot?xt8hfo'); + src: url('../fonts/PhraseanetIcomoon/fonts/icomoon.eot?xt8hfo#iefix') format('embedded-opentype'), + url('../fonts/PhraseanetIcomoon/fonts/icomoon.ttf?xt8hfo') format('truetype'), + url('../fonts/PhraseanetIcomoon/fonts/icomoon.woff?xt8hfo') format('woff'), + url('../fonts/PhraseanetIcomoon/fonts/icomoon.svg?xt8hfo#icomoon') format('svg'); + font-weight: normal; + font-style: normal; +} /** * Common stylesheet, builded into assets/common/styles/common.css */ @import '../../../../node_modules/font-awesome/scss/font-awesome.scss'; +@import './fonts/PhraseanetIcomoon/style'; @import './roboto.scss'; @import '../../_shared/styles/variables'; @import '../../vendors/bootstrap/bootstrap'; @@ -38,5 +49,28 @@ $mainMenuLinkBackgroundHoverColor: transparent; } } +[class^="icon-"], [class*=" icon-"].icomoon { + display: inline-block; + width: inherit; + height: inherit; + margin-right: inherit; + line-height: inherit; + vertical-align: inherit; + background-image:none; + margin-top: inherit; +} +.icon-picto-three-little-point { + font-size: 4.5px; +} + +.icomoon{ + &.with-shadow { + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); + } + &.with-white-shadow { + box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.39); + } +} + diff --git a/templates/web/prod/results/record.html.twig b/templates/web/prod/results/record.html.twig index 1f2dc34635..bd87cc83c8 100644 --- a/templates/web/prod/results/record.html.twig +++ b/templates/web/prod/results/record.html.twig @@ -80,32 +80,32 @@ {% if record_subdef_url(record, 'preview') is not null and has_access_subdef(record, 'preview') %} - - + + {% endif %} {% endif %} {% if settings.rollover_thumbnail == 'preview' %} - - + + {% endif %} {% if settings.technical_display == '1' %} - - + + {% endif %} {% if settings.show_context_menu %} - - + +