/modules/mod_base/lib/css/zp-formreplace.css

https://code.google.com/p/zotonic/ · CSS · 50 lines · 24 code · 5 blank · 21 comment · 0 complexity · 2538c69143b07ca9e7ad28e869362bd5 MD5 · raw file

  1. /* Formreplace styesheet.
  2. ----------------------------------------------------------
  3. @package: Zotonic 2009
  4. @Author: Tim Benniks <tim@timbenniks.nl>
  5. Copyright 2009 Tim Benniks
  6. Licensed under the Apache License, Version 2.0 (the "License");
  7. you may not use this file except in compliance with the License.
  8. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. ---------------------------------------------------------- */
  16. .do_fieldreplace {
  17. position: absolute;
  18. left: -9999px;
  19. visibility: hidden;
  20. }
  21. .zp-radio-replacement,
  22. .zp-checkbox-replacement {
  23. width: 16px;
  24. height: 16px;
  25. float: left;
  26. display: block;
  27. background: url(/lib/images/form-elements.png) no-repeat 0 -3px;
  28. margin: 1px 1px 0 0;
  29. cursor: pointer;
  30. }
  31. .zp-radio-replacement {
  32. background-position: 0 -290px;
  33. }
  34. .zp-checkbox-checked {
  35. background-position: -16px -3px;
  36. }
  37. .zp-radio-checked {
  38. background-position: -16px -290px;
  39. }