From 6bcac19c32edf3f1615671f06dd6a9feb7e54abf Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Tue, 28 Sep 2010 11:31:02 +0200 Subject: [PATCH] add style for about:memory and about:support --- EarlyBlue/global/aboutMemory.css | 1 + EarlyBlue/global/aboutSupport.css | 112 ++++++++++++++++++++++++++++++ EarlyBlue/global/plugins.css | 3 +- LCARStrek/global/aboutMemory.css | 1 + LCARStrek/global/aboutSupport.css | 112 ++++++++++++++++++++++++++++++ LCARStrek/global/plugins.css | 2 +- 6 files changed, 228 insertions(+), 3 deletions(-) create mode 100644 EarlyBlue/global/aboutMemory.css create mode 100644 EarlyBlue/global/aboutSupport.css create mode 100644 LCARStrek/global/aboutMemory.css create mode 100644 LCARStrek/global/aboutSupport.css diff --git a/EarlyBlue/global/aboutMemory.css b/EarlyBlue/global/aboutMemory.css new file mode 100644 index 00000000..f914608b --- /dev/null +++ b/EarlyBlue/global/aboutMemory.css @@ -0,0 +1 @@ +@import url("chrome://global/content/aboutMemory.css"); diff --git a/EarlyBlue/global/aboutSupport.css b/EarlyBlue/global/aboutSupport.css new file mode 100644 index 00000000..a87a5838 --- /dev/null +++ b/EarlyBlue/global/aboutSupport.css @@ -0,0 +1,112 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is aboutSupport.css. + * + * The Initial Developer of the Original Code is + * Mozilla Foundation. + * Portions created by the Initial Developer are Copyright (C) 2009 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Curtis Bartley + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +html { + background-color: #CCD0DD; + color: #000000; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +body { + text-align: justify; + width: 90%; + margin-left: 5%; + margin-right: 5%; +} + +.page-subtitle { + margin-bottom: 3em; +} + +.major-section { + margin-top: 2em; + margin-bottom: 1em; + font-size: large; + text-align: start; + font-weight: bold; +} + +table { + background-color: #CCD0DD; + color: #000000; + text-align: start; + width: 100%; + border: 1px solid #9999CC; + border-spacing: 0px; +} + +th, td { + border: 1px dotted #9999CC; + padding: 3px; +} + +thead th { + text-align: center; +} + +th { + text-align: start; + background-color: #666699; + color: #CCD0DD; +} + +th.column { + white-space: nowrap; + width: 0px; +} + +td { + text-align: start; + border-top: 1px dotted #9999CC; +} + +.prefs-table { + width: 100%; + table-layout: fixed; +} + +.pref-name { + width: 70%; + white-space: nowrap; + overflow: hidden; +} + +.pref-value { + width: 30%; + white-space: nowrap; + overflow: hidden; +} diff --git a/EarlyBlue/global/plugins.css b/EarlyBlue/global/plugins.css index a46b1b1b..cb4c76dd 100644 --- a/EarlyBlue/global/plugins.css +++ b/EarlyBlue/global/plugins.css @@ -95,7 +95,6 @@ span.label { table { background-color: #CCD0DD; color: #000000; -/* font: message-box; */ text-align: left; width: 100%; border: 1px solid #9999CC; @@ -110,7 +109,7 @@ th { th + th, td + td { - border-left: 1px dotted #9999CC; + border-left: 1px dotted #9999CC; } td { diff --git a/LCARStrek/global/aboutMemory.css b/LCARStrek/global/aboutMemory.css new file mode 100644 index 00000000..f914608b --- /dev/null +++ b/LCARStrek/global/aboutMemory.css @@ -0,0 +1 @@ +@import url("chrome://global/content/aboutMemory.css"); diff --git a/LCARStrek/global/aboutSupport.css b/LCARStrek/global/aboutSupport.css new file mode 100644 index 00000000..3def9ddd --- /dev/null +++ b/LCARStrek/global/aboutSupport.css @@ -0,0 +1,112 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is aboutSupport.css. + * + * The Initial Developer of the Original Code is + * Mozilla Foundation. + * Portions created by the Initial Developer are Copyright (C) 2009 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Curtis Bartley + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +html { + background-color: #000000; + color: #FF9F00; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; +} + +body { + text-align: justify; + width: 90%; + margin-left: 5%; + margin-right: 5%; +} + +.page-subtitle { + margin-bottom: 3em; +} + +.major-section { + margin-top: 2em; + margin-bottom: 1em; + font-size: large; + text-align: start; + font-weight: bold; +} + +table { + background-color: #000000; + color: #E7ADE7; + text-align: start; + width: 100%; + border: 1px solid #9C9FFF; + border-spacing: 0px; +} + +th, td { + border: 1px dotted #9C9FFF; + padding: 3px; +} + +thead th { + text-align: center; +} + +th { + text-align: start; + background-color: #008484; + color: #FFCF00; +} + +th.column { + white-space: nowrap; + width: 0px; +} + +td { + text-align: start; + border-top: 1px dotted #9C9FFF; +} + +.prefs-table { + width: 100%; + table-layout: fixed; +} + +.pref-name { + width: 70%; + white-space: nowrap; + overflow: hidden; +} + +.pref-value { + width: 30%; + white-space: nowrap; + overflow: hidden; +} diff --git a/LCARStrek/global/plugins.css b/LCARStrek/global/plugins.css index 7d1d06e6..92fea410 100644 --- a/LCARStrek/global/plugins.css +++ b/LCARStrek/global/plugins.css @@ -130,7 +130,7 @@ th { th + th, td + td { - border-left: 1px dotted #9C9FFF; + border-left: 1px dotted #9C9FFF; } td { -- 2.35.3