FAQ
Products Showcase Download Extras Support
 
Home :: Support :: Community :: CourseLab Issues

CSS

CSS 
Author:  Jose    
Date: 23.02.2010 20:35:04
Is there a way to add a and link CSS in CourseLab?  
...
Re: (1) CSS 
Author:  Barend Maaskant    
Date: 23.02.2010 20:44:15
There is a css file images/course.css
You can have a look if you can influence the look of these tags.
Not sure, though, because many items are written bij javascript in the html. But it's worth a try
 
...
Re: (2) (1) CSS 
Author:  Jose    
Date: 24.02.2010 00:04:32
I found it, but not sure if there is much that can be done with it.  
...
Re: (2) (2) (1) CSS 
Author:  barend    
Date: 24.02.2010 01:26:56
Well, ehh ... if I add to course.css:
a {
color: lime;
}
a:hover {
color: aqua;
}
the color of a link in a textfield is changed.
Was that what you want or did you mean something else?  
...
Re: (2) (2) (2) (1) CSS 
Author:  Jose Colunga    
Date: 25.02.2010 00:37:59
Yes, something like that. I was looking for a simple way to create box styles and a
    style with a little pizzaz! I wish I had the time, but I can't go changing the xls sheets as Nick suggested; good suggestion however.  
...
Re: (2) (2) (2) (1) CSS 
Author:  barend    
Date: 25.02.2010 03:46:19
Nick,
Reveal your secret
Where can I find these style sheets?

Barend  
...
Re: (2) (2) (1) CSS 
Author:  Nick James    
Date: 24.02.2010 01:32:55
The file course.css only applies a fix for gecko browsers.
Take a look at the xsl style sheets, these are what is used for the various drop in components. These transformation tables are what is used by the xlst processor to transform (style) the elements in the pages.
**If you don't understand the last line then DON'T mess with these files**
There are also some items built into the main course xml file itself like table containers.
I did look at these to see if there was a relatively simple way to make a floating css layout. Hacking the xsl's is reasonably straight forwards BUT all the layout components embedded into the main xml are a real pain.
Ammend one item in the module which needs a re-publish and you have to dig through the lot and rewrite the original hacks you made. I got throughly bored with it and gave up!!
 
...
Re: (2) (2) (2) (1) CSS 
Author:  barend    
Date: 24.02.2010 03:21:38
Hmm ... quite interesting and a challenge ... a pity the winter is coming to an end so I have to wait 9 months for the long dark evenings ...
But asap I am going to have a look  
...
Re: (2) (1) CSS 
Author:  Slav Shchinov    
Date: 24.02.2010 12:17:42
Yes, this CSS file can be used. But there's a big BUT: "whole tag" styles will be applied only if there's no styles in objects that override them (i.e. in most cases they will be overridden). You can try to use named styles (but in this case you should insert them into text object manually in HTML mode) and styles by object ID - actually object ID goes to object container DIV in runtime and some styles in object can be inherited (but in this case CSS inheritance may be overridden again).
 
...

Reply

You can also post this message as registered user. [Log in]
Author:
E-mail:
Subject:
Options:  Notify me if there is a new reply
Message emoticon:
Message body:
Insert smilie into text:
 
Jump to thread: