Ver Fonte

merged branch Tobion/patch-3 (PR #2415)

Commits
-------

ae342c7 unified toolbar.css
a7e4e70 unified profiler.css
09fe09e unified and corrected exception_layout.css
3a1674b unified and corrected exception.css

Discussion
----------

Unified and corrected CSS markup

Unified (spaces, braces, quotes, indention) and corrected (missing semicolon) the CSS markup.
Did not change any semantic, only markup!
@fabpot: New pull based on symfony:2.0 and changed formatting style as agreed in #2405
Fabien Potencier há 13 anos atrás
pai
commit
8ca19af477

Diff do ficheiro suprimidas por serem muito extensas
+ 130 - 177
src/Symfony/Bundle/FrameworkBundle/Resources/public/css/exception.css


+ 56 - 86
src/Symfony/Bundle/FrameworkBundle/Resources/public/css/exception_layout.css

@@ -1,100 +1,77 @@
-html
-{
-    background: #eee
+html {
+    background: #eee;
 }
 
-body
-{
+body {
     font: 11px Verdana, Arial, sans-serif; 
-    color: #333
+    color: #333;
 }
 
-.sf-exceptionreset, .sf-exceptionreset .block, .sf-exceptionreset #message
-{
-    margin: auto
+.sf-exceptionreset, .sf-exceptionreset .block, .sf-exceptionreset #message {
+    margin: auto;
 }
 
-img
-{
+img {
     border: 0;
 }
 
-.clear
-{
-    clear:both;
-    height:0;
-    font-size:0;
-    line-height:0;
+.clear {
+    clear: both;
+    height: 0;
+    font-size: 0;
+    line-height: 0;
 }
 
-.clear_fix:after
-{
-    content:"\0020";
-    display:block;
-    height:0;
-    clear:both;
-    visibility:hidden;
-}
-
-.clear_fix
-{
-    display:inline-block;
+.clear_fix:after {
+    content: "\0020";
+    display: block;
+    height: 0;
+    clear: both;
+    visibility: hidden;
 }
-
-* html .clear_fix
-{
-    height:1%;
+.clear_fix {
+    display: inline-block;
 }
-
-.clear_fix
-{
-    display:block;
+* html .clear_fix {
+    height: 1%;
 }
-
-.header
-{
-    padding:30px 30px 20px 30px;
+.clear_fix {
+    display: block;
 }
 
-.header_logo
-{
-    float:left;
+.header {
+    padding: 30px 30px 20px 30px;
 }
 
-.search
-{
-    float:right;
+.header_logo {
+    float: left;
 }
 
-.search
-{
-    padding-top:20px;
+.search {
+    float: right;
+    padding-top: 20px;
 }
 
-.search label
-{
-    line-height:28px; 
-    vertical-align:middle;
+.search label {
+    line-height: 28px; 
+    vertical-align: middle;
 }
 
-.search input
-{
-    width:188px; 
-    margin-right:10px; 
-    font-size:12px; 
-    border:1px solid #dadada; 
-    background:#FFFFFF url(../images/input_bg.gif) repeat-x left top;
-    padding:5px 6px;
-    color:#565656;
+.search input {
+    width: 188px; 
+    margin-right: 10px; 
+    font-size: 12px; 
+    border: 1px solid #dadada; 
+    background: #FFFFFF url(../images/input_bg.gif) repeat-x left top;
+    padding: 5px 6px;
+    color: #565656;
 }
 
-.search input[type="search"]
-{
+.search input[type="search"] {
     -webkit-appearance: textfield;
 }
 
-.search button
-{
+.search button {
     -webkit-appearance: button-bevel;
     float: none;
     padding: 0;
@@ -111,25 +88,21 @@ img
     background: none;
 }
 
-.search button:-moz-focus-inner
-{
-  padding: 0;
-  border: none;
+.search button:-moz-focus-inner {
+    padding: 0;
+    border: none;
 }
 
-.search button:hover
-{
+.search button:hover {
     text-decoration: none;
 }
 
 .search button span span,
-.search button span span span
-{
-  position: static;
+.search button span span span {
+    position: static;
 }
 
-.search button span
-{
+.search button span {
     position: relative;
     text-decoration: none;
     display: block;
@@ -139,14 +112,12 @@ img
     background: transparent url(../images/border_l.png) no-repeat top left;
 }
 
-.search button span span
-{
+.search button span span {
     padding: 0 8px 0 0;
     background: transparent url(../images/border_r.png) right top no-repeat;
 }
 
-.search button span span span
-{
+.search button span span span {
     padding: 0 7px;
     font: bold 11px Arial, Helvetica, sans-serif;
     color: #6b6b6b;
@@ -154,8 +125,7 @@ img
     background: transparent url(../images/btn_bg.png) repeat-x top left;
 }
 
-#content
-{
-    width:970px;
-    margin:0 auto;
+#content {
+    width: 970px;
+    margin: 0 auto;
 }

Diff do ficheiro suprimidas por serem muito extensas
+ 171 - 253
src/Symfony/Bundle/WebProfilerBundle/Resources/public/css/profiler.css


+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/public/css/toolbar.css

@@ -12,7 +12,7 @@ build: 56
     background-image: -moz-linear-gradient(-90deg, #e8e8e8, #cbcbcb);
     background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e8e8e8), to(#cbcbcb));
     bottom: 0;
-    left:0;
+    left: 0;
     z-index: 6000000;
     width: 100%;
     border-top: 1px solid #bbb;