~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-24 22:09:16 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:553
Added new app: Settings (UI for userservice).
    (Added app dir, media dir with empty JS file, icon).
apps/__init__.py: Added error message.
dispatch/__init__.py: Added error message.
dispatch/html.py: Added link to Settings at the top
    (a special app).
    Fixed HTML icons (correct size link).
    Catch keyerror on icon which would otherwise be thrown all
    the way up on certain errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    left: 0;
30
30
    right: 0;
31
31
    top: 0;
32
 
    /* Approximate height of the components */
33
 
    height: 5em;
34
 
    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 {
 
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;
 
38
    background-color: #aaf;
 
39
}
 
40
#topbar a {
44
41
    font-weight: bold;
45
42
}
46
43
 
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.
54
 
 */
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
44
/* Everything under the top bar */
82
45
 
83
46
#filesbody {
84
47
    position: absolute;
85
48
    left: 0;
86
49
    right: 0;
87
 
    /* top == #topbar.height */
88
 
    top: 5em;
89
 
    /* Space for the mimimised console */
90
 
    bottom: 2em;
 
50
    /* top == #topbar.height + #topbar.padding * 2 */
 
51
    top: 5.6em;
 
52
    bottom: 0;
91
53
}
92
54