Browse Source

Shorter color codes and removed unnecessary CSS selectors.

tags/2.0.0-beta
resurtm 12 years ago
parent
commit
c5f54e5f86
  1. 41
      framework/yii/views/errorHandler/main.php

41
framework/yii/views/errorHandler/main.php

@ -22,10 +22,7 @@ $c = $this->context;
<style type="text/css"> <style type="text/css">
/* reset */ /* reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn, html,body,div,span,h1,h2,h3,h4,h5,h6,p,pre,a,code,em,img,strong,b,i,ul,li{
em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,
nav,output,ruby,section,summary,time,mark,audio,video{
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
@ -33,34 +30,20 @@ nav,output,ruby,section,summary,time,mark,audio,video{
font: inherit; font: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
display: block;
}
body{ body{
line-height: 1; line-height: 1;
} }
ol,ul{ ul{
list-style: none; list-style: none;
} }
blockquote,q{
quotes: none;
}
blockquote:before,blockquote:after,q:before,q:after{
content: '';
content: none;
}
table{
border-collapse: collapse;
border-spacing: 0;
}
/* base */ /* base */
::selection{ ::selection{
color: #ffffff !important; color: #fff !important;
background-color: #e51717 !important; background-color: #e51717 !important;
} }
::-moz-selection{ ::-moz-selection{
color: #ffffff !important; color: #fff !important;
background-color: #e51717 !important; background-color: #e51717 !important;
} }
a{ a{
@ -137,7 +120,7 @@ html,body{
color: #505050; color: #505050;
} }
.call-stack ul li a:hover{ .call-stack ul li a:hover{
color: #000000; color: #000;
text-shadow: 0 1px 0 #cacaca; text-shadow: 0 1px 0 #cacaca;
} }
.call-stack ul li .number{ .call-stack ul li .number{
@ -145,7 +128,7 @@ html,body{
display: inline-block; display: inline-block;
} }
.call-stack ul li .text{ .call-stack ul li .text{
color: #bbbbbb; color: #bbb;
} }
.call-stack ul li.application .text{ .call-stack ul li.application .text{
color: #505050; color: #505050;
@ -153,7 +136,7 @@ html,body{
.call-stack ul li .at{ .call-stack ul li .at{
position: absolute; position: absolute;
right: 110px; /* 50px + 60px */ right: 110px; /* 50px + 60px */
color: #bbbbbb; color: #bbb;
} }
.call-stack ul li.application .at{ .call-stack ul li.application .at{
color: #505050; color: #505050;
@ -199,7 +182,7 @@ html,body{
line-height: 18px; line-height: 18px;
font-size: 14px; font-size: 14px;
font-family: Consolas, Courier New, monospace; font-family: Consolas, Courier New, monospace;
color: #bbbbbb; color: #bbb;
} }
.call-stack ul li .code pre{ .call-stack ul li .code pre{
position: relative; position: relative;
@ -261,7 +244,7 @@ html,body{
color: #505050; color: #505050;
} }
.footer p a:hover{ .footer p a:hover{
color: #000000; color: #000;
} }
.footer .timestamp{ .footer .timestamp{
font-size: 14px; font-size: 14px;
@ -295,13 +278,13 @@ pre .request,pre .status{
color: #000080; color: #000080;
} }
pre .attribute,pre .rules .keyword,pre .number,pre .date,pre .regexp,pre .tex .special{ pre .attribute,pre .rules .keyword,pre .number,pre .date,pre .regexp,pre .tex .special{
color: #0000aa; color: #00a;
} }
pre .number,pre .regexp{ pre .number,pre .regexp{
font-weight: normal; font-weight: normal;
} }
pre .string,pre .value,pre .filter .argument,pre .css .function .params,pre .apache .tag{ pre .string,pre .value,pre .filter .argument,pre .css .function .params,pre .apache .tag{
color: #00aa00; color: #0a0;
} }
pre .symbol,pre .ruby .symbol .string,pre .char,pre .tex .formula{ pre .symbol,pre .ruby .symbol .string,pre .char,pre .tex .formula{
color: #505050; color: #505050;
@ -312,7 +295,7 @@ pre .phpdoc,pre .yardoctag,pre .javadoctag{
text-decoration: underline; text-decoration: underline;
} }
pre .variable,pre .envvar,pre .apache .sqbracket,pre .nginx .built_in{ pre .variable,pre .envvar,pre .apache .sqbracket,pre .nginx .built_in{
color: #aa0000; color: #a00;
} }
pre .addition{ pre .addition{
background: #baeeba; background: #baeeba;

Loading…
Cancel
Save