You are here

pm_block_user.css in Privatemsg 7

#pm-block-user-settings .sticky-header {
  /* Stop the remove button overlapping the sticky header */
  z-index: 10;
}
#pm-block-user-settings .throbber {
  margin: 4px 0;
}
#add-rule-button, #remove-rule-button {
  height: 45px;
  /* Stop the remove button overlapping the sticky header */
  z-index: 1;
}
#add-rule-button label {
  line-height: 26px;
  margin-left: 2px;
}
#remove-rule-button {
  width: 100px;
  position: relative;
}
#remove-rule-button label {
  display: block;
  clear: both;
  text-align: center;
}
#add-rule-button input,
#remove-rule-button input {
  display: inline-block;
  overflow: hidden;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: 0;
  text-indent: -9999px;
  cursor: pointer; /* Hand shaped cursor */
  cursor: hand; /* for old versions of IE */
}
#add-rule-button input {
  background: transparent url('add-rule-button.png') left top no-repeat;
}
#remove-rule-button input {
  background: transparent url('remove-rule-button.png') left top no-repeat;
  /* Only way to centre-align remove button without having AHAH throbber
   * interfere with it */
  margin-left: 36px;
}

File

pm_block_user/pm_block_user.css
View source
  1. #pm-block-user-settings .sticky-header {
  2. /* Stop the remove button overlapping the sticky header */
  3. z-index: 10;
  4. }
  5. #pm-block-user-settings .throbber {
  6. margin: 4px 0;
  7. }
  8. #add-rule-button, #remove-rule-button {
  9. height: 45px;
  10. /* Stop the remove button overlapping the sticky header */
  11. z-index: 1;
  12. }
  13. #add-rule-button label {
  14. line-height: 26px;
  15. margin-left: 2px;
  16. }
  17. #remove-rule-button {
  18. width: 100px;
  19. position: relative;
  20. }
  21. #remove-rule-button label {
  22. display: block;
  23. clear: both;
  24. text-align: center;
  25. }
  26. #add-rule-button input,
  27. #remove-rule-button input {
  28. display: inline-block;
  29. overflow: hidden;
  30. width: 24px;
  31. height: 24px;
  32. padding: 0;
  33. margin: 0;
  34. border: 0;
  35. text-indent: -9999px;
  36. cursor: pointer; /* Hand shaped cursor */
  37. cursor: hand; /* for old versions of IE */
  38. }
  39. #add-rule-button input {
  40. background: transparent url('add-rule-button.png') left top no-repeat;
  41. }
  42. #remove-rule-button input {
  43. background: transparent url('remove-rule-button.png') left top no-repeat;
  44. /* Only way to centre-align remove button without having AHAH throbber
  45. * interfere with it */
  46. margin-left: 36px;
  47. }