wcdn_navigation_style

Output the print navigation style.

Description

wcdn_navigation_style(); 

Usage

  1. if ( !function_exists( 'wcdn_navigation_style' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-print-invoice-delivery-note/includes/wcdn-template-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wcdn_navigation_style(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wcdn-template-functions.php  
  1. function wcdn_navigation_style() { 
  2. ?> 
  3. <style> 
  4. #navigation { 
  5. font-family: sans-serif; 
  6. background-color: #f1f1f1; 
  7. z-index: 200; 
  8. border-bottom: 1px solid #dfdfdf; 
  9. left: 0; 
  10. right: 0; 
  11. bottom: 0; 
  12. position: fixed; 
  13. padding: 6px 8px; 
  14. text-align: right; 
  15.  
  16. #navigation .button { 
  17. transition-property: border, background, color; 
  18. display: inline-block; 
  19. font-size: 13px; 
  20. line-height: 26px; 
  21. height: 28px; 
  22. margin: 0; 
  23. padding: 0 10px 1px; 
  24. cursor: pointer; 
  25. border-width: 1px; 
  26. border-style: solid; 
  27. -webkit-border-radius: 3px; 
  28. -webkit-appearance: none; 
  29. border-radius: 3px; 
  30. white-space: nowrap; 
  31. -webkit-box-sizing: border-box; 
  32. -moz-box-sizing: border-box; 
  33. box-sizing: border-box; 
  34.  
  35. background: #2ea2cc; 
  36. border-color: #0074a2; 
  37. -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5), 0 1px 0 rgba(0, 0, 0, .15); 
  38. box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5), 0 1px 0 rgba(0, 0, 0, .15); 
  39. color: #fff; 
  40. text-decoration: none; 
  41.  
  42. #navigation .button:hover,  
  43. #navigation .button:focus { 
  44. background: #1e8cbe; 
  45. border-color: #0074a2; 
  46. -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.6); 
  47. box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.6); 
  48. color: #fff; 
  49.  
  50. #navigation .button:active { 
  51. background: #1b7aa6; 
  52. border-color: #005684; 
  53. color: rgba(255, 255, 255, 0.95); 
  54. -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); 
  55. box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); 
  56.  
  57. @media print {  
  58. #navigation { 
  59. display: none; 
  60. </style> 
  61. <?php