sixth part of syncing LCARStrek with Firefox 42-44 windows theme changes
[themes.git] / LCARStrek / browser / newtab / newTab.css
index dea4dd6dfa0e98241bbd5c34f78fd18956a18d5d..c430cb6022f3e69e3520e9bebf1b6bcc3eb851e2 100644 (file)
@@ -13,16 +13,6 @@ body {
   background-color: #000000
 }
 
-/* SCROLLBOX */
-#newtab-scrollbox:not([page-disabled]) {
-  color: #FF9F00;
-  background-color: #000000;
-}
-
-#newtab-scrollbox:not([page-disabled]) #newtab-margin-bottom {
-  background: inherit;
-}
-
 /* UNDO */
 #newtab-undo-container {
   padding: 4px 3px;
@@ -71,8 +61,21 @@ body {
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }
 
-#newtab-undo-close-button:-moz-focusring {
-  outline: 1px dotted;
+#newtab-undo-close-button {
+  -moz-appearance: none;
+  padding: 0;
+  border: none;
+  height: 16px;
+  width: 16px;
+  float: right;
+  right: 0;
+  background-image: -moz-image-rect(url("chrome://global/skin/icons/close.png"), 0, 16, 16, 0);
+  background-color: transparent;
+}
+
+#newtab-undo-close-button:hover,
+#newtab-undo-close-button:active {
+  background-image: -moz-image-rect(url("chrome://global/skin/icons/close.png"), 0, 32, 16, 16);
 }
 
 /* CUSTOMIZE */
@@ -129,6 +132,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;
@@ -153,7 +162,6 @@ body {
 }
 
 /* TITLES */
-/*#newtab-intro-what,*/
 .newtab-sponsored,
 .newtab-title,
 .newtab-suggested {
@@ -201,7 +209,7 @@ body {
   margin-top: 0;
 }
 
-.newtab-site[pinned] .newtab-title:-moz-locale-dir(rtl)::before {
+.newtab-site[pinned] .newtab-title:-moz-dir(rtl)::before {
   left: auto;
   right: 0;
 }