QS:时间限制警告样式
From LimeSurvey Manual
时间限制警告 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)。
仅当启用了常规的时间限制设置时,此设置才适用。第二条警告消息也有相应的此项设置。
示例
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