From: Alexandr Danilov Date: Fri, 9 Oct 2015 09:43:42 +0000 (+0300) Subject: Icons in footer X-Git-Tag: 2.0.0-alpha.1~23^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=ba873ae6678bd4362b2c5bd063f738206c549f22;hp=cf0ea8f113548191cdeb8d3727dd6d2ad25d19ed;p=github%2Fwallabag%2Fwallabag.git Icons in footer --- 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 36e276f9..2e88c1ad 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 1fe4a533..b3bd07e7 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 = 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); +} + + /* ========================================================================== - 7 = Others + 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 00000000..7318414e Binary files /dev/null and b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.eot differ diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.svg b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.svg new file mode 100644 index 00000000..365c0c42 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.svg @@ -0,0 +1,17 @@ + + + +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 00000000..fff65bca Binary files /dev/null and b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.ttf differ diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.woff b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.woff new file mode 100644 index 00000000..f3fe2a46 Binary files /dev/null and b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/font/icomoon/icomoon.woff differ