Changeset 1430
- Timestamp:
- 03/19/2015 10:37:51 PM (10 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/inc/callout-boxes.php
r879 r1430 27 27 'tip' => __( 'Tip:', 'wporg' ), 28 28 'alert' => __( 'Alert:', 'wporg' ), 29 'tutorial' => __( 'Tutorial:', 'wporg' ), 29 30 'warning' => __( 'Warning:', 'wporg' ) 30 31 ); … … 84 85 85 86 /** 87 * Output callback for the `[tutorial]` shortcode. 88 * 89 * @access public 90 * 91 * @param array $atts Shortcode attributes. 92 * @param string $content Shortcode content. 93 * @return string Shortcode output as HTML markup. 94 */ 95 public function tutorial_shortcode( $atts, $content = '' ) { 96 return $this->build_callout_output( $content, 'tutorial' ); 97 } 98 99 /** 86 100 * Output callback for the `[warning]` shortcode. 87 101 * … … 133 147 134 148 $callouts = new WPorg_Handbook_Callout_Boxes(); 135 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/handbook/stylesheets/callout-boxes.css
r879 r1430 41 41 color: #c7b200; 42 42 } 43 .callout-tutorial { 44 background: #EDE7F3; 45 border: 1px solid #936FB7; 46 border-bottom: 3px solid #663399; 47 } 48 .callout-tutorial .dashicons:before { 49 content: "\f308"; 50 color: #663399; 51 } 43 52 .callout-warning { 44 53 background: #ffd8d8; … … 50 59 color: #ff3f3f; 51 60 } 52
Note: See TracChangeset
for help on using the changeset viewer.