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