Skip to content

Commit

Permalink
fixes for FF66
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasGollenstede committed Feb 4, 2019
1 parent 505381e commit 85b9fd0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
1 change: 0 additions & 1 deletion about-pages-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@

/* vertical-tabs: invert the content area, leave tab-bar as is */
@-moz-document
url-prefix(about:confmania),
url-prefix(about:debugging),
url-prefix(about:networking),
url-prefix(about:preferences),
Expand Down
5 changes: 5 additions & 0 deletions context-menu-cleanup.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,17 @@
#context-selectall,

#context-sendlink,
#context-savelinktopocket,
#context-sendlinktodevice,
#context-bookmarkpage,
#context-savepage,

#context-searchselect,

#context-viewsource,
#context-viewpartialsource-selection,
#context-viewinfo,
#context-inspect-a11y,

#dtaCtxSepFront-direct,
.dta-menuitem.dta-turbo
Expand Down
15 changes: 8 additions & 7 deletions developer-edition-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @description
* Slight rework of the dark Developer Edition theme of Firefox.
* Requires Firefox' dark theme, preferably with compact density.
* Also works in Thunderbird.
* Also works in Thunderbird (before version 60).
*
* If you have any issues with this style, please open a ticket at https://github.com/NiklasGollenstede/stylish
*/
Expand Down Expand Up @@ -44,7 +44,7 @@
color: white;
background-color: #121518; /* inspector body color */
}

image {
/* TODO: make this optional */
!background: radial-gradient(white 20%, transparent 73%);
Expand Down Expand Up @@ -113,7 +113,7 @@
{ visibility: hidden; }

/* dim not-loaded tabs */
tab[pending]>* { /* apply to children to avoid reducing the opacity of the ::after element botder */
tab[pending]>* { /* apply to children to avoid reducing the opacity of the ::after element border */
/*[[!pending-tab-style]]*/opacity: 0.6; /* gray out by 40% */
background: black;/*[[!pending-tab-style]]*/
}
Expand Down Expand Up @@ -160,8 +160,9 @@ background: black;/*[[!pending-tab-style]]*/
#nav-bar,
.mail-toolbox {
border-top: 1px solid var(--ded-tab-border-color);
margin-top: -1px;
box-shadow: none;
/* margin-top: -1px; */ /* modifying margin-top messes with a [movingtab] hack, so instead translate: */
transform: translateY(-1px); margin-bottom: -1px;
}
#TabsToolbar[movingtab] + #nav-bar {
margin-top: -16px; /* [movingtab] adds 15px padding to the #TabsToolbar */
Expand All @@ -172,8 +173,8 @@ background: black;/*[[!pending-tab-style]]*/
#urlbar-container {
margin-right: -26px;
}
#urlbar-container .urlbar-textbox-container {
margin-right: 26px;
#urlbar-container #page-action-buttons {
margin-right: 25px;
}
#urlbar-container + toolbaritem {
transform: translateX(-6px);
Expand All @@ -184,7 +185,7 @@ background: black;/*[[!pending-tab-style]]*/
width: calc(2 * var(--toolbarbutton-inner-padding) + 12px);
height: calc(2 * var(--toolbarbutton-inner-padding) + 12px);
}
#urlbar-container + toolbaritem image:hover { /* this doesn't work ... */
#urlbar-container + toolbaritem:hover image {
background-color: hsla(0,0%,70%,.2); /* hard coded value in firefox' default style */
}
/*[[/reload-left]]*/
Expand Down
2 changes: 1 addition & 1 deletion raw-text-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
regexp("^file://.*[.](?:css|jsm?|txt)$"/*as:content*/),
regexp("^ftp://.*[.](?:css|jsm?|txt|json)$"/*as:content*/), /* Firefox doesn't recognize JSON over FTP */
regexp("^data:(?!text/x?html)[\\w/-]+[;,].*$"/*as:content*/),
url-prefix("https://raw.githubusercontent.com/"/*as:content*/) /* doesn't seem to work */
url-prefix("https://raw.githubusercontent.com/"/*as:content*/)
{
html:not([class])>body:not([class])>pre:only-child /* plain text */
{
Expand Down

0 comments on commit 85b9fd0

Please sign in to comment.