PDA

View Full Version : Multiple themes on one page



paulwarren
18 Dec 2008, 8:12 AM
This is using Kemal Tunador (tunador@madrabaz.com) 's black theme template, as a base, found here: http://extjs.com/learn/Extension:BlackTheme (because I like black :) ).

I wanted to have two different themes on one page to help differentiate the sections as found in this screenshot:
http://www.tomahawk.ca/images/dual.jpg


I thought I'd provide the css portion of the template I use for setting up any secondary theme on a given page. There were two parts to this css that needed to make it work. The second part of each entry is to ensure that the element where the parent item is this new class, gets the new theme. The first part makes sure that the parent item itself also picks up the theme, otherwise just the children get the theme.






USAGE:
set the cls attribute on the parent item.
change the name of all the "extcss-black" entries to what you set above.
change the settings in the css itself.



var pageChangerPanel = new Ext.form.FormPanel({
height: 79,
cls: 'extcss-black',
....



/*
* Ext JS Library 2.0 Alpha 1
* Copyright(c) 2006-2007, Ext JS, LLC.
*
* @license GPL
* @author Kemal Tunador <tunador@madrabaz.com>
*/
.extcss-black.ext-el-mask, .extcss-black .ext-el-mask{
background-color: #000000;
}
.extcss-black.ext-el-mask-msg, .extcss-black .ext-el-mask-msg {
border:1px solid #444444;
background: #666666;
}
.extcss-black.ext-el-mask-msg div, .extcss-black .ext-el-mask-msg div {
border:1px solid #888888;
}

.extcss-black.x-panel, .extcss-black .x-panel {
border-style: solid;
border-color: #000000;
}
.extcss-black.x-panel-header, .extcss-black .x-panel-header {
color:#eeeef0;
border:1px solid #000000;
background-image:url(../images/black/panel/white-top-bottom.gif);
}

.extcss-black.x-panel-body, .extcss-black .x-panel-body {
border-color:#000000;
}
.extcss-black.x-panel-bbar .x-toolbar, .extcss-black .x-panel-bbar .x-toolbar {
border-color:#000000;
}
.extcss-black.x-panel-tbar .x-toolbar, .extcss-black .x-panel-tbar .x-toolbar {
border-color:#000000;
}
.extcss-black.x-panel-tbar-noheader .x-toolbar, .extcss-black .x-panel-tbar-noheader .x-toolbar,
.extcss-black.x-panel-mc .x-panel-tbar .x-toolbar, .extcss-black .x-panel-mc .x-panel-tbar .x-toolbar {
border-color:#000000;
}
.extcss-black.x-panel-body-noheader, .extcss-black .x-panel-body-noheader ,
.extcss-black.x-panel-mc .x-panel-body, .extcss-black .x-panel-mc .x-panel-body {
border-color:#000000;
}
.extcss-black.x-panel-tl .x-panel-header, .extcss-black .x-panel-tl .x-panel-header {
color:#eeeef0;
}
.extcss-black.x-panel-tc, .extcss-black .x-panel-tc, {
background-image:url(../images/black/panel/top-bottom.gif);
}
.extcss-black.x-panel-tl, .extcss-black .x-panel-tl, {
background-image:url(../images/black/panel/corners-sprite.gif);
border-color:#000000;
}
.extcss-black.x-panel-tr, .extcss-black .x-panel-tr, {
background-image:url(../images/black/panel/corners-sprite.gif);
}
.extcss-black.x-panel-bc, .extcss-black .x-panel-bc, {
background-image:url(../images/black/panel/top-bottom.gif);
}
.extcss-black.x-panel-bl, .extcss-black .x-panel-bl, {
background-image:url(../images/black/panel/corners-sprite.gif);
}
.extcss-black.x-panel-br, .extcss-black .x-panel-br, {
background-image:url(../images/black/panel/corners-sprite.gif);
}
.extcss-black.x-panel-mc, .extcss-black .x-panel-mc, {
background:#363636;
color:#eeeeee;
}
.extcss-black.x-panel-mc .x-panel-body, .extcss-black .x-panel-mc .x-panel-body {
background:transparent;
border: 0 none;
}
.extcss-black.x-panel-ml, .extcss-black .x-panel-ml {
background-image:url(../images/black/panel/left-right.gif);
}
.extcss-black.x-panel-mr, .extcss-black .x-panel-mr {
background-image:url(../images/black/panel/left-right.gif);
}

/* Ghosting */
.extcss-black.x-panel-ghost, .extcss-black .x-panel-ghost {
background:#363636;
}

.extcss-black.x-panel-ghost ul, .extcss-black .x-panel-ghost ul {
border-color:#000000;
}

.extcss-black.x-grid-panel .x-panel-mc .x-panel-body, .extcss-black .x-grid-panel .x-panel-mc .x-panel-body {
border:1px solid #000000;
}


/* Grid */
.extcss-black.x-grid3-row, .extcss-black .x-grid3-row {
color:#000000;
}
.extcss-black.x-grid3-row-over, .extcss-black .x-grid3-row-over {
border:1px solid #292929;
background-image:url(../images/black/grid/row-over.gif);
}
.extcss-black.x-grid3-header, .extcss-black .x-grid3-header {
background-image:url(../images/black/grid/grid3-hrow.gif);
}
.extcss-black.x-grid3-hd-inner, .extcss-black .x-grid3-hd-inner {
color : #EEEEEE;
}
.extcss-black.x-grid3-header-pop-inner, .extcss-black .x-grid3-header-pop-inner {
border-left:1px solid #000000;
background-image:url(../images/black/grid/hd-pop.gif);
}
td.extcss-black.x-grid3-hd-over, .extcss-black td.x-grid3-hd-over,
td.extcss-black.sort-desc, .extcss-black td.sort-desc,
td.extcss-black.sort-asc, .extcss-black td.sort-asc,
td.extcss-black.x-grid3-hd-menu-open, .extcss-black td.x-grid3-hd-menu-open {
border-left:1px solid #000000;
border-right:1px solid #000000;
}
.extcss-black.sort-desc .x-grid3-sort-icon, .extcss-black .sort-desc .x-grid3-sort-icon {
background-image:url(../images/black/grid/sort_desc.gif);
}
.extcss-black.sort-asc .x-grid3-sort-icon, .extcss-black .sort-asc .x-grid3-sort-icon {
background-image:url(../images/black/grid/sort_asc.gif);
}
td.extcss-black.x-grid3-hd-over .x-grid3-hd-inner, .extcss-black td.x-grid3-hd-over .x-grid3-hd-inner,
td.extcss-black.sort-desc .x-grid3-hd-inner, .extcss-black td.sort-desc .x-grid3-hd-inner,
td.extcss-black.sort-asc .x-grid3-hd-inner, .extcss-black td.sort-asc .x-grid3-hd-inner,
td.extcss-black.x-grid3-hd-menu-open .x-grid3-hd-inner, .extcss-black td.x-grid3-hd-menu-open .x-grid3-hd-inner {
background-image:url(../images/black/grid/grid3-hrow-over.gif);
background-color:#595959;
}
.extcss-black.x-dd-drag-proxy .x-grid3-hd-inner, .extcss-black .x-dd-drag-proxy .x-grid3-hd-inner {
background-image:url(../images/black/grid/grid3-hrow-over.gif);
}
.extcss-black.x-dd-drag-proxy .x-grid3-hd-inner, .extcss-black .x-dd-drag-proxy .x-grid3-hd-inner ,
.extcss-black.x-grid3-locked td.x-grid3-row-marker, .extcss-black .x-grid3-locked td.x-grid3-row-marker {
background-image:url(../images/black/grid/grid-hrow.gif);
color:#666666;
border-top:1px solid white;
border-right:1px solid #000000 !important;
}
.extcss-black.x-props-grid .x-grid3-td-name .x-grid3-cell-inner, .extcss-black .x-props-grid .x-grid3-td-name .x-grid3-cell-inner {
background-image:url(../images/black/grid/grid3-special-col-bg.gif);
color:#eeeeee !important;
}
.extcss-black.x-grid3-hd-btn, .extcss-black .x-grid3-hd-btn {
background-image:url(../images/black/grid/grid3-hd-btn.gif);
}
.extcss-black.x-grid3-body .x-grid3-td-expander, .extcss-black .x-grid3-body .x-grid3-td-expander {
background-image:url(../images/black/grid/grid3-special-col-bg.gif);
}
.extcss-black.x-grid3-body .x-grid3-td-checker, .extcss-black .x-grid3-body .x-grid3-td-checker {
background-image:url(../images/black/grid/grid3-special-col-bg.gif);
}
.extcss-black.x-grid3-body .x-grid3-td-numberer, .extcss-black .x-grid3-body .x-grid3-td-numberer {
background-image:url(../images/black/grid/grid3-special-col-bg.gif);
}
.extcss-black.x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer, .extcss-black .x-grid3-body .x-grid3-row-selected .x-grid3-td-numberer,
.extcss-black.x-grid3-body .x-grid3-row-selected .x-grid3-td-checker, .extcss-black .x-grid3-body .x-grid3-row-selected .x-grid3-td-checker,
.extcss-black.x-grid3-body .x-grid3-row-selected .x-grid3-td-expander, .extcss-black .x-grid3-body .x-grid3-row-selected .x-grid3-td-expander {
background-image:url(../images/black/grid/grid3-special-col-sel-bg.gif);
}
.extcss-black.x-grid3-hd-row td, .extcss-black .x-grid3-hd-row td {
border-left:1px solid #888888;
border-right:1px solid #666666;
}
.extcss-black.x-grid3-row-selected, .extcss-black .x-grid3-row-selected {
background: #eeeef0;
border:1px dotted #999999;
}
.extcss-black.xg-hmenu-sort-asc .x-menu-item-icon, .extcss-black .xg-hmenu-sort-asc .x-menu-item-icon {
background-image: url(../images/black/grid/hmenu-asc.gif);
}
.extcss-black.xg-hmenu-sort-desc .x-menu-item-icon, .extcss-black .xg-hmenu-sort-desc .x-menu-item-icon {
background-image: url(../images/black/grid/hmenu-desc.gif);
}
.extcss-black.x-grid-group-hd div, .extcss-black .x-grid-group-hd div {
color : #223355;
}
.extcss-black.x-grid-group-hd, .extcss-black .x-grid-group-hd {
border-color:#333333;
}

/* Menu */
.extcss-black.x-menu, .extcss-black .x-menu {
border: 1px solid #000000;
background-color:#393939;
background-image:url(../images/black/menu/menu.gif);
}
.extcss-black.x-menu-sep, .extcss-black .x-menu-sep {
background-color:#4d4d4d;
border-bottom:1px solid #272727;
}
.extcss-black.x-menu-plain, .extcss-black .x-menu-plain {
background:#393939 !important;
}
.extcss-black.x-menu-item-active, .extcss-black .x-menu-item-active {
background-image:url(../images/black/menu/item-over.gif);
background-color:#3f3f3f;
border:1px solid #222222;
}
.extcss-black.x-menu a.x-menu-item, .extcss-black .x-menu a.x-menu-item {
color:#eeeeee;
}
.extcss-black.x-menu-item-active a.x-menu-item, .extcss-black .x-menu-item-active a.x-menu-item {
color: #ffffff;
}

/* Tools */
.extcss-black.x-tool, .extcss-black .x-tool {
background-image:url(../images/black/panel/tool-sprites.gif);
}

/* Buttons */
.extcss-black.x-btn-text, .extcss-black .x-btn-text {
color: #eeeef0;
font-weight:bold !important;
}
.extcss-black.x-btn-left, .extcss-black .x-btn-left {
background-image:url(../images/black/button/btn-sprite.gif);
}
.extcss-black.x-btn-right, .extcss-black .x-btn-right {
background-image:url(../images/black/button/btn-sprite.gif);
}
.extcss-black.x-btn-center, .extcss-black .x-btn-center {
background-image:url(../images/black/button/btn-sprite.gif);
}
.extcss-black.x-btn-menu-arrow-wrap .x-btn-center button, .extcss-black .x-btn-menu-arrow-wrap .x-btn-center button {
background-image:url(../images/black/button/btn-arrow.gif);
}
.extcss-black.x-btn-with-menu .x-btn-center em, .extcss-black .x-btn-with-menu .x-btn-center em {
background-image:url(../images/black/toolbar/btn-arrow-light.gif);
}

.extcss-black.x-btn-text-icon .x-btn-with-menu .x-btn-center em, .extcss-black .x-btn-text-icon .x-btn-with-menu .x-btn-center em {
background-image:url(../images/black/toolbar/btn-arrow-light.gif);
}

/* Layout classes */
.extcss-black.x-border-layout-ct, .extcss-black .x-border-layout-ct {
background:#888888; /* f1f2f4 */
}

.extcss-black.x-accordion-hd, .extcss-black .x-accordion-hd {
background-image:url(../images/black/panel/light-hd.gif);
}

.extcss-black.x-layout-collapsed, .extcss-black .x-layout-collapsed {
background-color:#222222;
border-color:#000000;
}
.extcss-black.x-layout-collapsed-over, .extcss-black .x-layout-collapsed-over {
background-color:#444444;
}

/* qtips */
.extcss-black.x-tip .x-tip-close, .extcss-black .x-tip .x-tip-close {
background-image: url(../images/black/qtip/close.gif);
}
.extcss-black.x-tip.x-tip-tc, .extcss-black .x-tip.x-tip-tc {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-tl, .extcss-black .x-tip.x-tip-tl {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-tr, .extcss-black .x-tip.x-tip-tr {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-bc, .extcss-black .x-tip.x-tip-bc {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-bl, .extcss-black .x-tip.x-tip-bl {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-br, .extcss-black .x-tip.x-tip-br {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-ml, .extcss-black .x-tip.x-tip-ml {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-mr, .extcss-black .x-tip.x-tip-mr {
background-image:url(../images/black/qtip/tip-sprite.gif);
}
.extcss-black.x-tip.x-tip-header-text, .extcss-black .x-tip.x-tip-header-text {
color:#ffffff;
}
.extcss-black.x-tip.x-tip-body, .extcss-black .x-tip.x-tip-body {
color:#eeeeee;
}
.extcss-black.x-form-invalid-icon, .extcss-black .x-form-invalid-icon {background-image:url(../images/black/form/exclamation.gif);}
.extcss-black.x-form-invalid-tip .x-tip-tc, .extcss-black .x-form-invalid-tip .x-tip-tc{background-image:url(../images/black/form/error-tip-corners.gif);}
.extcss-black.x-form-invalid-tip .x-tip-tl, .extcss-black .x-form-invalid-tip .x-tip-tl{background-image:url(../images/black/form/error-tip-corners.gif);}
.extcss-black.x-form-invalid-tip .x-tip-tr, .extcss-black .x-form-invalid-tip .x-tip-tr{background-image:url(../images/black/form/error-tip-corners.gif);}
.extcss-black.x-form-invalid-tip .x-tip-bc, .extcss-black .x-form-invalid-tip .x-tip-bc{background-image:url(../images/black/form/error-tip-corners.gif);}
.extcss-black.x-form-invalid-tip .x-tip-bl, .extcss-black .x-form-invalid-tip .x-tip-bl{background-image:url(../images/black/form/error-tip-corners.gif);}
.extcss-black.x-form-invalid-tip .x-tip-br, .extcss-black .x-form-invalid-tip .x-tip-br{background-image:url(../images/black/form/error-tip-corners.gif);}
.extcss-black.x-form-invalid-tip .x-tip-ml, .extcss-black .x-form-invalid-tip .x-tip-ml{background-image:url(../images/black/form/error-tip-corners.gif);}
.extcss-black.x-form-invalid-tip .x-tip-mr, .extcss-black .x-form-invalid-tip .x-tip-mr{background-image:url(../images/black/form/error-tip-corners.gif);}

/* Toolbars */
.extcss-black.x-toolbar, .extcss-black .x-toolbar {
border-color:#444444;
background:#282828 url(../images/black/toolbar/bg.gif) repeat-x top left;
}
.extcss-black.x-toolbar button, .extcss-black .x-toolbar button {
color:#eeeef0;
}
.extcss-black.x-toolbar .x-btn-menu-arrow-wrap .x-btn-center button, .extcss-black .x-toolbar .x-btn-menu-arrow-wrap .x-btn-center button {
background-image:url(../images/black/toolbar/btn-arrow.gif);
}
.extcss-black.x-toolbar .x-btn-text-icon .x-btn-menu-arrow-wrap .x-btn-center button, .extcss-black .x-toolbar .x-btn-text-icon .x-btn-menu-arrow-wrap .x-btn-center button {
background-image:url(../images/black/toolbar/btn-arrow-light.gif);
}
.extcss-black.x-toolbar .x-btn-over .x-btn-left, .extcss-black .x-toolbar .x-btn-over .x-btn-left {
background-image:url(../images/black/toolbar/tb-btn-sprite.gif);
}
.extcss-black.x-toolbar .x-btn-over .x-btn-right, .extcss-black .x-toolbar .x-btn-over .x-btn-right {
background-image:url(../images/black/toolbar/tb-btn-sprite.gif);
}
.extcss-black.x-toolbar .x-btn-over .x-btn-center, .extcss-black .x-toolbar .x-btn-over .x-btn-center {
background-image:url(../images/black/toolbar/tb-btn-sprite.gif);
}
.extcss-black.x-toolbar .x-btn-over button, .extcss-black .x-toolbar .x-btn-over button {
color:#ffffff;
}
.extcss-black.x-toolbar .x-btn-click .x-btn-left, .extcss-black .x-toolbar .x-btn-click .x-btn-left,
.extcss-black.x-toolbar .x-btn-pressed .x-btn-left, .extcss-black .x-toolbar .x-btn-pressed .x-btn-left,
.extcss-black.x-toolbar .x-btn-menu-active .x-btn-left, .extcss-black .x-toolbar .x-btn-menu-active .x-btn-left {
background-image:url(../images/black/toolbar/tb-btn-sprite.gif);
}
.extcss-black.x-toolbar .x-btn-click .x-btn-right, .extcss-black .x-toolbar .x-btn-click .x-btn-right,
.extcss-black.x-toolbar .x-btn-pressed .x-btn-right, .extcss-black .x-toolbar .x-btn-pressed .x-btn-right,
.extcss-black.x-toolbar .x-btn-menu-active .x-btn-right, .extcss-black .x-toolbar .x-btn-menu-active .x-btn-right {
background-image:url(../images/black/toolbar/tb-btn-sprite.gif);
}

.extcss-black.x-toolbar .x-btn-click .x-btn-center, .extcss-black .x-toolbar .x-btn-click .x-btn-center,
.extcss-black.x-toolbar .x-btn-pressed .x-btn-center, .extcss-black .x-toolbar .x-btn-pressed .x-btn-center,
.extcss-black.x-toolbar .x-btn-menu-active .x-btn-center, .extcss-black .x-toolbar .x-btn-menu-active .x-btn-center {
background-image:url(../images/black/toolbar/tb-btn-sprite.gif);
}
.extcss-black.x-toolbar .ytb-sep, .extcss-black .x-toolbar .ytb-sep {
background-image: url(../images/black/grid/grid-split.gif);
}
.extcss-black.x-paging-info, .ytb-text, .extcss-black .x-paging-info, .ytb-text {
color:#eeeef0;
}

/* Form */
.extcss-black.x-form-field-wrap .x-form-trigger, .extcss-black .x-form-field-wrap .x-form-trigger {
background-image:url(../images/black/form/trigger.gif);
border-bottom: 1px solid #a3a3a3;
}
.extcss-black.x-form-field-wrap .x-form-date-trigger, .extcss-black .x-form-field-wrap .x-form-date-trigger {
background-image: url(../images/black/form/date-trigger.gif);
}
.extcss-black.x-form-field-wrap .x-form-clear-trigger, .extcss-black .x-form-field-wrap .x-form-clear-trigger {
background-image: url(../images/black/form/clear-trigger.gif);
}
.extcss-black.x-form-field-wrap .x-form-search-trigger, .extcss-black .x-form-field-wrap .x-form-search-trigger {
background-image: url(../images/black/form/search-trigger.gif);
}

.extcss-black.x-form-text, .extcss-black .x-form-text,
textarea.extcss-black.x-form-field, .extcss-black textarea.x-form-field {
border: 1px solid #a3a3a3;
}
.extcss-black.x-form-select-one, .extcss-black .x-form-select-one {
border: 1px solid #a3a3a3;
}
.extcss-black.x-item-disabled .x-form-trigger-over, .extcss-black .x-item-disabled .x-form-trigger-over {
border-bottom: 1px solid #a3a3a3;
}
.extcss-black.x-item-disabled .x-form-trigger-click, .extcss-black .x-item-disabled .x-form-trigger-click {
border-bottom: 1px solid #a3a3a3;
}
.extcss-black.x-form fieldset, .extcss-black .x-form fieldset {
border:1px solid #a3a3a3;
}
.extcss-black.x-trigger-wrap-focus .x-form-trigger, .extcss-black .x-trigger-wrap-focus .x-form-trigger {
border-bottom: 1px solid #0e0e0e;
}
.extcss-black.x-form-focus, textarea.x-form-focus, .extcss-black .x-form-focus, textarea.x-form-focus {
border: 1px solid #0e0e0e;
}


/* Tabs */
.extcss-black.x-tab-panel-header, .extcss-black .x-tab-panel-header,
.extcss-black.x-tab-panel-footer, .extcss-black .x-tab-panel-footer {
background: #363636;
border-color:#000000;
}

.extcss-black.x-tab-panel-header, .extcss-black .x-tab-panel-header {
border-color:#000000;
}

.extcss-black.x-tab-panel-footer, .extcss-black .x-tab-panel-footer {
border-color:#000000;
}

ul.extcss-black.x-tab-strip-top, .extcss-black ul.x-tab-strip-top {
background:#353535 url(../images/black/tabs/tab-strip-bg.gif) repeat-x left top;
border-color:#000000;
}

ul.extcss-black.x-tab-strip-bottom, .extcss-black ul.x-tab-strip-bottom {
background-image:url(../images/black/tabs/tab-strip-btm-bg.gif);
border-color:#000000;
}

.extcss-black.x-tab-strip span.x-tab-strip-text, .extcss-black .x-tab-strip span.x-tab-strip-text {
color:#cccccc;
}
.extcss-black.x-tab-strip-over span.x-tab-strip-text, .extcss-black .x-tab-strip-over span.x-tab-strip-text {
color:#ffffff;
}

.extcss-black.x-tab-strip-active span.x-tab-strip-text, .extcss-black .x-tab-strip-active span.x-tab-strip-text {
color:#eeeef0;
}

.extcss-black.x-tab-strip-top .x-tab-right, .extcss-black .x-tab-strip-top .x-tab-right {
background-image:url(../images/black/tabs/tabs-sprite.gif);
}

.extcss-black.x-tab-strip-top .x-tab-left, .extcss-black .x-tab-strip-top .x-tab-left {
background-image:url(../images/black/tabs/tabs-sprite.gif);
}
.extcss-black.x-tab-strip-top .x-tab-strip-inner, .extcss-black .x-tab-strip-top .x-tab-strip-inner {
background-image:url(../images/black/tabs/tabs-sprite.gif);
}

.extcss-black.x-tab-strip-bottom .x-tab-right, .extcss-black .x-tab-strip-bottom .x-tab-right {
background-image:url(../images/black/tabs/tab-btm-inactive-right-bg.gif);
}

.extcss-black.x-tab-strip-bottom .x-tab-left, .extcss-black .x-tab-strip-bottom .x-tab-left {
background-image:url(../images/black/tabs/tab-btm-inactive-left-bg.gif);
}

.extcss-black.x-tab-strip-bottom .x-tab-strip-active .x-tab-right, .extcss-black .x-tab-strip-bottom .x-tab-strip-active .x-tab-right {
background-image:url(../images/black/tabs/tab-btm-right-bg.gif);
}

.extcss-black.x-tab-strip-bottom .x-tab-strip-active .x-tab-left, .extcss-black .x-tab-strip-bottom .x-tab-strip-active .x-tab-left {
background-image:url(../images/black/tabs/tab-btm-left-bg.gif);
}

.extcss-black.x-tab-strip .x-tab-strip-closable a.x-tab-strip-close, .extcss-black .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close {
background-image:url(../images/black/tabs/tab-close.gif);
}
.extcss-black.x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover, .extcss-black .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover {
background-image:url(../images/black/tabs/tab-close.gif);
}

.extcss-black.x-tab-panel-body, .extcss-black .x-tab-panel-body {
border-color:#000000;
background:#eeeeee;
}
.extcss-black.x-tab-panel-bbar .x-toolbar, .extcss-black .x-tab-panel-bbar .x-toolbar {
border-color: #000000;
}

.extcss-black.x-tab-panel-tbar .x-toolbar, .extcss-black .x-tab-panel-tbar .x-toolbar {
border-color: #000000;
}

.extcss-black.x-tab-panel-header-plain .x-tab-strip-spacer, .extcss-black .x-tab-panel-header-plain .x-tab-strip-spacer {
border-color:#000000;
background: #353535;
}

.extcss-black.x-tab-scroller-left, .extcss-black .x-tab-scroller-left {
background-image: url(../images/black/tabs/scroll-left.gif);
border-color:#000000;
}
.extcss-black.x-tab-scroller-right, .extcss-black .x-tab-scroller-right {
background-image: url(../images/black/tabs/scroll-right.gif);
border-color:#000000;
}

/* Window */
.extcss-black.x-window-proxy, .extcss-black .x-window-proxy {
background:#363636;
border-color:#000000;
}

.extcss-black.x-window-tl .x-window-header, .extcss-black .x-window-tl .x-window-header {
color:#eeeef0;
}
.extcss-black.x-window-tc, .extcss-black .x-window-tc {
background-image:url(../images/black/window/top-bottom.png);
}
.extcss-black.x-window-tl, .extcss-black .x-window-tl {
background-image:url(../images/black/window/left-corners.png);
}
.extcss-black.x-window-tr, .extcss-black .x-window-tr {
background-image:url(../images/black/window/right-corners.png);
}
.extcss-black.x-window-bc, .extcss-black .x-window-bc {
background-image:url(../images/black/window/top-bottom.png);
}
.extcss-black.x-window-bl, .extcss-black .x-window-bl {
background-image:url(../images/black/window/left-corners.png);
}
.extcss-black.x-window-br, .extcss-black .x-window-br {
background-image:url(../images/black/window/right-corners.png);
}
.extcss-black.x-window-mc, .extcss-black .x-window-mc {
border:1px solid #333333;
background:#454545;
color: #eeeeee;
}

.extcss-black.x-window-ml, .extcss-black .x-window-ml {
background-image:url(../images/black/window/left-right.png);
}
.extcss-black.x-window-mr, .extcss-black .x-window-mr {
background-image:url(../images/black/window/left-right.png);
}
.extcss-black.x-panel-ghost .x-window-tl, .extcss-black .x-panel-ghost .x-window-tl {
border-color:#000000;
}
.extcss-black.x-panel-collapsed .x-window-tl, .extcss-black .x-panel-collapsed .x-window-tl {
border-color:#000000;
}

.extcss-black.x-window-plain .x-window-mc, .extcss-black .x-window-plain .x-window-mc {
color: #eeeeee;
background: #222222;
border-left:1px solid #111111;
border-top:1px solid #111111;
border-bottom:1px solid #222222;
border-right:1px solid #222222;
}

.extcss-black.x-window-plain .x-window-body, .extcss-black .x-window-plain .x-window-body {
border-left:1px solid #555555;
border-top:1px solid #555555;
border-bottom:1px solid #333333;
border-right:1px solid #333333;
background:transparent !important;
}

body.extcss-black.x-body-masked .x-window-mc, .extcss-black body.x-body-masked .x-window-mc,
body.extcss-black.x-body-masked .x-window-plain .x-window-mc, .extcss-black body.x-body-masked .x-window-plain .x-window-mc {
color: #eeeeee;
background-color: #1a1a1a;
}

/* Date Picker */
.extcss-black.x-date-picker, .extcss-black .x-date-picker {
border: 1px solid #000000;
background:#ffffff;
}
.extcss-black.x-date-middle, .extcss-black .x-date-middle,
.extcss-black.x-date-left, .extcss-black .x-date-left,
.extcss-black.x-date-right, .extcss-black .x-date-right {
background-image: url(../images/black/shared/hd-sprite.gif);
}
.extcss-black.x-date-middle .x-btn-with-menu .x-btn-center em, .extcss-black .x-date-middle .x-btn-with-menu .x-btn-center em {
background-image:url(../images/black/toolbar/btn-arrow-light.gif);
}
.extcss-black.x-date-right a, .extcss-black .x-date-right a {
background-image: url(../images/black/shared/right-btn.gif);
}
.extcss-black.x-date-left a, .extcss-black .x-date-left a {
background-image: url(../images/black/shared/left-btn.gif);
}
.extcss-black.x-date-inner th, .extcss-black .x-date-inner th {
background-image:url(../images/black/shared/glass-bg.gif);
border-bottom: 1px solid #000000;
color:#eeeef0;
}
.extcss-black.x-date-inner .x-date-selected a, .extcss-black .x-date-inner .x-date-selected a {
background-image:url(../images/black/shared/glass-bg.gif);
border:1px solid #000000;
color:#eeeef0;
}
.extcss-black.x-date-bottom, .extcss-black .x-date-bottom {
border-top: 1px solid #000000;
background-image:url(../images/black/shared/glass-bg.gif);
}
.extcss-black.x-date-mp-btns, .extcss-black .x-date-mp-btns {
background-image:url(../images/black/shared/glass-bg.gif);
}
td.extcss-black.x-date-mp-sel a, .extcss-black td.x-date-mp-sel a {
background-image:url(../images/black/shared/glass-bg.gif);
border:1px solid #000000;
color: #eeeef0 !important;
}
.extcss-black.x-date-mp-ybtn a, .extcss-black .x-date-mp-ybtn a {
background-image:url(../images/black/panel/tool-sprites.gif);
}
.extcss-black.x-date-mp-btns button, .extcss-black .x-date-mp-btns button {
background-image:url(../images/black/shared/glass-bg.gif);
border-color: #eeeeee #bbbbbb #bbbbbb #eeeeee;
color: #eeeef0;
}
.extcss-black.x-date-inner a, .extcss-black .x-date-inner a {
color:#000000;
}
.extcss-black.x-date-inner a:hover, .extcss-black .x-date-inner a:hover,
.extcss-black.x-date-inner .x-date-disabled a:hover, .extcss-black .x-date-inner .x-date-disabled a:hover {
color:#eeeef0;
background: #353535;
}
td.extcss-black.x-date-mp-month a, .extcss-black td.x-date-mp-month a,
td.extcss-black.x-date-mp-year a, .extcss-black td.x-date-mp-year a {
color:#000000;
}
td.extcss-black.x-date-mp-month a:hover, .extcss-black td.x-date-mp-month a:hover,
td.extcss-black.x-date-mp-year a:hover, .extcss-black td.x-date-mp-year a:hover {
color:#eeeef0;
background: #353535;
}

/* misc */
.extcss-black.x-html-editor-wrap, .extcss-black .x-html-editor-wrap {
border-color:#000000;
}

/* Editor */
.extcss-black.x-html-editor-tb .x-btn-text, .extcss-black .x-html-editor-tb .x-btn-text {
background:transparent url(../images/black/editor/tb-sprite.gif) no-repeat;
}

/* FieldSet*/
.extcss-black.x-fieldset-header-text, .extcss-black .x-fieldset-header-text {
color : #eeeeee;
}

/* Borders go last for specificity */
.extcss-black.x-panel-noborder .x-panel-body-noborder, .extcss-black .x-panel-noborder .x-panel-body-noborder {
border-width:0;
}

.extcss-black.x-panel-noborder .x-panel-header-noborder, .extcss-black .x-panel-noborder .x-panel-header-noborder {
border-width:0;
border-bottom:1px solid #000000;
}

.extcss-black.x-panel-noborder .x-panel-tbar-noborder .x-toolbar, .extcss-black .x-panel-noborder .x-panel-tbar-noborder .x-toolbar {
border-width:0;
border-bottom:1px solid #000000;
}

.extcss-black.x-panel-noborder .x-panel-bbar-noborder .x-toolbar, .extcss-black .x-panel-noborder .x-panel-bbar-noborder .x-toolbar {
border-width:0;
border-top:1px solid #000000;
}

.extcss-black.x-window-noborder .x-window-mc, .extcss-black .x-window-noborder .x-window-mc {
border-width:0;
}
.extcss-black.x-window-plain .x-window-body-noborder, .extcss-black .x-window-plain .x-window-body-noborder {
border-width:0;
}

.extcss-black.x-tab-panel-noborder .x-tab-panel-body-noborder, .extcss-black .x-tab-panel-noborder .x-tab-panel-body-noborder {
border-width:0;
}

.extcss-black.x-tab-panel-noborder .x-tab-panel-header-noborder, .extcss-black .x-tab-panel-noborder .x-tab-panel-header-noborder {
border-top-width:0;
border-left-width:0;
border-right-width:0;
}

.extcss-black.x-tab-panel-noborder .x-tab-panel-footer-noborder, .extcss-black .x-tab-panel-noborder .x-tab-panel-footer-noborder {
border-bottom-width:0;
border-left-width:0;
border-right-width:0;
}

.extcss-black.x-tab-panel-bbar-noborder .x-toolbar, .extcss-black .x-tab-panel-bbar-noborder .x-toolbar {
border-width:0;
border-top:1px solid #000000;
}

.extcss-black.x-tab-panel-tbar-noborder .x-toolbar, .extcss-black .x-tab-panel-tbar-noborder .x-toolbar {
border-width:0;
border-bottom:1px solid #000000;
}