mirror of
https://github.com/itflow-org/itflow
synced 2026-03-20 04:34:51 +00:00
Added custom css class grab-cursor so it turns the cursor into a grab hand instead of a finger, applied this to ticket tasks
This commit is contained in:
29
css/itflow_custom.css
Normal file
29
css/itflow_custom.css
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
For screens below 576px (xs):
|
||||||
|
- Make the button full-width, display:block
|
||||||
|
*/
|
||||||
|
@media (max-width: 575.98px) {
|
||||||
|
.btn-responsive {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
For screens 576px (sm) and above:
|
||||||
|
- Revert to an inline style
|
||||||
|
*/
|
||||||
|
@media (min-width: 576px) {
|
||||||
|
.btn-responsive {
|
||||||
|
display: inline-block;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.grab-cursor {
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grab-cursor:active {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
30
css/style.css
Normal file
30
css/style.css
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
/*
|
||||||
|
For screens below 576px (xs):
|
||||||
|
- Make the button full-width, display:block
|
||||||
|
*/
|
||||||
|
@media (max-width: 575.98px) {
|
||||||
|
.btn-responsive {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
For screens 576px (sm) and above:
|
||||||
|
- Revert to an inline style
|
||||||
|
*/
|
||||||
|
@media (min-width: 576px) {
|
||||||
|
.btn-responsive {
|
||||||
|
display: inline-block;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.grab-cursor {
|
||||||
|
cursor: grab;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grab-cursor:active {
|
||||||
|
cursor: grabbing;
|
||||||
|
}
|
||||||
@@ -32,4 +32,4 @@
|
|||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,29 +40,7 @@ header("X-Frame-Options: DENY");
|
|||||||
<link href="plugins/toastr/toastr.min.css" rel="stylesheet">
|
<link href="plugins/toastr/toastr.min.css" rel="stylesheet">
|
||||||
<link href="plugins/DataTables/datatables.min.css" rel="stylesheet">
|
<link href="plugins/DataTables/datatables.min.css" rel="stylesheet">
|
||||||
<!-- CSS to allow regular button to show as block button in mobile response view using the class btn-responsive -->
|
<!-- CSS to allow regular button to show as block button in mobile response view using the class btn-responsive -->
|
||||||
<style>
|
<link href="css/itflow_custom.css" rel="stylesheet">
|
||||||
/*
|
|
||||||
For screens below 576px (xs):
|
|
||||||
- Make the button full-width, display:block
|
|
||||||
*/
|
|
||||||
@media (max-width: 575.98px) {
|
|
||||||
.btn-responsive {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
For screens 576px (sm) and above:
|
|
||||||
- Revert to an inline style
|
|
||||||
*/
|
|
||||||
@media (min-width: 576px) {
|
|
||||||
.btn-responsive {
|
|
||||||
display: inline-block;
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="plugins/jquery/jquery.min.js"></script>
|
<script src="plugins/jquery/jquery.min.js"></script>
|
||||||
|
|||||||
@@ -938,7 +938,12 @@ if (isset($_GET['ticket_id'])) {
|
|||||||
</a>
|
</a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<td><span class="text-secondary"><?php echo $task_completion_estimate; ?>m</span> - <?php echo $task_name; ?></td>
|
<td>
|
||||||
|
<a href="#" class="grab-cursor">
|
||||||
|
<span class="text-secondary"><?php echo $task_completion_estimate; ?>m</span>
|
||||||
|
<span class="text-dark"> - <?php echo $task_name; ?></span>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
<?php if (empty($ticket_resolved_at) && lookupUserPermission("module_support") >= 2) { ?>
|
<?php if (empty($ticket_resolved_at) && lookupUserPermission("module_support") >= 2) { ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user