second part of syncing LCARStrek with Firefox 36 windows theme changes
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
index e4c7e3374d1d2466caa6efd933d9b5cd246b22a9..2a7185067d795f5b44f63aa2853c2b95077edfec 100644 (file)
@@ -6,14 +6,6 @@
 
 @namespace html "http://www.w3.org/1999/xhtml";
 
-#dialogBox,
-dialog,
-window,
-prefwindow,
-.windowDialog {
-  background-color: #000000;
-}
-
 .main-content {
   padding: 1.5em 0 0; /* That padding needs to match the upper stripe. */
   overflow: auto;
@@ -28,7 +20,7 @@ prefwindow,
   background-repeat: no-repeat;
 }
 
-prefpane {
+#mainPrefPane {
   padding: 10px 20px 0px;
   border-radius: 1em 0 0 0;
   background-color: #000000;
@@ -40,6 +32,16 @@ prefpane {
   color: #FF9F00;
 }
 
+* {
+  -moz-user-select: text;
+}
+
+button,
+treecol {
+  /* override the * rule */
+  -moz-user-select: none;
+}
+
 /* Category List */
 
 #categories {
@@ -98,6 +100,15 @@ prefpane {
   -moz-image-region: rect(24px, 24px, 48px, 0);
 }
 
+#category-search > .category-icon {
+  -moz-image-region: rect(0, 192px, 24px, 168px);
+}
+
+#category-search:hover > .category-icon,
+#category-search[selected] > .category-icon {
+  -moz-image-region: rect(24px, 192px, 48px, 168px);
+}
+
 #category-content > .category-icon {
   -moz-image-region: rect(0, 48px,  24px, 24px)
 }
@@ -166,6 +177,15 @@ prefpane {
 
 /* General Pane */
 
+#useFirefoxSync  {
+  font-size: 90%;
+  -moz-margin-end: 8px !important;
+}
+
+#getStarted {
+  font-size: 90%;
+}
+
 #isNotDefaultLabel {
   font-weight: bold;
 }
@@ -192,12 +212,6 @@ prefpane {
   height: 500px;
 }
 
-#handlersView > listheader {
-  border: none;
-  background: transparent;
-  padding: 0;
-}
-
 #handlersView > listheader > treecol {
 }
 
@@ -207,6 +221,12 @@ prefpane {
   border-bottom: 1px solid #9C9CFF;
 }
 
+#handlersView > listheader {
+  background: transparent;
+  border: 0;
+  padding: 0;
+}
+
 #typeColumn,
 #actionColumn {
   line-height: 20px;
@@ -307,7 +327,8 @@ description > html|a {
 #weavePrefsDeck > vbox > description,
 #weavePrefsDeck > vbox > #pairDevice > label,
 #weavePrefsDeck > #needsUpdate > hbox > #loginError,
-#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP) > label {
+#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-normal) > label,
+#weavePrefsDeck > #hasFxaAccount > hbox:not(#tosPP-small) > label {
   /* no margin-start for elements at the begin of a line */
   -moz-margin-start: 0;
 }
@@ -328,9 +349,20 @@ description > html|a {
   margin-bottom: 8px;
 }
 
+#trackingProtectionImage {
+  width: 16px;
+  height: 16px;
+  list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png");
+}
+
+@media (min-resolution: 2dppx) {
+  #trackingProtectionImage {
+    list-style-image: url("chrome://browser/skin/bad-content-blocked-16@2x.png");
+  }
+}
 
 /**
- * Sub-dialog
+ * Dialog
  */
 
 #dialogOverlay {
@@ -339,7 +371,11 @@ description > html|a {
 }
 
 #dialogBox {
+  background-color: #000000;
+  color: #FF9F00;
+  /* font-size: 14px; */
   border: 1px solid #9C9CFF;
+  border-radius: 10px;
   display: -moz-box;
   margin: 0;
   padding-right: 6px;
@@ -349,10 +385,15 @@ description > html|a {
 #dialogBox[resizable="true"] {
   resize: both;
   overflow: hidden;
-  min-height: 30em;
+  min-height: 20em;
   min-width: 66ch;
 }
 
+.titlebar {
+  -moz-margin-start: 0;
+  -moz-margin-end: 0;
+}
+
 .close-icon {
   background-color: transparent !important;
   border: none;
@@ -376,21 +417,12 @@ description > html|a {
 #dialogFrame {
   -moz-box-flex: 1;
   /* Default dialog dimensions */
-  height: 30em;
+  height: 20em;
   width: 66ch;
 }
 
-tree:not(#rejectsTree) {
-  min-height: 15em;
-}
-
-:-moz-any(dialog, window, prefwindow) groupbox {
-  -moz-margin-start: 8px;
-  -moz-margin-end: 8px;
-}
-
 /**
- * End sub-dialog
+ * End Dialog
  */
 
 /* === END shared/in-content/preferences.css === */
@@ -418,14 +450,25 @@ caption {
     -moz-image-region: rect(0, 48px, 48px, 0);
   }
 
+  #category-general:hover > .category-icon,
   #category-general[selected] > .category-icon {
     -moz-image-region: rect(48px, 48px, 96px, 0);
   }
 
+  #category-search > .category-icon {
+    -moz-image-region: rect(0, 384px, 48px, 336px);
+  }
+
+  #category-search:hover > .category-icon,
+  #category-search[selected] > .category-icon {
+    -moz-image-region: rect(48, 384px, 96px, 336px);
+  }
+
   #category-content > .category-icon {
     -moz-image-region: rect(0, 96px, 48px, 48px);
   }
 
+  #category-content:hover > .category-icon,
   #category-content[selected] > .category-icon {
     -moz-image-region: rect(48px, 96px, 96px, 48px);
   }
@@ -434,6 +477,7 @@ caption {
     -moz-image-region: rect(0, 144px, 48px, 96px);
   }
 
+  #category-application:hover > .category-icon,
   #category-application[selected] > .category-icon {
     -moz-image-region: rect(48px, 144px, 96px, 96px);
   }
@@ -442,6 +486,7 @@ caption {
     -moz-image-region: rect(0, 192px, 48px, 144px);
   }
 
+  #category-privacy:hover > .category-icon,
   #category-privacy[selected] > .category-icon {
     -moz-image-region: rect(48px, 192px, 96px, 144px);
   }
@@ -450,6 +495,7 @@ caption {
     -moz-image-region: rect(0, 240px, 48px, 192px);
   }
 
+  #category-security:hover > .category-icon,
   #category-security[selected] > .category-icon {
     -moz-image-region: rect(48px, 240px, 96px, 192px);
   }
@@ -458,6 +504,7 @@ caption {
     -moz-image-region: rect(0, 288px, 48px, 240px);
   }
 
+  #category-sync:hover > .category-icon,
   #category-sync[selected] > .category-icon {
     -moz-image-region: rect(48px, 288px, 96px, 240px);
   }
@@ -466,6 +513,7 @@ caption {
     -moz-image-region: rect(0, 336px, 48px, 288px);
   }
 
+  #category-advanced:hover > .category-icon,
   #category-advanced[selected] > .category-icon {
     -moz-image-region: rect(48px, 336px, 96px, 288px);
   }