Actions

QS

Time limit warning style/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "'''説明'''")
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
'''説明'''
'''説明'''


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'.
制限時間警告メッセージを表示するCSSを指定(既定のスタイルを上書き)します。指定しない場合は次の既定のスタイルが適用されます。'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'.


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).
この属性に設定されたテキストは警告メッセージの既定のCSSを上書きしてしまうので、値の入力には注意が必要です。z-index値を再利用するか、z-index値を少なくともtime_limit_message_styleの設定値(既定値は1002)よりも小さい数値とすることを強く推奨します。


This settings is only applicable if the general '''time limit setting''' is activated. This setting also exists for a second warning message.
この設定は、'''制限時間'''が設定されているときだけ有効です。2回目の警告メッセージの設定もあります。


'''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
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
Line 18: Line 18:
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Question Timer Options]]
[[Category:Question Settings/ja]][[Category:Question Timer Options]]

Latest revision as of 16:41, 16 August 2018


制限時間警告CSS (time_limit_warning_style)

説明

制限時間警告メッセージを表示するCSSを指定(既定のスタイルを上書き)します。指定しない場合は次の既定のスタイルが適用されます。'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'.

この属性に設定されたテキストは警告メッセージの既定のCSSを上書きしてしまうので、値の入力には注意が必要です。z-index値を再利用するか、z-index値を少なくともtime_limit_message_styleの設定値(既定値は1002)よりも小さい数値とすることを強く推奨します。

この設定は、制限時間が設定されているときだけ有効です。2回目の警告メッセージの設定もあります。

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