From ba873ae6678bd4362b2c5bd063f738206c549f22 Mon Sep 17 00:00:00 2001 From: Alexandr Danilov Date: Fri, 9 Oct 2015 12:43:42 +0300 Subject: [PATCH] Icons in footer --- .../views/themes/material/layout.html.twig | 30 +++---- .../views/themes/material/public/css/main.css | 79 +++++++++++++++++- .../material/public/font/icomoon/icomoon.eot | Bin 0 -> 3188 bytes .../material/public/font/icomoon/icomoon.svg | 17 ++++ .../material/public/font/icomoon/icomoon.ttf | Bin 0 -> 3024 bytes .../material/public/font/icomoon/icomoon.woff | Bin 0 -> 3100 bytes 6 files changed, 109 insertions(+), 17 deletions(-) create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.eot create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.svg create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.ttf create mode 100644 src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.woff diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 36e276f96..2e88c1ad5 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -84,24 +84,26 @@
{% trans %}Take wallabag with you{% endtrans %}

- {% trans %}We are available at{% endtrans %} - android (f-droid) - {% trans %}and{% endtrans %} - iOS.
- {% trans %}Install add-ons for{% endtrans %} - firefox - {% trans %}and{% endtrans %} - chrome. + + + + + + + + +

{% trans %}Social{% endtrans %}
- + + + + + + +
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css index 1fe4a5336..b3bd07e74 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css @@ -8,7 +8,8 @@ 4 = Cards 5 = Article 6 = Media queries - 7 = Others + 7 = Font + 8 = Others ========================================================================== */ @@ -17,6 +18,31 @@ 0 = Common ========================================================================== */ +@font-face { + font-family: 'icomoon'; + src:url('../font/icomoon/icomoon.eot?yw303w'); + src:url('../font/icomoon/icomoon.eot?yw303w#iefix') format('embedded-opentype'), + url('../font/icomoon/icomoon.ttf?yw303w') format('truetype'), + url('../font/icomoon/icomoon.woff?yw303w') format('woff'), + url('../font/icomoon/icomoon.svg?yw303w#icomoon') format('svg'); + font-weight: normal; + font-style: normal; +} + +[class^="icon-"], [class*=" icon-"] { + font-family: 'icomoon'; + 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; +} + body { display: flex; min-height: 100vh; @@ -86,6 +112,15 @@ nav, main, footer { display: none; } +footer.page-footer { + margin-top: 10px; + padding-top: 10px; +} + +footer .row { + margin-bottom: 10px; +} + /* ========================================================================== 1 = Nav ========================================================================== */ @@ -409,11 +444,49 @@ main ul.row { display: none; } } + /* ========================================================================== - 7 = Others + 7 = Font + ========================================================================== */ + +.icon-google-plus2:before { + content: "\e800"; +} +.icon-facebook2:before { + content: "\e801"; +} +.icon-twitter:before { + content: "\e802"; +} +.icon-apple:before { + content: "\e803"; +} +.icon-android:before { + content: "\e804"; +} +.icon-chrome:before { + content: "\e805"; +} +.icon-firefox:before { + content: "\e806"; +} + +footer [class^="icon-"], footer [class*=" icon-"] { + font-size: 2em; + transition: text-shadow 0.2s ease; + padding-right: 10px; +} + +footer [class^="icon-"]:hover, footer [class*=" icon-"]:hover { + text-shadow: 0 0 10px rgba(0,0,0,0.3); +} + + +/* ========================================================================== + 8 = Others ========================================================================== */ /* force height on non-input field in the settings page */ div.settings div.input-field div, div.settings div.input-field ul { margin-top: 40px; -} +} \ No newline at end of file diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.eot b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.eot new file mode 100644 index 0000000000000000000000000000000000000000..7318414e40d5f7003a36e9505e58e98b2cb18206 GIT binary patch literal 3188 zcmaJDTWlN0acB2vLKcv-POhOWmr+TIBuLVb{kAqT`GIz_MHorWy?ij;<`%v} z&R=nq7i*O(frU@rLZJ}SCzmVNuHf8`G@s?=%Qr5b_}Op&j`Vdxq_0+%Dpl#7-}Mt> zUBUI-3NoaBu#b`6K{~op+qkX~@&M_NkRG^PU#wW}%lDAxX9jAO>sN@IU&tmSP}eH8 zrFUPlevNc5p7E0_^=lh=Pi*!N`8r{&0e6Xo5c)2~Q^*~2hA&A5tX%Gi26*kKTZxc| zB5Uk5NQvRVMSk>tQw@Zl#zzR(%$XTdAtI0h@@+&$=ThXU55>LRy*)!qeMk%(_Wm6Z zQ18iofdERiJ;B4^$PXJLkLA9bCla#Pz>OP3Bz`i3j$a`+ahIW3)~onDN-myY@tEij zGe2a9VtPaqr6OcTSW42v;PZ--3!&mS@klzC?a+OCR?lX#8D9p{xl97}a(PkHwOG6h zP**bdwj>~)06iv3VaP;^eD^p2d^vT(A@*bs=~KrY7Ctj?b$WN<@FE@9cs_Fd`wPdf z7Dfw${lUY5=^SH_nXWcU4ea0CZx6ToLN-}$w-(Onz2}GiL@9h^pUL|M0xxVv9p{S> z21?l(Dp2f@qCY${I5(yPedEmF@$o1?_SAH>G8NBHDw~sq3%VBX3QW0EtFw-vqdHA} z{FFwMf+rPrN7_N_ntb3}7qKtkhcB z#KOQY{`Jl==+63R)7im1V?FLpDIARq&kQ&M4yFwsO9rxC`LiK#+3D;xmw+xP&eOgm z1w{`yYxh215nYm!SJ7^B&by(EiYgyDl1kBN9?j5h3e?=a*sl+p@9-n9gc zvm)SU;<8`K<(dDIFt`~Udp+EJI(6u(ra6PTh&q=}jg5|uX0k`ro(Mo+rXRLCRZIM2 zD5#75^9Nw3Ql=9ch}i_d)X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bsidGm5*{ps5KnUaU=Ya8nF(%RB`Wn-zTzIH=> zaj`y&cT14NMtQ!0U$Kk@` + + +Generated by IcoMoon + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.ttf b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.ttf new file mode 100644 index 0000000000000000000000000000000000000000..fff65bca5cf98a11d81a92112d6e71702ccd12ff GIT binary patch literal 3024 zcmaJDTWlN0acB2Kul z6?W>viqQw4BygIKBI!q?0_jIvqsULu!fjEa$d{3iCTP&le)Pvce)3bGKq9Jhca-h6 zMwffDGqXE8voo{9B|r#ql5N6Bdj93Z*$yxF6>|Q7UuCIYy%t>j%R7WX80ph1)f?Av z>_pla#g(hKE}weq=YK-_CLzLCtIO4z@cu6b2(ho?e0~)f!k^ivNbe#YU#)N6R0(;A z^e0FUUTrK@Z4bozNElXr znYk)VI8sEugNTIU4~X)J-{0HcH>H$E#Kd9$A3+Y~p57M-;Hr+Nc$ARBh`Hp+y8qAP z3E6Mr#!bSL0GTCKvPy2_F2f1kFH1f-pG>i2f)7Ml0QBL67E^hl1i4X`5ws{seqQh( zlmiwX%jWeiP11Bt&*?cS2ibfsg>v}t8#*}= z2hh*V)T-0T!j!xHcP^okCzkuw;Bwr}G|py#A6znqJ88O|BbkAbAAd<6ZWb>$4dp?BGty~UYY zZ3fP4Z(p3;-F5puR^I)>;IO9Qg_#;Ow=0tuw|(x)cB_m={c@&e#$Ul0R>%zM@c;&> zfDoOldZ-Z`451Yzba~pJL5>IK63HkWAS{HPO!a)(^n?5V}UAN~FP6VRhewB_z%zVTjfw-AlT zMrH?HK^Id;PNai+q;NhA9w(i<;o&d@r3KobrXXuUcm4hstGq{$3ktdo@4(J}ll=^H zvXAI^B1|7NJi(*Mm~Gh6?kE&6m9jEIqpK;JWF^33;&edH7g*p5H?$QRe?8iBHgn{< zs=7n@m@=QujE{|t<@94pZw#P6Hvrq+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