sanitizeDialog.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. #sanitizeDurationChoice {
  5. margin-inline-end: 0;
  6. }
  7. /* Align the duration label with the warning box and item list */
  8. #sanitizeDurationLabel {
  9. margin-inline-start: 3px;
  10. }
  11. /* Hide the duration dropdown suffix label if it's empty. Otherwise it
  12. takes up a little space, causing the end of the dropdown to not be aligned
  13. with the warning box. */
  14. #sanitizeDurationSuffixLabel[value=""] {
  15. display: none;
  16. }
  17. /* Places tree */
  18. #placesTreechildren::-moz-tree-row(selected),
  19. #placesTreechildren::-moz-tree-row(grippyRow) {
  20. background: #999;
  21. }
  22. #placesTreechildren::-moz-tree-cell-text(selected) {
  23. color: #111;
  24. }
  25. /* Sanitize everything warning box */
  26. #sanitizeEverythingWarningBox {
  27. background-color: Window;
  28. border: 1px solid ThreeDDarkShadow;
  29. border-radius: 5px;
  30. padding: 16px;
  31. }
  32. #sanitizeEverythingWarningIcon {
  33. list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog");
  34. padding: 0;
  35. margin: 0;
  36. }
  37. #sanitizeEverythingWarningDescBox {
  38. padding: 0 16px;
  39. margin: 0;
  40. }
  41. /* Progressive disclosure button */
  42. #detailsExpanderWrapper {
  43. padding: 0;
  44. margin-top: 6px;
  45. margin-bottom: 6px;
  46. margin-inline-start: -6px;
  47. margin-inline-end: 0;
  48. }
  49. .expander-up,
  50. .expander-down {
  51. min-width: 0;
  52. padding: 2px 0;
  53. padding-inline-start: 2px;
  54. }
  55. .expander-up {
  56. list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
  57. }
  58. .expander-down {
  59. list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  60. }
  61. .expander-down:hover:active {
  62. list-style-image: url("chrome://global/skin/arrow/arrow-dn-hov.gif");
  63. }
  64. .expander-up:hover:active {
  65. list-style-image: url("chrome://global/skin/arrow/arrow-up-hov.gif");
  66. }
  67. /* Make the item list the same width as the warning box */
  68. #itemList {
  69. margin-inline-start: 0;
  70. margin-inline-end: 0;
  71. }
  72. /* Without this a useless scrollbar appears in the listbox when its rows
  73. attribute is set to the total number of listitems, as it is currently. See
  74. bug 489958 comment 14 and bug 491788. */
  75. #itemList > listitem {
  76. padding: 1px 0;
  77. }
  78. /* Align the last dialog button with the end of the warning box */
  79. .prefWindow-dlgbuttons {
  80. margin-inline-end: 0;
  81. }
  82. .dialog-button[dlgtype="accept"] {
  83. margin-inline-end: 0;
  84. }