~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-01-12 12:57:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:197
dispatch.html, ivle.css: Main IVLE header is now an h1/h2 pair, styled to the
    left with absolute positioning (one over the top of the other).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
/* GENERAL FORMATTING */
9
9
 
10
 
#ivlebody p, #ivlebody h2, #ivlebody h3 {
 
10
p, h2, h3 {
11
11
    padding: 0;
12
 
    margin: 0.7em 0;
 
12
    margin: 0;
 
13
    margin-top: 11px;
 
14
    margin-bottom: 11px;
13
15
}
14
 
#ivlebody p, #ivlebody h3 {
 
16
p, h3 {
15
17
    font-size: 1em;
16
18
}
17
 
#ivlebody h2 {
 
19
h2 {
18
20
    font-size: 1.1em;
19
21
}
20
22
 
21
 
.padding {
22
 
    padding: 1em;
 
23
/* OVERALL LAYOUT */
 
24
 
 
25
/* Override common #ivlebody */
 
26
#ivlebody {
 
27
    padding: 0 ! important;
 
28
}
 
29
 
 
30
#middle, #middle tbody {
 
31
    width: 100%;
 
32
    vertical-align: top;
 
33
    border-collapse: collapse;
 
34
}
 
35
 
 
36
#sidepanel {
 
37
    width: 300px;
23
38
}
24
39
 
25
40
/* TOP BAR */
26
41
 
27
42
#topbar {
28
 
    position: absolute;
29
 
    left: 0;
30
 
    right: 0;
31
 
    top: 0;
32
 
    /* Approximate height of the components */
33
 
    height: 5em;
 
43
    padding: 8px;
 
44
    background-color: #aaf;
 
45
}
 
46
#topbar a {
 
47
    font-weight: bold;
 
48
}
 
49
 
 
50
/* FILE LISTINGS TABLE */
 
51
 
 
52
#filetable {
 
53
    border-collapse: collapse;
 
54
    border-right: 1px solid #888;
34
55
    padding: 0;
35
 
    background-color: #ddd;
36
 
}
37
 
 
38
 
/* We don't want the bold-ness of a regular golden H1 */
39
 
#topbar #path {
40
 
    font-weight: normal;
41
 
}
42
 
 
43
 
#topbar #path a {
44
 
    font-weight: bold;
45
 
}
46
 
 
47
 
#actions {
48
 
    padding: 0.3em 0.5em;
49
 
    border-top: white 1px solid;        /* Top edge of 3D effect */
50
 
}
51
 
/* class "choice" is for all choices, enabled and disabled. This is for both
52
 
 * the <a> actions and <option> actions.
53
 
 * class "disabled" is for disabled choices.
 
56
}
 
57
 
 
58
th {
 
59
    text-align: left;
 
60
}
 
61
 
 
62
td.thincol {
 
63
    width: 24px;
 
64
}
 
65
 
 
66
#filetablediv {
 
67
    overflow: auto;
 
68
}
 
69
 
 
70
/* Individual column sizes */
 
71
/* All columns have fixed widths except filename, which expands to fit. */
 
72
 
 
73
.col-check {
 
74
    width: 20px;
 
75
}
 
76
.col-icons {
 
77
    width: 50px;
 
78
}
 
79
.col-filename {
 
80
    width: auto;
 
81
}
 
82
.col-size {
 
83
    width: 100px;
 
84
}
 
85
.col-date {
 
86
    width: 150px;
 
87
}
 
88
 
 
89
/* Table borders and rows */
 
90
 
 
91
tr.rowhead {
 
92
    background-color: #336;
 
93
    color: white;
 
94
}
 
95
tr.rowhead a:link, tr.rowhead a:visited {
 
96
    color: #aaf;
 
97
}
 
98
/* Unselected (grey shades)
 
99
 * Note alternating rows are different shades
54
100
 */
55
 
#actions1 a.choice, #actions2 a {
56
 
    color: navy;
57
 
    text-decoration: underline;
58
 
    cursor: pointer;
59
 
}
60
 
#actions1 a.choice:hover, #actions1 a.choice:active, #actions1 a.choice:focus,
61
 
    #actions2 a:hover, #actions2 a:active, #actions2 a:focus {
62
 
    color: blue;
63
 
}
64
 
#actions1 a.disabled {
65
 
    color: black;
66
 
    text-decoration: none;
67
 
    cursor: auto;
68
 
}
69
 
/* Drop-down actions and headings */
70
 
#actions1 option.moreactions, #actions1 option.disabled {
71
 
    color: #aaa;
72
 
}
73
 
 
74
 
/* One of the actions2s is shown at runtime, depending on the context.
75
 
 * We will show moreactions if we need it. */
76
 
#actions1 #moreactions_area, #actions2 #actions2_file,
77
 
#actions2 #actions2_directory {
78
 
    display: none;
79
 
}
80
 
 
81
 
/* Everything under the top bar */
82
 
 
83
 
#filesbody {
84
 
    position: absolute;
85
 
    left: 0;
86
 
    right: 0;
87
 
    /* top == #topbar.height */
88
 
    top: 5em;
89
 
    /* Space for the mimimised console */
90
 
    bottom: 2em;
91
 
}
92
 
 
 
101
tr.row1 {
 
102
    background-color: #ccc;
 
103
    cursor: pointer;
 
104
}
 
105
tr.row2 {
 
106
    background-color: #aaa;
 
107
    cursor: pointer;
 
108
}
 
109
tr.row1:hover, tr.row2:hover {
 
110
    background-color: #eee;
 
111
}
 
112
/* And if they are selected (blue shades) */
 
113
tr.row1sel {
 
114
    background-color: #88e;
 
115
    cursor: pointer;
 
116
}
 
117
tr.row2sel {
 
118
    background-color: #66c;
 
119
    cursor: pointer;
 
120
}
 
121
tr.row1sel:hover, tr.row2sel:hover {
 
122
    background-color: #eee;
 
123
}
 
124
 
 
125
#filetable table {
 
126
    border-collapse: collapse;
 
127
}
 
128
 
 
129
#filetable td, #filetable th {
 
130
    border: 1px solid #888;
 
131
}
 
132
 
 
133
/* Borders between icons and filename are turned off. */
 
134
 
 
135
#filetable td.col-icons, #filetable th.col-date, #filetable td.col-date {
 
136
    border-right: 0 none;
 
137
}
 
138
#filetable td.col-filename {
 
139
    border-left: 0 none;
 
140
}
 
141
 
 
142
/* SIDE PANEL */
 
143
 
 
144
#sidepanel {
 
145
    border-left: 1px solid #888;
 
146
    border-top: 1px solid #888;
 
147
    background-color: #ccc;
 
148
    font-size: 0.8em;
 
149
    padding: 8px;
 
150
    text-align: center;
 
151
}
 
152
 
 
153
#sidepanel p, #sidepanel h1, #sidepanel h2 {
 
154
    margin: 0;
 
155
    padding: 0;
 
156
}
 
157
 
 
158
#sidepanel h2 {
 
159
    margin-top: 8px;
 
160
}
 
161
 
 
162
#sidepanel a {
 
163
    font-weight: bold;
 
164
}
 
165
 
 
166
/* STATUS BAR */
 
167
 
 
168
#statusbar {
 
169
    background-color: #aaa;
 
170
    border-top: 1px solid #888;
 
171
    font-size: 0.8em;
 
172
}