first part of syncing LCARStrek with Firefox 38 windows theme changes
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
index e3251d630a16e0e586632f1724a2916a892eb8d0..948d9a7ba63a8ed7641102950d4a1c2d9cb5e59a 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;
@@ -171,6 +163,12 @@ treecol {
   -moz-image-region: rect(24px, 168px, 48px, 144px);
 }
 
+@media (max-width: 800px) {
+  .category-name {
+    display: none;
+  }
+}
+
 /* header */
 
 #header-advanced {
@@ -198,6 +196,13 @@ treecol {
   font-weight: bold;
 }
 
+/* Content pane */
+#playDRMContentLink {
+  /* Line up with the buttons in the other grid bits: */
+  margin-left: 4px !important;
+  margin-right: 4px !important;
+}
+
 /* Applications Pane Styles */
 
 #applicationsContent {
@@ -209,80 +214,11 @@ treecol {
 }
 
 #handlersView {
-  -moz-margin-start: 0;
-  font-size: 1.25rem;
-  line-height: 22px;
-  border: none; /*1px solid #9C9CFF;*/
-  margin: 0;
-  overflow-y: auto;
-  border-top-left-radius: 0;
-  border-top-right-radius: 0;
-  height: 500px;
-}
-
-#handlersView > listheader > treecol {
-}
-
-#handlersView > scrollbox {
-  border-left: 1px solid #9C9CFF;
-  border-right: 1px solid #9C9CFF;
-  border-bottom: 1px solid #9C9CFF;
-}
-
-#handlersView > listheader {
-  background: transparent;
-  border: 0;
-  padding: 0;
-}
-
-#typeColumn,
-#actionColumn {
-  line-height: 20px;
-/*  color: #737980;
-  height: 36px;
-  padding: 0 10px;
-  background-color: #F7F7F7;
-  border: 1px solid #CCCCCC;
-  -moz-border-top-colors: none;
-  -moz-border-right-colors: none;
-  -moz-border-bottom-colors: none;
-  -moz-border-left-colors: none;
-*/
-}
-
-#typeColumn:-moz-locale-dir(ltr),
-#actionColumn:-moz-locale-dir(rtl) {
-  border-top-left-radius: 5px;
-}
-
-#typeColumn:-moz-locale-dir(rtl),
-#actionColumn:-moz-locale-dir(ltr) {
-  border-top-right-radius: 5px;
-}
-/*
-#typeColumn:hover,
-#actionColumn:hover {
-  border-color: #737980;
-}
-
-#typeColumn:hover:active,
-#actionColumn:hover:active {
-  padding: 0 10px;
-  border-color: #0096DC;
-}
-*/
-#typeColumn > .treecol-sortdirection[sortDirection=ascending],
-#actionColumn > .treecol-sortdirection[sortDirection=ascending],
-#typeColumn > .treecol-sortdirection[sortDirection=descending],
-#actionColumn > .treecol-sortdirection[sortDirection=descending] {
-}
-
-#typeColumn > .treecol-sortdirection[sortDirection=descending],
-#actionColumn > .treecol-sortdirection[sortDirection=descending] {
+  height: 25em;
 }
 
 #handlersView > richlistitem {
-  min-height: 40px !important;
+  min-height: 36px !important;
 }
 
 .typeIcon {
@@ -296,8 +232,7 @@ treecol {
 }
 
 .actionsMenu {
-  height: 40px;
-  max-height: 40px;
+  min-height: 36px;
 }
 
 .actionsMenu > menupopup > menuitem {
@@ -314,16 +249,6 @@ description > html|a {
   cursor: pointer;
 }
 
-#offlineAppsList,
-#syncEnginesList {
-/*  -moz-appearance: none;
-  color: #737980;
-  padding: 10px;
-  border: 1px solid rgba(23,50,77,0.4);
-  border-radius: 5px;
-  background-color: #F1F1F1;*/
-}
-
 #noFxaAccount {
   /* Overriding the margins from the base preferences.css theme file.
      These overrides can be simplified by fixing bug 1027174 */
@@ -345,6 +270,10 @@ description > html|a {
   padding-bottom: 0; /* no padding needed in inContent prefs */
 }
 
+#tabsElement {
+/*  -moz-margin-end: 4px; / add the 4px end-margin of other elements */
+}
+
 #encryptionPanel {
   margin-top: 15px;
 }
@@ -357,9 +286,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 {
@@ -368,7 +308,12 @@ description > html|a {
 }
 
 #dialogBox {
+  background-color: #000000;
+  background-clip: content-box;
+  color: #FF9F00;
+  /* font-size: 14px; */
   border: 1px solid #9C9CFF;
+  border-radius: 10px;
   display: -moz-box;
   margin: 0;
   padding-right: 6px;
@@ -378,10 +323,21 @@ description > html|a {
 #dialogBox[resizable="true"] {
   resize: both;
   overflow: hidden;
-  min-height: 30em;
+  min-height: 20em;
   min-width: 66ch;
 }
 
+#dialogBox > .groupbox-title {
+  -moz-margin-start: 0;
+  -moz-margin-end: 0;
+/*  padding: 3.5px 0;
+  background-color: #F1F1F1; */
+}
+
+#dialogTitle {
+  text-align: center;
+}
+
 .close-icon {
   background-color: transparent !important;
   border: none;
@@ -405,22 +361,35 @@ description > html|a {
 #dialogFrame {
   -moz-box-flex: 1;
   /* Default dialog dimensions */
-  height: 30em;
+  height: 20em;
   width: 66ch;
 }
 
-tree:not(#rejectsTree) {
-  min-height: 15em;
+/**
+ * End Dialog
+ */
+
+/**
+ * Sync migration
+ */
+#sync-migrate-upgrade-description {
+  /* description elts need a min-width to wrap correctly - bug 630864? */
+  min-width: 100px
 }
 
-:-moz-any(dialog, window, prefwindow) groupbox {
-  -moz-margin-start: 8px;
-  -moz-margin-end: 8px;
+#sync-migration {
+  border: 1px solid #9C9CFF;
+  background-color: #000000;
+  color: #A09090;
+  text-shadow: none;
+  margin: 5px 0 0 0;
+  animation: fadein 3000ms;
 }
 
-/**
- * End sub-dialog
- */
+@keyframes fadein {
+  from { opacity: 0; }
+  to   { opacity: 1; }
+}
 
 /* === END shared/in-content/preferences.css === */