]> source.dussan.org Git - vaadin-framework.git/commitdiff
DebugWindow styles improved and structured more, for #12058
authorMarc Englund <marc@vaadin.com>
Thu, 13 Jun 2013 13:30:14 +0000 (16:30 +0300)
committerMarc Englund <marc@vaadin.com>
Fri, 14 Jun 2013 08:03:03 +0000 (11:03 +0300)
Change-Id: I1a3a821b15d7350b5ebf2e19056854e9124197ea

WebContent/VAADIN/themes/base/debug/debug.scss

index 168c666923b56e573aa3d57acb7f15c9baaaf413..0992f19bb921ba81d612786b462756794a290434 100644 (file)
@@ -72,6 +72,7 @@
                opacity: 0.8;
                color: $maincolor;
                
+               font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif;
                font-size: 13px;
                
                .v-debugwindow-handle {
                border-bottom: 1px solid $lightborder;
                
                box-shadow: 0px 0px 7px 0 rgba(55,55,55,0.6);
-               min-height: 1.5em;
                
+               min-height: 1.5em;
+               line-height: 1.5em;
+
                padding-left: 5px;
        }
        
                background-color: $mainbg;
                border: 1px solid $darkborder;
                border-top: none;
-               
-               font-family: monospace;
        }
        
        .v-debugwindow-menu {
                width: 33%;
        }
        
-       
-       /* LOG */
-       .v-debugwindow-reset {
-               color: #fff;
-               background-color: #4C92ED;
-               padding: 4px;
-       }
-       
+       /* GLOBAL color every other row */
        .v-debugwindow-row {
                display: table-row;
        }
        .v-debugwindow-row:nth-child(odd) {
                background-color: rgba(0, 61, 255, 0.11);
        }
+       .v-debugwindow-row > span {
+               display: table-cell;
+               padding: 4px;
+       }
+       
        .v-debugwindow-row.SEVERE {
                color: #550000;
                background-color: #FFC5C5;
        .v-debugwindow-row.FINEST {
                color: lighten($maincolor, 15%);
        }
-       
-       .v-debugwindow-row > span {
-               display: table-cell;
-               padding: 4px;
-       }
-       
-       .v-debugwindow-time {           
-               text-align: right;
-               color: #999;
-       }
-       .v-debugwindow-message {
-               white-space: nowrap;
-               width: 100%
-       }
-       .v-debugwindow-message:hover {
-               white-space: normal;
-               word-wrap: break-word;
-       }
-       .v-debugwindow-message em {
-               background-color: #C4E6F8;
-        }
-
-       /* HIERARCHY */ 
        .v-debugwindow-row > span.caption {
                color: #999;
                text-align: right;
                width: 100%;
        }
        
-       /* INFO */
-       .v-debugwindow-info {
+       /* LOG */
+       .v-debugwindow-log {
+               font-family: monospace;
+               
+               .v-debugwindow-reset {
+                       color: #fff;
+                       background-color: #4C92ED;
+                       padding: 4px;
+               }
+
+               .v-debugwindow-time {           
+                       text-align: right;
+                       color: #999;
+               }
+               .v-debugwindow-message {
+                       white-space: nowrap;
+                       width: 100%
+               }
+               .v-debugwindow-message:hover {
+                       white-space: normal;
+                       word-wrap: break-word;
+               }
+               .v-debugwindow-message em {
+                       background-color: #C4E6F8;
+               }
+       }
+
+       /* HIERARCHY */ 
+       .v-debugwindow-hierarchy {
+               .v-debugwindow-info {
+                       padding: 1em;
+               }
+       }
+       
+       
+       /* NETWORK */
+       .v-debugwindow-network {
                .v-debugwindow-row {
-                       display:block;
-                       min-width: 100%;
+                       display: block !important;
+               }
+               .v-debugwindow-row > span {
+                       display: inline;
                }
        }