support new help button and update deck in prefs
[themes.git] / LCARStrek / browser / preferences / in-content / preferences.css
index b1137a9c1fbdae61789d48c927c39325b4ee860b..4ed9cc01a6cdd2ab33c3e6519873009411bae7f7 100644 (file)
@@ -63,7 +63,7 @@ treecol {
 }
 
 .learnMore {
-  margin-inline-start: 1.5em;
+  margin-inline-start: 10px;
   font-weight: normal;
   white-space: nowrap;
 }
@@ -164,8 +164,12 @@ treecol {
   .category-name {
     display: none;
   }
+  .help-button {
+    font-size: 0 !important;
+  }
 }
 
+
 /* header */
 
 .header {
@@ -240,6 +244,11 @@ treecol {
   font-weight: bold;
 }
 
+#browserHomePage:-moz-locale-dir(rtl) input {
+  unicode-bidi: plaintext;
+  direction: rtl;
+}
+
 /* Content pane */
 #defaultFontSizeLabel {
   /* !important needed to override common !important rule */
@@ -303,10 +312,7 @@ treecol {
    active vbox needs */
 #historyPane:not([selectedIndex="1"]) > #historyDontRememberPane,
 #historyPane:not([selectedIndex="2"]) > #historyCustomPane,
-#weavePrefsDeck:not([selectedIndex="1"]) > #hasAccount,
-#weavePrefsDeck:not([selectedIndex="2"]) > #needsUpdate,
-#weavePrefsDeck:not([selectedIndex="3"]) > #noFxaAccount,
-#weavePrefsDeck:not([selectedIndex="4"]) > #hasFxaAccount,
+#weavePrefsDeck:not([selectedIndex="1"]) > #hasFxaAccount,
 #fxaLoginStatus:not([selectedIndex="1"]) > #fxaLoginUnverified,
 #fxaLoginStatus:not([selectedIndex="2"]) > #fxaLoginRejected {
   visibility: collapse;
@@ -523,6 +529,10 @@ description > html|a {
   margin-bottom: 11px;
 }
 
+#verifiedManage:visited {
+  color: var(--in-content-link-color);
+}
+
 .fxaSyncIllustration {
   margin-top: 35px;
 }
@@ -578,7 +588,6 @@ description > html|a {
 
 .fxaSyncIllustration {
   width: 231px;
-  list-style-image: url(chrome://browser/skin/fxa/sync-illustration.png)
 }
 
 #fxaLoginStatus[hasName] #fxaEmailAddress1 {
@@ -642,14 +651,66 @@ description > html|a {
   .iOSLink {
     background-image: url("chrome://browser/skin/fxa/ios@2x.png");
   }
-  .fxaSyncIllustration {
-    list-style-image: url(chrome://browser/skin/fxa/sync-illustration@2x.png)
-  }
   .fxaFirefoxLogo {
     list-style-image: url(chrome://browser/skin/fxa/logo@2x.png);
   }
 }
 
+#updateDeck > hbox > label {
+  margin-inline-end: 5px ! important;
+}
+
+.update-throbber {
+  width: 16px;
+  min-height: 16px;
+  margin-inline-end: 3px;
+  list-style-image: url("chrome://global/skin/icons/loading.png");
+}
+
+@media (min-resolution: 1.1dppx) {
+  .update-throbber {
+    list-style-image: url("chrome://global/skin/icons/loading@2x.png");
+  }
+}
+
+.help-button {
+  position: fixed;
+  left: 3px;
+  /* Needs to have enough gap from the bottom to not
+     get behind the status panel (bug 1357841). */
+  bottom: 2rem;
+  font-size: 13px;
+  line-height: 13px;
+  height: 14px;
+  background-position: 5px;
+  padding-inline-start: 25px;
+  white-space: nowrap;
+  background-color: var(--in-content-category-background);
+  width: auto;
+  padding-inline-end: 10px;
+  border: 3px solid black;
+  border-radius: 0 300px 300px 0;
+}
+
+.help-button:-moz-locale-dir(rtl) {
+  left: auto;
+  right: 0;
+  background-position: right 15px top 0;
+}
+
+.help-button:link,
+.help-button:visited {
+  color: var(--in-content-category-text);
+  text-decoration: none;
+}
+
+.help-button:hover {
+  background-image: url("chrome://global/skin/in-content/help-glyph.svg#help-inverted");
+  color: var(--in-content-category-text-selected);
+  background-color: var(--in-content-category-background-hover);
+  border-color: var(--in-content-category-background-hover);
+}
+
 /* === END shared/incontentprefs/preferences.inc.css === */
 
 caption {