-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
266 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/*AGENT_SHEET*/ | ||
|
||
/* Firefox 57+ userChrome.css tweaks ****************************************************/ | ||
/* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/ | ||
/* by Aris ([email protected])*********************************************************/ | ||
/* Github: https://github.com/aris-t2/customcssforfx ************************************/ | ||
/****************************************************************************************/ | ||
|
||
#PopupAutoCompleteRichResult richlistitem :-moz-any(.ac-emphasize-text-title, .ac-emphasize-text-tag, .ac-emphasize-text-url,.ac-emphasize-text) { | ||
font-weight: bold !important; | ||
/*box-shadow: unset !important; | ||
background-color: unset !important; | ||
border-radius: unset !important; | ||
text-shadow: unset !important;*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/*AGENT_SHEET*/ | ||
|
||
/* Firefox 57+ userChrome.css tweaks ****************************************************/ | ||
/* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/ | ||
/* by Aris ([email protected])*********************************************************/ | ||
/* Github: https://github.com/aris-t2/customcssforfx ************************************/ | ||
/****************************************************************************************/ | ||
|
||
#PopupAutoCompleteRichResult richlistitem :-moz-any(.ac-emphasize-text-title, .ac-emphasize-text-tag, .ac-emphasize-text-url,.ac-emphasize-text) { | ||
text-decoration: underline !important; | ||
/*box-shadow: unset !important; | ||
background-color: unset !important; | ||
border-radius: unset !important; | ||
text-shadow: unset !important;*/ | ||
} |
61 changes: 61 additions & 0 deletions
61
classic/css/locationbar/ac_popup_result_highlighting_aero.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/*AGENT_SHEET*/ | ||
|
||
/* Firefox 57+ userChrome.css tweaks ****************************************************/ | ||
/* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/ | ||
/* by Aris ([email protected])*********************************************************/ | ||
/* Github: https://github.com/aris-t2/customcssforfx ************************************/ | ||
/****************************************************************************************/ | ||
|
||
/* Aero-like appearance */ | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem[selected="true"], | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem[selected="true"][current="true"], | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem:hover { | ||
color: inherit !important; | ||
background-color: transparent !important; | ||
background-image: | ||
linear-gradient(to right, rgba(255,255,255,0.4) 0px, transparent 0px), | ||
linear-gradient(to left, rgba(255,255,255,0.4) 0px, transparent 0px), | ||
linear-gradient(to top, rgba(255,255,255,0.3) 0px, transparent 0px), | ||
linear-gradient(to bottom, rgba(163,196,247,0.2), rgba(122,180,246,0.2)) !important; | ||
border-radius: 6px !important; | ||
outline: 1px solid rgba(124,163,206,0.7) !important; | ||
-moz-outline-radius: 3px !important; | ||
outline-offset: -1px !important; | ||
} | ||
|
||
/* replace inverted text colors with default ones */ | ||
#PopupAutoCompleteRichResult .ac-title-text[selected] .ac-emphasize-text, | ||
#PopupAutoCompleteRichResult .ac-title[selected=true] { | ||
color: hsl(0, 0%, 0%) !important; | ||
} | ||
#PopupAutoCompleteRichResult .ac-url-text[selected] .ac-emphasize-text, | ||
#PopupAutoCompleteRichResult .ac-url[selected=true] { | ||
color: hsl(210, 77%, 47%) !important; | ||
} | ||
#PopupAutoCompleteRichResult .ac-action-text[selected] .ac-emphasize-text, | ||
#PopupAutoCompleteRichResult .ac-action[selected=true] { | ||
color: hsl(178, 100%, 28%) !important; | ||
} | ||
|
||
/* replace inverted icons with default ones */ | ||
#PopupAutoCompleteRichResult .ac-type-icon[type=keyword][selected], | ||
#PopupAutoCompleteRichResult .ac-site-icon[type=searchengine][selected], | ||
#PopupAutoCompleteRichResult .ac-type-icon[type=switchtab][selected], | ||
#PopupAutoCompleteRichResult .ac-type-icon[type=remotetab][selected], | ||
#PopupAutoCompleteRichResult .ac-type-icon[type=bookmark][selected][current] { | ||
fill: #b2b2b2 !important; | ||
} | ||
|
||
#PopupAutoCompleteRichResult richlistitem[selected="true"]:not([collapse="true"]) { | ||
border-top: 1px solid transparent !important; | ||
border-bottom: 1px solid transparent !important; | ||
} | ||
|
||
#PopupAutoCompleteRichResult richlistitem[selected="true"] + richlistitem:not([collapse="true"]) { | ||
border-top: 1px solid transparent !important; | ||
border-bottom: 1px solid transparent !important; | ||
} | ||
|
||
#PopupAutoCompleteRichResult .autocomplete-richlistbox { | ||
padding: 1px !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
classic/css/locationbar/ac_popup_title_and_url_50percent_width.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*AGENT_SHEET*/ | ||
|
||
/* Firefox 57+ userChrome.css tweaks ****************************************************/ | ||
/* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/ | ||
/* by Aris ([email protected])*********************************************************/ | ||
/* Github: https://github.com/aris-t2/customcssforfx ************************************/ | ||
/****************************************************************************************/ | ||
|
||
|
||
/* To hide seach engines at popups bottom open 'about:config' and set ************ | ||
** browser.urlbar.oneOffSearches to 'false' *************************************/ | ||
|
||
/* remove unneeded padding around results */ | ||
#PopupAutoCompleteRichResult .autocomplete-richlistbox { | ||
padding: 0 !important; | ||
} | ||
|
||
/* make sure there is not unneded space before results (Fx58+) */ | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem { | ||
-moz-margin-start: 0 !important; | ||
-moz-padding-start: 0 !important; | ||
} | ||
|
||
/* make sure there is not unneded space before results (Fx57+) */ | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem spacer{ | ||
display: none !important; | ||
} | ||
|
||
/* remove separator between title and url */ | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem .ac-separator { | ||
display: none !important; | ||
} | ||
|
||
/* calculate width of title and url: width = 1/2 * (window size - 100px) */ | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem .ac-title-text, | ||
#PopupAutoCompleteRichResult .autocomplete-richlistitem .ac-url-text { | ||
min-width: calc((100vw - 100px)/2) !important; | ||
width: calc((100vw - 100px)/2) !important; | ||
} | ||
|
||
/**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
classic/css/locationbar/ac_popup_url_and_title_50percent_width.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/*AGENT_SHEET*/ | ||
|
||
/* Firefox 57+ userChrome.css tweaks ****************************************************/ | ||
/* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/ | ||
/* by Aris ([email protected])*********************************************************/ | ||
/* Github: https://github.com/aris-t2/customcssforfx ************************************/ | ||
/****************************************************************************************/ | ||
|
||
@import url(./ac_popup_title_and_url_50percent_width.css); | ||
|
||
/* To hide seach engines at popups bottom open 'about:config' and set ************ | ||
** browser.urlbar.oneOffSearches to 'false' *************************************/ | ||
|
||
|
||
/* reorder content to switch title and url posions */ | ||
|
||
.ac-type-icon{ | ||
-moz-box-ordinal-group: 0 !important; | ||
} | ||
.ac-site-icon{ | ||
-moz-box-ordinal-group: 1 !important; | ||
} | ||
.ac-title{ | ||
-moz-box-ordinal-group: 5 !important; | ||
-moz-margin-start: 10px !important; | ||
-moz-margin-end: 0px !important; | ||
} | ||
.ac-tags{ | ||
-moz-box-ordinal-group: 3 !important; | ||
} | ||
.ac-separator{ | ||
-moz-box-ordinal-group: 4 !important; | ||
} | ||
.ac-url{ | ||
-moz-box-ordinal-group: 2 !important; | ||
} | ||
.ac-action{ | ||
-moz-box-ordinal-group: 6 !important; | ||
} | ||
|
||
/* prevent url/title overlapping */ | ||
#PopupAutoCompleteRichResult richlistitem:-moz-any([type*="heuristic"],[actiontype="searchengine"],[actiontype="visiturl"],[actiontype="keyword"],[actiontype="searchengine"]) .ac-title { | ||
-moz-margin-start: 0px !important; | ||
-moz-margin-end: 10px !important; | ||
} | ||
/**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters