phpDocumentor base
[ class tree: base ] [ index: base ] [ all elements ]

Source for file Css.php

Documentation is available at Css.php

  1. <?
  2. /**
  3. * The CSS Base layout resources for this site
  4. *
  5. * @package base
  6. * @filesource
  7. * @see HTML_BASE_RESOURCE_PATH/Css.php
  8. * @copyright (c) http://Finn-Rasmussen.com
  9. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  10. * @author http://Finn-Rasmussen.com
  11. * @version 1.9
  12. * @since 21-oct-2005
  13. */
  14.  
  15. /**
  16. * @global String CSS_ONEPC The CSS Util
  17. */
  18. define('CSS_ONEPC' ,'baseOnepc');
  19. define('CSS_ONEPX' ,'baseOnepx');
  20. define('CSS_FLOAT_LEFT' ,'baseFloatLeft');
  21. define('CSS_FLOAT_CENTER' ,'baseFloatCenter');
  22. define('CSS_FLOAT_RIGHT' ,'baseFloatRight');
  23. define('CSS_HIDDEN' ,'baseHidden');
  24. define('CSS_HELP' ,'baseHelp');
  25. define('CSS_FILL_OUT' ,'baseFillOut');
  26. define('CSS_PRINTER' ,'basePrinter');
  27.  
  28. /**
  29. * @global String CSS_PAGE_VIEW CSS Views
  30. */
  31. define('CSS_PAGE_VIEW' ,'basePageView');
  32.  
  33. /**
  34. * @global String CSS_NORMAL_COLOR The CSS Normal Color for the whole site
  35. */
  36. define('CSS_NORMAL_COLOR' , '000');
  37.  
  38. /**
  39. * @global String CSS_NORMAL_BACKGROUND The CSS Normal Background Color for the whole site
  40. */
  41. define('CSS_NORMAL_BACKGROUND' , 'fff');
  42.  
  43. /**
  44. * @global String CSS_COLOR_HEADER The CSS XYZ class name for the whole site
  45. */
  46. if (!defined('CSS_COLOR_HEADER')) {
  47. define('CSS_COLOR_HEADER', DEFAULT_CSS_COLOR_HEADER);
  48. }
  49. if (!defined('CSS_COLOR_LIGHT')) {
  50. define('CSS_COLOR_LIGHT', DEFAULT_CSS_COLOR_LIGHT);
  51. }
  52. if (!defined('CSS_COLOR_DARK')) {
  53. define('CSS_COLOR_DARK', DEFAULT_CSS_COLOR_DARK);
  54. }
  55. if (!defined('CSS_ALIGN_LEFT')) {
  56. define('CSS_ALIGN_LEFT', DEFAULT_CSS_ALIGN_LEFT);
  57. }
  58. if (!defined('CSS_ALIGN_CENTER')) {
  59. define('CSS_ALIGN_CENTER', DEFAULT_CSS_ALIGN_CENTER);
  60. }
  61. if (!defined('CSS_ALIGN_RIGHT')) {
  62. define('CSS_ALIGN_RIGHT', DEFAULT_CSS_ALIGN_RIGHT);
  63. }
  64. if (!defined('CSS_LINK_COLOR')) {
  65. define('CSS_LINK_COLOR', DEFAULT_CSS_LINK_COLOR);
  66. }
  67. if (!defined('CSS_BORDER')) {
  68. define('CSS_BORDER', DEFAULT_CSS_BORDER);
  69. }
  70. if (!defined('CSS_FIELDSET')) {
  71. define('CSS_FIELDSET', DEFAULT_CSS_FIELDSET);
  72. }
  73. if (!defined('CSS_LEGEND')) {
  74. define('CSS_LEGEND', DEFAULT_CSS_LEGEND);
  75. }
  76. if (!defined('CSS_BODY')) {
  77. define('CSS_BODY', DEFAULT_CSS_BODY);
  78. }
  79. if (!defined('CSS_ARROW_HEADLINE')) {
  80. define('CSS_ARROW_HEADLINE', DEFAULT_CSS_ARROW_HEADLINE);
  81. }
  82.  
  83. /**
  84. * @global String CSS_FILE_NAME_BASE The CSS File Name used all over
  85. */
  86. define('CSS_FILE_NAME_BASE' , 'base.css');
  87. define('CSS_FILE_NAME_TABLE' , 'table.css');
  88. define('CSS_FILE_NAME_LINK' , 'link.css');
  89. define('CSS_FILE_NAME_FORM' , 'form.css');
  90. define('CSS_FILE_NAME_MENU' , 'menu.css');
  91. define('CSS_FILE_NAME_TAB' , 'tab.css');
  92. define('CSS_FILE_NAME_LAYOUT' , 'layout.css');
  93. define('CSS_FILE_NAME_COMPONENT', 'component.css');
  94. define('CSS_FILE_NAME_CMS' , 'cms.css');
  95.  
  96. /**
  97. * @global String CSS_FILES The CSS Files to use all over
  98. */
  99. if (!defined('CSS_FILES')) {
  100. define('CSS_FILES', CSS_FILES_INLINE);
  101. }
  102.  
  103. /**
  104. * @global String CSS_FONTSIZE_SIZE_XXSMALL Common CSS styles
  105. */
  106. define('CSS_FONTSIZE_SIZE_XXSMALL' ,'xx-small');
  107. define('CSS_FONTSIZE_SIZE_MEDIUM' ,'medium');
  108. define('CSS_ARROW_HEADLINE_WIDTH' ,'1%');
  109. define('CSS_NO_REPEAT' ,'no-repeat');
  110. define('CSS_REPEAT_X' ,'repeat-x');
  111. define('CSS_FONT_FAMILY' ,'verdana,"lucida sans unicode",lucida,"lucida sans",sans-serif');
  112. define('CSS_FONT_SIZE' ,'11px');
  113. define('CSS_FONT_WEIGHT_BOLD' ,'bold');
  114. define('CSS_MARGIN_TOP' ,'10px');
  115. define('CSS_MARGIN_LEFT' ,'10px');
  116. define('CSS_MARGIN_RIGHT' ,'10px');
  117. define('CSS_MARGIN_BOTTOM' ,'10px');
  118. define('CSS_TEXT_ALIGN' ,'left');
  119. define('CSS_TEXT_DECORATION_NONE' ,'none');
  120. define('CSS_TEXT_DECORATION_UNDERLINE' ,'underline');
  121. define('CSS_STYLE_IMAGE_NONE' ,'none');
  122. define('CSS_BACKGROUND_REPEAT_X' ,'repeat-x');
  123. define('CSS_0PX' ,'0px');
  124. define('CSS_1PX' ,'1px');
  125. define('CSS_2PX' ,'2px');
  126. define('CSS_1PC' ,'1%' );
  127. define('CSS_BORDER_STYLE_SOLID' ,'solid');
  128. define('CSS_BORDER_STYLE_OUTSET' ,'outset');
  129. define('CSS_BORDER_STYLE_GROOVE' ,'groove');
  130. define('CSS_CURSOR_HELP' ,'help');
  131. define('CSS_NONE' ,'baseNONE');
  132. define('CSS_WIDTH_FILL_OUT' ,'100%');
  133.  
  134. define('CSS_BODY_COLOR' ,CSS_NORMAL_COLOR);
  135. define('CSS_BODY_BACKGROUND' ,CSS_NORMAL_BACKGROUND);
  136. define('CSS_ARROW_HEADLINE_COLOR' ,'000');
  137. define('CSS_ARROW_HEADLINE_BACKGROUND' ,'f00');
  138. define('CSS_COLOR_HEADER_COLOR' ,'000');
  139. define('CSS_COLOR_HEADER_BACKGROUND' ,'aaa');
  140. define('CSS_COLOR_LIGHT_COLOR' ,CSS_NORMAL_COLOR);
  141. define('CSS_COLOR_LIGHT_BACKGROUND' ,'ddd');
  142. define('CSS_COLOR_DARK_COLOR' ,CSS_NORMAL_COLOR);
  143. define('CSS_COLOR_DARK_BACKGROUND' ,'ccc');
  144.  
  145. define('CSS_BORDER_COLOR' ,CSS_NORMAL_COLOR);
  146. define('CSS_BORDER_BACKGROUND' ,CSS_NORMAL_BACKGROUND);
  147.  
  148. ?>

Documentation generated on Thu, 22 Dec 2005 17:03:58 +0100 by phpDocumentor 1.3.0RC3