You are here

feedback.css in Feedback 7.2

Same filename and directory in other branches
  1. 5.2 feedback.css
  2. 6.2 feedback.css
/**
 * Styles for the feedback form.
 */
/* Reset commonly set styles */
#block-feedback-form,
#block-feedback-form .feedback-link,
#block-feedback-form .feedback-link *,
#block-feedback-form .content,
#block-feedback-form form {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  color: inherit;
}

#block-feedback-form {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 20px;
  overflow: hidden;
  z-index: 10;
}
/* IE6 seems to be unable to handle fixed */
* html #block-feedback-form {
  position: absolute;
}
#block-feedback-form .feedback-link {
  padding: 0.3em 0;
  text-align: right;
  font-size: 12px;
}
#block-feedback-form .feedback-link * {
  display: inline;
  font-size: 12px;
}
#block-feedback-form form {
  border: 1px solid #ccc;
  padding: 6px;
  background-color: #fff;
  opacity: 0.9;
  max-width: 300px;
}
/* IE6 doesn't support max-width. */
* html #block-feedback-form form {
  width: 300px;
}
#block-feedback-form .feedback-help {
  margin: 0 0 0.5em;
  font-size: 10px;
  line-height: normal;
}
#block-feedback-form input[type="text"] {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 100%;
}
#block-feedback-form .form-actions {
  margin: 1em 0 0;
  padding: 0;
}

/* Ajax interaction styles */
#block-feedback-form .feedback-message {
  height: 10ex;
}
#block-feedback-form .ajax-progress .throbber {
  background: transparent url(images/throbber.gif) no-repeat left center;
  height: 16px;
  width: 16px;
}

/**
 * Styles for existing feedback messages.
 */
#block-feedback-form .feedback-entry {
  font-size: 80%;
}
.feedback-entry .feedback-submitted {
  margin-top: 0.2em;
  font-size: 90%;
}
.feedback-entry .browserinfo {
  color: #666;
  font-size: 80%;
}

File

feedback.css
View source
  1. /**
  2. * Styles for the feedback form.
  3. */
  4. /* Reset commonly set styles */
  5. #block-feedback-form,
  6. #block-feedback-form .feedback-link,
  7. #block-feedback-form .feedback-link *,
  8. #block-feedback-form .content,
  9. #block-feedback-form form {
  10. float: none;
  11. margin: 0;
  12. padding: 0;
  13. border: 0;
  14. font-size: 100%;
  15. font-weight: normal;
  16. color: inherit;
  17. }
  18. #block-feedback-form {
  19. display: none;
  20. position: fixed;
  21. bottom: 60px;
  22. right: 20px;
  23. overflow: hidden;
  24. z-index: 10;
  25. }
  26. /* IE6 seems to be unable to handle fixed */
  27. * html #block-feedback-form {
  28. position: absolute;
  29. }
  30. #block-feedback-form .feedback-link {
  31. padding: 0.3em 0;
  32. text-align: right;
  33. font-size: 12px;
  34. }
  35. #block-feedback-form .feedback-link * {
  36. display: inline;
  37. font-size: 12px;
  38. }
  39. #block-feedback-form form {
  40. border: 1px solid #ccc;
  41. padding: 6px;
  42. background-color: #fff;
  43. opacity: 0.9;
  44. max-width: 300px;
  45. }
  46. /* IE6 doesn't support max-width. */
  47. * html #block-feedback-form form {
  48. width: 300px;
  49. }
  50. #block-feedback-form .feedback-help {
  51. margin: 0 0 0.5em;
  52. font-size: 10px;
  53. line-height: normal;
  54. }
  55. #block-feedback-form input[type="text"] {
  56. -moz-box-sizing: border-box;
  57. -webkit-box-sizing: border-box;
  58. box-sizing: border-box;
  59. max-width: 100%;
  60. }
  61. #block-feedback-form .form-actions {
  62. margin: 1em 0 0;
  63. padding: 0;
  64. }
  65. /* Ajax interaction styles */
  66. #block-feedback-form .feedback-message {
  67. height: 10ex;
  68. }
  69. #block-feedback-form .ajax-progress .throbber {
  70. background: transparent url(images/throbber.gif) no-repeat left center;
  71. height: 16px;
  72. width: 16px;
  73. }
  74. /**
  75. * Styles for existing feedback messages.
  76. */
  77. #block-feedback-form .feedback-entry {
  78. font-size: 80%;
  79. }
  80. .feedback-entry .feedback-submitted {
  81. margin-top: 0.2em;
  82. font-size: 90%;
  83. }
  84. .feedback-entry .browserinfo {
  85. color: #666;
  86. font-size: 80%;
  87. }