-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdialog2-black.css
More file actions
87 lines (75 loc) · 1.94 KB
/
Copy pathdialog2-black.css
File metadata and controls
87 lines (75 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
-- Even more rounded corners with CSS: Base stylesheet --
*/
.dialog-black {
position:relative;
margin:0px auto;
min-width:8em;
max-width:760px; /* based on image dimensions - not quite consistent with drip styles yet */
color:#fff;
z-index:1;
margin-left:12px; /* default, width of left corner */
margin-bottom:0.5em; /* spacing under dialog */
}
.dialog-black .content-black,
.dialog-black .t-black,
.dialog-black .b-black,
.dialog-black .b-black div {
background:transparent url(dialog2-black-1600x1200.png) no-repeat top right;
_background-image:url(dialog2-black.gif);
}
.dialog-black .content-black {
position:relative;
zoom:1;
_overflow-y:hidden;
padding:0px 12px 0px 0px;
}
.dialog-black .t-black {
/* top+left vertical slice */
position:absolute;
left:0px;
top:0px;
width:12px; /* top slice width */
margin-left:-12px;
height:100%;
_height:1600px; /* arbitrary long height, IE 6 */
background-position:top left;
}
.dialog-black .b-black {
/* bottom */
position:relative;
width:100%;
}
.dialog-black .b-black,
.dialog-black .b-black div {
height:30px; /* height of bottom cap/shade */
font-size:1px;
}
.dialog-black .b-black {
background-position:bottom right;
}
.dialog-black .b-black div {
position:relative;
width:12px; /* bottom corner width */
margin-left:-12px;
background-position:bottom left;
}
.dialog-black .hd,
.dialog-black .b-blackd,
.dialog-black .ft {
position:relative;
}
.dialog-black .wrapper {
/* extra content protector - preventing vertical overflow (past background) */
position:static;
max-height:1000px;
overflow:auto; /* note that overflow:auto causes a rather annoying redraw "lag" in Firefox 2, and may degrade performance. Might be worth trying without if you aren't worried about height/overflow issues. */
}
.dialog-black h1,
.dialog-black p {
margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
padding:0.5em 0px 0.5em 0px;
}
.dialog-black h1 {
padding-bottom:0px;
}