Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

253 lines
8.7 KiB

  1. @charset "UTF-8";
  2. /**
  3. * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
  4. *
  5. * (en) CSS-component for creating vertical forms
  6. * (de) CSS-Baustein zur Erstellung von Formularen mit untereinander angeordneten Elementen
  7. *
  8. * @note Many thanks to Ansgar Hein (http://www.anatom5.de) for contribution
  9. *
  10. * @copyright Copyright 2005-2009, Dirk Jesse
  11. * @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
  12. * YAML-C (http://www.yaml.de/en/license/license-conditions.html)
  13. * @link http://www.yaml.de
  14. * @package yaml
  15. * @version 3.1
  16. * @revision $Revision: 343 $
  17. * @lastmodified $Date: 2009-01-19 23:41:32 +0100 (Mo, 19. Jan 2009) $
  18. */
  19. @media all
  20. {
  21. /**
  22. * YAML Forms - visual styling
  23. *
  24. * (en) visual form styling area
  25. * (de) Festlegung des optischen Erscheinungsbildes
  26. */
  27. form.yform {
  28. background: #f4f4f4;
  29. border: 1px #ddd solid;
  30. margin: 0 0 1em 0;
  31. padding: 10px;
  32. }
  33. form.yform fieldset {
  34. border: 1px #ddd solid;
  35. background: #fafafa;
  36. margin: 0 0 1em 0;
  37. padding: 0.5em 1em;
  38. }
  39. form.yform legend {
  40. font-size: 125%; font-weight: normal; color: #000;
  41. }
  42. form.yform label {
  43. color: #666;
  44. }
  45. form.yform .type-text input,
  46. form.yform .type-text textarea,
  47. form.yform .type-select select {
  48. font-family: Arial, Helvetica, sans-serif; /* proportional fonts for all form elements */
  49. border: 1px solid #ddd;
  50. }
  51. /* :hover and :focus status on form fields | Effekt zur Hervorhebung von Formularfeldern bei :hover oder :focus */
  52. form.yform div input:focus,
  53. form.yform div select:focus,
  54. form.yform div textarea:focus,
  55. form.yform div input:hover,
  56. form.yform div select:hover,
  57. form.yform div textarea:hover,
  58. form.yform div input:active,
  59. form.yform div select:active,
  60. form.yform div textarea:active {
  61. border: 1px #a66 solid;
  62. background: #fff;
  63. }
  64. /* Styling of buttons | Gestaltung von Buttons */
  65. form.yform .type-button input {
  66. border-top: 1px #ddd solid;
  67. border-left: 1px #ddd solid;
  68. border-right: 1px #444 solid;
  69. border-bottom: 1px #444 solid;
  70. color: #000;
  71. background: #454545 url(images/button_gray.png) top left repeat-x;
  72. padding: .5em 1.2em;
  73. }
  74. form.yform .type-button input#reset { color: #300; background: #661717 url(images/button_red.png) top left repeat-x; }
  75. form.yform .type-button input#submit { color: #330; background: #5e5607 url(images/button_yellow.png) top left repeat-x; }
  76. /* :hover and :focus status on buttons | Effekt zur Hervorhebung von Schaltern bei :hover oder :focus */
  77. form.yform div.type-button input:focus,
  78. form.yform div.type-button input:hover,
  79. form.yform div.type-button input:active {
  80. border-top: 1px #444 solid;
  81. border-left: 1px #444 solid;
  82. border-right: 1px #ddd solid;
  83. border-bottom: 1px #ddd solid;
  84. color: #fff;
  85. background: #555;
  86. }
  87. form.yform div.type-button input#reset:focus,
  88. form.yform div.type-button input#reset:hover,
  89. form.yform div.type-button input#reset:active {
  90. background: #800; color: #fff;
  91. }
  92. form.yform div.type-button input#submit:focus,
  93. form.yform div.type-button input#submit:hover,
  94. form.yform div.type-button input#submit:active {
  95. background: #880; color: #fff;
  96. }
  97. /*------------------------------------------------------------------------------------------------------*/
  98. /**
  99. * Vertical-Forms - technical base (standard)
  100. *
  101. * |-------------------------------|
  102. * | fieldset |
  103. * |-------------------------------|
  104. * | label |
  105. * | input / select / textarea |
  106. * |-------------------------------|
  107. * | /fieldset |
  108. * |-------------------------------|
  109. *
  110. * (en) Styling of forms where both label and input/select/textarea are styled with display: block;
  111. * (de) Formulargestaltung, bei der sowohl label als auch input/select/textarea mit display: block; gestaltet werden
  112. *
  113. * WARNING: This part contains several IE-stability-fixes. Don't edit this part if you are not sure, what you're doing!
  114. */
  115. /* General form styling | Allgemeine Formatierung des Formulars */
  116. form.yform { overflow: hidden; }
  117. form.yform fieldset { overflow: hidden; }
  118. form.yform legend { background: transparent; border: 0; }
  119. form.yform label { display:block; cursor: pointer; }
  120. form.yform .message { display: block; margin-bottom: 0.5em; color: #666; }
  121. /* Hiding of hidden fields (otherwise ugly spaces in Firefox) | Versteckte Felder wirklich verstecken (sonst ggf. häßliche Lücken im Firefox) */
  122. form.yform input[type=hidden] { display: none !important; }
  123. /* Highlight mandatory fields | Pflichtfeldkennzeichnung hervorheben */
  124. form.yform sup { color: #800; font-weight: bold; }
  125. /* styling containing DIV elements | Gestaltung der kapselnden DIV-Elemente */
  126. form.yform div.type-text,
  127. form.yform div.type-select,
  128. form.yform div.type-check,
  129. form.yform div.type-button {
  130. margin: 0.5em 0;
  131. position: relative;
  132. overflow: hidden;
  133. }
  134. /* styling standard form elements with 'almost' equal flexible width | Gestaltung der einzelnen Formularelemente mit annähend gleicher Breite */
  135. form.yform .type-text input,
  136. form.yform .type-text textarea {
  137. display: block;
  138. position: relative;
  139. padding: 0.3em 0.3em;
  140. width: 58.5%;
  141. }
  142. form.yform .type-select select {
  143. display: block;
  144. position: relative;
  145. padding: 0.3em 2px 0.3em 1px;
  146. width: 60%;
  147. cursor: pointer;
  148. }
  149. form.yform .type-select select optgroup {
  150. font-style: normal;
  151. font-weight: bold;
  152. }
  153. form.yform .type-check input { cursor: pointer; }
  154. form.yform .type-check label { display: inline; }
  155. /* Styling of buttons | Gestaltung von Buttons */
  156. form.yform .type-button input {
  157. width: auto;
  158. cursor: pointer;
  159. }
  160. /* Styling of error-messages | Fehlermeldungen */
  161. form.yform div.error {
  162. border: 1px #a00 dashed;
  163. background: #faf4f4;
  164. padding: 0.5em;
  165. }
  166. form.yform div.error label { color: #000; font-weight:bold; }
  167. form.yform div.error .message { color: #800; }
  168. /*------------------------------------------------------------------------------------------------------*/
  169. /**
  170. * Columnar forms display - technical base (optional)
  171. *
  172. * |-------------------------------------------|
  173. * | fieldset |
  174. * |-------------------------------------------|
  175. * | |
  176. * | label | input / select / textarea |
  177. * | |
  178. * |-------------------------------------------|
  179. * | /fieldset |
  180. * |-------------------------------------------|
  181. *
  182. * (en) Styling of forms where label floats left of form-elements
  183. * (de) Formulargestaltung, bei der die label-Elemente nach links fließen
  184. *
  185. * WARNING: This part contains several IE-stability-fixes. Don't edit this part if you are not sure, what you're doing!
  186. */
  187. /* Columnar display | Spalten-Darstellung */
  188. .columnar .type-text label,
  189. .columnar .type-select label {
  190. float: left;
  191. width: 30%; /* Can be fixed width too | Kann auch eine fixe Angabe sein */
  192. }
  193. /* Indent Checkbox fields to match label-width | Checkboxen um den gleichen Wert einrücken, wie die Breite der labels */
  194. .columnar div.type-check { padding-left: 30%; }
  195. .columnar div.error .message { margin-left: 30%; }
  196. .columnar div.type-text input,
  197. .columnar div.type-text textarea { width: 67.8%; }
  198. .columnar div.type-select select { width: 69.4%; }
  199. /* width adjustments for IE 5.x & IE6 | Breitenanpassung für Internet Explorer 5.x und 6.0 */
  200. * html .columnar div.type-text input,
  201. * html .columnar div.type-text textarea { width: 67.2%; }
  202. * html .columnar div.type-select select { width: 68.8%; }
  203. /*------------------------------------------------------------------------------------------------------*/
  204. /**
  205. * Forms Fieldset/Legend-Bug in IE
  206. * @see http://www.mattheerema.com/web-design/2006/04/getting-fieldset-backgrounds-and-legends-to-behave-in-ie/
  207. *
  208. * @workaround
  209. * @affected IE 5.x/Win, IE6, IE7
  210. * @css-for IE 5.x/Win, IE6, IE7
  211. * @valid yes
  212. */
  213. /* IE5.x & IE6 */
  214. * html form.yform legend { position:absolute; top: -.5em; left: .5em; }
  215. * html form.yform fieldset { overflow:visible; height: 1%; margin-top:1.5em; padding-top:1.5em; }
  216. /* IE7 */
  217. *+html form.yform legend { position:absolute; top: -.5em; left: .5em; }
  218. *+html form.yform fieldset { overflow:visible; height:1%; margin-top:1.5em; padding-top:1.5em; }
  219. }