Why do the default templates have two .css files?

Mehr
1 Jahr 8 Monate her #155029 von Magnar
COM_KUNENA_MESSAGE_CREATED_NEW
Hello everyone,

this is probably a trivial question but I keep wondering about it: why do the default templates have two .css files instead of one? Is the template.css meant to provide fundamental declarations while the other .css file builds/extends upon it? Or is it something else entirely?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 8 Monate her - 1 Jahr 8 Monate her #155030 von Joffm
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi, Magnar,
it's the other way around.
The (e.g.) "flat and modern.css" contains the general bootstrap stuff.
You will see if you compare to bootstrap.css or other themes like cerulean, yeti or so.

This way it is rather easy to change the styling. I used one of the bootstrap themes which you find in " www.bootswatch.com " together with the "template.css".


The "template.css" contains the LS specific styles.

And here you are to add your individual stylings.

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 Jahr 8 Monate her by Joffm. Begründung: Ergänzung
Folgende Benutzer bedankten sich: LouisGac, Magnar

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 8 Monate her - 1 Jahr 8 Monate her #155035 von tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
Also, template.css is loaded last so takes precedence over other style sheets and it should be used for template customizations.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 1 Jahr 8 Monate her by tpartner.
Folgende Benutzer bedankten sich: Magnar

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 8 Monate her - 1 Jahr 8 Monate her #155049 von Magnar
COM_KUNENA_MESSAGE_REPLIED_NEW
Ah, I see. Thanks for the quick replies, guys! So the template.css should contain all user customizations while the other .css file should be left untouched due to the bootstrap settings and all?
Last edit: 1 Jahr 8 Monate her by Magnar.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 8 Monate her #155051 von tammo
COM_KUNENA_MESSAGE_REPLIED_NEW
Exactly. Although you are completely free to also change that. It will also work. But updating will be more difficult then.


Tammo ter Hark at Tools for Research
Proud developers of the TFR Responsive Limesurvey template
toolsforresearch.com/limesurvey-responsive-template
Folgende Benutzer bedankten sich: Magnar

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha