Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / resources / themes / stylesheets / ext4 / default / widgets / _panel.scss
index 70e4a7d..f338a1a 100644 (file)
@@ -9,8 +9,8 @@
         position: relative;
     }
     
-    // Workaround for disappearing right edge in IE6
      @if $include-ie {
+        // Workaround for disappearing right edge in IE6
         .#{$prefix}ie {
             .#{$prefix}panel-header,
             .#{$prefix}panel-header-tl,
                 zoom: 1;
             }
         }
+        // Fix for IE8 clipping. EXTJSIV-1553
+        .#{$prefix}ie8 {
+            td.#{$prefix}frame-mc {
+                vertical-align: top;
+            }
+        }
     }
     
     //panel header
     .#{$prefix}panel-body {
         overflow: hidden;
         position: relative;
+        
+        font-size: $panel-body-font-size;
     }
 
     .#{$prefix}panel-header-vertical {
             'default',
 
             $ui-base-color: $panel-base-color,
+            $ui-border-width: $panel-border-width,
             $ui-border-color: $panel-border-color,
+            $ui-border-radius: $panel-border-radius,
             
             $ui-header-color: $panel-header-color,
             $ui-header-font-size: $panel-header-font-size,
         }
     }
 
-    // TODO: Fix this genocide of Sass.
-    // and window stuff in here, wtf?
-    @if $include-webkit {
-        .#{$prefix}webkit {
-            #{$prefix}panel-ghost > div.#{$prefix}panel-body-#{$ui-label},
-            #{$prefix}panel-ghost > div.#{$prefix}window-body-#{$ui-label} {
-                background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, from(white), color-stop(0.02, #E5ECF7), to(#B7CBE7));
-            }
-        }
-    }
-
-    @if $include-ff {
-        .#{$prefix}gecko {
-            .#{$prefix}panel-ghost > div.#{$prefix}panel-body-#{$ui-label},
-            .#{$prefix}panel-ghost > div.#{$prefix}window-body-#{$ui-label} {
-                background-image: -moz-linear-gradient(#FFFFFF, #E5ECF7 2%, #B7CBE7);
-            }
-        }
-    }
-
     @if $ui-border-radius != null {
         @include x-frame(
             'panel',