Actions

QS

Time limit message style/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "===時間切れメッセージCSS (time_limit_message_style)===")
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
===時間切れメッセージCSS (time_limit_message_style)===
===時間切れメッセージCSS (time_limit_message_style)===


'''Description'''
'''説明'''


It allows (and overrides the default) css styling used to display the time limit 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: 1002; 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: 1002; text-align: center; overflow: auto'


Any text entered into this attribute will overwrite the entire default css style, 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 is higher than that used for the '''time_limit_warning_message_style attribute''' (which defaults to 1001).
この属性に設定されたテキストは既定のCSSを上書きしてしまうので、値の入力には注意が必要です。z-index値を再利用するか、z-index値を少なくとも'''time_limit_warning_message_style attribute''' (既定値は1001)よりも大きい数値とすることを強く推奨します。


'''Example'''
''''''


Set to: top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: black; color: white; z-index: 1010; text-align: center; overflow: auto
設定: top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: black; color: white; z-index: 1010; text-align: center; overflow: auto


</onlyinclude>
</onlyinclude>


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

Latest revision as of 16:42, 16 August 2018


時間切れメッセージCSS (time_limit_message_style)

説明

時間切れメッセージを表示するCSSを指定(既定のスタイルを上書き)します。指定しない場合は次の既定のスタイルが適用されます。'top: 10px; left: 35%; width: 30%; height: 60px; padding: 16px; border: 8px solid #555; background-color: white; z-index: 1002; text-align: center; overflow: auto'

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

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