mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
Set some styles for customfields
- Limit cf option size in nextmatch row to max of ~10 lines - Limit type option size to max of 300 px
This commit is contained in:
parent
a538706de5
commit
5a2c3a530d
@ -223,6 +223,9 @@ class customfields
|
|||||||
// Allow extending app a change to change content before display
|
// Allow extending app a change to change content before display
|
||||||
static::app_index($content, $sel_options, $readonlys, $preserve);
|
static::app_index($content, $sel_options, $readonlys, $preserve);
|
||||||
|
|
||||||
|
// Make sure app css gets loaded, extending app might cause et2 to miss it
|
||||||
|
egw_framework::includeCSS('admin','app');
|
||||||
|
|
||||||
$GLOBALS['egw_info']['flags']['app_header'] = $GLOBALS['egw_info']['apps'][$this->appname]['title'].' - '.lang('Custom fields');
|
$GLOBALS['egw_info']['flags']['app_header'] = $GLOBALS['egw_info']['apps'][$this->appname]['title'].' - '.lang('Custom fields');
|
||||||
|
|
||||||
// Some logic to make sure extending class (if there is one) gets called
|
// Some logic to make sure extending class (if there is one) gets called
|
||||||
|
@ -68,3 +68,17 @@ td.admin_userAgent span {
|
|||||||
.globalCat_hiddenCatid {
|
.globalCat_hiddenCatid {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Custom fields list
|
||||||
|
*/
|
||||||
|
#admin-customfields_nm .values {
|
||||||
|
display: inline-block;
|
||||||
|
max-height: 13em;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
/* Set a max height for all app type options */
|
||||||
|
#admin-customfields_admin-customfields-types + table {
|
||||||
|
max-height: 300px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
@ -70,7 +70,7 @@
|
|||||||
<customfields-types statustext="Type of customfield" id="{$row}[cf_type]"/>
|
<customfields-types statustext="Type of customfield" id="{$row}[cf_type]"/>
|
||||||
<checkbox id="${row}[cf_needed]" selected_value="1" unselected_value="0"/>
|
<checkbox id="${row}[cf_needed]" selected_value="1" unselected_value="0"/>
|
||||||
<select-account id="${row}[cf_private]" account_type="both"/>
|
<select-account id="${row}[cf_private]" account_type="both"/>
|
||||||
<description id="${row}[cf_values]" no_lang="1"/>
|
<description id="${row}[cf_values]" no_lang="1" class="values"/>
|
||||||
<vbox>
|
<vbox>
|
||||||
<description id="${row}[cf_len]" no_lang="1"/>
|
<description id="${row}[cf_len]" no_lang="1"/>
|
||||||
<description id="${row}[cf_rows]" no_lang="1"/>
|
<description id="${row}[cf_rows]" no_lang="1"/>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
@import "../default/app.css";
|
||||||
/**
|
/**
|
||||||
* EGroupware: CSS with less preprocessor
|
* EGroupware: CSS with less preprocessor
|
||||||
|
|
||||||
@ -11,72 +12,6 @@
|
|||||||
* @package addressbook
|
* @package addressbook
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
/**
|
|
||||||
* EGroupware - CSS Styles used by admin app
|
|
||||||
*
|
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
||||||
* @package etemplate
|
|
||||||
* @link http://www.egroupware.org
|
|
||||||
* @author Ralf Becker <RalfBecker@outdoor-training.de>
|
|
||||||
* @version $Id: app.css 47432 2014-06-30 07:48:05Z hnategh $
|
|
||||||
*/
|
|
||||||
.admin_tree table,
|
|
||||||
.admin_tree tr,
|
|
||||||
.admin_tree td {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
div#divAppbox {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
background-image: none;
|
|
||||||
background-color: white;
|
|
||||||
}
|
|
||||||
/* otherwise it is transparent */
|
|
||||||
#admin_iframe {
|
|
||||||
background-color: white;
|
|
||||||
}
|
|
||||||
tr.adminAccountInactive .adminStatus {
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
.adminOverflowEllipsis {
|
|
||||||
width: 100%;
|
|
||||||
white-space: nowrap;
|
|
||||||
display: block;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
img.admin_aclApp {
|
|
||||||
width: 16px;
|
|
||||||
}
|
|
||||||
td.admin_userAgent {
|
|
||||||
max-width: 200px;
|
|
||||||
}
|
|
||||||
td.admin_userAgent span {
|
|
||||||
display: block;
|
|
||||||
white-space: nowrap;
|
|
||||||
width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
#admin-acl_filter {
|
|
||||||
max-width: 100% !important;
|
|
||||||
}
|
|
||||||
.admin_account_delete > * {
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
/* Global Category classes*/
|
|
||||||
.globalCat_confirmDelete {
|
|
||||||
position: absolute;
|
|
||||||
left: 120px;
|
|
||||||
top: 80px;
|
|
||||||
background-color: white;
|
|
||||||
display: none;
|
|
||||||
border: 2px solid black;
|
|
||||||
}
|
|
||||||
.globalCat_hiddenCatid {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
@media all {
|
@media all {
|
||||||
div.dhtmlxTree td.standartTreeRow span.selectedTreeRow {
|
div.dhtmlxTree td.standartTreeRow span.selectedTreeRow {
|
||||||
background-color: #ffdd73;
|
background-color: #ffdd73;
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
@import (reference) "../../../pixelegg/less/definitions.less";
|
@import (reference) "../../../pixelegg/less/definitions.less";
|
||||||
@import (less) "../default/app.css";
|
@import (reference) "../default/app.css";
|
||||||
|
|
||||||
|
|
||||||
@media all {
|
@media all {
|
||||||
|
Loading…
Reference in New Issue
Block a user