]> git.wh0rd.org Git - tt-rss.git/blob - lib/dijit/themes/claro/Dialog.css
update dojo to 1.7.3
[tt-rss.git] / lib / dijit / themes / claro / Dialog.css
1 /* Dialog 
2  * 
3  * Styling Dialog includes two sections: Dialog and Tooltip & TooltipDialog
4  * 
5  * Dialog:
6  * 1. Dialog (default styling): 
7  *              .dijitDialog - styles for dialog's bounding box
8  *
9  * 2. Dialog title 
10  *              .dijitDialogTitleBar - styles for the title container at the top of dialog
11  *              .dijitDialogTitle - the text container in dialog title
12  * 
13  * 3. Dialog content 
14  *              .dijitDialogPaneContent - main container for content area and action bar
15  *              .dijitDialogPaneContentArea - styles for content container
16  * 
17  * 4. Dialog action bar 
18  *              .dijitDialogPaneActionBar - styles for action buttons lie at the bottom of dialog pane content
19  * 
20  * 5. Dialog underlay 
21  *              .dijitDialogUnderlay - div under the dialog which used for separate dialog and page content
22  * 
23  * 
24  * Tooltip & TooltipDialog:
25  * 1. tooltip content container: 
26  *              .dijitTooltipContainer - tooltip content container
27  *
28  * 2. tooltip connector: 
29  *              .dijitTooltipConnector - tooltip anchor includes 4 direction(up, down, left, right)
30  */
31 .claro .dijitDialog {
32   border: 1px solid #759dc0;
33   -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
34   -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
35   box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
36 }
37 .claro .dijitDialogPaneContent {
38   background: #ffffff repeat-x top left;
39   border-top: 1px solid #759dc0;
40   padding: 10px 8px;
41   position: relative;
42 }
43 .claro .dijitDialogPaneContentArea {
44   /* trick to get action bar (gray bar at bottom with OK/cancel buttons) to span from
45          * left to right but still indent dialog content
46          */
47   margin: -10px -8px;
48   padding: 10px 8px;
49 }
50 .claro .dijitDialogPaneActionBar {
51   /* gray bar at bottom of dialog with OK/Cancel buttons */
52
53   background-color: #efefef;
54   padding: 3px 5px 2px 7px;
55   text-align: right;
56   border-top: 1px solid #d3d3d3;
57   margin: 10px -8px -10px;
58 }
59 .claro .dijitDialogPaneActionBar .dijitButton {
60   float: none;
61 }
62 .claro .dijitDialogTitleBar {
63   /* outer container for the titlebar of the dialog */
64
65   border: 1px solid #ffffff;
66   border-top: none;
67   background-color: #abd6ff;
68   background-image: url("images/titlebar.png");
69   background-repeat: repeat-x;
70   padding: 5px 7px 4px 7px;
71 }
72 .claro .dijitDialogTitle {
73   /* typography and styling of the dialog title */
74
75   padding: 0 1px;
76   font-size: 1.091em;
77   color: #000000;
78 }
79 .claro .dijitDialogCloseIcon {
80   /* the default close icon for the dialog */
81
82   background: url("images/dialogCloseIcon.png");
83   background-repeat: no-repeat;
84   position: absolute;
85   right: 5px;
86   height: 15px;
87   width: 21px;
88 }
89 .dj_ie6 .claro .dijitDialogCloseIcon {
90   background-image: url("images/dialogCloseIcon8bit.png");
91 }
92 .claro .dijitDialogCloseIconHover {
93   background-position: -21px;
94 }
95 .claro .dijitDialogCloseIconActive {
96   background-position: -42px;
97 }
98 /* Tooltip and TooltipDialog */
99 .claro .dijitTooltip, .claro .dijitTooltipDialog {
100   /* the outermost dom node, holding the connector and container */
101
102   background: transparent;
103   /* make the area on the sides of the arrow transparent */
104
105 }
106 .dijitTooltipBelow {
107   /* leave room for arrow above content */
108
109   padding-top: 13px;
110   padding-left: 3px;
111   padding-right: 3px;
112 }
113 .dijitTooltipAbove {
114   /* leave room for arrow below content */
115
116   padding-bottom: 13px;
117   padding-left: 3px;
118   padding-right: 3px;
119 }
120 .claro .dijitTooltipContainer {
121   /* the part with the text */
122
123   background-color: #ffffff;
124   background-image: url("images/tooltipGradient.png");
125   background-repeat: repeat-x;
126   background-position: bottom;
127   border: 1px solid #759dc0;
128   padding: 6px 8px;
129   -moz-border-radius: 4px;
130   border-radius: 4px;
131   -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
132   -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
133   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
134   font-size: 1em;
135   color: #000000;
136 }
137 .dj_ie6 .claro .dijitTooltipContainer {
138   background-image: none;
139 }
140 .claro .dijitTooltipConnector {
141   /* the arrow piece */
142
143   border: 0;
144   z-index: 2;
145   background-image: url("images/tooltip.png");
146   background-repeat: no-repeat;
147   width: 16px;
148   height: 14px;
149 }
150 .dj_ie6 .claro .dijitTooltipConnector {
151   background-image: url("images/tooltip8bit.png");
152 }
153 .claro .dijitTooltipABRight .dijitTooltipConnector {
154   /* above or below tooltip, but the arrow appears on the right,
155                 and the right edges of target and tooltip are aligned rather than the left */
156
157   left: auto !important;
158   right: 3px;
159 }
160 .claro .dijitTooltipBelow .dijitTooltipConnector {
161   /* the arrow piece for tooltips below an element */
162
163   top: 0;
164   left: 3px;
165   background-position: -31px 0;
166   width: 16px;
167   height: 14px;
168 }
169 .claro .dijitTooltipAbove .dijitTooltipConnector {
170   /* the arrow piece for tooltips above an element */
171
172   bottom: 0;
173   left: 3px;
174   background-position: -15px 0;
175   width: 16px;
176   height: 14px;
177 }
178 .dj_ie7 .claro .dijitTooltipAbove .dijitTooltipConnector, .dj_ie6 .claro .dijitTooltipAbove .dijitTooltipConnector {
179   bottom: -1px;
180 }
181 .claro .dijitTooltipLeft {
182   padding-right: 14px;
183 }
184 .claro .dijitTooltipLeft .dijitTooltipConnector {
185   /* the arrow piece for tooltips to the left of an element, bottom borders aligned */
186
187   right: 0;
188   background-position: 0 0;
189   width: 16px;
190   height: 14px;
191 }
192 .claro .dijitTooltipRight {
193   padding-left: 14px;
194 }
195 .claro .dijitTooltipRight .dijitTooltipConnector {
196   /* the arrow piece for tooltips to the right of an element, bottom borders aligned */
197
198   left: 0;
199   background-position: -48px 0;
200   width: 16px;
201   height: 14px;
202 }
203 .claro .dijitDialogUnderlay {
204   background: #ffffff;
205 }