Skip to content

Commit 2da6df5

Browse files
committed
changed: replaced checkmark icon with FontAwesome checkmark
1 parent da3347f commit 2da6df5

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

_graphics/checkmark.png

-506 Bytes
Binary file not shown.

start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
function questions_init() {
2020

2121
// extend CSS/JS
22-
elgg_extend_view('css/elgg', 'css/questions/site');
22+
elgg_extend_view('css/elgg', 'css/questions/site.css');
2323
elgg_extend_view('js/elgg', 'js/questions/site');
2424

2525
elgg_register_menu_item('site', [
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
<?php ?>
2-
31
/* questions css */
2+
.questions-checkmark .elgg-icon {
3+
font-size: 25px;
4+
color: #4690D6;
5+
margin: 0;
6+
}
47

5-
.questions-checkmark {
6-
width: 25px;
7-
height: 25px;
8-
background:transparent url(<?php echo elgg_get_site_url(); ?>mod/questions/_graphics/checkmark.png) no-repeat;
8+
.questions-checkmark:hover {
9+
cursor: help;
910
}
1011

1112
.question-solution-time {

views/default/object/answer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
$title = elgg_echo('questions:answer:checkmark:title', [$owner_name, $timestamp]);
2121

22-
$image .= elgg_format_element('div', ['class' => 'questions-checkmark', 'title' => $title]);
22+
$image .= elgg_format_element('div', ['class' => 'questions-checkmark', 'title' => $title], elgg_view_icon('checkmark'));
2323
}
2424

2525
// create subtitle

0 commit comments

Comments
 (0)