gray-theme.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. /**
  2. * "Yet Another Multicolumn Layout" - YAML CSS Framework
  3. *
  4. * YAML form theme: "gray-theme"
  5. *
  6. * @copyright Copyright 2005-2012, Dirk Jesse
  7. * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
  8. * YAML-CDL (http://www.yaml.de/license.html)
  9. * @link http://www.yaml.de
  10. * @package yaml
  11. * @version v4.0.1
  12. * @revision $Revision: 729 $
  13. * @lastmodified $Date: 2012-03-03 13:20:39 +0100 (Sa, 03 Mrz 2012) $
  14. */
  15. @media screen and (min-width: 0px){
  16. /**
  17. * @section general width settings for formular elements in modern browsers
  18. * switching to CSS3 box modell "border-box" for perfect flexible forms
  19. *
  20. * Styling for: <labels>, <input>, <textarea> and <select>
  21. *
  22. */
  23. .ym-form input,
  24. .ym-form input,
  25. .ym-form textarea,
  26. .ym-form select {
  27. -webkit-box-sizing: border-box;
  28. -moz-box-sizing: border-box;
  29. -ms-box-sizing: border-box;
  30. box-sizing: border-box;
  31. width:60%;
  32. }
  33. .ym-columnar label {
  34. -webkit-box-sizing: border-box;
  35. -moz-box-sizing: border-box;
  36. -ms-box-sizing: border-box;
  37. box-sizing: border-box;
  38. }
  39. .ym-columnar .ym-fbox-select select,
  40. .ym-columnar .ym-fbox-text input,
  41. .ym-columnar .ym-fbox-text textarea { width:70%; }
  42. .ym-full .ym-fbox-select select,
  43. .ym-full .ym-fbox-text input,
  44. .ym-full .ym-fbox-text textarea { width:100%; }
  45. }
  46. @media screen, projection {
  47. /**
  48. * @section general form styling
  49. *
  50. * Styling for: <form>, <fieldset>, <legend>, <label> and rows (class="ym-fbox-[xxx]")
  51. *
  52. */
  53. .ym-form {
  54. background:#f4f4f4;
  55. border:2px #fff solid;
  56. margin: 1.5em 0 0 0;
  57. padding: 0;
  58. -webkit-box-shadow: 0 0 4px #ddd;
  59. -moz-box-shadow: 0 0 4px #ddd;
  60. box-shadow: 0 0 4px #ddd;
  61. }
  62. .ym-form fieldset {
  63. position:static;
  64. background:transparent;
  65. margin: 0.75em 0 0.75em 0;
  66. padding: 0 0.5em;
  67. }
  68. .ym-form legend {
  69. background:transparent;
  70. color:#000;
  71. font-size:1.2em;
  72. line-height:1.25em;
  73. font-weight:bold;
  74. padding:0 0.5em;
  75. }
  76. .ym-form label {
  77. color:#666;
  78. line-height: 1.5em;
  79. }
  80. .ym-label {
  81. color: #666;
  82. padding-top: 0.25em;
  83. }
  84. .ym-form .ym-form div.ym-fbox-check:focus + label {
  85. color:#000;
  86. }
  87. /* styling containing DIV elements | Gestaltung der kapselnden DIV-Elemente */
  88. .ym-form div.ym-fbox-text,
  89. .ym-form div.ym-fbox-select,
  90. .ym-form div.ym-fbox-check,
  91. .ym-form div.ym-fbox-button {
  92. padding: 0.3em 1em;
  93. margin-bottom: 0.5em;
  94. }
  95. .ym-form div.ym-fbox-button {
  96. background: #ececec;
  97. border-top: 1px #e0e0e0 solid;
  98. padding:0 1em 1.5em 1em;
  99. margin: 0;
  100. }
  101. .ym-form .ym-gbox {
  102. padding: 0 0.5em;
  103. margin-right: 0;
  104. }
  105. .ym-form h6 {
  106. color: #000;
  107. margin: 1em 0 0 1em;
  108. }
  109. /**
  110. * @section styling form elements
  111. *
  112. * Styling for: Input, Textarea, Select ...
  113. *
  114. */
  115. /* styling standard form elements with 'almost' equal flexible width */
  116. /* Gestaltung der einzelnen Formularelemente mit annähend gleicher Breite */
  117. .ym-form .ym-fbox-text input,
  118. .ym-form .ym-fbox-text textarea {
  119. line-height: 1em;
  120. padding: 0.25em 0.3em;
  121. margin-top: -2px;
  122. }
  123. .ym-form .ym-fbox-select select {
  124. line-height: 1em;
  125. padding: 0.25em 2px 0.25em 1px;
  126. margin-top: -2px;
  127. }
  128. /* proportional fonts for all form elements */
  129. .ym-form input,
  130. .ym-form textarea,
  131. .ym-form select,
  132. .ym-form optgroup {
  133. font-family:Arial, Helvetica, sans-serif;
  134. -webkit-box-shadow: inset 0 0 4px #eee;
  135. -moz-box-shadow: inset 0 0 4px #eee;
  136. box-shadow: inset 0 0 4px #eee;
  137. }
  138. .ym-form optgroup {
  139. font-style:normal;
  140. font-weight:bold;
  141. }
  142. .ym-form .ym-fbox-text input,
  143. .ym-form .ym-fbox-text textarea,
  144. .ym-form .ym-fbox-select select {
  145. border:1px solid #ddd;
  146. }
  147. /* General form styling | Allgemeine Formatierung des Formulars */
  148. .ym-form .ym-message {
  149. color:#666;
  150. margin-bottom:0.5em;
  151. }
  152. /* Highlight mandatory fields | Pflichtfeldkennzeichnung hervorheben */
  153. .ym-form .ym-required {
  154. color:#800;
  155. font-weight:bold;
  156. }
  157. /* form validation highlight colors */
  158. .ym-form input:valid,
  159. .ym-form textarea:valid { background-color: #fff; }
  160. .ym-form input:invalid,
  161. .ym-form textarea:invalid { background-color: #fdd; }
  162. /**
  163. * @section error messages
  164. *
  165. */
  166. .ym-form .ym-error label {
  167. color:#800;
  168. font-weight:normal;
  169. }
  170. .ym-form .ym-error input,
  171. .ym-form .ym-error select,
  172. .ym-form .ym-error textarea {
  173. border: 1px #800 solid;
  174. }
  175. .ym-form .ym-error input:hover,
  176. .ym-form .ym-error input:focus,
  177. .ym-form .ym-error select:hover,
  178. .ym-form .ym-error select:focus,
  179. .ym-form .ym-error textarea:hover,
  180. .ym-form .ym-error textarea:focus {
  181. border: 1px #800 solid !important;
  182. }
  183. .ym-form .ym-error .ym-message {
  184. color:#800;
  185. font-weight: bold;
  186. margin-top: 0;
  187. }
  188. /* :hover and :focus status on form fields | Effekt zur Hervorhebung von Formularfeldern bei :hover oder :focus */
  189. .ym-form div.ym-fbox-text input:focus,
  190. .ym-form div select:focus,
  191. .ym-form div textarea:focus,
  192. .ym-form div.ym-fbox-text input:hover,
  193. .ym-form div select:hover,
  194. .ym-form div textarea:hover,
  195. .ym-form div.ym-fbox-text input:active,
  196. .ym-form div select:active,
  197. .ym-form div textarea:active {
  198. border:1px #888 solid;
  199. background:#fff;
  200. }
  201. /**
  202. * @section Buttons
  203. *
  204. * inspired from: Catalin Rosu (http://www.red-team-design.com/just-another-awesome-css3-buttons)
  205. */
  206. .ym-button,
  207. .ym-form button,
  208. .ym-form input[type="button"],
  209. .ym-form input[type="reset"],
  210. .ym-form input[type="submit"] {
  211. display: inline-block;
  212. white-space: nowrap;
  213. background-color: #ccc;
  214. background-image: -webkit-linear-gradient(top, #eee, #ccc);
  215. background-image: -moz-linear-gradient(top, #eee, #ccc);
  216. background-image: -ms-linear-gradient(top, #eee, #ccc);
  217. background-image: -o-linear-gradient(top, #eee, #ccc);
  218. background-image: linear-gradient(top, #eee, #ccc);
  219. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#cccccc');
  220. border: 1px solid #777;
  221. -webkit-border-radius: .2em;
  222. -moz-border-radius: .2em;
  223. border-radius: .2em;
  224. -webkit-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.15);
  225. -moz-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.15);
  226. box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.15);
  227. color: #333 !important;
  228. cursor: pointer;
  229. font: normal 1em/2em Arial, Helvetica;
  230. margin: 1.5em 0.75em 0 0;
  231. padding: 0 1.5em;
  232. overflow: visible; /* removes extra side spacing in IE */
  233. text-decoration: none !important;
  234. text-shadow: 0 1px 0 rgba(255,255,255,.8);
  235. }
  236. .ym-form button:hover,
  237. .ym-form input[type="button"]:hover,
  238. .ym-form input[type="reset"]:hover,
  239. .ym-form input[type="submit"]:hover,
  240. .ym-button:hover {
  241. background-color: #ddd;
  242. background-image: -webkit-linear-gradient(top, #fafafa, #ddd);
  243. background-image: -moz-linear-gradient(top, #fafafa, #ddd);
  244. background-image: -ms-linear-gradient(top, #fafafa, #ddd);
  245. background-image: -o-linear-gradient(top, #fafafa, #ddd);
  246. background-image: linear-gradient(top, #fafafa, #ddd);
  247. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');
  248. }
  249. .ym-form button:active,
  250. .ym-form input[type="button"]:active,
  251. .ym-form input[type="reset"]:active,
  252. .ym-form input[type="submit"]:active,
  253. .ym-button:active {
  254. background-color: #bbb;
  255. background-image: -webkit-linear-gradient(top, #ccc, #bbb);
  256. background-image: -moz-linear-gradient(top, #ccc, #bbb);
  257. background-image: -ms-linear-gradient(top, #ccc, #bbb);
  258. background-image: -o-linear-gradient(top, #ccc, #bbb);
  259. background-image: linear-gradient(top, #ccc, #bbb);
  260. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#cccccc', EndColorStr='#bbbbbb');
  261. box-shadow: 2px 2px 3px rgba(0,0,0,.2) inset;
  262. position: relative;
  263. top: 1px;
  264. }
  265. .ym-form button:focus,
  266. .ym-form input[type="button"]:focus,
  267. .ym-form input[type="reset"]:focus,
  268. .ym-form input[type="submit"]:focus,
  269. .ym-button:focus {
  270. outline: 0;
  271. background: #fafafa;
  272. }
  273. /* pseudo elements don't work on input */
  274. .ym-form button:before,
  275. .ym-button:before {
  276. background: #ccc;
  277. background: rgba(0,0,0,.1);
  278. float: left;
  279. width: 1em;
  280. text-align: center;
  281. font-size: 1.5em;
  282. margin: 0 1em 0 -1em;
  283. padding: 0 .2em;
  284. -moz-box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
  285. -webkit-box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
  286. box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
  287. -moz-border-radius: .15em 0 0 .15em;
  288. -webkit-border-radius: .15em 0 0 .15em;
  289. border-radius: .15em 0 0 .15em;
  290. pointer-events: none;
  291. }
  292. .ym-add:before { content: "\271A"; }
  293. .ym-delete:before { content: "\2718"; }
  294. .ym-edit:before { content: "\270E"; }
  295. .ym-email:before { content: "\2709"; }
  296. .ym-like:before { content: "\2764"; }
  297. .ym-next:before { content: "\279C"; }
  298. .ym-play:before { content: "\25B6"; }
  299. .ym-save:before { content: "\2714"; }
  300. .ym-spark:before { content: "\2737"; }
  301. .ym-star:before { content: "\2605"; }
  302. /* removes extra inner spacing in Firefox */
  303. .ym-form button::-moz-focus-inner {
  304. border: 0;
  305. padding: 0;
  306. }
  307. /* If line-height can't be modified, then fix Firefox spacing with padding */
  308. .ym-form input[type=button]::-moz-focus-inner,
  309. .ym-form input[type=reset]::-moz-focus-inner,
  310. .ym-form input[type=submit]::-moz-focus-inner {
  311. padding: .4em;
  312. }
  313. /* The disabled styles */
  314. .ym-form button[disabled],
  315. .ym-form button[disabled]:hover,
  316. .ym-form input[type=button][disabled],
  317. .ym-form input[type=button][disabled]:hover,
  318. .ym-form input[type=reset][disabled],
  319. .ym-form input[type=reset][disabled]:hover,
  320. .ym-form input[type=submit][disabled],
  321. .ym-form input[type=submit][disabled]:hover,
  322. .ym-button.ym-disabled,
  323. .ym-button.ym-disabled:hover {
  324. background: #eee;
  325. color: #aaa !important;
  326. border-color: #aaa;
  327. cursor: default;
  328. text-shadow: none;
  329. position: static;
  330. -webkit-box-shadow: none;
  331. -moz-box-shadow: none;
  332. box-shadow: none;
  333. }
  334. /* ie6 support styles - redefined buttons, because of missing support for attribute selectors */
  335. * html .ym-button,
  336. * html .ym-form button {
  337. display: inline-block;
  338. white-space: nowrap;
  339. background-color: #ccc;
  340. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#cccccc');
  341. border: 1px solid #777;
  342. color: #333 !important;
  343. cursor: pointer;
  344. font: normal 1em/2em Arial, Helvetica;
  345. margin: 1.5em 0.75em 0 0;
  346. padding: 0 1.5em;
  347. overflow: visible; /* removes extra side spacing in IE */
  348. text-decoration: none !important;
  349. }
  350. * html .ym-form button:focus,
  351. * html .ym-button:focus {
  352. outline: 0;
  353. background: #fafafa;
  354. }
  355. * html .ym-form button:hover,
  356. * html .ym-button:hover {
  357. background-color: #ddd;
  358. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');
  359. }
  360. * html .ym-form button:active,
  361. * html .ym-button:active {
  362. background-color: #bbb;
  363. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#cccccc', EndColorStr='#bbbbbb');
  364. position: relative;
  365. top: 1px;
  366. }
  367. * html .ym-button.ym-disabled,
  368. * html .ym-button.ym-disabled:hover {
  369. background: #eee;
  370. color: #aaa !important;
  371. border-color: #aaa;
  372. cursor: default;
  373. text-shadow: none;
  374. position: static;
  375. }
  376. }