~turl/+junk/homestock

« back to all changes in this revision

Viewing changes to static/js/mochaui/themes/charcoal/css/Content.css

  • Committer: Emilio López
  • Date: 2010-07-26 03:10:06 UTC
  • Revision ID: turl@tuxfamily.org-20100726031006-my4ge88fqg7d0r1e
Implement basic HTML interface.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 
 
3
CSS for Mocha UI
 
4
 
 
5
Theme: Charcoal
 
6
 
 
7
Copyright:
 
8
        Copyright (c) 2007-2009 Greg Houston, <http://greghoustondesign.com/>.
 
9
 
 
10
License:
 
11
        MIT-style license.
 
12
 
 
13
Note:   
 
14
        If you are adding MochaUI to an existing site, this CSS file may not be necessary.
 
15
 
 
16
*/
 
17
 
 
18
 
 
19
/* Reset */
 
20
 
 
21
ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,form,body,html,p,blockquote,fieldset,input,object,iframe { margin: 0; padding: 0; }
 
22
a img,:link img,:visited img { border: none; }
 
23
table { border-collapse: collapse; border-spacing: 0; }
 
24
:focus { outline: none; }
 
25
 
 
26
/* Structure */
 
27
 
 
28
body {
 
29
        text-align: left;
 
30
        font-family: Arial, Helvetica, sans-serif;
 
31
        font-size: 12px;
 
32
        line-height: 18px;
 
33
        color: #cfcfcf; 
 
34
}
 
35
 
 
36
/* Typography */
 
37
        
 
38
h2, h3, h4 {
 
39
        margin: 0;
 
40
        padding: 0 0 5px 0;
 
41
        font-size: 12px;
 
42
        font-weight: bold;
 
43
        color: #fff;            
 
44
}
 
45
        
 
46
h2 {
 
47
        font-size: 14px;
 
48
        font-weight: bold;
 
49
}
 
50
        
 
51
h3 {
 
52
        font-size: 13px;
 
53
        font-weight: bold;
 
54
}
 
55
 
 
56
h4 {
 
57
        font-size: 11px;
 
58
}
 
59
 
 
60
a {
 
61
        color: #A5DFF2;
 
62
        text-decoration: none;
 
63
        cursor: pointer;
 
64
}
 
65
 
 
66
a:hover {
 
67
        text-decoration: none;
 
68
}
 
69
 
 
70
p {
 
71
        margin: 0;
 
72
        padding: 0 0 9px 0;
 
73
}
 
74
 
 
75
.lite {
 
76
        color: #999;
 
77
}
 
78
 
 
79
/* Lists */
 
80
 
 
81
ul {
 
82
        list-style: outside;
 
83
        margin: 0 0 9px 16px;
 
84
        list-style-type: disc;
 
85
}
 
86
 
 
87
dt {
 
88
        font-weight: bold;
 
89
}
 
90
 
 
91
dd {
 
92
        padding: 0 0 9px 0;
 
93
}
 
94
 
 
95
/* Menus */
 
96
 
 
97
.menu-right li {
 
98
        list-style-type: none;
 
99
        display: inline;        
 
100
        margin: 0 0 0 15px;
 
101
}
 
102
 
 
103
/* Forms */
 
104
 
 
105
form fieldset {
 
106
        border: 2px solid #454545;
 
107
        clear: both;
 
108
        margin-bottom: 9px;
 
109
        overflow: hidden;
 
110
        padding: 9px 18px;
 
111
}
 
112
 
 
113
form legend {
 
114
        background: #454545;
 
115
        margin-bottom: 9px;
 
116
        padding: 2px 11px;
 
117
}
 
118
 
 
119
form label {
 
120
        font-weight: bold;
 
121
        margin-right: 6px;
 
122
        text-align: right;
 
123
        width: 50px;
 
124
}
 
125
 
 
126
textarea, input, select {
 
127
        font-family: Arial, Helvetica, sans-serif;
 
128
        font-size: 12px;
 
129
        vertical-align: middle;                         
 
130
}
 
131
 
 
132
textarea, input {
 
133
        color: #ddd;
 
134
        background: #282828;                    
 
135
}
 
136
 
 
137
.input {
 
138
        padding: 2px 0 2px 3px;
 
139
        border: 1px solid #181818;      
 
140
}
 
141
 
 
142
form button {
 
143
        vertical-align: middle; 
 
144
}
 
145
 
 
146
.button {
 
147
        height: 24px;
 
148
        margin: 0;
 
149
        padding: 3px 6px;
 
150
        background: #404040 url(../images/bg-panel-header.gif) repeat-x;
 
151
        font-size: 12px;
 
152
        font-weight: bold;
 
153
        color: #A5DFF2;
 
154
        cursor: pointer;
 
155
        vertical-align: middle;
 
156
        border: 1px solid #181818;
 
157
        -moz-border-radius: 3px;                
 
158
}
 
159
 
 
160
* html .button {
 
161
        padding: 3px 1px;               
 
162
}
 
163
 
 
164
.searchField {
 
165
        width: 150px;
 
166
        overflow: hidden;
 
167
        line-height: 15px; 
 
168
        margin: 0;
 
169
        padding: 4px 0 3px 5px;
 
170
        border: 1px solid #181818;      
 
171
        border-right: 0;
 
172
        vertical-align: middle;         
 
173
        -moz-border-radius-topleft: 3px;
 
174
        -moz-border-radius-bottomleft: 3px;
 
175
}
 
176
 
 
177
.searchButton {
 
178
        -moz-border-radius-topleft: 0;
 
179
        -moz-border-radius-bottomleft: 0;               
 
180
}
 
181
 
 
182
* html .toolbox .searchField, * html .toolbox .searchButton { /* IE6 Hack */
 
183
        margin-top: -1px;               
 
184
}
 
185
 
 
186
* html .toolbox .button { /* IE6 Hack */
 
187
        vertical-align: top;
 
188
        margin-top: 0;                  
 
189
}
 
190
 
 
191
*:first-child+html .toolbox .searchField, *:first-child+html .toolbox .searchButton { /* IE7 Hack */
 
192
        margin-top: -1px;       
 
193
}
 
194
 
 
195
*:first-child+html .toolbox .button { /* IE7 Hack */
 
196
        vertical-align: top;
 
197
        margin-top: 0;  
 
198
}
 
199
 
 
200
.formRow {
 
201
        margin: 0 0 8px 0;
 
202
}
 
203
 
 
204
.buttonRow {
 
205
        margin-bottom: 10px;    
 
206
}
 
207
 
 
208
/* Code */
 
209
 
 
210
pre {
 
211
        background-color: #282828;
 
212
        color: #17998E;
 
213
        display: block;
 
214
        font-family: 'Courier New', Courier, monospace;
 
215
        font-size: 11px;
 
216
        margin: 0 0 10px 0;
 
217
        padding: 10px;
 
218
        border: 1px solid #222; 
 
219
}
 
220
 
 
221
/* Status Messages */
 
222
.error,
 
223
.notice, 
 
224
.success    { padding: 8px; margin-bottom: 10px; border: 2px solid #ddd; }
 
225
.error      { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
 
226
.notice     { background: #FFF6BF; color: #817134; border-color: #FFD324; }
 
227
.success    { background: #E6EFC2; color: #529214; border-color: #C6D880; }
 
228
.error a    { color: #D12F19; }
 
229
.notice a   { color: #817134; }
 
230
.success a  { color: #529214; }
 
231
 
 
232
/* Dividers */
 
233
 
 
234
hr {
 
235
        background-color: #262626;
 
236
        height: 1px;
 
237
        border: 0px;
 
238
}
 
239
 
 
240
/* Misc */
 
241
 
 
242
.nobr {
 
243
        white-space: nowrap;
 
244
}
 
245
 
 
246
.textBox {
 
247
        max-width: 650px;       
 
248
}       
 
 
b'\\ No newline at end of file'