summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-05-26 21:11:44 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-05-26 21:11:44 -0400
commit855fd1dfe369303a055e02b9188e602b1f9ed9ac (patch)
tree1b97e9228d694c46d46b07a4a621195b3f24fa49 /themes
parent4e485f439d45e26d446e74838b1585d5658ce772 (diff)
downloadiceweasel-uxp-855fd1dfe369303a055e02b9188e602b1f9ed9ac.tar.gz
Backport UXP #246 - Remove more of compact mode and newtab junk
Diffstat (limited to 'themes')
-rw-r--r--themes/preprocess-tab-svgs.pycbin0 -> 1213 bytes
-rw-r--r--themes/shared/newtab/newTab.inc.css76
2 files changed, 3 insertions, 73 deletions
diff --git a/themes/preprocess-tab-svgs.pyc b/themes/preprocess-tab-svgs.pyc
new file mode 100644
index 0000000..e07d857
--- /dev/null
+++ b/themes/preprocess-tab-svgs.pyc
Binary files differ
diff --git a/themes/shared/newtab/newTab.inc.css b/themes/shared/newtab/newTab.inc.css
index 4db815d..e94dd0b 100644
--- a/themes/shared/newtab/newTab.inc.css
+++ b/themes/shared/newtab/newTab.inc.css
@@ -99,19 +99,6 @@
border-radius: 2px;
}
-/* GRID */
-#topsites-heading {
- color: #7A7A7A;
- font-size: 1em;
- font-weight: normal;
- /* Position the heading such that it doesn't affect how many cells we
- can fit into the grid. */
- position: absolute;
- /* The top margin moves the heading away from the grid.
- The horizontal margin aligns the heading with the cells. */
- margin: -1em 10px 0;
-}
-
/* CELLS */
.newtab-cell {
--cell-corner-radius: 8px;
@@ -119,10 +106,6 @@
border-radius: var(--cell-corner-radius);
}
-body.compact .newtab-cell {
- --cell-corner-radius: 2px;
-}
-
.newtab-cell:empty {
outline: 2px dashed #c1c1c1;
outline-offset: -2px;
@@ -171,31 +154,16 @@ body.compact .newtab-cell {
transition: opacity 100ms ease-out;
}
-body.compact .newtab-thumbnail {
- height: 100%;
- border-radius: calc(var(--cell-corner-radius) + 1px);
- outline: 1px solid hsla(0,0%,0%,.1);
- -moz-outline-radius: var(--cell-corner-radius);
- outline-offset: -1px;
-}
-
.newtab-thumbnail.placeholder {
color: white;
font-size: 85px;
line-height: 200%;
}
-body.compact .newtab-thumbnail.placeholder {
- font-size: 45px;
-}
-
-.newtab-cell:not([ignorehover]) .newtab-site:hover .newtab-thumbnail.enhanced-content {
- opacity: 0;
-}
-
/* TITLES */
.newtab-title {
+ color: #5c5c5c;
background-color: #F2F2F2;
font-size: 13px;
line-height: 30px;
@@ -203,37 +171,13 @@ body.compact .newtab-thumbnail.placeholder {
border-radius: 0 0 var(--cell-corner-radius) var(--cell-corner-radius);
}
-body.compact .newtab-title {
- background-color: hsla(0,0%,100%,.85);
- font-size: 12px;
- line-height: 21px;
- border: 1px solid hsla(0,0%,80%,.8);
- border-top-color: hsla(0,0%,0%,.1);
- background-clip: padding-box;
-}
-
-.newtab-title {
- color: #5c5c5c;
-}
-
-body.compact .newtab-title {
- color: black;
-}
-
-body:not(.compact) .newtab-site:hover .newtab-title {
+.newtab-site:hover .newtab-title {
color: white;
background-color: #333;
border-color: #333;
border-top-color: white;
}
-body.compact .newtab-site:hover .newtab-title {
- color: white;
- background-color: hsla(0,0%,20%,.85);
- border-color: hsla(0,0%,0%,.8);
- border-top-color: white;
-}
-
.newtab-site[pinned] .newtab-title {
padding-inline-start: 24px;
}
@@ -275,20 +219,6 @@ body.compact .newtab-site:hover .newtab-title {
right: 4px;
}
-body.compact .newtab-control {
- top: -8px;
-}
-
-body.compact .newtab-control-pin:dir(ltr),
-body.compact .newtab-control-block:dir(rtl) {
- left: -8px;
-}
-
-body.compact .newtab-control-block:dir(ltr),
-body.compact .newtab-control-pin:dir(rtl) {
- right: -8px;
-}
-
.newtab-control-pin,
.newtab-site[pinned] .newtab-control-pin:hover:active {
background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 96, 32, 64);
@@ -314,4 +244,4 @@ body.compact .newtab-control-pin:dir(rtl) {
.newtab-control-block:hover:active {
background-image: -moz-image-rect(url(chrome://browser/skin/newtab/controls.svg), 0, 256, 32, 224);
-} \ No newline at end of file
+}