Add table-hover css class
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<?php if ($paginator->isEmpty()): ?>
|
<?php if ($paginator->isEmpty()): ?>
|
||||||
<p class="alert"><?= t('There is no group.') ?></p>
|
<p class="alert"><?= t('There is no group.') ?></p>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<table class="table-fixed table-scrolling">
|
<table class="table-fixed table-scrolling table-hover">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="column-5"><?= $paginator->order(t('Id'), 'id') ?></th>
|
<th class="column-5"><?= $paginator->order(t('Id'), 'id') ?></th>
|
||||||
<th><?= $paginator->order(t('Name'), 'name') ?></th>
|
<th><?= $paginator->order(t('Name'), 'name') ?></th>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<?php if ($paginator->isEmpty()): ?>
|
<?php if ($paginator->isEmpty()): ?>
|
||||||
<p class="alert"><?= t('There is no user in this group.') ?></p>
|
<p class="alert"><?= t('There is no user in this group.') ?></p>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<table class="table-striped table-scrolling">
|
<table class="table-striped table-scrolling table-hover">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="column-5"><?= $paginator->order(t('Id'), 'id') ?></th>
|
<th class="column-5"><?= $paginator->order(t('Id'), 'id') ?></th>
|
||||||
<th><?= $paginator->order(t('Username'), 'username') ?></th>
|
<th><?= $paginator->order(t('Username'), 'username') ?></th>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<?php if ($paginator->isEmpty()): ?>
|
<?php if ($paginator->isEmpty()): ?>
|
||||||
<p class="alert"><?= t('No user') ?></p>
|
<p class="alert"><?= t('No user') ?></p>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<table class="table-scrolling table-striped">
|
<table class="table-scrolling table-striped table-hover">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="column-5"><?= $paginator->order(t('Id'), 'id') ?></th>
|
<th class="column-5"><?= $paginator->order(t('Id'), 'id') ?></th>
|
||||||
<th class="column-18"><?= $paginator->order(t('Username'), 'username') ?></th>
|
<th class="column-18"><?= $paginator->order(t('Username'), 'username') ?></th>
|
||||||
|
|||||||
2
assets/css/app.min.css
vendored
2
assets/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -16,12 +16,12 @@
|
|||||||
background: #fafafa
|
background: #fafafa
|
||||||
|
|
||||||
.comment-highlighted
|
.comment-highlighted
|
||||||
background-color: #FFF8DC
|
background-color: map-get($highlight-colors, 'background')
|
||||||
border: 2px solid #FFF8DC
|
border: 2px solid map-get($highlight-colors, 'background')
|
||||||
border-left: 2px solid #ffeb8e
|
border-left: 2px solid map-get($highlight-colors, 'border')
|
||||||
&:hover
|
&:hover
|
||||||
background-color: #FFF8DC
|
background-color: map-get($highlight-colors, 'background')
|
||||||
border: 2px solid #ffeb8e
|
border: 2px solid map-get($highlight-colors, 'border')
|
||||||
|
|
||||||
.comment-title
|
.comment-title
|
||||||
border-bottom: 1px dotted #eee
|
border-bottom: 1px dotted #eee
|
||||||
|
|||||||
@@ -23,6 +23,11 @@ table
|
|||||||
&.table-striped tr:nth-child(odd)
|
&.table-striped tr:nth-child(odd)
|
||||||
background: bg-color('lighter')
|
background: bg-color('lighter')
|
||||||
|
|
||||||
|
&.table-hover tr:hover
|
||||||
|
background: map-get($highlight-colors, 'background')
|
||||||
|
td
|
||||||
|
border: 2px solid map-get($highlight-colors, 'border')
|
||||||
|
|
||||||
&.table-scrolling
|
&.table-scrolling
|
||||||
@include sm-device
|
@include sm-device
|
||||||
overflow-x: auto
|
overflow-x: auto
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ $font-sizes: ('normal': 1.0em, 'tiny': 0.7em, 'small': 0.8em, 'compact': 0.9em,
|
|||||||
|
|
||||||
$icon-colors: ('success': #468847, 'error': #b94a48)
|
$icon-colors: ('success': #468847, 'error': #b94a48)
|
||||||
|
|
||||||
|
$highlight-colors: ('background': #FFF8DC, 'border': #ffeb8e)
|
||||||
|
|
||||||
$text-font: 'Helvetica Neue', Helvetica, Arial, sans-serif
|
$text-font: 'Helvetica Neue', Helvetica, Arial, sans-serif
|
||||||
$board-task-limit-color: #DF5353
|
$board-task-limit-color: #DF5353
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user