Merge pull request #6949 from totten/master-report-dashlet
[civicrm-core.git] / css / crm-i.css
1 /* Direct copy of .fa from font-awesome.css
2 This is separate to avoid conflict with a site theme's implementation of FA. It
3 is loaded before font-awesome.css so that .fa-XXX classes can modify it. */
4 .ui-icon[class*=" fa-"],
5 .crm-i {
6 display: inline-block;
7 font: normal normal normal 14px/1 FontAwesome;
8 font-size: inherit;
9 text-rendering: auto;
10 -webkit-font-smoothing: antialiased;
11 -moz-osx-font-smoothing: grayscale;
12 transform: translate(0, 0);
13 }
14
15 i.crm-i {
16 font-style: normal;
17 }
18
19 /* Have FA handle jQuery UI icons */
20
21 .ui-icon[class*=" fa-"] {
22 /* Remove the jQuery UI Icon */
23 background: none repeat scroll 0 0 transparent !important;
24 /* Remove the jQuery UI Text Indent */
25 text-indent: 0;
26 /* Bump it up - jQuery UI is -8px */
27 margin-top: -0.5em;
28 }
29
30 /* Allow use of icon-large to be properly aligned */
31 .ui-icon.icon-large {
32 margin-top: -0.75em;
33 }
34
35 .ui-button-icon-only .ui-icon[class*=" fa-"] {
36 /* Bump it - jQuery UI is -8px */
37 margin-left: -7px;
38 }