From 70d46aa8bceb43f42ad8401ac0e4aae82883f327 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sun, 31 Jul 2011 12:37:23 +0800 Subject: [PATCH] css/toolbar.css --- css/toolbar.css | 184 +++++++++++++++++++++++++----------------------- 1 file changed, 95 insertions(+), 89 deletions(-) diff --git a/css/toolbar.css b/css/toolbar.css index 2a370bf39a..bf196b29d3 100644 --- a/css/toolbar.css +++ b/css/toolbar.css @@ -1,12 +1,12 @@ /* ------- MAIN TOOLBAR ---------------- */ -.x-toolbar { - background: url(../images/default/toolbar/gray-bg.gif) repeat-x 0 0; - border-top: 1px solid #cbc7b8; - border-bottom: 1px solid #cbc7b8; - display: block; - position: relative; - padding: 1px; +.x-toolbar { + background: url(../images/default/toolbar/gray-bg.gif) repeat-x 0 0; + border-top: 1px solid #cbc7b8; + border-bottom: 1px solid #cbc7b8; + display: block; + position: relative; + padding: 1px; } /* .x-toolbar .x-btn @@ -274,22 +274,22 @@ /* NOT SURE WHAT THIS DOES ? - MS HACK? */ - -/* + +/* .mso .x-toolbar, .x-grid-mso .x-toolbar -{ - border: 0px none; - background: url(../images/default/grid/mso-hd.gif); -} +{ + border: 0px none; + background: url(../images/default/grid/mso-hd.gif); +} */ -/* disabled?? */ +/* disabled?? */ .x-toolbar .x-tb-button-disabled .x-tb-button-inner -{ - color:gray; - cursor:default; -} +{ + color:gray; + cursor:default; +} /* a seperator */ @@ -317,80 +317,86 @@ - -/* - Default button class is icon only. Add a class with a background-image property - to your toolbar button + +/* + Default button class is icon only. Add a class with a background-image property + to your toolbar button */ -/* +/* .x-toolbar .x-tb-button-inner -{ - background-position: center; - background-repeat: no-repeat; - display: block; - height: 16px; - width: 16px; - cursor:pointer; - white-space: nowrap; -} -*/ - -/* - Button class for icon and text. Add this class and a class with a background-image - to your toolbar button for both text and icon +{ + background-position: center; + background-repeat: no-repeat; + display: block; + height: 16px; + width: 16px; + cursor:pointer; + white-space: nowrap; +} +*/ + +/* + Button class for icon and text. Add this class and a class with a background-image + to your toolbar button for both text and icon */ -/* +/* .x-toolbar .x-tb-text-icon -{ - background-position: 0px 0px; - background-repeat: no-repeat; - padding-left:18px; - padding-top:1px; - width:auto; - display:block; -} -*/ - -/* - Button class for a button with only text. Add this class - to your toolbar button for a just text button +{ + background-position: 0px 0px; + background-repeat: no-repeat; + padding-left:18px; + padding-top:1px; + width:auto; + display:block; +} +*/ + +/* + Button class for a button with only text. Add this class + to your toolbar button for a just text button */ -/* -.x-toolbar .x-tb-text-only{ - background:none; - padding-left:0px; - padding-top:1px; - width:auto; - display:block; -} -.x-toolbar .x-tb-text{ - padding:2px; -} -.x-toolbar .x-tb-button{ - padding:2px 3px; - display:block; -} -.x-toolbar .x-tb-button-over{ - background:#c3d3ed url(../images/default/toolbar/btn-over-bg.gif) repeat-x; - border:1px solid #6593cf; - padding:1px 2px; -} -.x-toolbar .x-tb-sep { - background-image: url(../images/default/grid/grid-split.gif); - background-position: center; - background-repeat: no-repeat; - display: block; - font-size: 1px; - height: 16px; - width:4px; - overflow: hidden; - cursor:default; - margin: 0px 2px 0px; - border:0px; -} -.mso .x-toolbar .x-tb-sep, .x-grid-mso .x-toolbar .x-tb-sep{ - background-image: url(../images/default/grid/grid-blue-split.gif); -} - -*/ \ No newline at end of file +/* +.x-toolbar .x-tb-text-only{ + background:none; + padding-left:0px; + padding-top:1px; + width:auto; + display:block; +} +.x-toolbar .x-tb-text{ + padding:2px; +} +.x-toolbar .x-tb-button{ + padding:2px 3px; + display:block; +} +.x-toolbar .x-tb-button-over{ + background:#c3d3ed url(../images/default/toolbar/btn-over-bg.gif) repeat-x; + border:1px solid #6593cf; + padding:1px 2px; +} +.x-toolbar .x-tb-sep { + background-image: url(../images/default/grid/grid-split.gif); + background-position: center; + background-repeat: no-repeat; + display: block; + font-size: 1px; + height: 16px; + width:4px; + overflow: hidden; + cursor:default; + margin: 0px 2px 0px; + border:0px; +} +.mso .x-toolbar .x-tb-sep, .x-grid-mso .x-toolbar .x-tb-sep{ + background-image: url(../images/default/grid/grid-blue-split.gif); +} + +*/ + + +/** ---- Toolbar ontop of tab bar ---------- **/ +.x-tabs-strip-wrap .x-toolbar { + background: none; +} -- 2.39.2