Skip to content

Commit

Permalink
Dev: Survey list table, hover coloration
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed May 23, 2016
1 parent 5da7878 commit 2199b31
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion application/views/admin/survey/listSurveys_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
),
'itemsCssClass' =>'table-striped',
//'htmlOptions'=>array('style'=>'cursor: pointer;'),
//'htmlOptions'=>array('style'=>'cursor: pointer;', 'class'=>'hoverAction'),
'htmlOptions'=>array('style'=>'cursor: pointer;', 'class'=>'hoverAction'),
//'selectionChanged'=>"function(id){window.location='" . Yii::app()->urlManager->createUrl('admin/survey/sa/view/surveyid' ) . '/' . "' + $.fn.yiiGridView.getSelection(id.split(',', 1));}",
'ajaxUpdate' => true,
'afterAjaxUpdate' => 'doToolTip',
Expand Down
21 changes: 16 additions & 5 deletions styles/Sea_Green/css/lime-admin-common.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/**
* OBS : COLOURS IN THIS FILE.
* Lime Admin Common CSS File
*
* This file contain all the common css definitions for the different admin theme.
* It should not contain color definition (grey, blacks, and white are acceptable)
*/


Expand Down Expand Up @@ -1903,11 +1906,19 @@ h3,.h3 {
{
cursor: pointer;
}
.grid-view table tbody tr td a:hover
.has-link a:hover
{
text-decoration: none;
}
.grid-view table tbody tr td a
{
color: #35363f;

.has-link a {
color: black;
}

.hoverAction .table-striped > tbody > tr:hover > td {
background-color: transparent;
}

.hoverAction .table-striped > tbody > tr:hover > td > a:not(.btn) {
color: white;
}

0 comments on commit 2199b31

Please sign in to comment.