third and last part of syncing LCARStrek with Firefox 51 browser windows theme changes
[themes.git] / LCARStrek / browser / newtab / newTab.css
index f583b6c98b3c3aa8bd434ae7f75098df9c395e4e..9cd341100eef5cd20a937128a3b7af4a06b1ebb3 100644 (file)
@@ -90,6 +90,13 @@ body {
   width: 28px;
 }
 
+#newtab-customize-button {
+  font-size: 28px;
+  padding: 0;
+  /* only display the text label when CSS backgrounds are disabled (e.g. in high contrast mode) */
+  color: transparent;
+}
+
 #newtab-customize-button:-moz-any(:hover, :active, [active]) {
   background-image: -moz-image-rect(url("chrome://browser/skin/newtab/controls.svg"), 0, 64, 32, 32);
   background-color: #FFCF00;
@@ -132,6 +139,12 @@ body {
   overflow: hidden;
 }
 
+/***
+ * If you change the sizes here, change them in newTab.css
+ * and the preference values:
+ * toolkit.pageThumbs.minWidth
+ * toolkit.pageThumbs.minHeight
+ */
 /* THUMBNAILS */
 .newtab-thumbnail {
   background-origin: padding-box;
@@ -187,7 +200,7 @@ body {
 }
 
 .newtab-site[pinned] .newtab-title {
-  -moz-padding-start: 24px;
+  padding-inline-start: 24px;
 }
 
 .newtab-site[pinned] .newtab-title::before {
@@ -203,7 +216,7 @@ body {
   margin-top: 0;
 }
 
-.newtab-site[pinned] .newtab-title:-moz-dir(rtl)::before {
+.newtab-site[pinned] .newtab-title:dir(rtl)::before {
   left: auto;
   right: 0;
 }
@@ -274,7 +287,7 @@ body {
   background-color: #000000;
   color: #E7ADE7;
 }
-#newtab-search-text::-moz-placeholder {
+#newtab-search-text::placeholder {
   color: #8050B0;
 }
 #newtab-search-text:focus {
@@ -289,7 +302,7 @@ body {
   box-shadow: none;
   border-radius: 0 300px 300px 0;
   border: none;
-  -moz-margin-start: 3px;
+  margin-inline-start: 3px;
 }
 #newtab-search-text:focus + #newtab-search-submit,
 #newtab-search-text[autofocus] + #newtab-search-submit {