mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +01:00
Contacts: Load FontAwesome.
This commit is contained in:
parent
12a0e4f7eb
commit
73608d9b87
36
css/font-awesome.css
vendored
Normal file
36
css/font-awesome.css
vendored
Normal 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;
|
||||
}
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user