You are here

formtips.css in Form Tips 5

Same filename and directory in other branches
  1. 6.2 formtips.css
  2. 6 formtips.css
  3. 7 formtips.css
.form-type-checkbox .formtips-wrapper {
  display: inline-block;
}

.description.formtips-processed p {
  margin-bottom: 0;
}

form fieldset .formtips-processed,
.formtips-processed {
  position: absolute;
  background-color: #111;
  color: #ddd;
  padding: 5px;
  border: 5px solid #777;
  opacity: 0.9;
  z-index: 100;
  margin-top: 30px;
}

a.formtip {
  background: url(help.png) no-repeat 0 0;
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-left: 4px;
}

a.formtip:hover {
  background-position: 0 -12px;
  text-decoration: none;
}

/* @todo move these theme-specific rules to the theme */

a.formtip:hover {
  border: none !important;
}

.description.formtips-processed {
  line-height: 1.35;
  letter-spacing: 0.05em;
}

File

formtips.css
View source
  1. .form-type-checkbox .formtips-wrapper {
  2. display: inline-block;
  3. }
  4. .description.formtips-processed p {
  5. margin-bottom: 0;
  6. }
  7. form fieldset .formtips-processed,
  8. .formtips-processed {
  9. position: absolute;
  10. background-color: #111;
  11. color: #ddd;
  12. padding: 5px;
  13. border: 5px solid #777;
  14. opacity: 0.9;
  15. z-index: 100;
  16. margin-top: 30px;
  17. }
  18. a.formtip {
  19. background: url(help.png) no-repeat 0 0;
  20. width: 12px;
  21. height: 12px;
  22. display: inline-block;
  23. margin-left: 4px;
  24. }
  25. a.formtip:hover {
  26. background-position: 0 -12px;
  27. text-decoration: none;
  28. }
  29. /* @todo move these theme-specific rules to the theme */
  30. a.formtip:hover {
  31. border: none !important;
  32. }
  33. .description.formtips-processed {
  34. line-height: 1.35;
  35. letter-spacing: 0.05em;
  36. }