angular-docs-cn/public/docs/_includes/styleguide/_alerts.jade

30 lines
1.2 KiB
Plaintext
Raw Normal View History

2015-04-06 10:08:11 -04:00
#sg-alerts.showcase.shadow-1
2015-04-06 09:41:08 -04:00
header.showcase-header
h2 Alerts
2016-04-09 12:38:38 -04:00
h2 警告
2015-04-06 09:41:08 -04:00
p.
Please use alerts sparingly throughout the docs.
They are meant to draw attention on important occasions.
2015-04-07 23:38:52 -04:00
Alerts should not be used for multi-line content (user callouts insteads) or stacked
2015-04-06 10:08:11 -04:00
on top of each other.
2016-04-09 12:38:38 -04:00
p.
请在文档中严谨的使用警告。这意味着只在重要的场合用它吸引注意力。
不要用警告表现多行内容(使用插图代替),也不要把它们堆叠在一起。
2015-04-06 09:41:08 -04:00
.showcase-content
.l-sub-section
h3 Adding an alert
2016-04-09 12:38:38 -04:00
h3 添加一个警告
2015-04-06 09:41:08 -04:00
.alert.is-critical A very <strong>critical</strong> alert
2016-04-09 12:38:38 -04:00
.alert.is-critical 非常<strong>关键</strong>的警告
2015-04-06 09:41:08 -04:00
.alert.is-important A very <strong>important</strong> alert
2016-04-09 12:38:38 -04:00
.alert.is-important 非常<strong>重要</strong>的警告
2015-04-06 09:41:08 -04:00
.alert.is-helpful A very <strong>helpful</strong> alert
2016-04-09 12:38:38 -04:00
.alert.is-helpful 非常<strong>有用</strong>的警告
2015-04-06 09:41:08 -04:00
pre.prettyprint.linenums
code.
2016-04-09 12:38:38 -04:00
.alert.is-critical 非常<strong>关键</strong>的警告
.alert.is-important 非常<strong>重要</strong>的警告
.alert.is-helpful 非常<strong>有用</strong>的警告