source: Dev/branches/rest-dojo-ui/client/dojox/image/resources/Lightbox.css @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 3.1 KB
Line 
1
2/* dojox.image.Lightbox:base */
3/* FIXME: should be be doing this? I want a black underlay, but this sets ALL dialogs to black,
4    but because it's decendant of body, i can't set this color any other way ... */
5.tundra .dijitDialogUnderlay,
6.nihilo .dijitDialogUnderlay,
7.soria .dijitDialogUnderlay {
8        background-color:#000;
9}
10
11.claro .dojoxLightbox .dijitDialogCloseIconHover,
12.nihilo .dojoxLightbox .dijitDialogCloseIconHover,
13.tundra .dojoxLightbox .dijitDialogCloseIconHover,
14.tundra .dojoxLightbox .dijitDialogCloseIconActive,
15.nihilo .dojoxLightbox .dijitDialogCloseIconActive,
16.claro .dojoxLightbox .dijitDialogCloseIconActive {
17    background:url('images/close.png') no-repeat 0 0;
18}
19
20/* more specific to override .theme .dijitDialog name. might try baseClass="dojoxLightbox"
21   but that would require additional overriden CSS on top of the original Dialog.css       */
22.claro .dojoxLightbox,
23.soria .dojoxLightbox,
24.nihilo .dojoxLightbox,
25.tundra .dojoxLightbox {
26        position:absolute;
27        z-index:999;
28        overflow:hidden;
29        width:100px;
30        height:100px;
31        border:11px solid #fff !important; /* not happy, but all themes overwrite this to 1px */
32        background:#fff url('images/loading.gif') no-repeat center center;
33
34        /* special safari + FF specific rounding + shadows */
35        -webkit-box-shadow: 0px 6px 10px #636363; /* #adadad; */
36        -webkit-border-radius: 3px;
37        -moz-border-radius:4px;
38        border-radius: 4px;
39}
40
41.dojoxLightboxContainer {
42        position:absolute;
43        top:0; left:0;
44        background-color:#fff;
45}
46
47.dojoxLightboxFooter {
48        padding-bottom:5px;
49        position:relative;
50        bottom:0;
51        left:0;
52        margin-top:8px;
53        color:#333;
54        z-index:1000;
55        font-size:10pt;
56}
57
58.dojoxLightboxGroupText {
59        color:#666;
60        font-size:8pt;
61}
62
63.LightboxNext,
64.LightboxPrev,
65.LightboxClose {
66        float:right;
67        width:16px;
68        height:16px;
69        cursor:pointer;
70}
71
72/* dojox.image.Lightbox:tundra:nihilo */
73
74.claro .LightboxClose,
75.nihilo .LightboxClose,
76.tundra .LightboxClose {
77        background:url('images/close.png') no-repeat center center;
78}
79
80.di_ie6 .claro .LightboxClose,
81.di_ie6 .nihilo .LightboxClose,
82.dj_ie6 .tundra .LightboxClose {
83        background:url('images/close.gif') no-repeat center center;
84}
85
86.claro .LightboxNext,
87.nihilo .LightboxNext,
88.tundra .LightboxNext {
89        background:url('images/right.png') no-repeat center center;
90}
91
92.dj_ie6 .claro .LightboxNext,
93.dj_ie6 .nihilo .LightboxNext,
94.dj_ie6 .tundra .LightboxNext {
95        background:url('images/right.gif') no-repeat center center;
96}
97
98.claro .LightboxPrev,
99.nihilo .LightboxPrev,
100.tundra .LightboxPrev {
101        background:url('images/left.png') no-repeat center center;
102}
103
104.dj_ie6 .claro .LightboxPrev,
105.dj_ie6 .nihilo .LightboxPrev,
106.dj_ie6 .tundra .LightboxPrev {
107        background:url('images/left.gif') no-repeat center center;
108}
109
110/* dojox.image.Lightbox:soria */
111.soria .LightboxClose,
112.soria .LightboxNext,
113.soria .LightboxPrev {
114        width:15px;
115        height:15px;
116        background:url('../../../dijit/themes/soria/images/spriteRoundedIconsSmall.png') no-repeat center center;
117        background-position:-60px;
118}
119.soria .LightboxNext {
120        background-position:-30px 0;
121}
122.soria .LightboxPrev {
123        background-position:0 0;
124}
125
126.dojoxLightboxText {
127        margin:0; padding:0;
128}
Note: See TracBrowser for help on using the repository browser.