summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/newtab/newTab.css
diff options
context:
space:
mode:
Diffstat (limited to 'application/palemoon/base/content/newtab/newTab.css')
-rw-r--r--application/palemoon/base/content/newtab/newTab.css58
1 files changed, 40 insertions, 18 deletions
diff --git a/application/palemoon/base/content/newtab/newTab.css b/application/palemoon/base/content/newtab/newTab.css
index a5431cf65..fe745d2fd 100644
--- a/application/palemoon/base/content/newtab/newTab.css
+++ b/application/palemoon/base/content/newtab/newTab.css
@@ -42,6 +42,18 @@ input[type=button] {
pointer-events: none;
}
+/* TOGGLE */
+#newtab-toggle {
+ position: absolute;
+ top: 12px;
+ right: 12px;
+}
+
+#newtab-toggle:-moz-locale-dir(rtl) {
+ left: 12px;
+ right: auto;
+}
+
/* MARGINS */
#newtab-vertical-margin {
display: -moz-box;
@@ -69,33 +81,38 @@ input[type=button] {
#newtab-horizontal-margin {
display: -moz-box;
- -moz-box-flex: 1;
-}
-
-#newtab-margin-top,
-#newtab-margin-bottom {
- display: -moz-box;
- position: relative;
+ -moz-box-flex: 5;
}
#newtab-margin-top {
+ min-height: 10px;
+ max-height: 30px;
+ display: -moz-box;
-moz-box-flex: 1;
+ -moz-box-align: center;
+ -moz-box-pack: center;
}
#newtab-margin-bottom {
- -moz-box-flex: 2;
+ min-height: 40px;
+ max-height: 80px;
+ -moz-box-flex: 1;
}
.newtab-side-margin {
- min-width: 10px;
+ min-width: 40px;
+ max-width: 300px;
-moz-box-flex: 1;
}
/* GRID */
#newtab-grid {
+ display: -moz-box;
-moz-box-flex: 5;
- overflow: hidden;
- transition: 300ms ease-out;
+ -moz-box-orient: vertical;
+ min-width: 600px;
+ min-height: 400px;
+ transition: 175ms ease-out;
transition-property: opacity;
}
@@ -108,25 +125,30 @@ input[type=button] {
pointer-events: none;
}
+/* ROWS */
+.newtab-row {
+ display: -moz-box;
+ -moz-box-orient: horizontal;
+ -moz-box-direction: normal;
+ -moz-box-flex: 1;
+}
+
/*
- * If you change the sizes here, make sure you
- * change the preferences:
+ * Thumbnail image sizes are determined in the preferences:
* toolkit.pageThumbs.minWidth
* toolkit.pageThumbs.minHeight
*/
/* CELLS */
.newtab-cell {
display: -moz-box;
- height: 180px;
- margin: 15px 10px 30px;
- width: 250px;
+ -moz-box-flex: 1;
}
/* SITES */
.newtab-site {
position: relative;
-moz-box-flex: 1;
- transition: 200ms ease-out;
+ transition: 150ms ease-out;
transition-property: top, left, opacity;
}
@@ -211,7 +233,7 @@ input[type=button] {
display: -moz-box;
position: relative;
-moz-box-pack: center;
- margin: 40px 0 15px;
+ margin: 10px 0 15px;
}
#searchContainer[page-disabled] {