config.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. @import url("chrome://global/skin/");
  5. @import url("chrome://icons/skin/icon-theme-default.css");
  6. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  7. #warningScreen
  8. {
  9. background-color: -moz-Dialog;
  10. }
  11. #warningBox
  12. {
  13. background-image: var(--icon-dialog-warning-48);
  14. background-repeat: no-repeat;
  15. background-position: 30px 3em;
  16. background-color: -moz-Field;
  17. color: -moz-FieldText;
  18. border: 1px solid ThreeDShadow;
  19. border-radius: 10px;
  20. padding: 3em;
  21. padding-inline-start: 78px;
  22. margin-left: 1em;
  23. margin-right: 1em;
  24. }
  25. #warningBox > .title,
  26. #warningBox > .description {
  27. margin-inline-start: 3em;
  28. }
  29. #warningInnerBox
  30. {
  31. max-width: 50em;
  32. }
  33. #warningTitle
  34. {
  35. margin: 0 0 .6em 0;
  36. font-size: 160%;
  37. border-bottom: 1px solid ThreeDLightShadow
  38. }
  39. #warningText
  40. {
  41. font-size: 110%;
  42. margin-left: 0;
  43. }
  44. #warningButton
  45. {
  46. margin-top: 0.6em;
  47. }
  48. #showWarningNextTime
  49. {
  50. margin-top: 0.6em;
  51. }
  52. #exclam
  53. {
  54. list-style-image: var(--icon-dialog-warning-48);
  55. margin-inline-end: 3em;
  56. }
  57. #configTreeBody::-moz-tree-cell-text(user)
  58. {
  59. font-weight: bold;
  60. }
  61. #configTreeBody::-moz-tree-cell-text(locked)
  62. {
  63. font-style: italic;
  64. }
  65. #configTree
  66. {
  67. margin-top: 5px;
  68. margin-bottom: 5px;
  69. }
  70. #filterRow
  71. {
  72. margin-top: 5px;
  73. }
  74. /* menus */
  75. menuitem:not([type]) {
  76. -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  77. }
  78. #toggleSelected,
  79. #modifySelected {
  80. list-style-image: var(--icon-gtk-edit-16);
  81. }
  82. #toggleSelected[disabled="true"],
  83. #modifySelected[disabled="true"] {
  84. list-style-image: var(--icon-gtk-edit-16-dis);
  85. }
  86. #copyPref,
  87. #copyName,
  88. #copyValue {
  89. list-style-image: var(--icon-edit-copy-16);
  90. }
  91. #copyPref[disabled="true"],
  92. #copyName[disabled="true"],
  93. #copyValue[disabled="true"] {
  94. list-style-image: var(--icon-edit-copy-16-dis);
  95. }
  96. #configContext > menu {
  97. -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic") !important;
  98. list-style-image: var(--icon-document-new-16);
  99. }
  100. #configContext > menu[disabled="true"] {
  101. list-style-image: var(--icon-document-new-16-dis);
  102. }
  103. #configContext > menu > menupopup > menuitem[oncommand*="STRING"] {
  104. list-style-image: var(--icon-stock_pref-type-string-16);
  105. }
  106. #configContext > menu > menupopup > menuitem[oncommand*="STRING"][disabled="true"] {
  107. list-style-image: var(--icon-stock_pref-type-string-16-dis);
  108. }
  109. #configContext > menu > menupopup > menuitem[oncommand*="INT"] {
  110. list-style-image: var(--icon-stock_pref-type-integer-16);
  111. }
  112. #configContext > menu > menupopup > menuitem[oncommand*="INT"][disabled="true"] {
  113. list-style-image: var(--icon-stock_pref-type-integer-16-dis);
  114. }
  115. #configContext > menu > menupopup > menuitem[oncommand*="BOOL"] {
  116. list-style-image: var(--icon-stock_pref-type-boolean-16);
  117. }
  118. #configContext > menu > menupopup > menuitem[oncommand*="BOOL"][disabled="true"] {
  119. list-style-image: var(--icon-stock_pref-type-boolean-16-dis);
  120. }
  121. #resetSelected {
  122. list-style-image: var(--icon-document-revert-16);
  123. }
  124. #resetSelected[disabled="true"] {
  125. list-style-image: var(--icon-document-revert-16-dis);
  126. }