CSS changes

This commit is contained in:
Roland Gruber 2013-01-19 13:25:20 +00:00
parent 01dbb1cb01
commit edf14d870b
9 changed files with 20 additions and 774 deletions

View File

@ -1,11 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> <html><head><title>Type HowTo - CSS file</title>
<head>
<title>Type HowTo - CSS file</title>
<link rel="stylesheet" type="text/css" href="style/layout.css"> <link rel="stylesheet" type="text/css" href="style/layout.css">
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"></head><body>
</head>
<body>
<div style="text-align: center;"> <div style="text-align: center;">
<h1>Type HowTo - CSS file</h1> <h1>Type HowTo - CSS file</h1>
<br> <br>
@ -16,25 +15,27 @@ and fonts.<br>
<br> <br>
<h2>1. File name</h2> <h2>1. File name</h2>
The CSS files are saved in <span style="font-weight: bold;">style/</span>. The CSS files are saved in <span style="font-weight: bold;">style/</span>.
Your file must be named <span style="font-weight: bold;">type_&lt;your Your file must be named <span style="font-weight: bold;">600_type_&lt;your
type&gt;.css</span>.<br> type&gt;.css</span>.<br>
<br> <br>
<span style="font-weight: bold; text-decoration: underline;">Example:</span><br <span style="font-weight: bold; text-decoration: underline;">Example:</span><br style="font-weight: bold; text-decoration: underline;">
style="font-weight: bold; text-decoration: underline;">
<br> <br>
The <span style="font-style: italic;">smbDomain</span> type has the The <span style="font-style: italic;">myType</span> type has the
CSS file <span style="font-weight: bold;">style/type_smbDomain.css</span>.<br> CSS file <span style="font-weight: bold;">style/600_type_myType.css</span>.<br>
<br> <br>
<br> <br>
<h2>2. Contents</h2> <h2>2. Contents</h2>There are three colors that are defined for each type:<br>
Take the type_user.css file as template. It is well documented.<br> <pre>.&lt;your type&gt;-border { border-color:#af8800; }</pre>
You have to replace all occurrences of "user" with your account type.<br> <pre>.&lt;your type&gt;-bright { background-color:#fff3c8 !important; }</pre>
<pre>.&lt;your type&gt;-dark { background-color:#ffe27f !important; }</pre>
Border is used for e.g. table borders, bright and dark are used as background colors for tables and fieldsets.<br>
<br> <br>
<span style="font-weight: bold; text-decoration: underline;">Example:</span><br
style="font-weight: bold; text-decoration: underline;">
<br> <br>
Take a look at type_user.css and type_smbDomain.css.<br> <span style="font-weight: bold; text-decoration: underline;">Example:</span><br>
<pre>.smbDomain-border { border-color:#1d993e; }</pre>
<pre>.smbDomain-bright { background-color:#c9ddd2 !important; }</pre>
<pre>.smbDomain-dark { background-color:#a8ddbf !important; }</pre>
The colors for LAM's included types can be found in 500_layout.css.<br>
</div> </div>
</div> </div>
</body> </body></html>
</html>

View File

@ -1,93 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2009 - 2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for Asterisk accounts
*/
/* navigation bar */
table.asteriskExtnav {
background-color:#fff3c8;
border-width:1px;
border-style:solid;
border-color:#af8800;
}
/* input elements */
table.asteriskExtnav input {
background-color:#ffe27f;
}
/* color for active page digit */
td.asteriskExtnav-activepage {
color:red;
}
/* table preferences */
table.asteriskExtlist {
border-width:1px;
border-style:solid;
border-color:#af8800;
border-collapse:collapse;
}
table.asteriskExtlist td,th {
border-color:#af8800;
}
/* input elements */
table.asteriskExtlist input, table.asteriskExtlist select, table.asteriskExtlist button {
background-color:#ffe27f;
}
/* color of bright rows */
.asteriskExtlist-bright {
background-color:#fff3c8 !important;
}
/* color of dark rows */
.asteriskExtlist-dark {
background-color:#ffe27f !important;
}
fieldset.asteriskExtedit {
background-color:#fff3c8;
border:1px solid #af8800;
}
/* input elements */
fieldset.asteriskExtedit input, fieldset.asteriskExtedit select, fieldset.asteriskExtedit button {
background-color:#ffe27f;
}
/* input elements */
input.asteriskExt {
background-color:#ffe27f;
}
/* select elements */
select.asteriskExt {
background-color:#ffe27f;
}

View File

@ -1,94 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2008 Thomas Manninger
2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for dhcp accounts
*/
/* navigation bar */
table.dhcpnav {
background-color:#d4f19b;
border-width:1px;
border-style:solid;
border-color:#527510;
}
/* input elements */
table.dhcpnav input {
background-color:#bde178;
}
/* color for active page digit */
td.dhcpnav-activepage {
color: red;
}
/* table preferences */
table.dhcplist {
border-width:1px;
border-style:solid;
border-color:#527510;
border-collapse:collapse;
}
table.dhcplist td,th {
border-color:#527510;
}
/* input elements */
table.dhcplist input, table.dhcplist select, table.dhcplist button {
background-color:#bde178;
}
/* color of bright rows */
.dhcplist-bright {
background-color:#d4f19b !important;
}
/* color of dark rows */
.dhcplist-dark {
background-color:#9fc653 !important;
}
fieldset.dhcpedit {
background-color:#d4f19b;
border:1px solid #527510;
}
/* input elements */
fieldset.dhcpedit input, fieldset.dhcpedit select, fieldset.dhcpedit button {
background-color:#bde178;
}
/* input elements */
input.dhcp {
background-color:#bde178;
}
/* select elements */
select.dhcp {
background-color:#bde178;
}

View File

@ -1,93 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2005-2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for group accounts
*/
/* navigation bar */
table.groupnav {
background-color:#d6e3ff;
border-width:1px;
border-style:solid;
border-color:#7167bf;
}
/* input elements */
table.groupnav input {
background-color:#a8c3ff;
}
/* color for active page digit */
td.groupnav-activepage {
color:red;
}
/* table preferences */
table.grouplist {
border-width:1px;
border-style:solid;
border-color:#7167bf;
border-collapse:collapse;
}
table.grouplist td,th {
border-color:#7167bf;
}
/* input elements */
table.grouplist input, table.grouplist select, table.grouplist button {
background-color:#a8c3ff;
}
/* color of bright rows */
.grouplist-bright {
background-color:#d6e3ff !important;
}
/* color of dark rows */
.grouplist-dark {
background-color:#a8c3ff !important;
}
fieldset.groupedit {
background-color:#d6e3ff;
border:1px solid #7167bf;
}
/* input elements */
fieldset.groupedit input, fieldset.groupedit select, fieldset.groupedit button {
background-color:#a8c3ff;
}
/* input elements */
input.group {
background-color:#a8c3ff;
}
/* select elements */
select.group {
background-color:#a8c3ff;
}

View File

@ -1,93 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2005-2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for host accounts
*
*/
/* */
table.hostnav {
background-color:#ffe2dd;
border-width:1px;
border-style:solid;
border-color:#911a1a;
}
/* input elements */
table.hostnav input {
background-color:#ffc4ba;
}
/* color for active page digit */
td.hostnav-activepage {
color:red;
}
/* table preferences */
table.hostlist {
border-width:1px;
border-style:solid;
border-color:#911a1a;
border-collapse:collapse;
}
table.hostlist td,th {
border-color:#911a1a;
}
/* input elements */
table.hostlist input, table.hostlist select, table.hostlist button {
background-color:#ffc4ba;
}
/* color of bright rows */
.hostlist-bright {
background-color:#ffe2dd !important;
}
/* color of dark rows */
.hostlist-dark {
background-color:#ffc4ba !important;
}
fieldset.hostedit {
background-color:#ffe2dd;
border:1px solid #911a1a;
}
/* input elements */
fieldset.hostedit input, fieldset.hostedit select, fieldset.hostedit button {
background-color:#ffc4ba;
}
/* input elements */
input.host {
background-color:#ffc4ba;
}
/* select elements */
select.host {
background-color:#ffc4ba;
}

View File

@ -1,93 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2005-2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for mailing list accounts
*/
/* navigation bar */
table.mailAliasnav {
background-color:#fff3c8;
border-width:1px;
border-style:solid;
border-color:#af8800;
}
/* input elements */
table.mailAliasnav input {
background-color:#ffe27f;
}
/* color for active page digit */
td.mailAliasnav-activepage {
color:red;
}
/* table preferences */
table.mailAliaslist {
border-width:1px;
border-style:solid;
border-color:#af8800;
border-collapse:collapse;
}
table.mailAliaslist td,th {
border-color:#af8800;
}
/* input elements */
table.mailAliaslist input, table.mailAliaslist select, table.mailAliaslist button {
background-color:#ffe27f;
}
/* color of bright rows */
.mailAliaslist-bright {
background-color:#fff3c8 !important;
}
/* color of dark rows */
.mailAliaslist-dark {
background-color:#ffe27f !important;
}
fieldset.mailAliasedit {
background-color:#fff3c8;
border:1px solid #af8800;
}
/* input elements */
fieldset.mailAliasedit input, fieldset.mailAliasedit select, fieldset.mailAliasedit button {
background-color:#ffe27f;
}
/* input elements */
input.mailAlias {
background-color:#ffe27f;
}
/* select elements */
select.mailAlias {
background-color:#ffe27f;
}

View File

@ -1,93 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2009 - 2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for NIS netnetgroup entries
*/
/* navigation bar */
table.netgroupnav {
background-color:#d6e3ff;
border-width:1px;
border-style:solid;
border-color:#7167bf;
}
/* input elements */
table.netgroupnav input {
background-color:#a8c3ff;
}
/* color for active page digit */
td.netgroupnav-activepage {
color:red;
}
/* table preferences */
table.netgrouplist {
border-width:1px;
border-style:solid;
border-color:#7167bf;
border-collapse:collapse;
}
table.netgrouplist td,th {
border-color:#7167bf;
}
/* input elements */
table.netgrouplist input, table.netgrouplist select, table.netgrouplist button {
background-color:#a8c3ff;
}
/* color of bright rows */
.netgrouplist-bright {
background-color:#d6e3ff !important;
}
/* color of dark rows */
.netgrouplist-dark {
background-color:#a8c3ff !important;
}
fieldset.netgroupedit {
background-color:#d6e3ff;
border:1px solid #7167bf;
}
/* input elements */
fieldset.netgroupedit input, fieldset.netgroupedit select, fieldset.netgroupedit button {
background-color:#a8c3ff;
}
/* input elements */
input.netgroup {
background-color:#a8c3ff;
}
/* select elements */
select.netgroup {
background-color:#a8c3ff;
}

View File

@ -1,93 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2005-2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for smbDomain accounts
*
*/
/* */
table.smbDomainnav {
background-color:#c9ddd2;
border-width:1px;
border-style:solid;
border-color:#1d993e;
}
/* input elements */
table.smbDomainnav input {
background-color:#a8ddbf;
}
/* color for active page digit */
td.smbDomainnav-activepage {
color:red;
}
/* table preferences */
table.smbDomainlist {
border-width:1px;
border-style:solid;
border-color:#1d993e;
border-collapse:collapse;
}
table.smbDomainlist td,th {
border-color:#1d993e;
}
/* input elements */
table.smbDomainlist input, table.smbDomainlist select, table.smbDomainlist button {
background-color:#a8ddbf;
}
/* color of bright rows */
.smbDomainlist-bright {
background-color:#c9ddd2 !important;
}
/* color of dark rows */
.smbDomainlist-dark {
background-color:#a8ddbf !important;
}
fieldset.smbDomainedit {
background-color:#c9ddd2;
border:1px solid #1d993e;
}
/* input elements */
fieldset.smbDomainedit input, fieldset.smbDomainedit select, fieldset.smbDomainedit button {
background-color:#a8ddbf;
}
/* input elements */
input.smbDomain {
background-color:#a8ddbf;
}
/* select elements */
select.smbDomain {
background-color:#a8ddbf;
}

View File

@ -1,103 +0,0 @@
/*
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2005-2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more detaexils.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* style definition for user accounts
*/
/**
* Preferences for the list view and some other pages which have no own definitions (e.g. profile editor).
*/
/* main table of account list */
table.userlist {
border-width:1px;
border-style:solid;
border-color:#9b8523;
border-collapse:collapse;
}
table.userlist td,th {
border-color:#9b8523;
}
/* input elements */
table.userlist input, table.userlist select, table.userlist button {
background-color:#fff2a3;
}
/* color of bright rows */
.userlist-bright {
background: #fffde2 !important;
}
/* color of dark rows */
.userlist-dark {
background-color:#fff2a3 !important;
}
/* style of navigation bar */
table.usernav {
background-color:#fffde2;
border-width:1px;
border-style:solid;
border-color:#9b8523;
}
/* input elements */
table.usernav input {
background-color:#fff2a3;
}
/* color for active page number */
td.usernav-activepage {
color:red;
}
/* account pages */
/* main fieldset */
fieldset.useredit {
background-color:#fffde2;
border:1px solid #9b8523;
}
/* input elements */
fieldset.useredit input, fieldset.useredit select, fieldset.useredit button {
background-color:#fff2a3;
}
/* input elements */
input.user {
background-color:#fff2a3;
}
/* select elements */
select.user {
background-color:#fff2a3;
}