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

« back to all changes in this revision

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

  • Committer: drtomc
  • Date: 2008-03-03 08:08:07 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:632
Get the user id from a cached copy of database info.
This doesn't completely fix the current difficulties
in getting content published, but if the content is
correctly marked as published, then this fix gets things
working as expected.

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
 
#middle, #middle tbody {
30
 
    width: 100%;
31
 
    vertical-align: top;
32
 
    border-collapse: collapse;
33
 
}
34
 
 
35
 
#sidepanel {
36
 
    width: 300px;
37
 
}
38
 
 
39
25
/* TOP BAR */
40
26
 
41
27
#topbar {
42
 
    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;
43
38
    background-color: #aaf;
44
39
}
45
 
#topbar a {
 
40
 
 
41
#topbar div {
 
42
    margin: 0.2em;
 
43
}
 
44
 
 
45
#topbar #path a {
46
46
    font-weight: bold;
47
47
}
48
 
 
49
 
/* FILE LISTINGS TABLE */
50
 
 
51
 
#filetable {
52
 
    border-collapse: collapse;
53
 
    border-right: 1px solid #888;
54
 
    padding: 0;
55
 
}
56
 
 
57
 
th {
58
 
    text-align: left;
59
 
}
60
 
 
61
 
td.thincol {
62
 
    width: 18px;
63
 
}
64
 
 
65
 
#filetablediv {
66
 
    overflow: auto;
67
 
}
68
 
 
69
 
/* Individual column sizes */
70
 
/* All columns have fixed widths except filename, which expands to fit. */
71
 
 
72
 
.col-check {
73
 
    width: 20px;
74
 
}
75
 
.col-icons {
76
 
    width: 50px;
77
 
}
78
 
.col-filename {
79
 
    width: auto;
80
 
}
81
 
.col-size {
82
 
    width: 100px;
83
 
}
84
 
.col-date {
85
 
    width: 150px;
86
 
}
87
 
 
88
 
/* Table borders and rows */
89
 
 
90
 
tr.rowhead {
91
 
    background-color: #336;
92
 
    color: white;
93
 
}
94
 
tr.rowhead a:link, tr.rowhead a:visited {
95
 
    color: #aaf;
96
 
}
97
 
/* Unselected (grey shades)
98
 
 * Note alternating rows are different shades
 
48
/* class "choice" is for all choices, enabled and disabled. This is for both
 
49
 * the <a> actions and <option> actions.
 
50
 * class "disabled" is for disabled choices.
99
51
 */
100
 
tr.row1 {
101
 
    background-color: #ccc;
102
 
    cursor: pointer;
103
 
}
104
 
tr.row2 {
105
 
    background-color: #bbb;
106
 
    cursor: pointer;
107
 
}
108
 
/* And if they are selected (blue shades) */
109
 
tr.row1sel {
110
 
    background-color: #88e;
111
 
    cursor: pointer;
112
 
}
113
 
tr.row2sel {
114
 
    background-color: #77d;
115
 
    cursor: pointer;
116
 
}
117
 
 
118
 
#filetable table {
119
 
    border-collapse: collapse;
120
 
}
121
 
 
122
 
#filetable td, #filetable th {
123
 
    border: 1px solid #888;
124
 
}
125
 
 
126
 
/* Borders between icons and filename are turned off. */
127
 
 
128
 
#filetable td.col-icons, #filetable th.col-date, #filetable td.col-date {
129
 
    border-right: 0 none;
130
 
}
131
 
#filetable td.col-filename {
132
 
    border-left: 0 none;
133
 
}
134
 
 
135
 
/* SIDE PANEL */
136
 
 
137
 
#sidepanel {
138
 
    border-left: 1px solid #888;
139
 
    border-top: 1px solid #888;
140
 
    background-color: #ccc;
141
 
    font-size: 0.8em;
142
 
    padding: 8px;
143
 
    text-align: center;
144
 
}
145
 
 
146
 
#sidepanel p, #sidepanel h2, #sidepanel h3 {
147
 
    margin: 0;
148
 
    padding: 0;
149
 
}
150
 
 
151
 
#sidepanel h3 {
152
 
    margin-top: 1em;
153
 
}
154
 
 
155
 
#sidepanel a {
 
52
#actions1 a.choice, #actions2 a {
 
53
    color: navy;
 
54
    text-decoration: underline;
 
55
    cursor: pointer;
 
56
}
 
57
#actions1 a.choice:hover, #actions1 a.choice:active, #actions1 a.choice:focus,
 
58
    #actions2 a:hover, #actions2 a:active, #actions2 a:focus {
 
59
    color: blue;
 
60
    text-decoration: underline;
 
61
}
 
62
#actions1 a.disabled {
 
63
    color: black;
 
64
    text-decoration: none;
 
65
    cursor: auto;
 
66
}
 
67
#actions1 a.disabled:hover, #actions1 a.disabled:active, #actions1 a.disabled:focus {
 
68
    color: black;
 
69
    text-decoration: none;
 
70
}
 
71
/* Drop-down actions and headings */
 
72
#actions1 option {
 
73
    color: black;
 
74
    font-weight: normal;
 
75
}
 
76
#actions1 option.moreactions {
 
77
    color: #aaa;
 
78
}
 
79
#actions1 option.heading {
156
80
    font-weight: bold;
157
81
}
158
 
 
159
 
/* STATUS BAR */
160
 
 
161
 
#statusbar {
162
 
    background-color: #aaa;
163
 
    border-top: 1px solid #888;
164
 
    font-size: 0.8em;
165
 
    padding: 2px;
166
 
}
167
 
 
168
 
/* TEXT EDITOR */
169
 
 
170
 
#editbox {
171
 
    width: 100%;
172
 
    height: 100%;
173
 
}
 
82
#actions1 option.choice {
 
83
    padding-left: 20px;
 
84
}
 
85
#actions1 option.disabled {
 
86
    padding-left: 20px;
 
87
    color: #aaa;
 
88
}
 
89
 
 
90
/* Everything under the top bar */
 
91
 
 
92
#filesbody {
 
93
    position: absolute;
 
94
    left: 0;
 
95
    right: 0;
 
96
    /* top == #topbar.height + #topbar.padding * 2 */
 
97
    top: 5.6em;
 
98
    bottom: 0;
 
99
}
 
100