bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/trunk
|
90.1.2
by a11emmjo
Made a standard css-file to be used for the whole lenasys-page. |
1 |
/*
|
2 |
* BannerBody----------------------------------------------------------------------------------------------------------------------------
|
|
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
3 |
*/
|
4 |
||
5 |
#bannerBody { |
|
|
90.1.7
by a11emmjo
Bug #1183410 fixed. |
6 |
position: relative; |
|
67.1.6
by a11emmjo
Replaced bannermenu/topmenu/header... on login-page. |
7 |
width: 100%; |
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
8 |
height: 54px; |
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
9 |
background: url(../img/bannermenu_bg.png) repeat-x; |
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
10 |
z-index: 999; |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
11 |
}
|
12 |
||
13 |
#bannerBody a:link, a:visited, a:active { |
|
14 |
color: #eee; |
|
15 |
text-decoration: none; |
|
16 |
}
|
|
17 |
||
18 |
/*
|
|
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
19 |
* Banner--------------------------------------------------------------------------------------------------------------------------
|
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
20 |
*/
|
21 |
||
22 |
/* Is used for the icons in the bannermenu */
|
|
23 |
.icomoon{ |
|
24 |
font-family: "icomoon"; |
|
25 |
}
|
|
26 |
||
27 |
/* Centers the bannermenu */
|
|
28 |
#bannerWrapper { |
|
29 |
width: 1024px; |
|
30 |
margin: 0 auto; |
|
31 |
color: #eee; |
|
32 |
}
|
|
33 |
||
34 |
#bannerLogoButton { |
|
35 |
width: 159px; /* Total width: 162px with :before below */ |
|
36 |
height: 53px; |
|
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
37 |
background-image: url(../img/logo_button.png); |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
38 |
background-repeat: no-repeat; |
39 |
border-right: 1px solid #111; |
|
40 |
border-left: 1px solid #111; |
|
41 |
float: left; |
|
42 |
}
|
|
43 |
||
44 |
/* Draws the extra light grey border for emboss effect */
|
|
45 |
#bannerLogoButton:before { |
|
46 |
content: ''; |
|
47 |
width: 159px; |
|
48 |
height: 53px; |
|
49 |
position: absolute; |
|
50 |
border-right: 1px solid #555; |
|
51 |
border-left: 1px solid #555; |
|
52 |
}
|
|
53 |
||
54 |
#bannerLogoButton:hover { |
|
55 |
height: 53px; |
|
56 |
background-color: #ae2771; |
|
57 |
}
|
|
58 |
||
59 |
/* Groups the content in the header between the LenaSYS button and the user button */
|
|
60 |
#bannerContent { |
|
61 |
width: 698px; /* Total width: 698px */ |
|
62 |
height: 54px; |
|
63 |
float: left; |
|
64 |
}
|
|
65 |
||
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
66 |
#bannerContentCMS { |
|
67.1.6
by a11emmjo
Replaced bannermenu/topmenu/header... on login-page. |
67 |
display: none; |
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
68 |
}
|
69 |
||
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
70 |
/* Contains the header for the CMS page */
|
71 |
#bannerHeaderCMS{ |
|
72 |
width: 640px; /* Total width: 640px */ |
|
73 |
height: 18px; |
|
74 |
padding: 24px 29px 12px; |
|
75 |
color: #eee; |
|
76 |
font-size: 1.8em; |
|
77 |
font-weight: bold; |
|
78 |
overflow: hidden; |
|
79 |
white-space: nowrap; |
|
80 |
}
|
|
81 |
||
82 |
/*
|
|
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
83 |
* Start of content for bannermenu in Codeviewer. Everything in this block is needed for the bannermenu in CodeViewer--------------
|
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
84 |
*/
|
85 |
||
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
86 |
#bannerContentExample { |
87 |
display: none; |
|
88 |
}
|
|
89 |
||
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
90 |
/* Contains the icon for the dropdownmenu in Codeviewer */
|
91 |
#bannerCodeviewerMenuButton { |
|
92 |
width: 31px; /* Total width: 52px with :before below */ |
|
93 |
height: 29px; |
|
94 |
background-repeat: no-repeat; |
|
95 |
padding: 12px 10px; |
|
96 |
font-size: 3.0em; |
|
97 |
border-right: 1px solid #111; |
|
98 |
float: left; |
|
99 |
}
|
|
100 |
||
101 |
/* Draws the extra light grey border for emboss effect */
|
|
102 |
#bannerCodeviewerMenuButton:before { |
|
103 |
content: ''; |
|
104 |
width: 31px; |
|
105 |
height: 53px; |
|
106 |
margin: -12px 11px; |
|
107 |
position: absolute; |
|
108 |
border-right: 1px solid #555; |
|
109 |
}
|
|
110 |
||
111 |
#bannerCodeviewerMenuButton:hover { |
|
112 |
height: 29px; |
|
113 |
background-color: #ae2771; |
|
114 |
}
|
|
115 |
||
116 |
#bannerLeftArrowButton { |
|
117 |
width: 25px; /* Total width: 40px */ |
|
118 |
height: 34px; |
|
119 |
background-repeat: no-repeat; |
|
120 |
padding: 16px 5px 8px 10px; |
|
121 |
font-size: 2.5em; |
|
122 |
float: left; |
|
123 |
}
|
|
124 |
||
125 |
#bannerLeftArrowButton:hover { |
|
126 |
height: 29px; |
|
127 |
background-color: #ae2771; |
|
128 |
}
|
|
129 |
||
130 |
#bannerRightArrowButton { |
|
131 |
width: 24px; /* Total width: 42px with :before below */ |
|
132 |
height: 29px; |
|
133 |
background-repeat: no-repeat; |
|
134 |
padding: 16px 12px 8px 5px; |
|
135 |
font-size: 2.5em; |
|
136 |
border-right: 1px solid #111; |
|
137 |
float: left; |
|
138 |
}
|
|
139 |
||
140 |
/* Draws the extra light grey border for emboss effect */
|
|
141 |
#bannerRightArrowButton:before { |
|
142 |
content: ''; |
|
143 |
width: 24px; |
|
144 |
height: 53px; |
|
145 |
margin: -16px 13px; |
|
146 |
position: absolute; |
|
147 |
border-right: 1px solid #555; |
|
148 |
}
|
|
149 |
||
150 |
#bannerRightArrowButton:hover { |
|
151 |
height: 29px; |
|
152 |
background-color: #ae2771; |
|
153 |
}
|
|
154 |
||
155 |
#bannerPlayButton { |
|
156 |
width: 24px; /* Total width: 52px with :before below */ |
|
157 |
height: 29px; |
|
158 |
background-repeat: no-repeat; |
|
159 |
padding: 16px 14px 8px 13px; |
|
160 |
font-size: 2.5em; |
|
161 |
border-right: 1px solid #111; |
|
162 |
float: left; |
|
163 |
}
|
|
164 |
||
165 |
/* Draws the extra light grey border for emboss effect */
|
|
166 |
#bannerPlayButton:before { |
|
167 |
content: ''; |
|
168 |
width: 24px; |
|
169 |
height: 53px; |
|
170 |
margin: -16px 15px; |
|
171 |
position: absolute; |
|
172 |
border-right: 1px solid #555; |
|
173 |
}
|
|
174 |
||
175 |
#bannerPlayButton:hover { |
|
176 |
height: 29px; |
|
177 |
background-color: #ae2771; |
|
178 |
}
|
|
179 |
||
180 |
/* Contains the header for the Codeviewer page */
|
|
181 |
#bannerHeaderExample{ |
|
182 |
width: 440px; /* Total width: 460px */ |
|
183 |
height: 18px; |
|
184 |
padding: 24px 10px 12px; |
|
185 |
font-size: 1.8em; |
|
186 |
font-weight: bold; |
|
187 |
overflow: hidden; |
|
188 |
white-space: nowrap; |
|
189 |
float: left; |
|
190 |
}
|
|
191 |
||
192 |
/* Contains the icon for keywords for the instructor and change view for the student */
|
|
193 |
#bannerExtraButton { |
|
194 |
width: 24px; /* Total width: 52px with :before below */ |
|
195 |
height: 24px; |
|
196 |
background-repeat: no-repeat; |
|
197 |
padding: 17px 13px 12px 14px; |
|
198 |
font-size: 2.5em; |
|
199 |
border-left: 1px solid #111; |
|
200 |
float: left; |
|
201 |
}
|
|
202 |
||
203 |
/* Draws the extra light grey border for emboss effect */
|
|
204 |
#bannerExtraButton:before { |
|
205 |
content: ''; |
|
206 |
width: 24px; |
|
207 |
height: 53px; |
|
208 |
margin: -17px -14px; |
|
209 |
position: absolute; |
|
210 |
border-left: 1px solid #555; |
|
211 |
}
|
|
212 |
||
213 |
#bannerExtraButton:hover { |
|
214 |
height: 24px; |
|
215 |
background-color: #ae2771; |
|
216 |
}
|
|
217 |
||
218 |
/*
|
|
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
219 |
* End of content for bannermenu in Codeviewer-------------------------------------------------------------------------------------
|
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
220 |
*/
|
221 |
||
222 |
#bannerUserMenuButton { |
|
223 |
width: 94px; /* Total width: 164px */ |
|
224 |
height: 15px; |
|
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
225 |
background-image: url(../img/user_menu_button.png); |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
226 |
background-repeat: no-repeat; |
227 |
padding: 25px 56px 13px 14px; |
|
228 |
font-family: Arial, Helvetica, sans-serif; |
|
229 |
font-size: 1.7em; |
|
230 |
text-align: center; |
|
231 |
float: left; |
|
232 |
}
|
|
233 |
||
234 |
#bannerUserMenuButton:hover { |
|
235 |
height: 15px; |
|
236 |
background-color: #ae2771; |
|
237 |
}
|
|
238 |
||
239 |
/*
|
|
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
240 |
* Dropdownmenus-------------------------------------------------------------------------------------------------------------------
|
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
241 |
*/
|
242 |
||
243 |
/* Contains the dropdownmenu for the codeviewer menu button */
|
|
244 |
#dropdownCodeviewerMenu { |
|
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
245 |
position: absolute; |
246 |
top: 54px; |
|
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
247 |
display: none; |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
248 |
min-width: 100px; |
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
249 |
color: #eee; |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
250 |
float: left; |
251 |
}
|
|
252 |
||
253 |
/* Contains the dropdownmenu for the userbutton */
|
|
254 |
#dropdownUserMenu { |
|
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
255 |
display: none; |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
256 |
min-width: 162px; |
257 |
margin: 0 1px; |
|
|
90.1.1
by a11emmjo
Fixed the bannermenu so it shouldn't interfer with the content below. |
258 |
color: #eee; |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
259 |
float: right; |
260 |
}
|
|
261 |
||
262 |
.drowdownMenuHeader{ |
|
263 |
height: 16px; |
|
264 |
border-top: 1px solid #0e91f2; |
|
265 |
border-bottom: 1px solid #074877; |
|
266 |
padding: 8px 10px 8px; |
|
267 |
background-color: #0a68ad; |
|
268 |
font-size: 1.6em; |
|
269 |
font-weight: bold; |
|
270 |
}
|
|
271 |
||
272 |
.dropdownMenuButton { |
|
273 |
height: 16px; |
|
274 |
border-top: 1px solid #555; |
|
275 |
border-bottom: 1px solid #111; |
|
276 |
padding: 6px 10px; |
|
277 |
background-color: #333; |
|
278 |
font-size: 1.6em; |
|
279 |
font-weight: 500; |
|
280 |
}
|
|
281 |
||
282 |
.dropdownMenuButton:hover { |
|
283 |
background-color: #ae2771; |
|
284 |
border-top: 1px solid #c14288; |
|
285 |
border-bottom: 1px solid #90215e; |
|
286 |
}
|
|
287 |
||
288 |
#dropdownMenuButtonArrow { |
|
289 |
width: 18px; |
|
290 |
height: 18px; |
|
291 |
margin: -2px; |
|
|
67.1.2
by a11emmjo
Changed from html to php and with that added some functions to the bannermenu. |
292 |
background-image: url(../img/icomoon_arrow_down.png); |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
293 |
float: right; |
294 |
}
|
|
295 |
||
296 |
/* Contains the list of all the courses */
|
|
297 |
#dropdownMenuCourseBlock { |
|
298 |
margin: 0 1px; |
|
299 |
padding: 5px 0; |
|
300 |
background-color: #333; |
|
|
85.2.1
by a11emmjo
Combined bannermenu with startview to get correct start-page. |
301 |
font-size: 1.4em; |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
302 |
}
|
303 |
||
304 |
#dropdownMenuCourseBlock li { |
|
305 |
display: block; |
|
|
85.2.1
by a11emmjo
Combined bannermenu with startview to get correct start-page. |
306 |
padding: 3px 10px 3px 32px; |
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
307 |
}
|
308 |
||
309 |
#dropdownMenuCourseBlock li:hover { |
|
310 |
background-color: #ae2771; |
|
311 |
}
|
|
312 |
||
|
85.2.1
by a11emmjo
Combined bannermenu with startview to get correct start-page. |
313 |
/* Sets the active course to bold */
|
314 |
.dropdownMenuCourseBlockActiveCourse { |
|
315 |
padding-left: 10px !important; |
|
316 |
font-weight: bold; |
|
317 |
}
|
|
318 |
||
319 |
/* Puts a checkmark before the active course */
|
|
320 |
.dropdownMenuCourseBlockActiveCourse:before { |
|
321 |
margin: 0 5px 0 0; |
|
322 |
content: url(../img/icomoon_checkmark.png); |
|
323 |
}
|
|
324 |
||
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
325 |
/* The divider between the list of the courses and Manage Courses */
|
326 |
#dropdownMenuCourseBlock hr { |
|
327 |
height: 1px; |
|
328 |
border-width: 0; |
|
329 |
margin: 5px 10px; |
|
330 |
color: #555; |
|
331 |
background-color: #555; |
|
332 |
}
|
|
333 |
||
|
85.2.1
by a11emmjo
Combined bannermenu with startview to get correct start-page. |
334 |
#dropdownMenuCourseBlock p { |
335 |
display: block; |
|
|
67.1.1
by a11emmjo
Added a new header/topmenu/bannermenu from now on called bannermenu. |
336 |
padding: 3px 10px; |
337 |
}
|
|
338 |
||
|
85.2.1
by a11emmjo
Combined bannermenu with startview to get correct start-page. |
339 |
#dropdownMenuCourseBlock p:hover { |
340 |
background-color: #ae2771; |
|
|
90.1.5
by a11emmjo
Added popup-div to bannermenu. |
341 |
}
|
342 |
||
343 |
/*
|
|
344 |
* Popup---------------------------------------------------------------------------------------------------------------------------
|
|
345 |
*/
|
|
346 |
|
|
347 |
#popup { |
|
348 |
display: none; |
|
349 |
position: absolute; |
|
350 |
top: 120px; |
|
351 |
left: 50%; |
|
352 |
/* Remove hardcoded info below |
|
353 |
margin-left: -50px;
|
|
354 |
width: 100px;
|
|
355 |
height: 100px;
|
|
356 |
background: red;*/
|
|
357 |
} |