fume 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,22 @@
1
1
  @import "blueprint-0.9.1/src/reset.css";
2
2
  @import "blueprint-0.9.1/src/typography.css";
3
3
 
4
- thead th {
5
- background-color: transparent;
6
- }
7
4
 
8
- body {
9
- line-height: 1;
10
- font-size: 80%;
5
+ /* =========================
6
+ commons
7
+ ========================= */
8
+
9
+ button, input, select, textarea {
10
+ font-weight: inherit;
11
+ font-style: inherit;
12
+ font-size: 100%;
13
+ font-family: inherit;
14
+ vertical-align: baseline;
11
15
  }
12
16
 
13
- .clear {
14
- clear: both;
17
+ body {
18
+ /* line-height: 1;*/
19
+ /* font-size: 13px;*/
15
20
  }
16
21
 
17
22
  h1 { margin: 15px 0 }
@@ -21,345 +26,24 @@ h4 { margin: 10px 0; }
21
26
  hr { height: 1px; border: 0; }
22
27
  p { margin: 15px 0;}
23
28
 
24
- #container {
25
- min-width: 1050px;
26
- }
27
-
28
- #header, #page {
29
- margin: 0 40px;
30
- }
31
-
32
- #header {
33
- position: relative;
34
-
35
- h1 {
36
- margin: 0;
37
- padding: 10px 0;
38
- font-size: 30px;
39
-
40
- a {
41
- text-decoration: none;
42
- }
43
- }
44
- }
45
-
46
- .sidebar {
47
- #main {
48
- width: 78%;
49
- float: left;
50
- }
51
- }
52
-
53
- .actions-bar {
54
- padding: 10px 1px;
55
-
56
- .actions {
57
- float: left;
58
- }
59
-
60
- .pagination {
61
- float: right;
62
- padding: 1px 0;
63
- }
64
- }
65
-
66
- #sidebar {
67
- width: 21%;
68
- float: right;
69
-
70
- h3 {
71
- padding: 10px 15px;
72
- margin: 0;
73
- font-size: 1.2em;
74
- }
75
-
76
- .block {
77
- margin-bottom: 20px;
78
- padding-bottom: 10px;
79
-
80
- .content {
81
- padding: 0 15px;
82
- }
83
- }
84
-
85
- .block .sidebar-block, .notice {
86
- padding:10px;
87
- }
88
- }
89
-
90
- #sidebar ul.navigation li a {
91
- :link, :visited {
92
- display: block;
93
- padding: 10px 15px;
94
- }
95
- }
96
-
97
-
98
- #page {
99
- padding-top: 20px;
100
- }
101
-
102
- #main .block {
103
- margin-bottom: 20px;
104
- /* padding-top: 1px;*/
105
-
106
- .content .inner {
107
- padding: 0 15px 15px;
108
- }
109
-
110
- }
111
-
112
-
113
- #user-navigation {
114
- position: absolute;
115
- right: 20px;
116
- bottom: 5px;
117
- }
118
-
119
- #main-navigation {
120
- width: 100%;
121
-
122
- ul li a {
123
- font-size: 1.3em;
124
- display: block;
125
- padding: 8px 15px;
126
- }
127
- }
128
-
129
- #user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation {
130
- margin: 0;
131
- padding: 0;
132
- list-style-type: none;
133
- }
134
-
135
- #user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li {
136
- float: left;
137
- }
138
-
139
- #main-navigation ul li {
140
- margin-right: 5px;
141
- }
142
-
143
- #user-navigation ul li {
144
- padding: 5px 10px;
145
- }
146
-
147
- #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
148
- .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
149
- #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
150
- text-decoration: none;
151
- }
152
-
153
- .secondary-navigation {
154
- font-size: 1.2em;
155
- border-bottom-width: 10px;
156
- border-bottom-style: solid;
157
-
158
- ul li {
159
- a, span {
160
- display: block;
161
- padding: 10px 15px;
162
- }
163
- }
164
- }
165
-
166
-
167
- #footer {
168
- padding-bottom: 20px;
169
- }
170
-
171
- /* pagination */
172
- .pagination {
173
- a, span {
174
- padding: 2px 5px;
175
- margin-right: 5px;
176
- display: block;
177
- float: left;
178
- border-style: solid;
179
- border-width: 1px;
180
- }
181
-
182
- span.current {
183
- font-weight: bold;
184
- }
185
-
186
- a {
187
- text-decoration: none;
188
- }
189
- }
190
-
191
-
192
- /* tables */
193
-
194
- .table {
195
- width: 100%;
196
- border-collapse: collapse;
197
- margin-bottom: 15px;
198
-
199
- th {
200
- padding: 10px;
201
- font-weight: bold;
202
- text-align: left;
203
- }
204
-
205
- th.first {
206
- /* width: 30px;*/
207
- }
208
-
209
- th.last {
210
- /* width: 200px; */
211
- }
212
-
213
- .checkbox {
214
- margin-left: 10px;
215
- }
216
-
217
- td {
218
- padding: 10px;
219
-
220
- form {
221
- display: inline;
222
-
223
- div {
224
- display: inline;
225
- }
226
- }
227
- }
228
-
229
- td.last {
230
- text-align: right;
231
- }
232
- }
233
-
234
-
235
- /* forms */
236
-
237
- input.checkbox {
238
- margin: 0;
239
- padding: 0;
29
+ .clear {
30
+ clear: both;
240
31
  }
241
32
 
242
- .form {
243
- .group {
244
- margin-bottom: 15px;
245
- }
246
-
247
- div.left {
248
- width: 20%;
249
- float: left;
250
- }
251
-
252
- div.right {
253
- width: 75%;
254
- float: right;
255
- }
256
-
257
- .columns {
258
- .column {
259
- width: 48%;
260
- }
261
-
262
- .left {
263
- float: left;
264
- }
265
-
266
- .right {
267
- float: right;
268
- }
269
- }
270
-
271
- label.label, input.text_field, textarea.text_area {
272
- font-size: 1.2em;
273
- padding: 1px 0;
274
- margin: 0;
275
- }
276
-
277
- label.right {
278
- text-align: right;
279
- }
280
-
281
- input.checkbox, input.radio {
282
- margin-right: 5px;
283
- }
284
-
285
- label.checkbox, label.radio {
286
- line-height: 1.5em;
287
- }
288
-
289
- label.label {
290
- display: block;
291
- padding-bottom: 2px;
292
- font-weight: bold;
293
- }
294
-
295
- div.fieldWithErrors label.label {
296
- display: inline;
297
- }
298
-
299
- .fieldWithErrors .error {
300
- color: red;
301
- }
302
-
303
- input.text_field, textarea.text_area {
304
- /* width: 100%;*/
305
- border-width: 1px;
306
- border-style: solid;
307
- }
33
+ .border-radius (@radius: 0) {
34
+ border-radius: @radius;
35
+ -moz-border-radius: @radius;
36
+ -webkit-border-radius: @radius;
308
37
  }
309
38
 
310
-
311
- /* lists */
312
-
313
- ul.list {
314
- margin: 0;
315
- padding: 0;
316
- list-style-type: none;
39
+ .border-top-left-radius (@radius: 0) {
40
+ border-top-left-radius: @radius;
41
+ -moz-border-radius-topleft: @radius;
42
+ -webkit-border-top-left-radius: @radius;
317
43
 
318
- li {
319
- clear: left;
320
- padding-bottom: 5px;
321
-
322
- .left {
323
- float: left;
324
-
325
- .avatar {
326
- width: 50px;
327
- height: 50px;
328
- }
329
- }
330
-
331
- .item {
332
- margin-left: 80px;
333
-
334
- .avatar {
335
- float: left;
336
- margin: 0 5px 5px 0;
337
- width: 30px;
338
- height: 30px;
339
- }
340
- }
341
- }
342
44
  }
343
-
344
-
345
- /* box */
346
-
347
- #box {
348
- width: 500px;
349
- margin: 50px auto;
350
-
351
- .block {
352
- margin-bottom: 20px;
353
-
354
- h2 {
355
- padding: 10px 15px;
356
- margin: 0;
357
- }
358
-
359
- .content {
360
- padding: 10px 20px;
361
- }
362
-
363
- }
45
+ .border-top-right-radius (@radius: 0) {
46
+ border-top-right-radius: @radius;
47
+ -moz-border-radius-topright: @radius;
48
+ -webkit-border-top-right-radius: @radius;
364
49
  }
365
-