]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/themes/claro/Dialog.css
744b649dddc5eacd1ea1375ae806fd2367e0a260
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)
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);
37 .claro .dijitDialogPaneContent {
38 background: #ffffff repeat-x top left
;
39 border-top: 1px solid
#759dc0;
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
50 .claro .dijitDialogPaneActionBar {
51 /* gray bar at bottom of dialog with OK/Cancel buttons */
53 background-color: #efefef;
54 padding: 3px 5px 2px 7px;
56 border-top: 1px solid
#d3d3d3;
57 margin: 10px -8px -10px;
59 .claro .dijitTooltipDialog .dijitDialogPaneActionBar {
60 -webkit-border-bottom-right-radius: 4px;
61 -webkit-border-bottom-left-radius: 4px;
62 border-bottom-right-radius: 4px;
63 border-bottom-left-radius: 4px;
64 -moz-border-radius-bottomright: 4px;
65 -moz-border-radius-bottomleft: 4px;
66 margin: 10px -10px -8px;
68 .claro .dijitDialogPaneActionBar .dijitButton {
71 .claro .dijitDialogTitleBar {
72 /* outer container for the titlebar of the dialog */
74 border: 1px solid
#ffffff;
76 background-color: #abd6ff;
77 background-image: url
("images/standardGradient.png");
78 background-repeat: repeat-x
;
79 background-image: -moz-linear-gradient
(rgba
(255, 255, 255, 0.7) 0%, rgba
(255, 255, 255, 0) 100%);
80 background-image: -webkit-linear-gradient
(rgba
(255, 255, 255, 0.7) 0%, rgba
(255, 255, 255, 0) 100%);
81 background-image: -o-linear-gradient
(rgba
(255, 255, 255, 0.7) 0%, rgba
(255, 255, 255, 0) 100%);
82 background-image: linear-gradient
(rgba
(255, 255, 255, 0.7) 0%, rgba
(255, 255, 255, 0) 100%);
83 _background-image: none
;
84 padding: 5px 7px 4px 7px;
86 .claro .dijitDialogTitle {
87 /* typography and styling of the dialog title */
93 .claro .dijitDialogCloseIcon {
94 /* the default close icon for the dialog */
96 background: url
("images/dialogCloseIcon.png");
97 background-repeat: no-repeat
;
103 .dj_ie6 .claro .dijitDialogCloseIcon {
104 background-image: url
("images/dialogCloseIcon8bit.png");
106 .claro .dijitDialogCloseIconHover {
107 background-position: -21px;
109 .claro .dijitDialogCloseIconActive {
110 background-position: -42px;
112 /* Tooltip and TooltipDialog */
113 .claro .dijitTooltip, .claro .dijitTooltipDialog {
114 /* the outermost dom node, holding the connector and container */
116 background: transparent
;
117 /* make the area on the sides of the arrow transparent */
121 /* leave room for arrow above content */
128 /* leave room for arrow below content */
130 padding-bottom: 13px;
134 .claro .dijitTooltipContainer {
135 /* the part with the text */
137 background-color: #ffffff;
138 background-image: -moz-linear-gradient
(bottom
, rgba
(207, 229, 250, 0.1) 0px, #ffffff 10px);
139 background-image: -webkit-linear-gradient
(bottom
, rgba
(207, 229, 250, 0.1) 0px, #ffffff 10px);
140 background-image: -o-linear-gradient
(bottom
, rgba
(207, 229, 250, 0.1) 0px, #ffffff 10px);
141 background-image: linear-gradient
(bottom
, rgba
(207, 229, 250, 0.1) 0px, #ffffff 10px);
142 background-position: bottom
;
143 border: 1px solid
#759dc0;
145 -moz-border-radius: 4px;
147 -webkit-box-shadow: 0 1px 3px rgba
(0, 0, 0, 0.25);
148 -moz-box-shadow: 0 1px 3px rgba
(0, 0, 0, 0.25);
149 box-shadow: 0 1px 3px rgba
(0, 0, 0, 0.25);
153 .claro .dijitTooltipConnector {
154 /* the arrow piece */
158 background-image: url
("images/tooltip.png");
159 background-repeat: no-repeat
;
163 .dj_ie6 .claro .dijitTooltipConnector {
164 background-image: url
("images/tooltip8bit.png");
166 .claro .dijitTooltipABRight .dijitTooltipConnector {
167 /* above or below tooltip, but the arrow appears on the right,
168 and the right edges of target and tooltip are aligned rather than the left */
170 left: auto
!important
;
173 .claro .dijitTooltipBelow .dijitTooltipConnector {
174 /* the arrow piece for tooltips below an element */
178 background-position: -31px 0;
182 .claro .dijitTooltipAbove .dijitTooltipConnector {
183 /* the arrow piece for tooltips above an element */
187 background-position: -15px 0;
191 .dj_ie7 .claro .dijitTooltipAbove .dijitTooltipConnector, .dj_ie6 .claro .dijitTooltipAbove .dijitTooltipConnector {
194 .claro .dijitTooltipLeft {
197 .claro .dijitTooltipLeft .dijitTooltipConnector {
198 /* the arrow piece for tooltips to the left of an element, bottom borders aligned */
201 background-position: 0 0;
205 .claro .dijitTooltipRight {
208 .claro .dijitTooltipRight .dijitTooltipConnector {
209 /* the arrow piece for tooltips to the right of an element, bottom borders aligned */
212 background-position: -48px 0;
216 .claro .dijitDialogUnderlay {