styling updates

This commit is contained in:
Roland Gruber 2019-11-14 21:56:15 +01:00
parent 690ba0407d
commit 65412574a0
3 changed files with 16 additions and 9 deletions

View File

@ -424,17 +424,17 @@ class lamList {
$buttons = new htmlGroup();
if (strtolower($attributeName) == $this->sortColumn) {
if ($this->sortDirection < 0) {
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=1', '../../graphics/downarrows.png'));
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=-1', '../../graphics/uparrows-black.png'));
}
else {
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=1', '../../graphics/downarrows-black.png'));
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=-1', '../../graphics/uparrows.png'));
}
}
else {
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=1', '../../graphics/downarrows.png'));
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=-1', '../../graphics/uparrows.png'));
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=-1', '../../graphics/uparrows-black.png'));
}
}
else {
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=1', '../../graphics/downarrows-black.png'));
$buttons->addElement(new htmlLink(null, $link . '&sortdirection=-1', '../../graphics/uparrows-black.png'));
}
$sortElements[] = $buttons;
}
@ -836,6 +836,7 @@ class lamList {
$suffixSelect->setRightToLeftTextDirection(true);
$suffixSelect->setSortElements(false);
$suffixSelect->setHasDescriptiveElements(true);
$suffixSelect->setCSSClasses(array('margin5', 'lam-listouselection-height'));
$group->addElement($suffixSelect);
$group->addElement(new htmlSpacer('5px', null));
}
@ -883,11 +884,13 @@ class lamList {
$right->add($this->listShowOUSelection(), 12, 12, 10);
$rightButtonGroup = new htmlGroup();
$refreshButton = new htmlButton('refresh', 'refresh.png', true);
$refreshButton->setCSSClasses(array('margin5 lam-listouselection-height'));
$refreshButton->setTitle(_("Refresh"));
$rightButtonGroup->addElement($refreshButton);
$settingsLink = new htmlLink('', '#', '../../graphics/tools.png');
$settingsLink->setOnClick('listShowSettingsDialog(\'' . _('Change list settings') . '\', \'' . _('Ok') . '\', \'' . _('Cancel') . '\');');
$settingsLink->setTitle(_('Change settings'));
$settingsLink->setCSSClasses(array('margin5 lam-listouselection-height'));
$rightButtonGroup->addElement($settingsLink);
$right->add($rightButtonGroup, 12, 12, 2);

View File

@ -264,6 +264,10 @@ table.accountlist input[type='text'] {
padding-bottom: 0.5rem;
}
.lam-listouselection-height {
height: 27px;
}
table.collapse {
border-collapse:collapse;
}

View File

@ -112,9 +112,9 @@ table.responsive-table th {
table.responsive-table td {
overflow: hidden;
vertical-align: top;
padding-bottom: 0.3rem;
padding-top: 0.3rem;
vertical-align: middle;
padding-bottom: 0.1rem;
padding-top: 0.1rem;
padding-right: 0.3rem;
padding-left: 0.3rem;
word-break: break-all;