~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/browser/browser.css

  • Committer: mattgiuca
  • Date: 2008-02-05 01:41:15 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:409
Moved www/conf and www/common to a new directory lib. This separates the "web"
part of IVLE from what is becoming less web oriented (at least from Apache's
standpoint).
Modified setup.py to install this lib directory correctly and write conf in
the right place. Also adds the lib directory to ivle.pth.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
/* GENERAL FORMATTING */
9
9
 
10
 
p, h2, h3 {
 
10
#ivlebody p, #ivlebody h2, #ivlebody h3 {
11
11
    padding: 0;
12
 
    margin: 0;
13
 
    margin-top: 11px;
14
 
    margin-bottom: 11px;
 
12
    margin: 0.7em 0;
15
13
}
16
 
p, h3 {
 
14
#ivlebody p, #ivlebody h3 {
17
15
    font-size: 1em;
18
16
}
19
 
h2 {
 
17
#ivlebody h2 {
20
18
    font-size: 1.1em;
21
19
}
22
20
 
24
22
    padding: 1em;
25
23
}
26
24
 
27
 
/* OVERALL LAYOUT */
28
 
 
29
 
/* Override common #ivlebody */
30
 
#ivlebody {
31
 
    padding: 0 ! important;
32
 
}
33
 
 
34
 
#middle, #middle tbody {
35
 
    width: 100%;
36
 
    vertical-align: top;
37
 
    border-collapse: collapse;
38
 
}
39
 
 
40
 
#sidepanel {
41
 
    width: 300px;
42
 
}
43
 
 
44
25
/* TOP BAR */
45
26
 
46
27
#topbar {
47
 
    padding: 8px;
 
28
    position: absolute;
 
29
    left: 0;
 
30
    right: 0;
 
31
    top: 0;
 
32
    /* height == h2.margin + h2.line-height
 
33
     *              + max(h2.margin, p.margin) + p.line-height + p.margin
 
34
     *        == 1.1*0.7em + 1.1*1.2em + 1.1*0.7em + 1.1em + 0.7em
 
35
     *        == 4.6em */
 
36
    height: 4.6em;
 
37
    padding: 0.5em;
48
38
    background-color: #aaf;
49
39
}
50
40
#topbar a {
51
41
    font-weight: bold;
52
42
}
53
43
 
54
 
/* FILE LISTINGS TABLE */
55
 
 
56
 
#filetable {
57
 
    border-collapse: collapse;
58
 
    border-right: 1px solid #888;
59
 
    padding: 0;
60
 
}
61
 
 
62
 
th {
63
 
    text-align: left;
64
 
}
65
 
 
66
 
td.thincol {
67
 
    width: 18px;
68
 
}
69
 
 
70
 
#filetablediv {
71
 
    overflow: auto;
72
 
}
73
 
 
74
 
/* Individual column sizes */
75
 
/* All columns have fixed widths except filename, which expands to fit. */
76
 
 
77
 
.col-check {
78
 
    width: 20px;
79
 
}
80
 
.col-icons {
81
 
    width: 50px;
82
 
}
83
 
.col-filename {
84
 
    width: auto;
85
 
}
86
 
.col-size {
87
 
    width: 100px;
88
 
}
89
 
.col-date {
90
 
    width: 150px;
91
 
}
92
 
 
93
 
/* Table borders and rows */
94
 
 
95
 
tr.rowhead {
96
 
    background-color: #336;
97
 
    color: white;
98
 
}
99
 
tr.rowhead a:link, tr.rowhead a:visited {
100
 
    color: #aaf;
101
 
}
102
 
/* Unselected (grey shades)
103
 
 * Note alternating rows are different shades
104
 
 */
105
 
tr.row1 {
106
 
    background-color: #ccc;
107
 
    cursor: pointer;
108
 
}
109
 
tr.row2 {
110
 
    background-color: #bbb;
111
 
    cursor: pointer;
112
 
}
113
 
/* And if they are selected (blue shades) */
114
 
tr.row1sel {
115
 
    background-color: #88e;
116
 
    cursor: pointer;
117
 
}
118
 
tr.row2sel {
119
 
    background-color: #77d;
120
 
    cursor: pointer;
121
 
}
122
 
 
123
 
#filetable table {
124
 
    border-collapse: collapse;
125
 
}
126
 
 
127
 
#filetable td, #filetable th {
128
 
    border: 1px solid #888;
129
 
}
130
 
 
131
 
/* Borders between icons and filename are turned off. */
132
 
 
133
 
#filetable td.col-icons, #filetable th.col-date, #filetable td.col-date {
134
 
    border-right: 0 none;
135
 
}
136
 
#filetable td.col-filename {
137
 
    border-left: 0 none;
138
 
}
139
 
 
140
 
/* SIDE PANEL */
141
 
 
142
 
#sidepanel {
143
 
    border-left: 1px solid #888;
144
 
    border-top: 1px solid #888;
145
 
    background-color: #ccc;
146
 
    font-size: 0.8em;
147
 
    padding: 8px;
148
 
    text-align: center;
149
 
}
150
 
 
151
 
#sidepanel p, #sidepanel h2, #sidepanel h3 {
152
 
    margin: 0;
153
 
    padding: 0;
154
 
}
155
 
 
156
 
#sidepanel h3 {
157
 
    margin-top: 1em;
158
 
}
159
 
 
160
 
#sidepanel a {
161
 
    font-weight: bold;
162
 
}
163
 
 
164
 
/* STATUS BAR */
165
 
 
166
 
#statusbar {
167
 
    background-color: #aaa;
168
 
    border-top: 1px solid #888;
169
 
    font-size: 0.8em;
170
 
    padding: 2px;
171
 
}
172
 
 
173
 
/* TEXT EDITOR */
174
 
 
175
 
#editbox {
176
 
    width: 100%;
177
 
    height: 100%;
178
 
}
 
44
/* Everything under the top bar */
 
45
 
 
46
#filesbody {
 
47
    position: absolute;
 
48
    left: 0;
 
49
    right: 0;
 
50
    /* top == #topbar.height + #topbar.padding * 2 */
 
51
    top: 5.6em;
 
52
    bottom: 0;
 
53
}
 
54