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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
/* IVLE - Informatics Virtual Learning Environment
 * Copyright (C) 2007-2008 The University of Melbourne
 * Common Style Sheet
 * This file is redistributable under the terms of the GNU General Public
 * License version 2 or later.
 */

/** Generic styling **/

html, body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    font-family: sans-serif;
    font-size: 0.95em;
}

a {
    color: navy;
    text-decoration: underline;
    cursor: pointer;
}
a:hover, a:active, a:focus {
    color: blue;
}

.error {
    color: #a00;
}

a img {
    border: none;
}

/* h1s are styled specially to a small golden 3D bar */
#ivlebody h1 {
    background-color: #fea;
    background-image: url(../ivle.webapp.core/images/chrome/h1-bg.png);
    background-repeat: repeat-y;
    margin: 0;
    padding: 0.5em;
    border-top: white 2px solid;        /* Top edge of 3D effect */
    border-bottom: #863 1px solid;      /* Bottom edge of 3D effect */
    font-size: 1em;
    font-weight: bold;
}

#ivlebody h2 {
    font-size: 1.4em;
}

/** Special styles for header section **/

#ivleheader {
    position: absolute;
    background-color: #abf;
    background-image: url(../ivle.webapp.core/images/chrome/topbar-slashes.png);
    background-repeat: repeat-x;
    padding: 0;
    border-bottom: 1px solid black;
    /* IMPORTANT: This 4em is hard-coded elsewhere in this file. Search for
     * #ivleheader.height to update it. */
    height: 4em;
    left: 0;
    right: 0;
    z-index: 1;     /* Background to all, but the body */
}

#ivleheader h1 {
    margin: 0;
    padding: 8px;
}

#ivleheader_text {
    position: absolute;
    padding: 0.5em;
    top: 0;
    right: 0.5em;
}

/* Note: The body has NO PADDING by default (unlike plain HTML).
 * This is because almost all of the apps need this behaviour.
 * If a particular app needs padding, it should manually wrap all of its
 * output in a <div id="ivle_padding">.
 */
#ivlebody {
    /* This is positioned absolutely so that its content can be positioned
     * absolutely as well, and so height: 100% really means it. */
    position: absolute;
    top: 4em;               /* == #ivleheader.height */
    bottom: 0;
    width: 100%;
    z-index: 0;     /* Behind header */
}

/* Apps can optionally have a <div id="ivle_padding"> as the outermost
 * element, if 1em of padding is desired (otherwise there will be no padding).
 * Note: No top padding, since the first element should have a margins (p or
 * h2).
 */
#ivle_padding {
    padding: 0 1em 1em 1em;
}

p.userhello {
    font-size: .8em;
    margin: 0;
}
.userhello .username {
    font-weight: bold;
}

/* The tabs bar is positioned absolutely, unlike the other header content.
 * This allows it to be aligned exactly with the bottom of the header bar.
 */
#ivleheader_tabs {
    position: absolute;
    right: 1em;
    bottom: 0;
}

#ivleheader_tabs p {
    /* This allows for a single paragraph, currently used to display a warning
     * about Debuginfo */
    position: absolute;
    left: 1em;
    bottom: 0.5em;
    margin: 0;
}

ul#apptabs {
    margin: 0;
}

ul#apptabs li {
    display: inline;
    /*border: 1px solid black;*/
    /*background-color: #fc6;*/
    background-image: url(../ivle.webapp.core/images/chrome/tab-left.png);
    background-repeat: no-repeat;
    background-position: top left;
    padding: 0;
    padding-left: 4px;
}
ul#apptabs li a {
    background-image: url(../ivle.webapp.core/images/chrome/tab-right.png);
    background-repeat: no-repeat;
    background-position: top right;
    padding: 0;
    padding-right: 4px;
}
ul#apptabs li a span {
    background-image: url(../ivle.webapp.core/images/chrome/tab-mid.png);
    background-repeat: repeat-x;
    padding: 0 3px;
}
ul#apptabs li:hover {
    /*background-color: #fd8;*/
    background-image: url(../ivle.webapp.core/images/chrome/tab-hover-left.png);
}
ul#apptabs li:hover a {
    background-image: url(../ivle.webapp.core/images/chrome/tab-hover-right.png);
}
ul#apptabs li:hover a span {
    background-image: url(../ivle.webapp.core/images/chrome/tab-hover-mid.png);
}
/* Currently active app tab */
ul#apptabs li.thisapp {
    /*background-color: white;*/
    /*border-bottom: 1px solid white;*/
    background-image: url(../ivle.webapp.core/images/chrome/tab-selected-left.png);
}
ul#apptabs li.thisapp a {
    background-image: url(../ivle.webapp.core/images/chrome/tab-selected-right.png);
}
ul#apptabs li.thisapp a span {
    background-image: url(../ivle.webapp.core/images/chrome/tab-selected-mid.png);
}

ul#apptabs a {
    color: navy;    /* Text colour not to change */
    text-decoration: none;
}

/* Terms of Service accept / decline buttons */
#tos_acceptbuttons {
    text-align: center;
}

/* For system warning messages */
.system_warning {
    margin: 1em;
    padding: 0.5em;
    border: 1px solid #a22;
    background: #f88;
}