You are here

formtips.css in Form Tips 7

Same filename and directory in other branches
  1. 5 formtips.css
  2. 6.2 formtips.css
  3. 6 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;
}

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. }
  17. a.formtip {
  18. background: url(help.png) no-repeat 0 0;
  19. width: 12px;
  20. height: 12px;
  21. display: inline-block;
  22. margin-left: 4px;
  23. }
  24. a.formtip:hover {
  25. background-position: 0 -12px;
  26. text-decoration: none;
  27. }
  28. /* @todo move these theme-specific rules to the theme */
  29. a.formtip:hover {
  30. border: none !important;
  31. }
  32. .description.formtips-processed {
  33. line-height: 1.35;
  34. letter-spacing: 0.05em;
  35. }