_html.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /**
  2. * W3C suggested default style sheet for HTML 4:
  3. * [http://www.w3.org/TR/CSS21/sample.html](http://www.w3.org/TR/CSS21/sample.html)
  4. *
  5. * @member Global_CSS
  6. */
  7. @mixin extjs-html {
  8. .#{$prefix}html {
  9. html,
  10. address,
  11. blockquote,
  12. body,
  13. dd,
  14. div,
  15. dl,
  16. dt,
  17. fieldset,
  18. form,
  19. frame, frameset,
  20. h1,
  21. h2,
  22. h3,
  23. h4,
  24. h5,
  25. h6,
  26. noframes,
  27. ol,
  28. p,
  29. ul,
  30. center,
  31. dir,
  32. hr,
  33. menu,
  34. pre { display: block; }
  35. li { display: list-item; list-style: disc; }
  36. head { display: none; }
  37. table { display: table; }
  38. tr { display: table-row; }
  39. thead { display: table-header-group; }
  40. tbody { display: table-row-group; }
  41. tfoot { display: table-footer-group; }
  42. col { display: table-column; }
  43. colgroup { display: table-column-group; }
  44. td,
  45. th { display: table-cell; }
  46. caption { display: table-caption; }
  47. th { font-weight: bolder; text-align: center; }
  48. caption { text-align: center; }
  49. body { margin: 8px; }
  50. h1 { font-size: 2em; margin: .67em 0; }
  51. h2 { font-size: 1.5em; margin: .75em 0; }
  52. h3 { font-size: 1.17em; margin: .83em 0; }
  53. h4,
  54. p,
  55. blockquote,
  56. ul,
  57. fieldset,
  58. form,
  59. ol,
  60. dl,
  61. dir,
  62. menu { margin: 1.12em 0; }
  63. h5 { font-size: .83em; margin: 1.5em 0; }
  64. h6 { font-size: .75em; margin: 1.67em 0; }
  65. h1,
  66. h2,
  67. h3,
  68. h4,
  69. h5,
  70. h6,
  71. b,
  72. strong { font-weight: bolder; }
  73. blockquote { margin-left: 40px; margin-right: 40px; }
  74. i,
  75. cite,
  76. em,
  77. var,
  78. address { font-style: italic; }
  79. pre,
  80. tt,
  81. code,
  82. kbd,
  83. samp { font-family: monospace; }
  84. pre { white-space: pre; }
  85. button,
  86. textarea,
  87. input,
  88. select { display: inline-block; }
  89. big { font-size: 1.17em; }
  90. small,
  91. sub,
  92. sup { font-size: .83em; }
  93. sub { vertical-align: sub; }
  94. sup { vertical-align: super; }
  95. table { border-spacing: 2px; }
  96. thead,
  97. tbody,
  98. tfoot { vertical-align: middle; }
  99. td,
  100. th { vertical-align: inherit; }
  101. s,
  102. strike,
  103. del { text-decoration: line-through; }
  104. hr { border: 1px inset; }
  105. ol,
  106. ul,
  107. dir,
  108. menu,
  109. dd { margin-left: 40px; }
  110. ul, menu, dir { list-style-type: disc; }
  111. ol { list-style-type: decimal; }
  112. ol ul,
  113. ul ol,
  114. ul ul,
  115. ol ol { margin-top: 0; margin-bottom: 0; }
  116. u,
  117. ins { text-decoration: underline; }
  118. br:before { content: "\A"; }
  119. :before, :after { white-space: pre-line; }
  120. center { text-align: center; }
  121. :link, :visited { text-decoration: underline; }
  122. :focus { outline: invert dotted thin; }
  123. /* Begin bidirectionality settings (do not change) */
  124. BDO[DIR="ltr"] { direction: ltr; unicode-bidi: bidi-override; }
  125. BDO[DIR="rtl"] { direction: rtl; unicode-bidi: bidi-override; }
  126. ; }
  127. }