1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-29 18:52:18 +01:00

Contacts: Load FontAwesome.

This commit is contained in:
Thomas Tanghus 2013-01-26 16:29:56 +01:00
parent 12a0e4f7eb
commit 73608d9b87
2 changed files with 38 additions and 0 deletions

36
css/font-awesome.css vendored Normal file
View File

@ -0,0 +1,36 @@
/* Alter the FontAwesome style sheet to not change the font for normal text.
* Enable you to do eg. <button class="icon-fubar">Text</button> without the
* need for an extra <i /> element.
*
* This requires the 3rdparty_minimizer_path branch:
*@import url('%3rdpartyroot%/fontawesome/css/font-awesome.min.css');*/
[class^="icon-"],
[class*=" icon-"] {
font-family: "Lucida Grande", Arial, Verdana, sans-serif;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
text-decoration: inherit;
-webkit-font-smoothing: antialiased;
}
input[type="submit"][class^="icon-"].text, input[type="submit"][class*=" icon-"].text,
input[type="button"][class^="icon-"].text, input[type="button"][class*=" icon-"].text,
button[class^="icon-"].text, button[class*=" icon-"].text,
.button[class^="icon-"].text, .button[class*=" icon-"].text,
select[class^="icon-"].text, select[class*=" icon-"].text {
font-weight: bold;
}
input[type="submit"][class^="icon-"].text:before, input[type="submit"][class*=" icon-"].text:before,
input[type="button"][class^="icon-"].text:before, input[type="button"][class*=" icon-"].text:before,
button[class^="icon-"].text:before, button[class*=" icon-"].text:before,
.button[class^="icon-"].text:before, .button[class*=" icon-"].text:before,
select[class^="icon-"].text:before, select[class*=" icon-"].text:before {
padding-right: 3px;
}

View File

@ -48,6 +48,8 @@ OCP\Util::addscript('contacts', 'expanding');
OCP\Util::addscript('contacts', 'jquery.combobox');
OCP\Util::addscript('files', 'jquery.fileupload');
OCP\Util::addscript('contacts', 'jquery.Jcrop');
OCP\Util::addStyle('3rdparty/fontawesome', 'font-awesome');
OCP\Util::addStyle('contacts', 'font-awesome');
OCP\Util::addStyle('contacts', 'multiselect');
OCP\Util::addStyle('', 'jquery.multiselect');
OCP\Util::addStyle('contacts', 'jquery.combobox');