X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/resources/themes/stylesheets/ext4/default/core/_core.scss diff --git a/resources/themes/stylesheets/ext4/default/core/_core.scss b/resources/themes/stylesheets/ext4/default/core/_core.scss index 07975a61..61346d7d 100644 --- a/resources/themes/stylesheets/ext4/default/core/_core.scss +++ b/resources/themes/stylesheets/ext4/default/core/_core.scss @@ -1,4 +1,4 @@ -body { +.#{$prefix}body { color: $color; font-size: $font-size; font-family: $font-family; @@ -36,7 +36,7 @@ body { } .#{$prefix}item-disabled { - @include opacity(0.4); + @include opacity(0.3); } .#{$prefix}ie6 .#{$prefix}item-disabled { @@ -150,7 +150,10 @@ body { width: 6px; height: 6px; float: left; - background-image: theme-image($theme-name, 'shared/shadow.png'); + + @if $include-shadow-images { + background-image: theme-background-image($theme-name, 'shared/shadow.png'); + } } .#{$prefix}frame-shadow .xsml, @@ -158,13 +161,19 @@ body { width: 6px; float: left; height: 100%; - background-image: theme-image($theme-name, 'shared/shadow-lr.png'); + + @if $include-shadow-images { + background-image: theme-background-image($theme-name, 'shared/shadow-lr.png'); + } } .#{$prefix}frame-shadow .xsmc { float: left; height: 100%; - background-image: theme-image($theme-name, 'shared/shadow-c.png'); + + @if $include-shadow-images { + background-image: theme-background-image($theme-name, 'shared/shadow-c.png'); + } } .#{$prefix}frame-shadow .xst, @@ -172,4 +181,137 @@ body { height: 6px; overflow: hidden; width: 100%; -} \ No newline at end of file +} + +//box wrap - Ext.get("foo").boxWrap(); +.x-box-tl { + background: transparent no-repeat 0 0; + zoom:1; +} + +.x-box-tc { + height: 8px; + background: transparent repeat-x 0 0; + overflow: hidden; +} + +.x-box-tr { + background: transparent no-repeat right -8px; +} + +.x-box-ml { + background: transparent repeat-y 0; + padding-left: 4px; + overflow: hidden; + zoom:1; +} + +.x-box-mc { + background: repeat-x 0 -16px; + padding: 4px 10px; +} + +.x-box-mc h3 { + margin: 0 0 4px 0; + zoom:1; +} + +.x-box-mr { + background: transparent repeat-y right; + padding-right: 4px; + overflow: hidden; +} + +.x-box-bl { + background: transparent no-repeat 0 -16px; + zoom:1; +} + +.x-box-bc { + background: transparent repeat-x 0 -8px; + height: 8px; + overflow: hidden; +} + +.x-box-br { + background: transparent no-repeat right -24px; +} + +.x-box-tl, .x-box-bl { + padding-left: 8px; + overflow: hidden; +} + +.x-box-tr, .x-box-br { + padding-right: 8px; + overflow: hidden; +} + +.x-box-tl { + background-image: theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-tc { + background-image: theme-background-image($theme-name, 'box/tb.gif'); +} + +.x-box-tr { + background-image: theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-ml { + background-image: theme-background-image($theme-name, 'box/l.gif'); +} + +.x-box-mc { + background-color: #eee; + background-image: theme-background-image($theme-name, 'box/tb.gif'); + font-family: "Myriad Pro","Myriad Web","Tahoma","Helvetica","Arial",sans-serif; + color: #393939; + font-size: 15px; +} + +.x-box-mc h3 { + font-size: 18px; + font-weight: bold; +} + +.x-box-mr { + background-image: theme-background-image($theme-name, 'box/r.gif'); +} + +.x-box-bl { + background-image: theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-bc { + background-image: theme-background-image($theme-name, 'box/tb.gif'); +} + +.x-box-br { + background-image: theme-background-image($theme-name, 'box/corners.gif'); +} + +.x-box-blue .x-box-bl, .x-box-blue .x-box-br, .x-box-blue .x-box-tl, .x-box-blue .x-box-tr { + background-image: theme-background-image($theme-name, 'box/corners-blue.gif'); +} + +.x-box-blue .x-box-bc, .x-box-blue .x-box-mc, .x-box-blue .x-box-tc { + background-image: theme-background-image($theme-name, 'box/tb-blue.gif'); +} + +.x-box-blue .x-box-mc { + background-color: #c3daf9; +} + +.x-box-blue .x-box-mc h3 { + color: #17385b; +} + +.x-box-blue .x-box-ml { + background-image: theme-background-image($theme-name, 'box/l-blue.gif'); +} + +.x-box-blue .x-box-mr { + background-image: theme-background-image($theme-name, 'box/r-blue.gif'); +}