~mozillateam/xulrunner/xulrunner-1.9.dev

« back to all changes in this revision

Viewing changes to debian/patches/bz372826_att337031_about_style.patch

  • Committer: Alexander Sack
  • Date: 2008-09-23 15:46:03 UTC
  • mfrom: (65.1.286 xulrunner-1.9.head)
  • Revision ID: asac@jwsdot.com-20080923154603-x85l4omy7r10c7tj
* (merge) RELEASE 1.9.0.2+build6+nobinonly-0ubuntu1 to ubuntu/intrepid

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 toolkit/content/about.xhtml               |    2 --
 
3
 toolkit/content/buildconfig.html.in       |    3 ++-
 
4
 toolkit/content/license.html              |    4 +++-
 
5
 toolkit/themes/winstripe/global/about.css |   14 +++++++-------
 
6
 4 files changed, 12 insertions(+), 11 deletions(-)
 
7
 
 
8
Index: mozilla/toolkit/content/about.xhtml
 
9
===================================================================
 
10
--- mozilla.orig/toolkit/content/about.xhtml
 
11
+++ mozilla/toolkit/content/about.xhtml
 
12
@@ -53,17 +53,16 @@
 
13
 
 
14
 <html xmlns="http://www.w3.org/1999/xhtml">
 
15
 <head>
 
16
   <title>About:</title>
 
17
   <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css"/>
 
18
 </head>
 
19
 
 
20
 <body dir="&locale.dir;">
 
21
-<div id="aboutPageContainer">
 
22
   <div id="aboutLogoContainer">
 
23
     <a id="vendorURL" href="http://www.mozilla.org/">
 
24
       <img src="about:logo" alt="&brandShortName;"/>
 
25
 #expand <p id="version">&about.version; __MOZ_APP_VERSION__</p>
 
26
     </a>
 
27
   </div>
 
28
 
 
29
   <ul id="aboutPageList">
 
30
@@ -93,11 +92,10 @@
 
31
         var list = document.getElementById("aboutPageList");
 
32
         var listItem = list.appendChild(document.createElement("li"));
 
33
         listItem.appendChild(document.createTextNode("&about.buildIdentifier;"));
 
34
         listItem.appendChild(document.createTextNode(ua));
 
35
       }
 
36
     </script>
 
37
   </ul>
 
38
 
 
39
-</div>
 
40
 </body>
 
41
 </html>
 
42
Index: mozilla/toolkit/content/buildconfig.html.in
 
43
===================================================================
 
44
--- mozilla.orig/toolkit/content/buildconfig.html.in
 
45
+++ mozilla/toolkit/content/buildconfig.html.in
 
46
@@ -1,14 +1,15 @@
 
47
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
48
 <html>
 
49
 <head>
 
50
   <title>about:buildconfig</title>
 
51
+  <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css">
 
52
 </head>
 
53
-<body>
 
54
+<body class="aboutPageWideContainer">
 
55
 <h1>about:buildconfig</h1>
 
56
 <p> </p>
 
57
 <h2>Build platform</h2>
 
58
 <table>
 
59
   <tbody>
 
60
     <tr>
 
61
       <th>target</th>
 
62
     </tr>
 
63
Index: mozilla/toolkit/content/license.html
 
64
===================================================================
 
65
--- mozilla.orig/toolkit/content/license.html
 
66
+++ mozilla/toolkit/content/license.html
 
67
@@ -16,16 +16,17 @@
 
68
    - The Original Code is mozilla.org code.
 
69
    -
 
70
    - The Initial Developer of the Original Code is
 
71
    - Gervase Markham.
 
72
    - Portions created by the Initial Developer are Copyright (C) 2006
 
73
    - the Initial Developer. All Rights Reserved.
 
74
    -
 
75
    - Contributor(s):
 
76
+   -   Ehsan Akhgari <ehsan.akhgari@gmail.com>
 
77
    -
 
78
    - Alternatively, the contents of this file may be used under the terms of
 
79
    - either the GNU General Public License Version 2 or later (the "GPL"), or
 
80
    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
81
    - in which case the provisions of the GPL or the LGPL are applicable instead
 
82
    - of those above. If you wish to allow use of your version of this file only
 
83
    - under the terms of either the GPL or the LGPL, and not to allow others to
 
84
    - use your version of this file under the terms of the MPL, indicate your
 
85
@@ -57,16 +58,17 @@
 
86
       dd p {
 
87
         margin: 0;
 
88
       }
 
89
       
 
90
       .gnu-number {
 
91
         font-weight: bold;
 
92
       }
 
93
     </style>
 
94
+    <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css">
 
95
 
 
96
     <script type="text/javascript">
 
97
     function correctSpelling()
 
98
     {
 
99
       // Note that this code only runs if the page is requested using the
 
100
       // URL containing the correct spelling - e.g. "about:licence".
 
101
       if (document.location.href.match("icence"))
 
102
       {       
 
103
@@ -111,17 +113,17 @@
 
104
         }
 
105
       }
 
106
     }
 
107
     
 
108
     window.onload = correctSpelling;
 
109
     </script>    
 
110
   </head>
 
111
 
 
112
-  <body id="lic-info">
 
113
+  <body id="lic-info" class="aboutPageWideContainer">
 
114
     <h1 class="correctme"><a name="top"></a>about:license</h1>
 
115
 
 
116
     <div class="correctme">
 
117
 
 
118
 #ifdef APP_EULA_BLOCK
 
119
 #includesubst @APP_EULA_BLOCK@
 
120
 #endif
 
121
     
 
122
Index: mozilla/toolkit/themes/winstripe/global/about.css
 
123
===================================================================
 
124
--- mozilla.orig/toolkit/themes/winstripe/global/about.css
 
125
+++ mozilla/toolkit/themes/winstripe/global/about.css
 
126
@@ -1,33 +1,29 @@
 
127
 html {
 
128
   background: -moz-Dialog;
 
129
-}
 
130
-
 
131
-body {
 
132
-  margin: 0;
 
133
   padding: 0 1em;
 
134
-  color: -moz-FieldText;
 
135
   font: message-box;
 
136
 }
 
137
 
 
138
-#aboutPageContainer {
 
139
+body {
 
140
+  color: -moz-FieldText;
 
141
   position: relative;
 
142
   min-width: 330px;
 
143
   max-width: 50em;
 
144
   margin: 4em auto;
 
145
   border: 1px solid ThreeDShadow;
 
146
   -moz-border-radius: 10px;
 
147
   padding: 3em;
 
148
   -moz-padding-start: 30px;
 
149
   background: -moz-Field;
 
150
 }
 
151
 
 
152
 .aboutPageWideContainer {
 
153
-  max-width: 80% !important;
 
154
+  max-width: 80%;
 
155
 }
 
156
 
 
157
 #aboutLogoContainer {
 
158
   border: 1px solid ThreeDLightShadow;
 
159
   width: 300px;
 
160
   margin-bottom: 2em;
 
161
 }
 
162
 
 
163
@@ -46,8 +42,12 @@
 
164
   -moz-margin-start: 1.5em;
 
165
   padding: 0;
 
166
   list-style: square;
 
167
 }
 
168
 
 
169
 ul > li {
 
170
   margin-top: .5em;
 
171
 }
 
172
+
 
173
+th, td {
 
174
+  padding: 0 5px;
 
175
+}