Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

renamed sf-exceptionreset to sf-reset

  • Loading branch information...
commit e0aab4075f555e8d1fd9b895e7c00af45ef205ab 1 parent ff9051d
Fabien Potencier authored November 12, 2012
102  src/Symfony/Bundle/FrameworkBundle/Resources/public/css/exception.css
@@ -5,72 +5,72 @@ http://developer.yahoo.com/yui/license.html
5 5
 version: 3.1.2
6 6
 build: 56
7 7
 */
8  
-.sf-exceptionreset html{color:#000;background:#FFF;}.sf-exceptionreset body,.sf-exceptionreset div,.sf-exceptionreset dl,.sf-exceptionreset dt,.sf-exceptionreset dd,.sf-exceptionreset ul,.sf-exceptionreset ol,.sf-exceptionreset li,.sf-exceptionreset h1,.sf-exceptionreset h2,.sf-exceptionreset h3,.sf-exceptionreset h4,.sf-exceptionreset h5,.sf-exceptionreset h6,.sf-exceptionreset pre,.sf-exceptionreset code,.sf-exceptionreset form,.sf-exceptionreset fieldset,.sf-exceptionreset legend,.sf-exceptionreset input,.sf-exceptionreset textarea,.sf-exceptionreset p,.sf-exceptionreset blockquote,.sf-exceptionreset th,.sf-exceptionreset td{margin:0;padding:0;}.sf-exceptionreset table{border-collapse:collapse;border-spacing:0;}.sf-exceptionreset fieldset,.sf-exceptionreset img{border:0;}.sf-exceptionreset address,.sf-exceptionreset caption,.sf-exceptionreset cite,.sf-exceptionreset code,.sf-exceptionreset dfn,.sf-exceptionreset em,.sf-exceptionreset strong,.sf-exceptionreset th,.sf-exceptionreset var{font-style:normal;font-weight:normal;}.sf-exceptionreset li{list-style:none;}.sf-exceptionreset caption,.sf-exceptionreset th{text-align:left;}.sf-exceptionreset h1,.sf-exceptionreset h2,.sf-exceptionreset h3,.sf-exceptionreset h4,.sf-exceptionreset h5,.sf-exceptionreset h6{font-size:100%;font-weight:normal;}.sf-exceptionreset q:before,.sf-exceptionreset q:after{content:'';}.sf-exceptionreset abbr,.sf-exceptionreset acronym{border:0;font-variant:normal;}.sf-exceptionreset sup{vertical-align:text-top;}.sf-exceptionreset sub{vertical-align:text-bottom;}.sf-exceptionreset input,.sf-exceptionreset textarea,.sf-exceptionreset select{font-family:inherit;font-size:inherit;font-weight:inherit;}.sf-exceptionreset input,.sf-exceptionreset textarea,.sf-exceptionreset select{*font-size:100%;}.sf-exceptionreset legend{color:#000;}
  8
+.sf-reset html{color:#000;background:#FFF;}.sf-reset body,.sf-reset div,.sf-reset dl,.sf-reset dt,.sf-reset dd,.sf-reset ul,.sf-reset ol,.sf-reset li,.sf-reset h1,.sf-reset h2,.sf-reset h3,.sf-reset h4,.sf-reset h5,.sf-reset h6,.sf-reset pre,.sf-reset code,.sf-reset form,.sf-reset fieldset,.sf-reset legend,.sf-reset input,.sf-reset textarea,.sf-reset p,.sf-reset blockquote,.sf-reset th,.sf-reset td{margin:0;padding:0;}.sf-reset table{border-collapse:collapse;border-spacing:0;}.sf-reset fieldset,.sf-reset img{border:0;}.sf-reset address,.sf-reset caption,.sf-reset cite,.sf-reset code,.sf-reset dfn,.sf-reset em,.sf-reset strong,.sf-reset th,.sf-reset var{font-style:normal;font-weight:normal;}.sf-reset li{list-style:none;}.sf-reset caption,.sf-reset th{text-align:left;}.sf-reset h1,.sf-reset h2,.sf-reset h3,.sf-reset h4,.sf-reset h5,.sf-reset h6{font-size:100%;font-weight:normal;}.sf-reset q:before,.sf-reset q:after{content:'';}.sf-reset abbr,.sf-reset acronym{border:0;font-variant:normal;}.sf-reset sup{vertical-align:text-top;}.sf-reset sub{vertical-align:text-bottom;}.sf-reset input,.sf-reset textarea,.sf-reset select{font-family:inherit;font-size:inherit;font-weight:inherit;}.sf-reset input,.sf-reset textarea,.sf-reset select{*font-size:100%;}.sf-reset legend{color:#000;}
9 9
 
10  
-.sf-exceptionreset html,
11  
-.sf-exceptionreset body {
  10
+.sf-reset html,
  11
+.sf-reset body {
12 12
     width: 100%;
13 13
     min-height: 100%;
14 14
     _height: 100%;
15 15
     margin: 0;
16 16
     padding: 0;
17 17
 }
18  
-.sf-exceptionreset body {
  18
+.sf-reset body {
19 19
     font: 1em "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
20 20
     text-align: left;
21 21
     background-color: #efefef;
22 22
 }
23 23
 
24  
-.sf-exceptionreset abbr {
  24
+.sf-reset abbr {
25 25
     border-bottom: 1px dotted #000;
26 26
     cursor: help;
27 27
 }
28 28
 
29  
-.sf-exceptionreset p {
  29
+.sf-reset p {
30 30
     font-size: 14px;
31 31
     line-height: 20px;
32 32
     color: #868686;
33 33
     padding-bottom: 20px;
34 34
 }
35 35
 
36  
-.sf-exceptionreset strong {
  36
+.sf-reset strong {
37 37
     color: #313131;
38 38
     font-weight: bold;
39 39
 }
40 40
 
41  
-.sf-exceptionreset a {
  41
+.sf-reset a {
42 42
     color: #6c6159;
43 43
 }
44  
-.sf-exceptionreset a img {
  44
+.sf-reset a img {
45 45
     border: none;
46 46
 }
47  
-.sf-exceptionreset a:hover {
  47
+.sf-reset a:hover {
48 48
     text-decoration: underline;
49 49
 }
50 50
 
51  
-.sf-exceptionreset em {
  51
+.sf-reset em {
52 52
     font-style: italic;
53 53
 }
54 54
 
55  
-.sf-exceptionreset h2,
56  
-.sf-exceptionreset h3 {
  55
+.sf-reset h2,
  56
+.sf-reset h3 {
57 57
     font-weight: bold;
58 58
 }
59  
-.sf-exceptionreset h1 {
  59
+.sf-reset h1 {
60 60
     font-family: Georgia, "Times New Roman", Times, serif;
61 61
     font-size: 20px;
62 62
     color: #313131;
63 63
     word-break: break-all;
64 64
 }
65 65
 
66  
-.sf-exceptionreset li {
  66
+.sf-reset li {
67 67
     padding-bottom: 10px;
68 68
 }
69 69
 
70  
-.sf-exceptionreset .traces {
  70
+.sf-reset .traces {
71 71
     padding-bottom: 14px;
72 72
 }
73  
-.sf-exceptionreset .traces li {
  73
+.sf-reset .traces li {
74 74
     font-size: 12px;
75 75
     color: #868686;
76 76
     padding: 5px 4px;
@@ -78,113 +78,113 @@ build: 56
78 78
     margin-left: 20px;
79 79
     white-space: break-word;
80 80
 }
81  
-.sf-exceptionreset #logs .traces li.error {
  81
+.sf-reset #logs .traces li.error {
82 82
     font-style: normal;
83 83
     color: #AA3333;
84 84
     background: #f9ecec;
85 85
 }
86  
-.sf-exceptionreset #logs .traces li.warning {
  86
+.sf-reset #logs .traces li.warning {
87 87
     font-style: normal;
88 88
     background: #ffcc00;
89 89
 }
90 90
 /* fix for Opera not liking empty <li> */
91  
-.sf-exceptionreset .traces li:after {
  91
+.sf-reset .traces li:after {
92 92
     content: "\00A0";
93 93
 }
94 94
 
95  
-.sf-exceptionreset .trace {
  95
+.sf-reset .trace {
96 96
     border: 1px solid #D3D3D3;
97 97
     padding: 10px;
98 98
     overflow: auto;
99 99
     margin: 10px 0 20px;
100 100
 }
101 101
 
102  
-.sf-exceptionreset .block,
103  
-.sf-exceptionreset .block_exception {
  102
+.sf-reset .block,
  103
+.sf-reset .block_exception {
104 104
     -moz-border-radius: 16px;
105 105
     -webkit-border-radius: 16px;
106 106
     border-radius: 16px;
107 107
     margin-bottom: 20px;
108 108
 }
109  
-.sf-exceptionreset .block {
  109
+.sf-reset .block {
110 110
     background-color: #FFFFFF;
111 111
     border: 1px solid #dfdfdf;
112 112
     padding: 40px 50px;
113 113
 }
114  
-.sf-exceptionreset .block_exception {
  114
+.sf-reset .block_exception {
115 115
     background-color: #f6f6f6;
116 116
     border: 1px solid #dfdfdf;
117 117
     padding: 30px 28px;
118 118
 }
119  
-.sf-exceptionreset .block_exception div {
  119
+.sf-reset .block_exception div {
120 120
     color: #313131;
121 121
     font-size: 10px;
122 122
 }
123 123
 
124  
-.sf-exceptionreset .block_exception_detected .illustration_exception,
125  
-.sf-exceptionreset .block_exception_detected .text_exception {
  124
+.sf-reset .block_exception_detected .illustration_exception,
  125
+.sf-reset .block_exception_detected .text_exception {
126 126
     float: left;
127 127
 }
128  
-.sf-exceptionreset .block_exception_detected .illustration_exception {
  128
+.sf-reset .block_exception_detected .illustration_exception {
129 129
     width: 152px;
130 130
 }
131  
-.sf-exceptionreset .block_exception_detected .text_exception {
  131
+.sf-reset .block_exception_detected .text_exception {
132 132
     width: 670px;
133 133
     padding: 30px 44px 24px 46px;
134 134
     position: relative;
135 135
 }
136 136
 
137  
-.sf-exceptionreset .text_exception .open_quote,
138  
-.sf-exceptionreset .text_exception .close_quote {
  137
+.sf-reset .text_exception .open_quote,
  138
+.sf-reset .text_exception .close_quote {
139 139
     position: absolute;
140 140
 }
141  
-.sf-exceptionreset .open_quote {
  141
+.sf-reset .open_quote {
142 142
     top: 0;
143 143
     left: 0;
144 144
 }
145  
-.sf-exceptionreset .close_quote {
  145
+.sf-reset .close_quote {
146 146
     bottom: 0;
147 147
     right: 50px;
148 148
 }
149 149
 
150  
-.sf-exceptionreset .block_exception p {
  150
+.sf-reset .block_exception p {
151 151
     font-family: Arial, Helvetica, sans-serif;
152 152
 }
153  
-.sf-exceptionreset .block_exception p a,
154  
-.sf-exceptionreset .block_exception p a:hover {
  153
+.sf-reset .block_exception p a,
  154
+.sf-reset .block_exception p a:hover {
155 155
     color: #565656;
156 156
 }
157 157
 
158  
-.sf-exceptionreset h2 {
  158
+.sf-reset h2 {
159 159
     font-size: 16px;
160 160
     font-family: Arial, Helvetica, sans-serif;
161 161
     padding-bottom: 16px;
162 162
 }
163 163
 
164  
-.sf-exceptionreset li a {
  164
+.sf-reset li a {
165 165
     background: none;
166 166
     color: #868686;
167 167
     text-decoration: none;
168 168
 }
169 169
 
170  
-.sf-exceptionreset li a:hover {
  170
+.sf-reset li a:hover {
171 171
     background: none;
172 172
     color: #313131;
173 173
     text-decoration: underline;
174 174
 }
175 175
 
176  
-.sf-exceptionreset .logs h2 {
  176
+.sf-reset .logs h2 {
177 177
     float: left;
178 178
     width: 654px;
179 179
 }
180 180
 
181  
-.sf-exceptionreset .error_count {
  181
+.sf-reset .error_count {
182 182
     float: right;
183 183
     width: 170px;
184 184
     text-align: right;
185 185
 }
186 186
 
187  
-.sf-exceptionreset .error_count span {
  187
+.sf-reset .error_count span {
188 188
     display: inline-block;
189 189
     background-color: #aacd4e;
190 190
     -moz-border-radius: 6px;
@@ -197,36 +197,36 @@ build: 56
197 197
     font-weight: bold;
198 198
 }
199 199
 
200  
-.sf-exceptionreset .toggle {
  200
+.sf-reset .toggle {
201 201
     vertical-align: middle;
202 202
 }
203 203
 
204  
-.sf-exceptionreset .linked ul,
205  
-.sf-exceptionreset .linked li {
  204
+.sf-reset .linked ul,
  205
+.sf-reset .linked li {
206 206
     display: inline;
207 207
 }
208 208
 
209  
-.sf-exceptionreset #output_content {
  209
+.sf-reset #output_content {
210 210
     color: #000;
211 211
     font-size: 12px;
212 212
 }
213 213
 
214  
-.sf-exceptionreset ol {
  214
+.sf-reset ol {
215 215
     padding: 10px 0;
216 216
 }
217  
-.sf-exceptionreset ol li {
  217
+.sf-reset ol li {
218 218
     list-style: decimal;
219 219
     margin-left: 20px;
220 220
     padding: 2px;
221 221
     padding-bottom: 20px;
222 222
 }
223  
-.sf-exceptionreset ol ol li {
  223
+.sf-reset ol ol li {
224 224
     list-style-position: inside;
225 225
     margin-left: 0;
226 226
     white-space: nowrap;
227 227
     font-size: 12px;
228 228
     padding-bottom: 0;
229 229
 }
230  
-.sf-exceptionreset li .selected {
  230
+.sf-reset li .selected {
231 231
     background-color: #ffd;
232 232
 }
2  src/Symfony/Bundle/FrameworkBundle/Resources/public/css/exception_layout.css
@@ -7,7 +7,7 @@ body {
7 7
     color: #333;
8 8
 }
9 9
 
10  
-.sf-exceptionreset, .sf-exceptionreset .block, .sf-exceptionreset #message {
  10
+.sf-reset, .sf-reset .block, .sf-reset #message {
11 11
     margin: auto;
12 12
 }
13 13
 
2  src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig
... ...
@@ -1,4 +1,4 @@
1  
-<div class="sf-exceptionreset">
  1
+<div class="sf-reset">
2 2
 
3 3
     <div class="block_exception">
4 4
         <div class="block_exception_detected clear_fix">
4  src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler_style.html.twig
@@ -287,13 +287,13 @@ table th.value {
287 287
     padding: 0;
288 288
 }
289 289
 
290  
-.sf-exceptionreset .block_exception_detected .text_exception {
  290
+.sf-reset .block_exception_detected .text_exception {
291 291
     left: 10px;
292 292
     right: 10px;
293 293
     width: 95%;
294 294
 }
295 295
 
296  
-.sf-exceptionreset .block_exception_detected .illustration_exception {
  296
+.sf-reset .block_exception_detected .illustration_exception {
297 297
     display: none;
298 298
 }
299 299
 
2  src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_redirect.html.twig
@@ -3,7 +3,7 @@
3 3
 {% block title 'Redirection Intercepted' %}
4 4
 
5 5
 {% block body %}
6  
-    <div class="sf-exceptionreset">
  6
+    <div class="sf-reset">
7 7
         <div class="block_exception">
8 8
             <h1>This request redirects to <a href="{{ location }}">{{ location }}</a>.</h1>
9 9
 
50  src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php
@@ -150,7 +150,7 @@ public function getContent(FlattenException $exception)
150 150
         }
151 151
 
152 152
         return <<<EOF
153  
-            <div id="sf-exceptionresetcontent" class="sf-exceptionreset">
  153
+            <div id="sf-resetcontent" class="sf-reset">
154 154
                 <h1>$title</h1>
155 155
                 $content
156 156
             </div>
@@ -167,24 +167,24 @@ public function getContent(FlattenException $exception)
167 167
     public function getStylesheet(FlattenException $exception)
168 168
     {
169 169
         return <<<EOF
170  
-            .sf-exceptionreset { font: 11px Verdana, Arial, sans-serif; color: #333 }
171  
-            .sf-exceptionreset .clear { clear:both; height:0; font-size:0; line-height:0; }
172  
-            .sf-exceptionreset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; }
173  
-            .sf-exceptionreset .clear_fix { display:inline-block; }
174  
-            .sf-exceptionreset * html .clear_fix { height:1%; }
175  
-            .sf-exceptionreset .clear_fix { display:block; }
176  
-            .sf-exceptionreset, .sf-exceptionreset .block { margin: auto }
177  
-            .sf-exceptionreset abbr { border-bottom: 1px dotted #000; cursor: help; }
178  
-            .sf-exceptionreset p { font-size:14px; line-height:20px; color:#868686; padding-bottom:20px }
179  
-            .sf-exceptionreset strong { font-weight:bold; }
180  
-            .sf-exceptionreset a { color:#6c6159; }
181  
-            .sf-exceptionreset a img { border:none; }
182  
-            .sf-exceptionreset a:hover { text-decoration:underline; }
183  
-            .sf-exceptionreset em { font-style:italic; }
184  
-            .sf-exceptionreset h1, .sf-exceptionreset h2 { font: 20px Georgia, "Times New Roman", Times, serif }
185  
-            .sf-exceptionreset h2 span { background-color: #fff; color: #333; padding: 6px; float: left; margin-right: 10px; }
186  
-            .sf-exceptionreset .traces li { font-size:12px; padding: 2px 4px; list-style-type:decimal; margin-left:20px; }
187  
-            .sf-exceptionreset .block { background-color:#FFFFFF; padding:10px 28px; margin-bottom:20px;
  170
+            .sf-reset { font: 11px Verdana, Arial, sans-serif; color: #333 }
  171
+            .sf-reset .clear { clear:both; height:0; font-size:0; line-height:0; }
  172
+            .sf-reset .clear_fix:after { display:block; height:0; clear:both; visibility:hidden; }
  173
+            .sf-reset .clear_fix { display:inline-block; }
  174
+            .sf-reset * html .clear_fix { height:1%; }
  175
+            .sf-reset .clear_fix { display:block; }
  176
+            .sf-reset, .sf-reset .block { margin: auto }
  177
+            .sf-reset abbr { border-bottom: 1px dotted #000; cursor: help; }
  178
+            .sf-reset p { font-size:14px; line-height:20px; color:#868686; padding-bottom:20px }
  179
+            .sf-reset strong { font-weight:bold; }
  180
+            .sf-reset a { color:#6c6159; }
  181
+            .sf-reset a img { border:none; }
  182
+            .sf-reset a:hover { text-decoration:underline; }
  183
+            .sf-reset em { font-style:italic; }
  184
+            .sf-reset h1, .sf-reset h2 { font: 20px Georgia, "Times New Roman", Times, serif }
  185
+            .sf-reset h2 span { background-color: #fff; color: #333; padding: 6px; float: left; margin-right: 10px; }
  186
+            .sf-reset .traces li { font-size:12px; padding: 2px 4px; list-style-type:decimal; margin-left:20px; }
  187
+            .sf-reset .block { background-color:#FFFFFF; padding:10px 28px; margin-bottom:20px;
188 188
                 -webkit-border-bottom-right-radius: 16px;
189 189
                 -webkit-border-bottom-left-radius: 16px;
190 190
                 -moz-border-radius-bottomright: 16px;
@@ -195,7 +195,7 @@ public function getStylesheet(FlattenException $exception)
195 195
                 border-right:1px solid #ccc;
196 196
                 border-left:1px solid #ccc;
197 197
             }
198  
-            .sf-exceptionreset .block_exception { background-color:#ddd; color: #333; padding:20px;
  198
+            .sf-reset .block_exception { background-color:#ddd; color: #333; padding:20px;
199 199
                 -webkit-border-top-left-radius: 16px;
200 200
                 -webkit-border-top-right-radius: 16px;
201 201
                 -moz-border-radius-topleft: 16px;
@@ -206,10 +206,10 @@ public function getStylesheet(FlattenException $exception)
206 206
                 border-right:1px solid #ccc;
207 207
                 border-left:1px solid #ccc;
208 208
             }
209  
-            .sf-exceptionreset li a { background:none; color:#868686; text-decoration:none; }
210  
-            .sf-exceptionreset li a:hover { background:none; color:#313131; text-decoration:underline; }
211  
-            .sf-exceptionreset ol { padding: 10px 0; }
212  
-            .sf-exceptionreset h1 { background-color:#FFFFFF; padding: 15px 28px; margin-bottom: 20px;
  209
+            .sf-reset li a { background:none; color:#868686; text-decoration:none; }
  210
+            .sf-reset li a:hover { background:none; color:#313131; text-decoration:underline; }
  211
+            .sf-reset ol { padding: 10px 0; }
  212
+            .sf-reset h1 { background-color:#FFFFFF; padding: 15px 28px; margin-bottom: 20px;
213 213
                 -webkit-border-radius: 10px;
214 214
                 -moz-border-radius: 10px;
215 215
                 border-radius: 10px;
@@ -232,7 +232,7 @@ private function decorate($content, $css)
232 232
 
233 233
             html { background: #eee; padding: 10px }
234 234
             img { border: 0; }
235  
-            #sf-exceptionresetcontent { width:970px; margin:0 auto; }
  235
+            #sf-resetcontent { width:970px; margin:0 auto; }
236 236
             $css
237 237
         </style>
238 238
     </head>

0 notes on commit e0aab40

Please sign in to comment.
Something went wrong with that request. Please try again.