Actions

QS

Time limit warning style/fr: Difference between revisions

From LimeSurvey Manual

(Created page with "===Style CSS d'avertissement de limite de temps (time_limit_warning_style)===")
(Created page with "Il autorise (et remplace le style CSS par défaut) utilisé pour afficher le message d'avertissement de limite de temps. La valeur de style par défaut pour cet attribut sera...")
Line 6: Line 6:
'''Description'''
'''Description'''


It allows (and overrides the default) css styling used to display the time limit warning message. The default style value for this attribute will be used if it does not exist, which is: 'top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: white; z-index: 1001; text-align: center; overflow: auto'.
Il autorise (et remplace le style CSS par défaut) utilisé pour afficher le message d'avertissement de limite de temps. La valeur de style par défaut pour cet attribut sera utilisée s'il n'existe pas, à savoir : 'top : 10px ; gauche : 35 % ; largeur : 30 % ; hauteur : 60px ; remplissage : 16 px ; bordure : 8px solide #555 ; couleur de fond : blanc ; indice z : 1001 ; alignement du texte : centre ; débordement : auto ».


Any text entered into this attribute will overwrite the entire default css style for the warning message, so you should ensure that care is taken when entering a value for this attribute. It is strongly recommended that you re-use the z-index value, or that, at least, the z-index value be lower than that used for the time_limit_message_style attribute (which defaults to 1002).
Any text entered into this attribute will overwrite the entire default css style for the warning message, so you should ensure that care is taken when entering a value for this attribute. It is strongly recommended that you re-use the z-index value, or that, at least, the z-index value be lower than that used for the time_limit_message_style attribute (which defaults to 1002).

Revision as of 08:00, 28 September 2023


Style CSS d'avertissement de limite de temps (time_limit_warning_style)

Description

Il autorise (et remplace le style CSS par défaut) utilisé pour afficher le message d'avertissement de limite de temps. La valeur de style par défaut pour cet attribut sera utilisée s'il n'existe pas, à savoir : 'top : 10px ; gauche : 35 % ; largeur : 30 % ; hauteur : 60px ; remplissage : 16 px ; bordure : 8px solide #555 ; couleur de fond : blanc ; indice z : 1001 ; alignement du texte : centre ; débordement : auto ».

Any text entered into this attribute will overwrite the entire default css style for the warning message, so you should ensure that care is taken when entering a value for this attribute. It is strongly recommended that you re-use the z-index value, or that, at least, the z-index value be lower than that used for the time_limit_message_style attribute (which defaults to 1002).

This settings is only applicable if the general time limit setting is activated. This setting also exists for a second warning message.

Example

top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: gray; color: white; z-index: 1001; text-align: center; overflow: auto