After the last Confluence update, the "info" and "note" formatting settings of the PDF stylesheet are ignored when exporting.

      .panelMacro
      {
      	margin-left:0;
      	margin-right:0;
      	padding:0;	
      }
      
      table.infoMacro,
      table.noteMacro
      {
      	text-align: justify;	
      	border-style:solid;
      	border-color:black;	
      	border-width:1px;
      	padding-top:4px;
      	padding-bottom:4px;
      	padding-left:4px;
      	padding-right:4px;	
      }
      
      table.infoMacro
      {
      	background-color:white;
      	border-left-width:0px;
      	border-right-width:0px;
      }
      
      table.noteMacro
      {
      	background-color:#C8C8C8;
      }

      Must I use different CSS classes?

      Thank you very much (:

            [CONFSERVER-32662] "info" macro no longer formatted by PDF Stylesheet

            Mel DuPont added a comment -

            This CSS works for me in 7.5.1:

            /* NOTE, INFO, TIP, AND WARNING MACRO */
            
            .confluence-information-macro {
                  margin: 3px 0in 3px 0in; /* Top Right Bottom Left */
            }
            

            Hope this helps, Davids!

             

            Mel DuPont added a comment - This CSS works for me in 7.5.1: /* NOTE, INFO, TIP, AND WARNING MACRO */ .confluence-information-macro { margin: 3px 0in 3px 0in; /* Top Right Bottom Left */ } Hope this helps, Davids!  

            Hi David,

            Yes the markup and CSS changed with the UI refresh in confluence 5.x. The newer classes are:

            aui-message $class shadowed information-macro
            

            where $class is one of (problem, warning, hint, success) for the warning, note, info and tip macros respectively.

            Hope this helps. At worst, create a page with those macros on them, and use your browser developer tools to inspect the classes.

            Closing this off now since it's not a bug.
            Thanks,
            David Rizzuto
            Atlassian

            David Rizzuto added a comment - Hi David, Yes the markup and CSS changed with the UI refresh in confluence 5.x. The newer classes are: aui-message $class shadowed information-macro where $class is one of (problem, warning, hint, success) for the warning, note, info and tip macros respectively. Hope this helps. At worst, create a page with those macros on them, and use your browser developer tools to inspect the classes. Closing this off now since it's not a bug. Thanks, David Rizzuto Atlassian

              Unassigned Unassigned
              02f55fc361fd David Chiner
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: