_all.scss2.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>The source code</title>
  6. <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  7. <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  8. <style type="text/css">
  9. .highlight { display: block; background-color: #ddd; }
  10. </style>
  11. <script type="text/javascript">
  12. function highlight() {
  13. document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
  14. }
  15. </script>
  16. </head>
  17. <body onload="prettyPrint(); highlight();">
  18. <pre class="prettyprint lang-js"><span id='Ext-form-Panel-css_mixin-extjs-form'>/**
  19. </span> * Creates the base structure of Ext.form.Panel.
  20. * @member Ext.form.Panel
  21. */
  22. @mixin extjs-form {
  23. /*misc*/
  24. .#{$prefix}webkit {
  25. * {
  26. &amp;:focus {
  27. outline:none !important;
  28. }
  29. }
  30. }
  31. // form items
  32. .#{$prefix}form-item {
  33. vertical-align: top;
  34. table-layout: fixed;
  35. }
  36. // form items within auto, anchor, vbox checkboxgroup, and table layouts have bottom margin of 5px
  37. .#{$prefix}autocontainer-form-item,
  38. .#{$prefix}anchor-form-item,
  39. .#{$prefix}vbox-form-item,
  40. .#{$prefix}checkboxgroup-form-item,
  41. .#{$prefix}table-form-item {
  42. margin-bottom: 5px;
  43. }
  44. // form items within form layout have 5px margin around them
  45. .#{$prefix}form-layout-table {
  46. border-collapse: separate;
  47. border-spacing: 0 2px;
  48. }
  49. // Allow for positioned child elements, e.g. custom icons
  50. .#{$prefix}form-item-body {
  51. position: relative;
  52. }
  53. .#{$prefix}form-form-item {
  54. td {
  55. border-top: 1px solid transparent;
  56. }
  57. }
  58. // IE6 cannot do border-spacing 0 2px;
  59. // IE6 cannot do border-color: transparent
  60. // So we revert pack to a pad row for IE6
  61. .#{$prefix}ie6 {
  62. .#{$prefix}form-layout-table {
  63. border-collapse: collapse;
  64. border-spacing: 0;
  65. }
  66. .#{$prefix}form-form-item {
  67. td {
  68. border-top-width: 0;
  69. }
  70. }
  71. // Padding row for IE6 when Labelable Fields are in a form layout
  72. td.#{$prefix}form-item-pad {
  73. height: 5px;
  74. }
  75. }
  76. // No padding when inside an Editor
  77. .#{$prefix}editor .#{$prefix}form-item-body {
  78. padding-bottom: 0;
  79. }
  80. .#{$prefix}form-item-label {
  81. display: block;
  82. padding: 3px 0 0;
  83. font-size: $form-label-font-size;
  84. @include no-select;
  85. }
  86. .#{$prefix}form-item-label-top {
  87. display: block;
  88. zoom: 1;
  89. padding: 0 0 5px 0;
  90. }
  91. .#{$prefix}form-item-label-right {
  92. text-align: right;
  93. }
  94. .#{$prefix}form-invalid-under {
  95. padding: 2px 2px 2px $form-error-icon-width;
  96. color: $form-error-msg-color;
  97. font: $form-error-msg-font;
  98. line-height: $form-error-msg-line-height;
  99. background: no-repeat 0 2px;
  100. background-image: theme-background-image($theme-name, $form-exclamation-icon);
  101. }
  102. .#{$prefix}form-invalid-icon {
  103. width: $form-error-icon-width;
  104. height: 14px;
  105. background: no-repeat center center;
  106. background-image: theme-background-image($theme-name, $form-exclamation-icon);
  107. overflow: hidden;
  108. ul {
  109. display: block;
  110. width: $form-error-icon-width;
  111. li {
  112. /* prevent inner elements from interfering with QuickTip hovering */
  113. display: none;
  114. }
  115. }
  116. }
  117. // When the label is on top, the right icon cell is taller, so the icon image needs bumping down
  118. .#{$prefix}lbl-top-err-icon {
  119. margin-bottom: 4px;
  120. }
  121. }</pre>
  122. </body>
  123. </html>