3 * Styling Dialog includes two sections: Dialog and Tooltip & TooltipDialog
6 * 1. Dialog (default styling):
7 * .dijitDialog - styles for dialog's bounding box
10 * .dijitDialogTitleBar - styles for the title container at the top of dialog
11 * .dijitDialogTitle - the text container in dialog title
14 * .dijitDialogPaneContent - main container for content area and action bar
15 * .dijitDialogPaneContentArea - styles for content container
17 * 4. Dialog action bar
18 * .dijitDialogPaneActionBar - styles for action buttons lie at the bottom of dialog pane content
21 * .dijitDialogUnderlay - div under the dialog which used for separate dialog and page content
24 * Tooltip & TooltipDialog:
25 * 1. tooltip content container:
26 * .dijitTooltipContainer - tooltip content container
28 * 2. tooltip connector:
29 * .dijitTooltipConnector - tooltip anchor includes 4 direction(up, down, left, right)
35 border: 1px solid @popup-border-color;
36 .box-shadow(0 1px 5px rgba(0,0,0,0.25));
39 .claro .dijitDialogPaneContent {
40 background: @pane-background-color repeat-x top left;
41 border-top: 1px solid @popup-border-color;
46 .claro .dijitDialogPaneContentArea {
47 /* trick to get action bar (gray bar at bottom with OK/cancel buttons) to span from
48 * left to right but still indent dialog content
54 .claro .dijitDialogPaneActionBar {
55 /* gray bar at bottom of dialog with OK/Cancel buttons */
56 background-color: @bar-background-color;
57 padding: 3px 5px 2px 7px;
59 border-top: 1px solid @minor-border-color;
60 margin: 10px -8px -10px;
62 .claro .dijitDialogPaneActionBar .dijitButton {
66 .claro .dijitDialogTitleBar {
67 /* outer container for the titlebar of the dialog */
68 border: 1px solid @dialog-titlebar-border-color;
70 background-color: @dialog-titlebar-background-color;
71 background-image: url(@image-titlebar);
72 background-repeat:repeat-x;
73 padding: 5px 7px 4px 7px;
76 .claro .dijitDialogTitle {
77 /* typography and styling of the dialog title */
83 .claro .dijitDialogCloseIcon {
84 /* the default close icon for the dialog */
85 background: url(@image-dialog-close);
86 background-repeat:no-repeat;
92 .dj_ie6 .claro .dijitDialogCloseIcon {
93 background-image: url(@image-dialog-close-ie6);
95 .claro .dijitDialogCloseIconHover {
96 background-position:-21px;
98 .claro .dijitDialogCloseIconActive {
99 background-position:-42px;
102 /* Tooltip and TooltipDialog */
104 .claro .dijitTooltip,
105 .claro .dijitTooltipDialog {
106 /* the outermost dom node, holding the connector and container */
107 background: transparent; /* make the area on the sides of the arrow transparent */
110 /* leave room for arrow above content */
117 /* leave room for arrow below content */
118 padding-bottom: 13px;
123 .claro .dijitTooltipContainer {
124 /* the part with the text */
125 background-color:@popup-background-color;
126 background-image:url(@image-tooltip-gradient);
127 background-repeat:repeat-x;
128 background-position:bottom;
129 border:1px solid @popup-border-color;
132 .box-shadow(0 1px 3px rgba(0,0,0,0.25));
137 .dj_ie6 .claro .dijitTooltipContainer {
138 background-image: none;
140 .claro .dijitTooltipConnector {
141 /* the arrow piece */
144 background-image:url(@image-tooltip);
145 background-repeat:no-repeat;
149 .dj_ie6 .claro .dijitTooltipConnector {
150 background-image:url(@image-tooltip-ie6);
152 .claro .dijitTooltipABRight .dijitTooltipConnector {
153 /* above or below tooltip, but the arrow appears on the right,
154 and the right edges of target and tooltip are aligned rather than the left */
155 left: auto !important;
159 .claro .dijitTooltipBelow .dijitTooltipConnector {
160 /* the arrow piece for tooltips below an element */
163 background-position:-31px 0;
168 .claro .dijitTooltipAbove .dijitTooltipConnector {
169 /* the arrow piece for tooltips above an element */
172 background-position:-15px 0;
176 .dj_ie7 .claro .dijitTooltipAbove .dijitTooltipConnector,
177 .dj_ie6 .claro .dijitTooltipAbove .dijitTooltipConnector {
181 .claro .dijitTooltipLeft {
184 .claro .dijitTooltipLeft .dijitTooltipConnector {
185 /* the arrow piece for tooltips to the left of an element, bottom borders aligned */
187 background-position:0 0;
192 .claro .dijitTooltipRight {
195 .claro .dijitTooltipRight .dijitTooltipConnector {
196 /* the arrow piece for tooltips to the right of an element, bottom borders aligned */
198 background-position:-48px 0;
203 .claro .dijitDialogUnderlay {
204 background: @dialog-underlay-color;