mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
identical lettersearch for etemplate and admin via central css file
This commit is contained in:
parent
4039fdf415
commit
c801bdf99e
@ -250,7 +250,7 @@
|
||||
$p->set_var(array(
|
||||
'letter' => $letter,
|
||||
'link' => $GLOBALS['egw']->link('/index.php',$link_data),
|
||||
'class' => $GLOBALS['query'] == $letter && $_REQUEST['query_type'] == 'start' ? 'letter_box_active' : 'letter_box',
|
||||
'class' => $GLOBALS['query'] == $letter && $_REQUEST['query_type'] == 'start' ? 'lettersearch_active' : 'lettersearch',
|
||||
));
|
||||
$p->fp('letter_search_cells','letter_search',True);
|
||||
}
|
||||
@ -259,7 +259,7 @@
|
||||
$p->set_var(array(
|
||||
'letter' => lang('all'),
|
||||
'link' => $GLOBALS['egw']->link('/index.php',$link_data),
|
||||
'class' => $_REQUEST['query_type'] != 'start' || !in_array($GLOBALS['query'],$letters) ? 'letter_box_active' : 'letter_box',
|
||||
'class' => $_REQUEST['query_type'] != 'start' || !in_array($GLOBALS['query'],$letters) ? 'lettersearch_active' : 'lettersearch',
|
||||
));
|
||||
$p->fp('letter_search_cells','letter_search',True);
|
||||
|
||||
@ -404,7 +404,7 @@
|
||||
$p->set_var(array(
|
||||
'letter' => $letter,
|
||||
'link' => $GLOBALS['egw']->link('/index.php',$link_data),
|
||||
'class' => $GLOBALS['query'] == $letter && $_REQUEST['query_type'] == 'start' ? 'letter_box_active' : 'letter_box',
|
||||
'class' => $GLOBALS['query'] == $letter && $_REQUEST['query_type'] == 'start' ? 'lettersearch_active' : 'lettersearch',
|
||||
));
|
||||
$p->fp('letter_search_cells','letter_search',True);
|
||||
}
|
||||
@ -413,7 +413,7 @@
|
||||
$p->set_var(array(
|
||||
'letter' => lang('all'),
|
||||
'link' => $GLOBALS['egw']->link('/index.php',$link_data),
|
||||
'class' => $_REQUEST['query_type'] != 'start' || !in_array($GLOBALS['query'],$letters) ? 'letter_box_active' : 'letter_box',
|
||||
'class' => $_REQUEST['query_type'] != 'start' || !in_array($GLOBALS['query'],$letters) ? 'lettersearch_active' : 'lettersearch',
|
||||
));
|
||||
$p->fp('letter_search_cells','letter_search',True);
|
||||
|
||||
|
@ -1,23 +1,4 @@
|
||||
<!-- $Id$ -->
|
||||
<style type="text/css">
|
||||
.letter_box,.letter_box_active {
|
||||
background-color: #D3DCE3;
|
||||
width: 25px;
|
||||
border: 1px solid #D3DCE3;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
cusror: hand;
|
||||
}
|
||||
.letter_box_active {
|
||||
font-weight: bold;
|
||||
background-color: #E8F0F0;
|
||||
}
|
||||
.letter_box_active,.letter_box:hover {
|
||||
border: 1px solid black;
|
||||
background-color: #E8F0F0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div align="center">
|
||||
<table border="0" width="80%">
|
||||
<tr>
|
||||
|
@ -1,22 +1,4 @@
|
||||
<!-- BEGIN list -->
|
||||
<style type="text/css">
|
||||
.letter_box,.letter_box_active {
|
||||
background-color: #D3DCE3;
|
||||
width: 25px;
|
||||
border: 1px solid #D3DCE3;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
cusror: hand;
|
||||
}
|
||||
.letter_box_active {
|
||||
font-weight: bold;
|
||||
background-color: #E8F0F0;
|
||||
}
|
||||
.letter_box_active,.letter_box:hover {
|
||||
border: 1px solid black;
|
||||
background-color: #E8F0F0;
|
||||
}
|
||||
</style>
|
||||
<p>
|
||||
<table border="0" width="45%" align="center">
|
||||
<tr>
|
||||
|
@ -53,21 +53,6 @@
|
||||
.inactiv_sortcolumn {
|
||||
font-weight: normal;
|
||||
}
|
||||
.lettersearch,.lettersearch_active {
|
||||
background-color: #D3DCE3;
|
||||
width: 25px;
|
||||
border: 1px solid #D3DCE3;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.lettersearch_active {
|
||||
font-weight: bold;
|
||||
background-color: #E8F0F0;
|
||||
}
|
||||
.lettersearch_active,.lettersearch:hover {
|
||||
border: 1px solid black;
|
||||
background-color: #E8F0F0;
|
||||
}
|
||||
.selectcols {
|
||||
position: relative;
|
||||
}
|
||||
|
@ -527,12 +527,10 @@ Preferences tabs
|
||||
Table formatting
|
||||
*/
|
||||
|
||||
|
||||
.th {
|
||||
color: black; background-color: #D3DCE3;
|
||||
}
|
||||
|
||||
|
||||
.row_on {
|
||||
color: black;
|
||||
background-color: #F1F1F1;
|
||||
@ -715,10 +713,20 @@ Preferences tabs
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
|
||||
td.lettersearch, td.lettersearch_active {
|
||||
.lettersearch, .lettersearch_active {
|
||||
border-radius: 10px;
|
||||
width: 25px;
|
||||
border: 1px solid #D3DCE3;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.lettersearch_active,.lettersearch:hover {
|
||||
border: 1px solid black;
|
||||
background-color: #E8F0F0;
|
||||
}
|
||||
.lettersearch_active {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
td.lettersearch {
|
||||
border-color: #E0E0E0;
|
||||
background-image: url(../images/gradient22.png);
|
||||
|
Loading…
Reference in New Issue
Block a user