2 Copyright (c) 2007, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.net/yui/license.txt
7 /* Setup the container with some padding and zoom it for IE's hasLayout */
8 .yui-toolbar-container .yui-toolbar-subcont {
12 /* Setup the :after so that compliant browsers don't loose the bounding box */
13 .yui-toolbar-container .yui-toolbar-subcont:after { display: block
; clear: both
; visibility: hidden
; content: '.'; height: 0;}
15 /* Drag handle for the toolbar's draggable property */
16 .yui-toolbar-container span.yui-toolbar-draghandle {
18 border-left: 1px solid
#999;
19 border-right: 1px solid
#999;
29 /* If the titlebar is draggable, the set the cursor */
30 .yui-toolbar-container .yui-toolbar-titlebar.draggable {
33 /* Set the titlebar to relative so we can position the collapse button */
34 .yui-toolbar-container .yui-toolbar-titlebar {
37 /* Toolbar's titlebar styles */
38 .yui-toolbar-container .yui-toolbar-titlebar h2 {
45 /* If the toolbar is grouped the draghandle needs to be bigger */
46 .yui-toolbar-container.yui-toolbar-grouped span.yui-toolbar-draghandle {
50 /* Float the groups so they position nicely and zoom them for IE */
51 .yui-toolbar-container .yui-toolbar-group {
55 /* Setup the :after so that compliant browsers don't loose the bounding box */
56 .yui-toolbar-container .yui-toolbar-group:after { display: block
; clear: both
; visibility: hidden
; content: '.'; height: 0;}
57 /* Grouped title styles */
58 .yui-toolbar-container .yui-toolbar-group h3 {
63 /* Style the separators with a left border */
64 .yui-toolbar-container span.yui-toolbar-separator {
65 border-left: 1px solid
#999;
70 margin: .2em 0 .2em .1em;
75 /* Set the height of a grouped separator to a little bit bigger */
76 .yui-toolbar-container.yui-toolbar-grouped span.yui-toolbar-separator {
80 /* Reset the height of a separator inside of a group */
81 .yui-toolbar-container.yui-toolbar-grouped .yui-toolbar-group span.yui-toolbar-separator {
85 /* Kill the default styles of the list */
86 .yui-toolbar-container ul li {
91 /* Setup the default style of a button in the toolbar */
92 .yui-toolbar-container .yui-button {
93 border: 1px solid
#999999;
104 filter: none
; /* UNDO Button filter..*/
107 /* setup the default style of the A inside of the toolbar button */
108 .yui-toolbar-container .yui-button .first-child, .yui-toolbar-container .yui-button .first-child a {
112 text-indent: 50px !important
; /* IE Fix */
117 /* Setup the disabled state of a button */
118 .yui-toolbar-container .yui-button-disabled {
120 filter: alpha
(opacity
=50);
123 /* remove any padding from the A */
124 .yui-toolbar-container .yui-button a {
127 /* Fix a style inherited from the Button widget for IE */
128 .yui-toolbar-container .yui-button.ie6.hover {
129 background-color: #98D5FC !important
;
132 /* Select Button Emulation */
133 .yui-toolbar-container .yui-toolbar-select {
138 /* Override the default Button style for select menu*/
139 .yui-toolbar-container .yui-toolbar-select a {
141 background-color: transparent
;
150 .yui-toolbar-container .yui-toolbar-select .first-child {
151 width: 100% !important
; /* For IE */
153 /* Reset the text-indent because we want to see the text of a select menu */
154 .yui-toolbar-container .yui-toolbar-select .first-child a {
155 text-indent: 3px !important
;
156 width: 100% !important
; /* For IE */
159 /* Fix styles inherited from Button */
160 .yui-toolbar-container .yui-toolbar-select.yui-button-disabled a {
168 /* Font Family Drop Down */
169 .yui-toolbar-container .yui-toolbar-fontname {
173 /* Header Drop Down */
174 .yui-toolbar-container .yui-toolbar-heading {
178 /* Font Family Menu Style - This styles the menu items and the selected menu item */
179 .yui-toolbar-fontname-arial { font-family: Arial
; }
180 .yui-toolbar-fontname-arial-black { font-family: Arial Black
; }
181 .yui-toolbar-fontname-comic-sans-ms { font-family: Comic Sans MS
; }
182 .yui-toolbar-fontname-courier-new { font-family: Courier New
; }
183 .yui-toolbar-fontname-times-new-roman { font-family: Times New Roman
; }
184 .yui-toolbar-fontname-verdana { font-family: Verdana
; }
185 .yui-toolbar-fontname-impact { font-family: Impact
; }
186 .yui-toolbar-fontname-lucida-console { font-family: Lucida Console
; }
187 .yui-toolbar-fontname-tahoma { font-family: Tahoma
; }
188 .yui-toolbar-fontname-trebuchet-ms { font-family: Trebuchet MS
; }
190 /* Put a fake border around buttons that have focus */
191 .yui-toolbar-container .yui-push-button-focus {
192 border: 1px dotted
#999;
196 .yui-toolbar-container .yui-toolbar-spinbutton {
201 /* Set a default width */
202 .yui-toolbar-container .yui-toolbar-spinbutton .first-child {
205 /* Setup the default style for the A */
206 .yui-toolbar-container .yui-toolbar-spinbutton .first-child a {
208 background-color: transparent
;
209 background-image: none
;
210 background-repeat: no-repeat
;
214 text-indent: 2px !important
;
220 /* Setup the position and style for the up and down arrows */
221 .yui-toolbar-container .yui-toolbar-spinbutton.yui-button a.up, .yui-toolbar-container .yui-toolbar-spinbutton.yui-button a.down {
231 /* Position all panels/overlays as absolute by default */
232 .yui-toolbar-container .yui-overlay {
235 /* Smash the default style for lists */
236 .yui-toolbar-container .yui-overlay ul li {
240 /* Setup the default look of a color menu and Zoom it for IE */
241 .yui-toolbar-colors {
249 /* Setup the :after so that compliant browsers don't loose the bounding box */
250 .yui-toolbar-colors:after { display: block
; clear: both
; visibility: hidden
; content: '.'; height: 0;}
251 /* Style all of the A's so the float properly */
252 .yui-toolbar-colors a {
261 border: 1px solid
#F6F7EE;
263 /* Put a little border around one that is hovered over */
264 .yui-toolbar-colors a:hover {
265 border: 1px solid black
;
268 /* Smash the inhertited Menu style */
269 .yui-color-button-menu {
271 background-color: transparent
;
274 /* This is the preview box at the bottom of the menu - Zoom it for IE */
275 .yui-toolbar-colors span {
284 /* Setup the :after so that compliant browsers don't loose the bounding box */
285 .yui-toolbar-colors span:after { display: block
; clear: both
; visibility: hidden
; content: '.'; height: 0;}
287 /* This is the box with the color preview in it */
288 .yui-toolbar-colors span em {
296 border: 1px solid black
;
299 /* The container for the name and hex code */
300 .yui-toolbar-colors span strong {
309 /* Reset the z-index of the toolbar container so that menu's appear over the iframe in IE and Safari */
310 .yui-toolbar-container {
314 /* The div around the iFrame */
315 .yui-editor-container .yui-editor-editable-container {
319 /* The disbled state of the Editor */
320 .yui-editor-container .yui-editor-masked {
321 background-color: #CCC;
323 /* Style the eidtable iframe to hide it */
324 .yui-editor-container iframe {
329 /* Reset some padding on the editable iframes container */
330 .yui-editor-container .yui-editor-editable {
334 /* Style the dom path box at the bottom of the editor */
335 .yui-editor-container .dompath {
341 /* Header styles for the Property Editor */
342 .yui-editor-panel .hd {
346 /* Setup some padding around the h3 */
347 .yui-editor-panel .hd h3 {
349 padding: 0.25em 0pt 0.25em 0.25em;
352 /* set it to relative so we can position the close button - Zoom it for IE */
353 .yui-editor-panel .bd {
358 /* Setup some padding for the body container - Zoom it for IE */
359 .yui-editor-panel .bd div.yui-editor-body-cont {
364 /* Setup the :after so that compliant browsers don't loose the bounding box */
365 .yui-editor-panel .bd div.yui-editor-body-cont:after { display: block
; clear: both
; visibility: hidden
; content: '.'; height: 0;}
367 /* style the footer of the property editor */
368 .yui-editor-panel .ft {
375 /* Style the "tip" icon */
376 .yui-editor-panel .ft span.tip {
386 /* setup some form fields */
387 .yui-editor-panel label {
391 overflow: auto
; /* This fixes the caret issue in Firefox */
397 /* more form fields */
398 .yui-editor-panel label strong {
403 /* The remove link in the Link Property Editor */
404 .yui-editor-panel .removeLink {
409 /* More form styling */
410 .yui-editor-panel label input {
415 /* Image Padding in the Property Editor */
416 .yui-editor-panel .yui-toolbar-group-padding {
420 /* Image Border in the Property Editor */
421 .yui-editor-panel .yui-toolbar-group-border {
426 /* Image Text Flow in the Property Editor */
427 .yui-editor-panel .yui-toolbar-group-textflow {
432 /* Image Height/Width in the Property Editor */
433 .yui-editor-panel .height-width {
437 /* Image Height/Width title */
438 .yui-editor-panel .height-width h3 {
441 /* Image Height/Width container */
442 .yui-editor-panel .height-width span {
448 /* Image Height/Width original info container */
449 .yui-editor-panel .height-width span.info {
453 /* Border Size/Type button widths */
454 .yui-editor-panel .yui-toolbar-bordersize, .yui-editor-panel .yui-toolbar-bordertype {
459 /* Kill the separators in the Property Editor */
460 .yui-editor-panel .yui-toolbar-container span.yui-toolbar-separator {
464 /* Undo the floats on the a's */
465 .yui-editor-panel .yui-toolbar-container div.yuimenu li.yuimenuitem a {
469 /* Border Type solid */
470 .yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-solid {
471 border-bottom: 1px solid black
;
480 /* Border Type dotted */
481 .yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-dotted {
482 border-bottom: 1px dotted black
;
491 /* Border Type dashed */
492 .yui-editor-panel .yui-toolbar-bordertype span a span.yui-toolbar-bordertype-dashed {
493 border-bottom: 1px dashed black
;
503 .yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-1 {
504 border-bottom: 1px solid black
;
514 .yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-2 {
515 border-bottom: 2px solid black
;
525 .yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-3 {
526 border-bottom: 3px solid black
;
536 .yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-4 {
537 border-bottom: 4px solid black
;
547 .yui-editor-panel .yui-toolbar-bordersize span a span.yui-toolbar-bordersize-5 {
548 border-bottom: 5px solid black
;
558 /* Border Size menu size */
559 .yui-toolbar-container .yui-toolbar-bordersize-menu {
562 /* Border Size menu styles */
563 .yui-toolbar-bordersize-menu .yuimenuitemlabel, .yui-toolbar-bordertype-menu .yuimenuitemlabel {
571 /* Border Size menu styles - Checked */
572 .yui-toolbar-bordersize-menu .yuimenuitemlabel .checkedindicator, .yui-toolbar-bordertype-menu .yuimenuitemlabel .checkedindicator {
576 /* Border Size menu styles - Selected */
577 .yui-toolbar-bordersize-menu .yuimenuitem a.selected, .yui-toolbar-bordertype-menu .yuimenuitem a.selected {
581 /* Border Size 0 - Menu Item */
582 div
.yuimenu
.yui-toolbar-bordersize-menu li
.yui-toolbar-bordersize-0 a
{
585 /* Border Size 0 - Selected Menu Item */
586 div
.yuimenu
.yui-toolbar-bordersize-menu li
.yui-toolbar-bordersize-0 a
.selected
{
589 /* Border Size 1 - Menu Item */
590 div
.yuimenu
.yui-toolbar-bordersize-menu li
.yui-toolbar-bordersize-1 a
{
591 border-bottom: 1px solid black
;
593 /* Border Size 2 - Menu Item */
594 div
.yuimenu
.yui-toolbar-bordersize-menu li
.yui-toolbar-bordersize-2 a
{
595 border-bottom: 2px solid black
;
597 /* Border Size 3 - Menu Item */
598 div
.yuimenu
.yui-toolbar-bordersize-menu li
.yui-toolbar-bordersize-3 a
{
599 border-bottom: 3px solid black
;
601 /* Border Size 4 - Menu Item */
602 div
.yuimenu
.yui-toolbar-bordersize-menu li
.yui-toolbar-bordersize-4 a
{
603 border-bottom: 4px solid black
;
605 /* Border Size 5 - Menu Item */
606 div
.yuimenu
.yui-toolbar-bordersize-menu li
.yui-toolbar-bordersize-5 a
{
607 border-bottom: 5px solid black
;
611 /* Border Type Solid - Menu Item */
612 div
.yuimenu
.yui-toolbar-bordertype-menu li
.yui-toolbar-bordertype-solid a
{
613 border-bottom: 1px solid black
;
615 /* Border Type Dashed - Menu Item */
616 div
.yuimenu
.yui-toolbar-bordertype-menu li
.yui-toolbar-bordertype-dashed a
{
617 border-bottom: 1px dashed black
;
619 /* Border Type Dotted - Menu Item */
620 div
.yuimenu
.yui-toolbar-bordertype-menu li
.yui-toolbar-bordertype-dotted a
{
621 border-bottom: 1px dotted black
;
623 /* Hidden Headers for Accessibility */
624 h2
.yui-editor-skipheader
, h3
.yui-editor-skipheader
{