Skip to content

Commit 5fb0710

Browse files
committed
add a css class clickable for clickable item (sets cursor to pointer)
1 parent 856a7d4 commit 5fb0710

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

apps/front/modules/default/templates/fileListSuccess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="list">
22
<div class="list_head">
3-
<span class="icon-caret-down tooltip toggle-diff-range" title="Click to see the diff range selector"></span>
3+
<span class="clickable icon-caret-down tooltip toggle-diff-range" title="Click to see the diff range selector"></span>
44
<span class="title">File list</span>
55
<span class="view_files_info">
66
:

apps/front/modules/default/templates/fileSuccess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="file_bloc">
22
<div class="list">
33
<div class="list_head scroll">
4-
<span class="icon-caret-<?php echo $readonly ? 'up' : 'down'; ?> tooltip toggle-diff-range" title="Click to see the diff range selector"></span>
4+
<span class="clickable icon-caret-<?php echo $readonly ? 'up' : 'down'; ?> tooltip toggle-diff-range" title="Click to see the diff range selector"></span>
55
<span class="title">
66
<?php if($file->getsfGuardUser()):?>
77
<img class="avatar" src="<?php echo $file->getsfGuardUser()->getProfile()->getAvatarUrl() ?>" />

web/css/less/main.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,8 @@ html {
450450
top: auto;
451451
}
452452

453+
.clickable {
454+
cursor: pointer;
455+
}
456+
453457
#admin_project_add { width: 510px; }

web/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,4 +1130,5 @@ html body .footer .logoCrew:hover { opacity:1; }
11301130
right:0;
11311131
top:auto;
11321132
}
1133+
.clickable { cursor:pointer; }
11331134
#admin_project_add { width:510px; }

0 commit comments

Comments
 (0)