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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/subject-media/project.css

  • Committer: David Coles
  • Date: 2010-08-30 03:26:13 UTC
  • Revision ID: coles.david@gmail.com-20100830032613-d14vng0jkelniu3l
python-console: Fix globals broken with new JSON library.

simplejson always returns unicode strings. cJSON would return ordinary strings 
if possible. cPickle.loads() only accepts strings. At present we use pickle 
version 0 so they should all works as ASCII strings. Higher versions of pickle 
are not plain ASCII and are likely to break this and so this should be fixed 
at some point.

Also replaced unconditional exception with one that catches Pickle errors. Not 
sure the best way to report failures of these functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
  background: #eee;
18
18
}
19
19
 
20
 
#add_projectset {
21
 
    padding: 10px;
22
 
}
23
 
 
24
 
.add-project > div{
 
20
.add-project > div, .add-projectset > div {
25
21
    width: 600px;
26
22
    padding-left: 40px;
27
23
}
28
24
 
29
 
.add-project label {
 
25
.add-project label, .add-projectset label {
30
26
    position: absolute;
31
27
    text-align: right;
32
28
}
33
29
 
34
 
.add-project input, textarea {
 
30
.add-project input, textarea, .add-projectset input {
35
31
    margin-left: 100px;
36
32
    width: 400px;
37
33
}
41
37
    white-space: pre-wrap;
42
38
}
43
39
 
44
 
.add-project > form {
 
40
.add-project > form, .add-projectset > form {
45
41
    display: none;
46
42
}
47
43
 
54
50
.project-title img {
55
51
  vertical-align: top;
56
52
}
57
 
 
58
 
.project_list {
59
 
  text-align: left;
60
 
  border-collapse: collapse;
61
 
}
62
 
 
63
 
.project_list td, .project_list th {
64
 
  padding: 0.2em 0.7em;
65
 
  border-bottom: 1px solid #ccc;
66
 
}
67
 
 
68
 
.project_list th {
69
 
  border-bottom: 2px solid gray;
70
 
}
71
 
 
72
 
.project_list tbody td {
73
 
  color: #444;
74
 
}
75
 
 
76
 
.project_list tbody tr:hover {
77
 
  background-color: #efefef;
78
 
}
79
 
 
80
 
.project_list td:first-child, .project_list th:first-child {
81
 
  padding-left: 0;
82
 
}
83
 
 
84
 
.project_list tbody tr:hover td {
85
 
  color: #111;
86
 
}