Skip to content

Commit ed26056

Browse files
committed
Improve plus button appearance in ticket list
1 parent 76c5732 commit ed26056

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

src/Controllers/TicketsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public function renderTicketTable($collection)
251251
if ($ticket->intervention!="" and ($ticket->comments_count>0 or $ticket->hidden)) $field.="<br />";
252252

253253
if($ticket->hidden) $field.= '<span class="fa fa-eye-slash tooltip-info tickethidden" data-toggle="tooltip" title="'.trans('panichd::lang.ticket-hidden').'" style="margin: 0em 0.5em 0em 0em;"></span>';
254-
254+
255255
if ($ticket->comments_count>0){
256256
$field.=$ticket->comments_count . ' <span class="fa fa-comments tooltip-info comment" title="'.trans('panichd::lang.table-info-comments-total', ['num'=>$ticket->comments_count]).($ticket->recent_comments_count>0 ? ' '.trans('panichd::lang.table-info-comments-recent', ['num'=>$ticket->recent_comments_count]) : '').'"></span>';
257257
}

src/Public/css/panichd.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ h1, h2, h3, h4, h5, h6 {
8888
margin: 0em 0.2em 0em 1em;
8989
}
9090

91-
#filter_panel .title.pov {
91+
#filter_panel .title.pov {
9292
margin: 0em 0.2em 0em 0em;
9393
}
9494

@@ -240,7 +240,17 @@ h1, h2, h3, h4, h5, h6 {
240240
* Tickets table
241241
*/
242242
#tickets-table .fa.attachment, #tickets-table .fa.comment, #tickets-table .fa.tickethidden {
243-
color: #555;
243+
color: #999;
244+
}
245+
246+
#tickets-table .jquery_ticket_text_toggle {
247+
color: #999;
248+
border-color: transparent;
249+
background-color: transparent;
250+
}
251+
252+
#tickets-table .jquery_ticket_text_toggle:hover {
253+
background-color: #eee;
244254
}
245255

246256
/*
@@ -254,7 +264,7 @@ h1, h2, h3, h4, h5, h6 {
254264
display: -ms-flexbox;
255265
display: flex;
256266
}
257-
267+
258268
#ticket-body .row-ticket-attachments {
259269
margin: 15px -15px 5px -30px;
260270
}
@@ -298,7 +308,7 @@ h1, h2, h3, h4, h5, h6 {
298308
}
299309
.grouped_check_list.deletion_list .check_parent.checked .fa-check, .grouped_check_list.deletion_list .check_parent.unchecked .fa-times {
300310
display: inline !important;
301-
}
311+
}
302312

303313
.grouped_check_list.deletion_list .check_parent.checked .check_info {
304314
text-decoration: line-through;
@@ -326,7 +336,7 @@ h1, h2, h3, h4, h5, h6 {
326336
}
327337

328338
.grouped_check_list.coloured-list .check_parent.unchecked .btn-light {
329-
color: gray;
339+
color: gray;
330340
}
331341
.grouped_check_list.coloured-list .check_parent.unchecked .check_info {
332342
background: white;
@@ -424,4 +434,3 @@ h1, h2, h3, h4, h5, h6 {
424434
.attached_list .media-left a.default:hover, .attached_list .media-left a.default:active {
425435
color: orange;
426436
}
427-

0 commit comments

Comments
 (0)