Revision c8624e9a
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/cdm_dataportal.css | ||
---|---|---|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
.fa-icon { |
115 |
font-family: 'FontAwesome' !important;
|
|
115 |
font-family: 'Font Awesome 5 Free' !important;
|
|
116 | 116 |
} |
117 | 117 |
|
118 | 118 |
/* |
modules/cdm_dataportal/cdm_dataportal.search.php | ||
---|---|---|
1143 | 1143 |
); |
1144 | 1144 |
|
1145 | 1145 |
$form['submit'] = array( |
1146 |
'#type' => 'submit', |
|
1147 |
'#attributes' => array('class' => array('fa-icon'), 'title' => t('Search')), |
|
1148 |
'#value' => decode_entities(''), // fontawesome search icon |
|
1146 |
'#markup' => '<button type="submit" title="Search" class="form-submit">' . font_awesome_icon_markup('fa-search') . '</button>' |
|
1149 | 1147 |
// '#prefix' => "<div class=\"form-item\"><label> </label>", |
1150 | 1148 |
// '#suffix' => "</div>" |
1151 | 1149 |
|
modules/cdm_dataportal/fonts/.htaccess | ||
---|---|---|
1 |
AddType application/vnd.ms-fontobject eot |
|
1 |
AddType application/vnd.ms-fontobject .eot
|
|
2 | 2 |
AddType font/truetype ttf |
3 |
AddType application/x-font-woff woff |
|
3 |
AddType application/font-woff .woff |
|
4 |
AddType font/woff2 .woff2 |
|
5 |
AddType application/x-font-truetype .ttf |
|
6 |
AddType image/svg+xml .svg |
|
7 |
AddType application/x-font-opentype .otf |
Also available in: Unified diff
fix #9109 making fontawesome icons appear again: