From b0a2542ce4ee22e74fa7076fcea11b528a332e20 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Fri, 17 Apr 2015 06:27:43 -0400 Subject: [PATCH] Add fontawesome CSS and icon fonts for general purpose --- skins/larry/settings.css | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/skins/larry/settings.css b/skins/larry/settings.css index 83446f1..f889ef1 100644 --- a/skins/larry/settings.css +++ b/skins/larry/settings.css @@ -155,12 +155,28 @@ background-position: 6px -1996px; } -#sections-table #rcmrowgeneral .section { - background-position: 4px -573px; +#sections-table.iconized .section:before { + display: inline-block; + font-family: 'FontAwesome'; + font-style: normal; + font-weight: normal; + font-size: 16px; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + transform: translate(0, 0); + position: relative; + top: 2px; + left: -2px; + width: 24px; + margin-left: -30px; + margin-right: 6px; + text-align: center; + text-shadow: 0px 1px 1px #fff; } -#sections-table #rcmrowgeneral.selected .section { - background-position: 4px -598px; +#sections-table.iconized .section.general:before { + content: "\f108"; } #sections-table #rcmrowmailbox .section { -- Gitblit v1.9.1