diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-04-22 15:27:30 -0400 |
---|---|---|
committer | Matthew Harmsen <mharmsen@pki.usersys.redhat.com> | 2015-04-22 18:08:55 -0600 |
commit | fe94f4a7d43a98a2a76a480a8655484738309ab0 (patch) | |
tree | b17093ab90656f98d50c45fcd17609b61a25710d /dogtag | |
parent | 04b6dafbf3954c0ff585c375b388c13cc9e83399 (diff) | |
download | pki-fe94f4a7d43a98a2a76a480a8655484738309ab0.tar.gz pki-fe94f4a7d43a98a2a76a480a8655484738309ab0.tar.xz pki-fe94f4a7d43a98a2a76a480a8655484738309ab0.zip |
Moved color settings to CSS.
The templates have been modified to remove hard-coded background
color settings and use the styles defined in a new CSS file.
https://fedorahosted.org/pki/ticket/1296
Diffstat (limited to 'dogtag')
-rw-r--r-- | dogtag/common-ui/shared/css/pki-360.css | 1 | ||||
-rw-r--r-- | dogtag/common-ui/shared/css/pki-base.css | 1 | ||||
-rw-r--r-- | dogtag/common-ui/shared/css/pki-theme.css | 28 |
3 files changed, 29 insertions, 1 deletions
diff --git a/dogtag/common-ui/shared/css/pki-360.css b/dogtag/common-ui/shared/css/pki-360.css index c5d022f51..055fbefe9 100644 --- a/dogtag/common-ui/shared/css/pki-360.css +++ b/dogtag/common-ui/shared/css/pki-360.css @@ -783,7 +783,6 @@ div.contentnav-row2 div.bottom { #mainNavOuter { width: 100%; - background-color: #4f52b5; } #mainNav { diff --git a/dogtag/common-ui/shared/css/pki-base.css b/dogtag/common-ui/shared/css/pki-base.css index 12c057fab..a6c48e02d 100644 --- a/dogtag/common-ui/shared/css/pki-base.css +++ b/dogtag/common-ui/shared/css/pki-base.css @@ -19,6 +19,7 @@ @import url("pki.css"); @import url("pki-360.css"); +@import url("pki-theme.css"); /* The following styles are for ALL browsers, including Netscape Navigator 4.x. Put more detailed CSS in pki.css. */ diff --git a/dogtag/common-ui/shared/css/pki-theme.css b/dogtag/common-ui/shared/css/pki-theme.css new file mode 100644 index 000000000..3b295cac2 --- /dev/null +++ b/dogtag/common-ui/shared/css/pki-theme.css @@ -0,0 +1,28 @@ +/* --- BEGIN COPYRIGHT BLOCK --- + * 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; version 2 of the License. + * + * 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 details. + * + * 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., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Copyright (C) 2015 Red Hat, Inc. + * All rights reserved. + * --- END COPYRIGHT BLOCK --- + * + * @author Endi S. Dewata + */ + +.pki-ee-theme { + background-color: #4f52b5; +} + +.pki-agent-theme { + background-color: #000080; +} |