~bcsaller/juju-gui/charmFind

« back to all changes in this revision

Viewing changes to lib/yui/docs/assets/panel/css/main.css

  • Committer: kapil.foss at gmail
  • Date: 2012-07-13 18:45:59 UTC
  • Revision ID: kapil.foss@gmail.com-20120713184559-2xl7be17egsrz0c9
reshape

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Font sizes for all selectors other than the body are given in percentages,
3
 
with 100% equal to 13px. To calculate a font size percentage, multiply the
4
 
desired size in pixels by 7.6923076923.
5
 
 
6
 
Here's a quick lookup table:
7
 
 
8
 
10px - 76.923%
9
 
11px - 84.615%
10
 
12px - 92.308%
11
 
13px - 100%
12
 
14px - 107.692%
13
 
15px - 115.385%
14
 
16px - 123.077%
15
 
17px - 130.769%
16
 
18px - 138.462%
17
 
19px - 146.154%
18
 
20px - 153.846%
19
 
*/
20
 
 
21
 
html {
22
 
    background: #fff;
23
 
    color: #333;
24
 
    overflow-y: scroll;
25
 
}
26
 
 
27
 
body {
28
 
    font: 13px/1.4 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', 'Bitstream Vera Sans', 'Helvetica', 'Arial', sans-serif;
29
 
    margin: 0;
30
 
    padding: 0;
31
 
}
32
 
 
33
 
/* -- Links ----------------------------------------------------------------- */
34
 
a {
35
 
    color: #356de4;
36
 
    text-decoration: none;
37
 
}
38
 
 
39
 
a:hover { text-decoration: underline; }
40
 
 
41
 
/* "Jump to Table of Contents" link is shown to assistive tools, but hidden from
42
 
   sight until it's focused. */
43
 
.jump {
44
 
    position: absolute;
45
 
    padding: 3px 6px;
46
 
    left: -99999px;
47
 
    top: 0;
48
 
}
49
 
 
50
 
.jump:focus { left: 40%; }
51
 
 
52
 
/* -- Paragraphs ------------------------------------------------------------ */
53
 
p { margin: 1.3em 0; }
54
 
dd p, td p { margin-bottom: 0; }
55
 
dd p:first-child, td p:first-child { margin-top: 0; }
56
 
 
57
 
/* -- Headings -------------------------------------------------------------- */
58
 
h1, h2, h3, h4, h5, h6 {
59
 
    font-weight: bold;
60
 
    line-height: 1.1;
61
 
    margin: 1.5em 0 1em;
62
 
}
63
 
 
64
 
h2, h3, h4, h5, h6 { color: #f80; }
65
 
 
66
 
h1 {
67
 
    font-family: Verdana, 'DejaVu Sans', 'Bitstream Vera Sans', Helvetica, sans-serif;
68
 
    font-size: 261.538%; /* 34px */
69
 
    margin: 25px 0 18px 25px;
70
 
    -moz-text-shadow: 1px 1px 2px #999;
71
 
    -webkit-text-shadow: 1px 1px 2px #999;
72
 
    text-shadow: 1px 1px 2px #999;
73
 
}
74
 
 
75
 
h2 {
76
 
    font-size: 153.846%;
77
 
    margin-top: 1.2em;
78
 
}
79
 
 
80
 
h3 { font-size: 138.462%; }
81
 
 
82
 
h4 {
83
 
    border-bottom: 1px solid #d9d9d9;
84
 
    color: #555;
85
 
    font-size: 115.385%;
86
 
    font-weight: normal;
87
 
    text-transform: uppercase;
88
 
}
89
 
 
90
 
h5, h6 { font-size: 107.692%; }
91
 
 
92
 
/* -- Code and examples ----------------------------------------------------- */
93
 
code, kbd, pre, samp {
94
 
    font-family: Menlo, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Consolas', 'Monaco', fixed;
95
 
    font-size: 92.308%;
96
 
    line-height: 1.35;
97
 
}
98
 
 
99
 
p code, p kbd, p samp {
100
 
    background: #f6f6f6;
101
 
    border: 1px solid #ededed;
102
 
    padding: 0 3px;
103
 
}
104
 
 
105
 
a code, a kbd, a samp,
106
 
pre code, pre kbd, pre samp,
107
 
table code, table kbd, table samp,
108
 
.intro code, .intro kbd, .intro samp,
109
 
.toc code, .toc kbd, .toc samp {
110
 
    background: none;
111
 
    border: none;
112
 
    padding: 0;
113
 
}
114
 
 
115
 
pre.code, pre.terminal {
116
 
    overflow-x: auto;
117
 
    *overflow-x: scroll;
118
 
    padding: 0.3em 0.6em;
119
 
}
120
 
 
121
 
pre.code {
122
 
    background: #f8f8f8;
123
 
    border: 1px solid #ececec;
124
 
    border-left: 5px solid #e2e2e2;
125
 
}
126
 
 
127
 
pre.terminal {
128
 
    background: #F0EFFC;
129
 
    border: 1px solid #D0CBFB;
130
 
    border-left: 5px solid #D0CBFB;
131
 
}
132
 
 
133
 
/* Don't reduce the font size of <code>/<kbd>/<samp> elements inside <pre>
134
 
   blocks. */
135
 
pre code, pre kbd, pre samp { font-size: 100%; }
136
 
 
137
 
/* Used to denote text that shouldn't be selectable, such as line numbers or
138
 
   shell prompts. Guess which browser this doesn't work in. */
139
 
.noselect {
140
 
    -moz-user-select: -moz-none;
141
 
    -khtml-user-select: none;
142
 
    -webkit-user-select: none;
143
 
    -o-user-select: none;
144
 
    user-select: none;
145
 
}
146
 
 
147
 
/* -- Tables ---------------------------------------------------------------- */
148
 
caption, th { text-align: left; }
149
 
 
150
 
table {
151
 
    border-collapse: collapse;
152
 
    width: 100%;
153
 
}
154
 
 
155
 
td, th {
156
 
    border: 1px solid #fff;
157
 
    padding: 5px 12px;
158
 
    vertical-align: top;
159
 
}
160
 
 
161
 
td { background: #E5EDF1; }
162
 
td dl { margin: 0; }
163
 
td dl dl { margin: 1em 0; }
164
 
td pre:first-child { margin-top: 0; }
165
 
 
166
 
th {
167
 
    background: #6C8EA1;
168
 
    color: #fff;
169
 
    font-weight: bold;
170
 
    line-height: 1.3;
171
 
    text-transform: uppercase;
172
 
    white-space: nowrap;
173
 
}
174
 
 
175
 
/* -- Lists ----------------------------------------------------------------- */
176
 
.spaced li { margin: 0.8em 0; }
177
 
 
178
 
dd { margin: 0.2em 0 0.7em 1em; }
179
 
dl { margin: 1em 0; }
180
 
dt { font-weight: bold; }
181
 
 
182
 
/* -- Layout and Content ---------------------------------------------------- */
183
 
#doc {
184
 
    margin: auto;
185
 
    width: 1024px;
186
 
}
187
 
 
188
 
#main { width: 754px; }
189
 
#sidebar { width: 270px; }
190
 
 
191
 
.content { padding: 0 20px 0 25px; }
192
 
 
193
 
/* -- Sidebar --------------------------------------------------------------- */
194
 
.sidebox {
195
 
    -moz-border-radius: 4px;
196
 
    -webkit-border-radius: 4px;
197
 
    border-radius: 4px;
198
 
    -moz-box-shadow: 0 0 3px #afafaf;
199
 
    -webkit-box-shadow: 0 0 3px #afafaf;
200
 
    box-shadow: 0 0 3px #afafaf;
201
 
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 'Helvetica', 'Arial', sans-serif;
202
 
    margin: 0 20px 15px 5px;
203
 
    padding: 2px;
204
 
}
205
 
 
206
 
.sidebox h2 {
207
 
    background: #efefef;
208
 
    -moz-border-radius: 4px;
209
 
    -webkit-border-radius: 4px;
210
 
    border-radius: 4px;
211
 
    color: #333;
212
 
    font-size: 107.692%;
213
 
    margin: 0;
214
 
    padding: 2px 6px 3px;
215
 
}
216
 
 
217
 
.sidebox .bd { font-size: 84.615%; }
218
 
.sidebox li { list-style-type: square; }
219
 
 
220
 
.sidebox ol, .sidebox ul {
221
 
    margin-left: 0;
222
 
    padding-left: 24px;
223
 
}
224
 
 
225
 
.sidebox ol ol, .sidebox ol ul,
226
 
.sidebox ul ol, .sidebox ul ul {
227
 
    margin: 0;
228
 
    padding-left: 16px;
229
 
}
230
 
 
231
 
/* -- Table of Contents ----------------------------------------------------- */
232
 
 
233
 
/* The #toc id refers to the single global table of contents, while the .toc
234
 
   class refers to generic TOC lists that could be used throughout the page. */
235
 
 
236
 
.toc code, .toc kbd, .toc samp { font-size: 100%; }
237
 
.toc li { font-weight: bold; }
238
 
.toc li li { font-weight: normal; }
239
 
 
240
 
/* -- Intro and Example Boxes ----------------------------------------------- */
241
 
.intro, .example { margin-bottom: 2em; }
242
 
 
243
 
.example {
244
 
    -moz-border-radius: 4px;
245
 
    -webkit-border-radius: 4px;
246
 
    border-radius: 4px;
247
 
    -moz-box-shadow: 0 0 5px #bfbfbf;
248
 
    -webkit-box-shadow: 0 0 5px #bfbfbf;
249
 
    box-shadow: 0 0 5px #bfbfbf;
250
 
    padding: 1em;
251
 
}
252
 
 
253
 
.intro {
254
 
    background: #E2EEFB;
255
 
    border: 1px solid #BDD6F4;
256
 
    padding: 0em 1em;
257
 
}
258
 
 
259
 
/* -- Other Styles ---------------------------------------------------------- */
260
 
 
261
 
/* These are probably YUI-specific, and should be moved out of Selleck's default
262
 
   theme. */
263
 
 
264
 
.button {
265
 
    border: 1px solid #dadada;
266
 
    -moz-border-radius: 3px;
267
 
    -webkit-border-radius: 3px;
268
 
    border-radius: 3px;
269
 
    color: #444;
270
 
    display: inline-block;
271
 
    font-family: Helvetica, Arial, sans-serif;
272
 
    font-size: 92.308%;
273
 
    font-weight: bold;
274
 
    padding: 4px 13px 3px;
275
 
    -moz-text-shadow: 1px 1px 0 #fff;
276
 
    -webkit-text-shadow: 1px 1px 0 #fff;
277
 
    text-shadow: 1px 1px 0 #fff;
278
 
    white-space: nowrap;
279
 
 
280
 
    background: #EFEFEF; /* old browsers */
281
 
    background: -moz-linear-gradient(top, #f5f5f5 0%, #efefef 50%, #e5e5e5 51%, #dfdfdf 100%); /* firefox */
282
 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(50%,#efefef), color-stop(51%,#e5e5e5), color-stop(100%,#dfdfdf)); /* webkit */
283
 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dfdfdf',GradientType=0 ); /* ie */
284
 
}
285
 
 
286
 
.button:hover {
287
 
    border-color: #466899;
288
 
    color: #fff;
289
 
    text-decoration: none;
290
 
    -moz-text-shadow: 1px 1px 0 #222;
291
 
    -webkit-text-shadow: 1px 1px 0 #222;
292
 
    text-shadow: 1px 1px 0 #222;
293
 
 
294
 
    background: #6396D8; /* old browsers */
295
 
    background: -moz-linear-gradient(top, #6396D8 0%, #5A83BC 50%, #547AB7 51%, #466899 100%); /* firefox */
296
 
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6396D8), color-stop(50%,#5A83BC), color-stop(51%,#547AB7), color-stop(100%,#466899)); /* webkit */
297
 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6396D8', endColorstr='#466899',GradientType=0 ); /* ie */
298
 
}
299
 
 
300
 
.newwindow { text-align: center; }