You are here

image_captcha.css in CAPTCHA 8

Same filename and directory in other branches
  1. 6.2 image_captcha/image_captcha.css
  2. 7 image_captcha/image_captcha.css
/**
 * Styling of the font selection list (with previews)
 * on the Image CAPTCHA settings page.
 */

/**
 * Float the fonts with preview (with a fixed width)
 * to create a multi-column layout.
 */
.image_captcha_admin_fonts_selection .form-item {
  float: left;
  width: 160px;
}

/**
 * Stop floating with the item for the built in font.
 */
.image_captcha_admin_fonts_selection .form-item-image-captcha-fonts-BUILTIN {
  clear: both;
  float: none;
  width: 100%;
}

/**
 * Center the font previews vertically to the text.
 */
.image_captcha_admin_fonts_selection img {
  vertical-align: middle;
}

File

image_captcha/image_captcha.css
View source
  1. /**
  2. * Styling of the font selection list (with previews)
  3. * on the Image CAPTCHA settings page.
  4. */
  5. /**
  6. * Float the fonts with preview (with a fixed width)
  7. * to create a multi-column layout.
  8. */
  9. .image_captcha_admin_fonts_selection .form-item {
  10. float: left;
  11. width: 160px;
  12. }
  13. /**
  14. * Stop floating with the item for the built in font.
  15. */
  16. .image_captcha_admin_fonts_selection .form-item-image-captcha-fonts-BUILTIN {
  17. clear: both;
  18. float: none;
  19. width: 100%;
  20. }
  21. /**
  22. * Center the font previews vertically to the text.
  23. */
  24. .image_captcha_admin_fonts_selection img {
  25. vertical-align: middle;
  26. }