From 813c4f4a85e7eaaac16d4124c44d12243fbad440 Mon Sep 17 00:00:00 2001 From: resurtm Date: Sun, 26 May 2013 16:36:06 +0600 Subject: [PATCH] Previous exceptions refinements. --- framework/yii/views/errorHandler/main.php | 49 ++++++++++++++-------- .../yii/views/errorHandler/previousException.php | 40 ++++++++++-------- 2 files changed, 53 insertions(+), 36 deletions(-) diff --git a/framework/yii/views/errorHandler/main.php b/framework/yii/views/errorHandler/main.php index 1fb8db2..3a4d968 100644 --- a/framework/yii/views/errorHandler/main.php +++ b/framework/yii/views/errorHandler/main.php @@ -55,7 +55,7 @@ a{ a:hover{ text-decoration: underline; } -h1,h2,p,img,ul li{ +h1,h2,h3,p,img,ul li{ font-family: Arial,sans-serif; color: #505050; } @@ -92,33 +92,46 @@ html,body{ font-size: 20px; text-shadow: 0 1px 0 #cacaca; } + /* previous exceptions */ -.header div.previous{ - margin: 20px 20px 0 0; +.header .previous{ + margin: 20px 0; + padding-left: 30px; } -.header div.previous div{ - margin: 15px 20px 0 25px; +.header .previous div{ + margin: 20px 0; } -.header div.previous h1{ - font-size: 20px; - margin-bottom: 10px; -} -h1 span.arrow{ - display: inline-block; +.header .previous .arrow{ -moz-transform: scale(-1, 1); -webkit-transform: scale(-1, 1); -o-transform: scale(-1, 1); transform: scale(-1, 1); filter: progid:DXImageTransform.Microsoft.BasicImage(mirror=1); - width: 30px; - text-align: center; + font-size: 26px; + position: absolute; + margin-top: -9px; + margin-left: -22px; + color: #e51717; + text-shadow: 0 1px 0 #cacaca; } -.header div.previous h2{ - font-size: 15px; - margin-left: 30px; +.header .previous h2{ + font-size: 20px; + color: #e51717; + text-shadow: 0 1px 0 #cacaca; + margin-bottom: 10px; } -.header div.previous p{ - margin: 10px 0 0 30px; +.header .previous h2 a{ + color: #e57373; +} +.header .previous h2 a:hover{ + color: #e51717; +} +.header .previous h3{ + font-size: 14px; + margin: 10px 0; +} +.header .previous p{ + font-size: 14px; color: #aaa; } diff --git a/framework/yii/views/errorHandler/previousException.php b/framework/yii/views/errorHandler/previousException.php index 4a3d9c6..1cdf3c5 100644 --- a/framework/yii/views/errorHandler/previousException.php +++ b/framework/yii/views/errorHandler/previousException.php @@ -1,20 +1,24 @@ +context; +?> \ No newline at end of file +