|
1 |
/* Dialog |
1 |
/* Dialog |
2 |
* |
2 |
* |
3 |
* Styling Dialog includes two sections: Dialog and Tooltip & TooltipDialog |
3 |
* Styling Dialog includes two sections: Dialog and Tooltip & TooltipDialog |
4 |
* |
4 |
* |
5 |
* Dialog: |
5 |
* Dialog: |
6 |
* 1. Dialog (default styling): |
6 |
* 1. Dialog (default styling): |
7 |
* .dijitDialog - styles for dialog's bounding box |
7 |
* .dijitDialog - styles for dialog's bounding box |
8 |
* |
8 |
* |
9 |
* 2. Dialog title |
9 |
* 2. Dialog title |
10 |
* .dijitDialogTitleBar - styles for the title container at the top of dialog |
10 |
* .dijitDialogTitleBar - styles for the title container at the top of dialog |
11 |
* .dijitDialogTitle - the text container in dialog title |
11 |
* .dijitDialogTitle - the text container in dialog title |
12 |
* |
12 |
* |
13 |
* 3. Dialog content |
13 |
* 3. Dialog content |
14 |
* .dijitDialogPaneContent - main container for content area and action bar |
14 |
* .dijitDialogPaneContent - main container for content area and action bar |
15 |
* .dijitDialogPaneContentArea - styles for content container |
15 |
* .dijitDialogPaneContentArea - styles for content container |
16 |
* |
16 |
* |
17 |
* 4. Dialog action bar |
17 |
* 4. Dialog action bar |
18 |
* .dijitDialogPaneActionBar - styles for action buttons lie at the bottom of dialog pane content |
18 |
* .dijitDialogPaneActionBar - styles for action buttons lie at the bottom of dialog pane content |
19 |
* |
19 |
* |
20 |
* 5. Dialog underlay |
20 |
* 5. Dialog underlay |
21 |
* .dijitDialogUnderlay - div under the dialog which used for separate dialog and page content |
21 |
* .dijitDialogUnderlay - div under the dialog which used for separate dialog and page content |
22 |
* |
22 |
* |
23 |
* |
23 |
* |
24 |
* Tooltip & TooltipDialog: |
24 |
* Tooltip & TooltipDialog: |
25 |
* 1. tooltip content container: |
25 |
* 1. tooltip content container: |
26 |
* .dijitTooltipContainer - tooltip content container |
26 |
* .dijitTooltipContainer - tooltip content container |
27 |
* |
27 |
* |
28 |
* 2. tooltip connector: |
28 |
* 2. tooltip connector: |
29 |
* .dijitTooltipConnector - tooltip anchor includes 4 direction(up, down, left, right) |
29 |
* .dijitTooltipConnector - tooltip anchor includes 4 direction(up, down, left, right) |
30 |
*/ |
30 |
*/ |
31 |
|
31 |
|
|
32 |
@import "variables" |
32 |
@import "variables" |
33 |
|
33 |
|
34 |
.umc .dijitDialog |
34 |
.umc .dijitDialog |
35 |
//border: 1px solid $popup-border-color |
35 |
material-shadow(5) |
36 |
border: none |
|
|
37 |
box-shadow: 0 0px 25px rgba(0,0,0,0.15) |
38 |
max-width: $dialog-max-width |
36 |
max-width: $dialog-max-width |
39 |
|
37 |
|
40 |
@media (max-width: $dialog-max-width) |
38 |
@media (max-width: $dialog-max-width) |
41 |
max-width: 100% |
39 |
max-width: 100% |
42 |
|
40 |
|
43 |
|
|
|
44 |
&.umcLargeDialog |
41 |
&.umcLargeDialog |
45 |
width: 100% |
42 |
width: 100% |
46 |
@media (min-width: ($dialog-max-width + 1)) |
43 |
@media (min-width: ($dialog-max-width + 1)) |
|
51 |
|
48 |
|
52 |
.umcPageFooter, |
49 |
.umcPageFooter, |
53 |
.umcButtonRow |
50 |
.umcButtonRow |
|
|
51 |
padding-top: 24px |
52 |
margin-top: 0 !important |
53 |
|
54 |
.dijitButton |
54 |
.dijitButton |
55 |
material-flat-button() |
55 |
material-flat-button() |
|
|
56 |
margin: 0 |
57 |
&:not(:first-child) |
58 |
margin-left: 8px |
56 |
|
59 |
|
|
|
60 |
.dijitButtonNode |
61 |
min-width: 64px |
62 |
|
57 |
.dijitDefaultButton .dijitButtonText |
63 |
.dijitDefaultButton .dijitButtonText |
58 |
color: $ucs-green |
64 |
color: $ucs-green |
59 |
|
65 |
|
|
|
66 |
.umcButtonRow |
67 |
margin-right: -16px |
68 |
text-align: right |
69 |
|
70 |
.dijitContainer |
71 |
overflow: visible |
60 |
|
72 |
|
|
|
73 |
.umcWizard |
74 |
overflow: visible |
75 |
|
76 |
.umcPage |
77 |
&:after |
78 |
content: '' |
79 |
display: block |
80 |
clear: both |
81 |
|
82 |
.umcPageFooter |
83 |
left: -16px |
84 |
width: calc(100% + 32px) |
85 |
|
61 |
.umc .dijitDialogPaneContent |
86 |
.umc .dijitDialogPaneContent |
62 |
background: $pane-background-color repeat-x top left |
87 |
background: $pane-background-color |
63 |
border-top: 1px solid $popup-border-color |
88 |
padding: 0 24px 8px 24px |
64 |
padding: 1.6em 1.2em 1.2em 1.2em |
|
|
65 |
position: relative |
89 |
position: relative |
66 |
//box-sizing: content-box |
|
|
67 |
|
90 |
|
68 |
|
|
|
69 |
.umc .dijitDialogPaneContent, |
91 |
.umc .dijitDialogPaneContent, |
70 |
.umc .dijitDialogTitleBar |
92 |
.umc .dijitDialogTitleBar |
71 |
width: 100% |
93 |
width: 100% |
|
75 |
.umc .dijitDialogPaneContentArea |
97 |
.umc .dijitDialogPaneContentArea |
76 |
/* trick to get action bar (gray bar at bottom with OK/cancel buttons) to span from |
98 |
/* trick to get action bar (gray bar at bottom with OK/cancel buttons) to span from |
77 |
* left to right but still indent dialog content |
99 |
* left to right but still indent dialog content |
78 |
*/ |
100 |
*/ |
79 |
margin: -10px -8px |
101 |
margin: -10px -8px |
80 |
padding: 10px 8px |
102 |
padding: 10px 8px |
81 |
|
103 |
|
82 |
|
|
|
83 |
.umc .dijitDialogPaneActionBar |
104 |
.umc .dijitDialogPaneActionBar |
84 |
/* gray bar at bottom of dialog with OK/Cancel buttons */ |
105 |
/* gray bar at bottom of dialog with OK/Cancel buttons */ |
85 |
//background-color: $bar-background-color |
106 |
//background-color: $bar-background-color |
|
100 |
.umc .dijitDialogPaneActionBar .dijitButton |
121 |
.umc .dijitDialogPaneActionBar .dijitButton |
101 |
float: none |
122 |
float: none |
102 |
|
123 |
|
103 |
|
|
|
104 |
.umc .dijitDialogTitleBar |
124 |
.umc .dijitDialogTitleBar |
105 |
/* outer container for the titlebar of the dialog */ |
125 |
/* outer container for the titlebar of the dialog */ |
106 |
//border: 1px solid $dialog-titlebar-border-color |
126 |
background-color: white |
107 |
border: none |
127 |
padding: 24px 24px 20px 24px |
108 |
border-top:none |
|
|
109 |
background-color: $dialog-titlebar-background-color |
110 |
standard-gradient() |
111 |
padding: 0.9em 3em 0.9em 1.2em |
112 |
//box-sizing: content-box |
113 |
|
128 |
|
114 |
|
129 |
|
115 |
.umc .dijitDialogTitle |
130 |
.umc .dijitDialogTitle |
116 |
/* typography and styling of the dialog title */ |
131 |
/* typography and styling of the dialog title */ |
117 |
padding: 0 1px |
|
|
118 |
font-size: $font-size-title |
132 |
font-size: $font-size-title |
119 |
color: $text-color-dark-background |
133 |
font-weight: 500 |
|
|
134 |
line-height: 28px |
135 |
color: $text-color |
120 |
|
136 |
|
121 |
|
|
|
122 |
.umc .dijitDialogCloseIcon |
123 |
/* the default close icon for the dialog */ |
124 |
//background: url($image-dialog-close) |
125 |
//background-repeat:no-repeat |
126 |
position: absolute |
127 |
right: 0 |
128 |
top: 0 |
129 |
margin: 0.75em 1.2em |
130 |
//height: 15px |
131 |
//width: 21px |
132 |
icon-image(0, -60, "", "-white") |
133 |
|
134 |
.dj_ie6 .umc .dijitDialogCloseIcon |
135 |
//background-image: url($image-dialog-close-ie6) |
136 |
|
137 |
.umc .dijitDialogCloseIconHover |
138 |
background-position:-20px -60px |
139 |
opacity: 1 |
140 |
|
141 |
.umc .dijitDialogCloseIconActive |
142 |
background-position:-20px -60px |
143 |
opacity: 0.66 |
144 |
|
145 |
|
146 |
/* Tooltip and TooltipDialog */ |
137 |
/* Tooltip and TooltipDialog */ |
147 |
|
138 |
|
148 |
.umc .dijitTooltip, |
139 |
.umc .dijitTooltip, |
|
152 |
padding: 4px |
143 |
padding: 4px |
153 |
//box-sizing: content-box |
144 |
//box-sizing: content-box |
154 |
|
145 |
|
155 |
|
|
|
156 |
.umc .dijitTooltip |
146 |
.umc .dijitTooltip |
157 |
box-sizing: content-box |
147 |
box-sizing: content-box |
158 |
|
148 |
|
|
232 |
right: 4px |
222 |
right: 4px |
233 |
|
223 |
|
234 |
|
224 |
|
235 |
|
|
|
236 |
.umc .dijitTooltipLeft |
225 |
.umc .dijitTooltipLeft |
237 |
//padding-right: 14px |
226 |
//padding-right: 14px |
238 |
|
227 |
|
|
283 |
opacity: 1 |
272 |
opacity: 1 |
284 |
|
273 |
|
285 |
|
274 |
|
|
|
275 |
/** inline dialogs **/ |
276 |
/* inline wizards */ |
277 |
.umc .umcWizard.umcInlineDialog, |
278 |
.umc .umcModule .umcWizard |
279 |
background-color: #fff |
280 |
material-shadow(1) |
281 |
margin: 7px 15px |
282 |
padding: 24px 9px 8px |
283 |
overflow: visible |
284 |
|
285 |
.umcPage |
286 |
&:after |
287 |
content: '' |
288 |
display: block |
289 |
clear: both |
290 |
|
291 |
.umcPageNav |
292 |
.umcPageHeader h1 |
293 |
line-height: 28px |
294 |
margin-bottom: 20px |
295 |
|
296 |
.umcPageFooter |
297 |
padding: 0 |
298 |
margin-top: 24px |
299 |
width: calc(100% + 2px) |
300 |
left: -1px |
301 |
|
302 |
.dijitButton |
303 |
material-flat-button() |
304 |
margin: 0 |
305 |
&:not(:first-child) |
306 |
margin-left: 8px |
307 |
|
308 |
.dijitDefaultButton, |
309 |
.dijitUploader |
310 |
.dijitButtonText |
311 |
color: $ucs-green |
312 |
|
313 |
.dijitTextBox, |
314 |
.dijitSelect |
315 |
background-color: #fafafa |
316 |
|
317 |
.dijitTextBoxDisabled |
318 |
background: $textbox-disabled-background-color |
319 |
|
320 |
.umc .umcWizard.umcInlineDialog |
321 |
margin: 48px auto |
322 |
|
323 |
/* App dialog */ |
324 |
.umc .umcAppDialog |
325 |
margin: 7px 15px |
326 |
&:after |
327 |
content: '' |
328 |
display: block |
329 |
clear: both |
330 |
|
331 |
.umcPageMain |
332 |
background-color: #fff |
333 |
material-shadow(1) |
334 |
padding: 24px 24px 8px |
335 |
|
336 |
.umcPageHeader h1 |
337 |
margin: 0 0 20px |
338 |
line-height: 28px |
339 |
|
340 |
.umcButtonRow |
341 |
margin: 0 -16px |
342 |
padding-top: 32px |
343 |
|
344 |
.dijitButton |
345 |
material-flat-button() |
346 |
margin: 0 |
347 |
&:not(:first-child) |
348 |
margin-left: 8px |
349 |
|
350 |
.umcPageFooter |
351 |
display: none |
352 |
|
353 |
.dijitTextBox, |
354 |
.dijitSelect |
355 |
background-color: #fafafa |
356 |
|
357 |
.dijitTextBoxDisabled |
358 |
background: $textbox-disabled-background-color |