diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..e43b0f98 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..ad45507f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Xinux - Linux O'zbekiston + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 6c0f8f88..34a5270a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,36 @@

ilosrim

-Windows PowerShell config +Windows PowerShell config -* **Operatsion Tizim:** Windows 11 Pro 86_64 -* **Terminal:** Windows Terminal -* **Shrift:** Hack Regular Nerd Font Complete Mono Windows Compatible -* **Ranglar Sxemasi:** [`Powerline`](https://github.com/b-ryan/powerline-shell) \ No newline at end of file +- **Operatsion Tizim:** Windows 10 Pro 86_64 +- **Terminal:** PowerShell Terminal +- **Shrift:** Raster Fonts + +
+Windows PowerShell config + +- **Operatsion Tizim:** Windows 11 Pro 86_64 +- **Terminal:** Windows Terminal +- **Shrift:** Hack Regular Nerd Font Complete Mono Windows Compatible +- **Ranglar Sxemasi:** [`Powerline`](https://github.com/b-ryan/powerline-shell) + +
+Windows & Linux + +- **Operatsion Tizim:** Arch Linux on Windows 10 Pro 86_64 +- **Terminal:** Fish +- **Shrift:** Hack Regular Nerd Font + +
+Windows Mac Linux + +- **Operatsion Tizim:** Ubuntu on Windows 10 Pro 86_64 +- **Terminal:** Fish +- **Shrift:** Hack Regular Nerd Font + + +
+Windows PowerShell config + +- **Operatsion Tizim:** Parqinsa + +

Bu yerda sizning konfiglaringiz bo'lishi mumkin...

diff --git a/.config/powershell/ilosrim.omp.json b/ilosrim/PowerShell/.config/powershell/ilosrim.omp.json similarity index 100% rename from .config/powershell/ilosrim.omp.json rename to ilosrim/PowerShell/.config/powershell/ilosrim.omp.json diff --git a/.config/powershell/ilosrim.omp.json.bak b/ilosrim/PowerShell/.config/powershell/ilosrim.omp.json.bak similarity index 100% rename from .config/powershell/ilosrim.omp.json.bak rename to ilosrim/PowerShell/.config/powershell/ilosrim.omp.json.bak diff --git a/.config/powershell/user_profile.ps1 b/ilosrim/PowerShell/.config/powershell/user_profile.ps1 similarity index 100% rename from .config/powershell/user_profile.ps1 rename to ilosrim/PowerShell/.config/powershell/user_profile.ps1 diff --git a/.config/scoop/config.json b/ilosrim/PowerShell/.config/scoop/config.json similarity index 100% rename from .config/scoop/config.json rename to ilosrim/PowerShell/.config/scoop/config.json diff --git a/ilosrim/PowerShell/powershell_script/Microsoft.PowerShell_profile.ps1 b/ilosrim/PowerShell/powershell_script/Microsoft.PowerShell_profile.ps1 new file mode 100644 index 00000000..84e116f3 --- /dev/null +++ b/ilosrim/PowerShell/powershell_script/Microsoft.PowerShell_profile.ps1 @@ -0,0 +1,80 @@ +Clear-Host + +# Set Default location +Set-Location D: + +# function prompt { $p = Split-Path -leaf -path (Get-Location) "$p> " } + +# function prompt { "[$(('mirjr@dev'+$PWD).replace($HOME, '~'))]> " } + +# function prompt { "$( ( Get-Location | Get-Item ).Name )>" } + +# function prompt {'mirjr@dev:' + $(Get-Location | Split-Path -Leaf) + "$ "} + +function Write-BranchName () { + try { + $branch = git rev-parse --abbrev-ref HEAD + + if ($branch -eq "HEAD") { + # we're probably in detached HEAD state, so print the SHA + $branch = git rev-parse --short HEAD + Write-Host " ($branch)" -ForegroundColor "red" + } + else { + # we're on an actual branch, so print it + Write-Host " ($branch)" -ForegroundColor "blue" + } + } + catch { + # we'll end up here if we're in a newly initiated git repo + Write-Host " (no branches yet)" -ForegroundColor "yellow" + } +} + +function prompt { + $base = "mirjr@$env:COMPUTERNAME " + $date = (get-date -Format "yyyy-MM-dd HH:mm:ss") + $path = "$($executionContext.SessionState.Path.CurrentLocation)" # $(Get-Location | Split-Path -Leaf) + $userPrompt = "$('$' * ($nestedPromptLevel + 1)) " + + Write-Host "`n$base" -ForegroundColor DarkGreen -NoNewline + write-host "$date" -ForegroundColor Yellow -NoNewline + write-host " | " -ForegroundColor DarkGray -NoNewline + + if (Test-Path .git) { + Write-Host $path -NoNewline -ForegroundColor Yellow + Write-BranchName + } + else { + # we're not in a repo so don't bother displaying branch name/sha + Write-Host $path -ForegroundColor Yellow + } + + return $userPrompt +} + + +# Arxiv +# function Prompt +# { +# write-host "mirjr@$env:COMPUTERNAME " -ForegroundColor DarkGreen -NoNewline +# write-host (get-date -Format "yyyy-MM-dd HH:mm:ss") -ForegroundColor Yellow -NoNewline +# write-host " | " -ForegroundColor DarkGray -NoNewline +# if( (Get-Location).Drive -ne $null) +# { +# write-host (Get-Location) +# $networkdrive = $false +# } +# else +# { +# $networkdrive = $true +# $first, $second, $third, $folder = (Get-Location).path.Split("\") +# write-host "\" -NoNewline +# $folder | foreach-object { +# write-host "\$_" -NoNewline +# } +# write-host +# } +# write-host "$" -NoNewline +# return " " +# } \ No newline at end of file diff --git a/.config/win-neofetch.png b/ilosrim/PowerShell/win-neofetch.png similarity index 100% rename from .config/win-neofetch.png rename to ilosrim/PowerShell/win-neofetch.png diff --git a/ilosrim/firefox-theme/README.md b/ilosrim/firefox-theme/README.md new file mode 100644 index 00000000..a982f177 --- /dev/null +++ b/ilosrim/firefox-theme/README.md @@ -0,0 +1,78 @@ +# Firefox Proton Square +*Recreates the feel of Quantum with its squared tabs and menus. No rounded corners to be seen.* + + + +![Sample Screenshot of Theme](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/ff_protonbutquantum.png "Sample Screenshot") + + If you hate rounded corners like me, this is for you. Only square corners. + + These tweaks attempt to recreate the feel of Quantum with its squared tabs and menus, but in the Proton UI. As of FF91, the `about:config` option to disable proton has been deprecated, leaving CSS as the main way to revert the UI. + +## Features + +**Tab & Menu Design** + - Square corners + - Colored context line above selected tab + - Divide Line between tabs + +**Custom Accent Color** + - Consistent, customizable accent color across Firefox + +**Customizable** + - User customizable variables can be found in the `userVariables.css` file for easy access + - Static file retains saved preferences, does not need to be updated + + +## How to Install? + + 1. Enable `userChrome.css` Support. + - Go to `about:config` + - `toolkit.legacyUserProfileCustomizations.stylesheets` to `true` + 2. Find Profile Directory. + - Go to `about:support` + - Open Profile Directory + 3. Copy Files + - create `chrome` directory at profile + - download the `userChrome.css`, `userContent.css`, and `userVariables.css` files from the latest release + - copy the files into the `chrome` directory + 4. Restart Firefox + +To update, repeat steps 2-4. `userVariables.css` does NOT need to be replaced. + +[Thunderbird is also supported.](../../wiki/Thunderbird-Install) + + +## Custom Preferences +**`userVariables.css`** +> Restart Firefox to apply changes + + - Custom color controlled by `--custom-accent-color: ;` + - Tab divider color controlled by `--custom-tab-divider-color: ;` + - Use hex color code or [color name](https://www.w3schools.com/cssref/css_colors.asp) + - set divider color = none, to disable dividers + - Set height of the tabs + - Scale the size of sync avatar + +**`about:config`** + - Use default window controls in title bar (linux only) by creating the pref `browser.windowcontrolbuttons.overwrite` = `true` + - default buttons with light/dark theme (![mozilla buttons](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/mozilla_buttons.png)) vs. OS themed buttons (![breeze buttons](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/breeze_buttons.png)) + - Re-round sync profile picture by creating the pref `browser.syncavatar.round` = `true` + - Color the separator in the app menu by creating the pref `browser.appmenugradient.overwrite` = `true` + - ![colored separator in appmenu](https://raw.githubusercontent.com/leadweedy/Firefox-Proton-Square/main/images/appmenu_gradient.png) + + + +## Suggested Tweaks +**`about:config`** + - set `browser.tabs.tabMinWidth` to `150` px or desired width + - set `widget.non-native-theme.gtk.scrollbar.round-thumb` to `false` to square the scrollbar (linux only) + - change `layout.css.devPixelsPerPx` to scale the whole browser (1.0 represents 100% scaling) + - re-enable compact density by setting `browser.compactmode.show` to `true` + + +**Addons** + - [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/) or similar for editing webpage CSS + - create custom rules to apply `*{border-radius: 0 !important}` to square *most* elements on webpages + - *may result in webpage breakages, apply at own risk* + diff --git a/ilosrim/firefox-theme/images/addons.png b/ilosrim/firefox-theme/images/addons.png new file mode 100644 index 00000000..b9e01b6f Binary files /dev/null and b/ilosrim/firefox-theme/images/addons.png differ diff --git a/ilosrim/firefox-theme/images/appmenu_gradient.png b/ilosrim/firefox-theme/images/appmenu_gradient.png new file mode 100644 index 00000000..d87ad0da Binary files /dev/null and b/ilosrim/firefox-theme/images/appmenu_gradient.png differ diff --git a/ilosrim/firefox-theme/images/breeze_buttons.png b/ilosrim/firefox-theme/images/breeze_buttons.png new file mode 100644 index 00000000..bcf8af78 Binary files /dev/null and b/ilosrim/firefox-theme/images/breeze_buttons.png differ diff --git a/ilosrim/firefox-theme/images/ff_protonbutquantum.png b/ilosrim/firefox-theme/images/ff_protonbutquantum.png new file mode 100644 index 00000000..e81348bc Binary files /dev/null and b/ilosrim/firefox-theme/images/ff_protonbutquantum.png differ diff --git a/ilosrim/firefox-theme/images/logins.png b/ilosrim/firefox-theme/images/logins.png new file mode 100644 index 00000000..9e44c9d7 Binary files /dev/null and b/ilosrim/firefox-theme/images/logins.png differ diff --git a/ilosrim/firefox-theme/images/mozilla_buttons.png b/ilosrim/firefox-theme/images/mozilla_buttons.png new file mode 100644 index 00000000..4e91c27d Binary files /dev/null and b/ilosrim/firefox-theme/images/mozilla_buttons.png differ diff --git a/ilosrim/firefox-theme/images/newtab_cards.png b/ilosrim/firefox-theme/images/newtab_cards.png new file mode 100644 index 00000000..3dc4d2c2 Binary files /dev/null and b/ilosrim/firefox-theme/images/newtab_cards.png differ diff --git a/ilosrim/firefox-theme/images/quit.png b/ilosrim/firefox-theme/images/quit.png new file mode 100644 index 00000000..eca9e814 Binary files /dev/null and b/ilosrim/firefox-theme/images/quit.png differ diff --git a/ilosrim/firefox-theme/userChrome.css b/ilosrim/firefox-theme/userChrome.css new file mode 100644 index 00000000..b353027d --- /dev/null +++ b/ilosrim/firefox-theme/userChrome.css @@ -0,0 +1,388 @@ +/* imports the user facing variables */ +@import url(userVariables.css); + + + +/* CUSTOM ACCENT COLORS -------------------------------------------------------------------------------------- */ + +:root { + --lwt-toolbarbutton-icon-fill-attention: var(--custom-accent-color, #0a84ff) !important; + --button-primary-bgcolor: var(--custom-accent-color, #0a84ff) !important; + --button-primary-hover-bgcolor: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + --button-primary-active-bgcolor: color-mix(in srgb, white 65%, var(--custom-accent-color, #0a84ff)) !important; + /* --button-primary-color: var(--custom-button-text-color) !important; */ +} + + +.urlbarView-url { color: var(--custom-accent-color, #0a84ff) !important; } +:root { + --buttons-primary-button-bgcolor: var(--custom-accent-color, #0a84ff) !important; + --buttons-primary-button-hover-bgcolor: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + --buttons-primary-button-active-bgcolor: color-mix(in srgb, white 65%, var(--custom-accent-color, #0a84ff)) !important; + --checkbox-checked-bgcolor: var(--custom-accent-color, #0a84ff) !important; + --checkbox-checked-hover-bgcolor: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + --checkbox-checked-active-bgcolor: color-mix(in srgb, white 65%, var(--custom-accent-color, #0a84ff)) !important; + --lwt-brighttext-url-color: var(--custom-accent-color, #0a84ff) !important; + --lwt-popup-brighttext-url-color: var(--custom-accent-color, #0a84ff) !important; + --focus-outline-color: var(--custom-accent-color, #0a84ff) !important; + --toolbar-field-focus-border-color: var(--custom-accent-color, #0a84ff) !important; + /*Star Highlight & Download Finished*/ + --lwt-toolbarbutton-icon-fill-attention: var(--custom-accent-color, #0a84ff) !important; + --lwt-toolbar-field-icon-fill-attention: var(--custom-accent-color, #0a84ff) !important; +} + + +/* colors various popup windows (e.g. edit bookmarks, close window menus) */ +@-moz-document regexp("^(about:|chrome:|moz-extension:).*") { + html:not([role="dialog"]), + html:not([role="dialog"]) *, + html:not([role="dialog"]) body.activity-stream, + window:not([chromehidden]), + window:not([chromehidden]) > dialog + { + --in-content-primary-button-background: var(--custom-accent-color, #0a84ff) !important; + --in-content-primary-button-background-hover: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + --in-content-primary-button-background-active: color-mix(in srgb, white 65%, var(--custom-accent-color, #0a84ff)) !important; + } +} + + +/* color the update/info dot in app menu */ +:root{ + --panel-banner-item-info-icon-bgcolor: var(--custom-accent-color, #0a84ff) !important; + --panel-banner-item-update-supported-bgcolor: var(--custom-accent-color, #0a84ff) !important; +} + + +/* color the left strip in notification banners (purple-yellow gradient -> accent color) */ +.infobar::before {background-image: linear-gradient(var(--custom-accent-color, #0a84ff), var(--custom-accent-color, #0a84ff)) !important;} + + +/* replace the mozilla purple to yellow gradient in appmenu */ +/* (enabled by default for default, light, and dark themes) */ +:root:not(:-moz-lwtheme), +:root[lwt-default-theme-in-dark-mode], +/* based on https://github.com/black7375/Firefox-UI-Fix/issues/288 */ +:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"], /* Light Theme */ +:root[style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"] /* Dark Theme */ { + --panel-separator-zap-gradient: linear-gradient(var(--custom-accent-color, #0a84ff), var(--custom-accent-color, #0a84ff)) !important; +} +/* can be manually overridden by pref */ +@supports -moz-bool-pref("browser.appmenugradient.overwrite") { + :root{ + --panel-separator-zap-gradient: linear-gradient(var(--custom-accent-color, #0a84ff), var(--custom-accent-color, #0a84ff)) !important; + } +} + + +/* TITLE BAR ----------------------------------------------------------------------------------------------- */ + +/* override mozilla min/max/close buttons with default ones (only relevant on linux) */ +@media (-moz-gtk-csd-available) { + @supports -moz-bool-pref("browser.windowcontrolbuttons.overwrite") { + .titlebar-button:-moz-lwtheme { + appearance: auto !important; + } + .titlebar-min:-moz-lwtheme, .titlebar-max:-moz-lwtheme, .titlebar-restore:-moz-lwtheme, .titlebar-close:-moz-lwtheme { + list-style-image: none !important; + } + .titlebar-button:-moz-lwtheme:hover, .titlebar-button:-moz-lwtheme:hover:active { + background-color: unset !important; + color: unset !important; + } + } +} + + +/* remove window corner rounding in gtk */ +:root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) #navigator-toolbox:-moz-lwtheme, +:root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) ::backdrop { + border-top-left-radius: 0 !important; + border-top-right-radius: 0 !important; +} + + +/* TAB BAR ------------------------------------------------------------------------------------------------- */ + +/* sets the height of the tab toolbar +otherwise will change height when tabs overflow [FIXED] */ +/* tab height when playing audio issue fixed in FF 96.0.2+ */ +/* https://bugzilla.mozilla.org/show_bug.cgi?id=1714276 */ +/* height change when tab overflow fixed in FF 97 beta+ */ +#TabsToolbar {height: var(--tab-bar-height, 35px) !important;} +:root{ + /* default value for tab-min-height = 36px */ + --tab-min-height: var(--tab-bar-height, 35px) !important; +} + + +/* Reduce left spacer on tab bar */ +.titlebar-spacer[type="pre-tabs"] { + display: none !important; +} + + +/* Tab - Connect to window */ +.tab-background { + border-radius: 0 !important; + margin-top: 0 !important; + margin-bottom: 0 !important; +} +.tab-content { + margin-top: 0 !important; + margin-bottom: 0 !important; +} +.tab-stack { + margin-top: 0 !important; + margin-bottom: 0 !important; +} + + +/* adds the little colored strip on top of the selected tab */ +.tab-background:is([selected],[multiselected]) { + box-shadow: inset 0 2px var(--custom-accent-color, #0a84ff) !important; + border: 0 !important; +} + + +/* make context line (from container tabs) visible */ +.tabbrowser-tab[selected] .tab-context-line { + margin-top: 0 !important; + margin-left: 0 !important; + margin-right: 0 !important; + border-radius: 0 !important; +} + + +/* realign the selected tab so it doesnt droop down by 2px */ +.tabbrowser-tab[visuallyselected="true"]{ + z-index: 0 !important; +} + + +/* neighbouring tabs should "pinch" together */ +.tabbrowser-tab {padding-inline: 0 !important;} + + +/* Unselected Tab - Divide line */ +.tab-content::before, +.tab-content::after { + content: "" !important; + display: block !important; + position: absolute !important; + background-color: var(--custom-tab-divider-color, #535354) !important; + width: 1px !important; + height: 40px !important; + transform: translateY(-20px) !important; + opacity: 0 !important; + transition: opacity 1s var(--ease-basic) !important; +} +.tab-content::before {left: 0 !important;} +.tab-content::after {right: 0 !important;} + +.tabbrowser-tab[visuallyselected][style*=transform] + .tabbrowser-tab[style*=transform] .tab-content::after, +.tabbrowser-tab[style*=transform]:not([visuallyselected]) .tab-content::before, +.tabbrowser-tab[style*=transform] + .tabbrowser-tab:not([visuallyselected]) .tab-content::before, +.tabbrowser-tab:not([visuallyselected]):not(:hover):not([multiselected]) + .tabbrowser-tab:not([visuallyselected]):not(:hover):not([multiselected]) .tab-content::before, +#tabbrowser-tabs[hasadjacentnewtabbutton]:not([overflow]) .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not(:hover):not([multiselected]) .tab-content::after { + opacity: var(--tab-separator-opacity) !important; +} + + +/* squares the mute button on hover */ +.tab-icon-overlay:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked]) { + border-radius: 0 !important; +} + + +/* NAV BAR ---------------------------------------------------------------------------------------------------- */ + +:root{ + /* reduce padding between menu items */ + --arrowpanel-menuitem-padding: 6px 8px !important; + --arrowpanel-menuitem-margin: 0 4px !important; + --panel-subview-body-padding: 4px 0 !important; + + + /* square the off most of the UI (selection buttons on hover, context menus, hamburger menus, etc) */ + --toolbarbutton-border-radius: 0 !important; + --arrowpanel-menuitem-border-radius: 0 !important; + --arrowpanel-border-radius: 0 !important; + --tab-border-radius: 0 !important; + --subviewbutton-border-radius: 0 !important; +} + + +/* squares the profile picture on toolbar if logged into sync AND not disabled by pref */ +@supports not -moz-bool-pref("browser.syncavatar.round") { + #fxa-avatar-image {border-radius: 0 !important;} +} + + +/* scales the profile picture, since it is quite small */ +#fxa-avatar-image {transform: scale(var(--sync-avatar-scale)) !important;} + + +/* SUB MENUS --------------------------------------------------------------------------------------------- */ + +/* removes the rounded corners from (bookmarks) menu */ +.menupopup-arrowscrollbox, .panel-arrowcontainer, .panel-arrowbox, .panel-arrowscrollbox, menupopup { + border-radius: 0 !important; +} + + +/* removes rounded corner from selection box in side bookmarks menu */ +menupopup menuitem, menupopup menu {border-radius: 0 !important;} + + +/* square input fields in the edit bookmarks menu */ +#editBMPanel_namePicker {border-radius: 0 !important;} +#editBMPanel_folderMenuList {border-radius: 0 !important;} +#editBMPanel_tagsField {border-radius: 0 !important;} +#editBMPanel_locationField {border-radius: 0 !important;} +#editBMPanel_keywordField {border-radius: 0 !important;} + + +/* square off aspects of the download menu (i.e. selection boxes, open in folder button) */ +.download-state, .downloadButton {border-radius: 0 !important;} + +.downloadProgress { + border-radius: 0 !important; + overflow: hidden !important; +} + +.downloadProgress[paused] { + border-radius: 0 !important; +} + +.downloadProgress:not([value="0"])::-moz-progress-bar { + border-radius: 0 !important; +} + +.downloadProgress::-moz-progress-bar { + border-radius: 0 !important; +} + +.downloadProgress[paused]::-moz-progress-bar { + border-radius: 0 !important; +} + + +/* square off the toggle switch for "enhanced tracking protection" */ +.protections-popup-tp-switch, .protections-popup-tp-switch::before {border-radius: 0 !important;} + + +/* square the permissions popup (e.g. autoplay blocked) */ +#permission-popup-menulist {border-radius: 0 !important;} + + +/* square permission popups for webRTC (screen sharing and voice) */ +#webRTC-selectMicrophone-menulist {border-radius: 0 !important;} +#webRTC-selectWindow-menulist {border-radius: 0 !important;} +#webRTC-previewVideo {border-radius: 0 !important;} + + +/* square the fullscreen and zoom reset */ +#appMenu-zoomReset-button2 > .toolbarbutton-text, +#appMenu-fullscreen-button2 > .toolbarbutton-icon { + border-radius: 0 !important; +} + + +/* MISC ITEMS ------------------------------------------------------------------------------------------- */ + +/* square "close tabs and quit" window and buttons (and prob other dialog boxes) */ +.dialogBox {border-radius: 0 !important;} +button {border-radius: 0 !important;} + + +/* square checkboxes */ +.checkbox-check {border-radius: 0 !important;} +#checkbox {border-radius: 0 !important;} + + +/* square dropdown selection boxes */ +select {border-radius: 0 !important;} + + +/* square selections, checkboxes, and nav buttons on the print page */ +.toggle-group-label {border-radius: 0 !important;} +.photon-number {border-radius: 0 !important;} +#headers-footers-enabled {border-radius: 0 !important;} +#backgrounds-enabled {border-radius: 0 !important;} +.toolbarButton:not(:hover) {background-color: #2b2a33 !important;} +#custom-range {border-radius: 0 !important;} + + +/* tooltips */ +/* disabled for now, not all tooltips can be changed with css */ +/* see https://old.reddit.com/r/FirefoxCSS/comments/dwpykf/problems_with_styling_tooltips/f80dnv8/ */ +/* #tabbrowser-tab-tooltip, +#btTooltip, +#un-toolbar-tooltip, +#tooltip, +.tooltip, +#aHTMLTooltip, +#urlTooltip, +#bhTooltip, +.places-tooltip-box, +.tooltip-label, +tooltip { + -moz-appearance: none !important; + border-radius: 0 !important; +} */ + + +/* autosave password notification input fields */ +#password-notification-username {border-radius: 0 !important;} +#password-notification-password {border-radius: 0 !important;} + + +/* searchbox and buttons in find bar (ctrl+F) */ +.findbar-textbox {border-radius: 0 !important;} +toolbarbutton {border-radius: 0 !important;} + + +/* certain new folder and login field popup dialogs */ +#loginTextbox {border-radius: 0 !important;} +#password1Textbox {border-radius: 0 !important;} + + +/* density options in "Customize Toolbar" */ +#customization-uidensity-menuitem-compact {border-radius: 0 !important;} +#customization-uidensity-menuitem-normal {border-radius: 0 !important;} +#customization-uidensity-menuitem-touch {border-radius: 0 !important;} + + +/* square popup when entering full screen video */ +#fullscreen-warning {border-radius: 0 !important;} + + +/* square dismissable "show me how" notification messages */ +notification-message {border-radius: 0 !important;} +.animated {border-radius: 0 !important;} +.infobar {border-radius: 0 !important;} +.infobar::before { + border-start-start-radius: 0 !important; + border-end-start-radius: 0 !important; +} + + +/* clear history popup and warnings */ +#sanitizeDurationChoice {border-radius: 0 !important;} +#sanitizeEverythingWarningBox {border-radius: 0 !important;} + + +/* url preview on hover */ +#statuspanel-label {border-radius: 0 !important;} + + +/* autofill pop up box */ +slot {border-radius: 0 !important;} + + +/* TODO --------------------------------------------------------------------------------------------- */ +/* +/- buttons for zoom in appmenu */ +/* export buttons in about:certificates */ +/* media (-moz-gtk-csd-available) {} for linux specific code */ +/* https://www.reddit.com/r/FirefoxCSS/comments/o6q5i4/detect_each_os_lightdark_theme/ */ diff --git a/ilosrim/firefox-theme/userContent.css b/ilosrim/firefox-theme/userContent.css new file mode 100644 index 00000000..7127c3b8 --- /dev/null +++ b/ilosrim/firefox-theme/userContent.css @@ -0,0 +1,355 @@ +/* imports the user facing variables */ +@import url(userVariables.css); + + + +/* CUSTOM ACCENT COLORS -------------------------------------------------------------------------------------- */ + +@-moz-document regexp("^(about:|chrome:|moz-extension:).*") { + html:not([role="dialog"]), + html:not([role="dialog"]) *, + html:not([role="dialog"]) body.activity-stream, + window:not([chromehidden]), + window:not([chromehidden]) > dialog + { + --in-content-primary-button-background: var(--custom-accent-color, #0a84ff) !important; + --in-content-primary-button-background-hover: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + --in-content-primary-button-background-active: color-mix(in srgb, white 65%, var(--custom-accent-color, #0a84ff)) !important; + + --in-content-item-selected: var(--custom-accent-color, #0a84ff) !important; + --in-content-border-highlight: var(--custom-accent-color, #0a84ff) !important; + --in-content-border-hover: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + /* --in-content-border-focus: color-mix(in srgb, white 65%, var(--custom-accent-color, #0a84ff)) !important; */ + --in-content-border-focus: var(--custom-accent-color, #0a84ff) !important; + --in-content-border-active: var(--custom-accent-color, #0a84ff) !important; + --in-content-border-active-shadow: var(--custom-accent-color, #0a84ff) !important; + --in-content-category-outline-focus: 1px solid transparent !important; + --in-content-accent-color: var(--custom-accent-color, #0a84ff) !important; + --in-content-table-header-background: var(--custom-accent-color, #0a84ff) !important; + --in-content-link-color: var(--custom-accent-color, #0a84ff) !important; + --in-content-link-color-hover: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + --newtab-focus-outline: var(--in-content-border-active-shadow) !important; + --newtab-focus-border: var(--in-content-border-focus) !important; + --newtab-focus-border-selected: var(--custom-accent-color) !important; + --newtab-textbox-focus-color: var(--in-content-border-focus) !important; + --newtab-primary-action-background: var(--custom-accent-color) !important; + } +} + +@-moz-document url("chrome://global/content/commonDialog.xhtml"){ + #commonDialog[subdialog] checkbox { + --checkbox-checked-bgcolor: var(--custom-accent-color, #0a84ff) !important; + --checkbox-checked-hover-bgcolor: color-mix(in srgb, white 50%, var(--custom-accent-color, #0a84ff)) !important; + --checkbox-checked-active-bgcolor: color-mix(in srgb, white 65%, var(--custom-accent-color, #0a84ff)) !important; + } +} + +.topsite-form .form-wrapper input[type="text"]:focus-visible { + outline: none !important; + border-color: var(--newtab-focus-border) !important; +} + +.showPrivate .search-handoff-button.focused { + outline: 0; + border: 1px solid var(--newtab-focus-border) !important; + box-shadow: 0 0 0 2px var(--newtab-focus-outline) !important; +} + +::-moz-progress-bar{background-color: var(--custom-accent-color, #0a84ff) !important;} + + +/* NEW TAB PAGE ---------------------------------------------------------------------------------------------- */ + +@-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) { + /* square the search box corners */ + body .search-handoff-button {border-radius: 0 !important;} + + /* square the settings button and checkboxes / buttons / selectors inside its menu */ + .personalize-button {border-radius: 0 !important;} + .close-button {border-radius: 0 !important;} + .selector {border-radius: 0 !important;} + .sponsored-checkbox{border-radius: 0 !important;} + + /* square the toggle button for above */ + .slider {border-radius: 0 !important;} + .slider::before { + border-radius: 0 !important; + background: #fff !important; + } + + /* square all the 3 dot menus */ + .context-menu-button {border-radius: 0 !important;} + .context-menu {border-radius: 0 !important;} + + /* square the shortcuts: icons, background, and selection box */ + .tile {border-radius: 0 !important;} + .top-site-icon {border-radius: 0 !important;} + .icon-wrapper {border-radius: 0 !important;} + .top-site-outer {border-radius: 0 !important;} + + /* square the "suggested by pocket" cards and images */ + .ds-card {border-radius: 0 !important;} + img {border-radius: 0px !important;} + + /* square all the recent activity cards and images */ + .card {border-radius: 0 !important;} + .card-outer {border-radius: 0 !important;} + .card-preview-image-outer {border-radius: 0 !important;} + .card-context {border-radius: 0 !important;} + .sections-list, .section-empty-state {border-radius: 0 !important;} + .modal {border-radius: 0 !important;} + + /* square the VPN button/infobox in private browsing */ + #private-browsing-vpn-link {border-radius: 0 !important;} + .info {border-radius: 0 !important;} +} + + +/* SETTINGS PAGE ------------------------------------------------------------------------------------------- */ + +@-moz-document url(about:preferences), url(about:preferences#general), url(about:preferences#home), +url(about:preferences#search), url(about:preferences#privacy), url(about:preferences#sync), url(about:addons){ + /* square checkboxes */ + .checkbox-check {border-radius: 0 !important;} + #automaticallySubmitCrashesBox {border-radius: 0 !important;} + + /* square selection buttons */ + button {border-radius: 0 !important;} + richlistitem {border-radius: 0 !important;} + .sidebar-footer-link {border-radius: 0 !important;} + + /* square toggle buttons */ + .toggle-button {border-radius: 0 !important;} + .toggle-button::before {border-radius: 0 !important;} + + /* square search engines table on about:preferences#search page */ + #engineList {border-radius: 0 !important;} + + /* Tracking Protection options on about:preferences#privacy page */ + .content-blocking-category {border-radius: 0 !important;} + .content-blocking-warning {border-radius: 0 !important;} + + /* infoboxes (e.g. settings required by addon) */ + #browserContainersExtensionContent {border-radius: 0 !important;} + #firefoxSuggestInfoBox {border-radius: 0 !important;} + #updateSettingsContainer {border-radius: 0 !important;} + + /* folder selection and table for Files and Applications */ + #downloadFolder {border-radius: 0 !important;} + #handlersView {border-radius: 0 !important;} + + /* input, info boxes, and profile on sync page */ + #fxaSyncComputerName {border-radius: 0 !important;} + .sync-configured {border-radius: 0 !important;} + .fxaProfileImage {border-radius: 0 !important;} + + /* enterprise policies infobox */ + #policies-container {border-radius: 0 !important;} +} + + +@-moz-document url(about:preferences), url(about:preferences#general), url(about:preferences#home), +url(about:preferences#search), url(about:preferences#privacy), url(about:preferences#sync){ + + /* match toggle buttons to normal button look (only about:preferences) */ + input[type="checkbox"].toggle-button::before{ + height: 10px !important; + width: 10px !important; + margin-top: 4px !important; + margin-left: 2px !important; + } +} + + +/* square popup windows and buttons */ +@-moz-document regexp("^(about:|chrome:|moz-extension:).*") { + richlistbox {border-radius: 0 !important;} + button {border-radius: 0 !important;} + .dialogBox {border-radius: 0 !important;} + menulist {border-radius: 0 !important;} + checkbox {border-radius: 0 !important;} + .checkbox-check {border-radius: 0 !important;} + listheader {border-radius: 0 !important;} + search-textbox {border-radius: 0 !important;} + #url {border-radius: 0 !important;} + tree {border-radius: 0 !important;} + + /* network settings popup */ + #networkProxyNone {border-radius: 0 !important;} + #networkProxyAutoconfigURL {border-radius: 0 !important;} + #networkProxySOCKS_Port {border-radius: 0 !important;} + #networkProxySOCKS {border-radius: 0 !important;} + #networkProxySSL_Port {border-radius: 0 !important;} + #networkProxySSL {border-radius: 0 !important;} + #networkProxyHTTP_Port {border-radius: 0 !important;} + #networkProxyHTTP {border-radius: 0 !important;} + + /* saved addresses popup */ + #given-name {border-radius: 0 !important;} + #family-name {border-radius: 0 !important;} + #street-address {border-radius: 0 !important;} + #address-level2 {border-radius: 0 !important;} + #address-level1 {border-radius: 0 !important;} + #postal-code {border-radius: 0 !important;} + #organization {border-radius: 0 !important;} + #country {border-radius: 0 !important;} + #tel {border-radius: 0 !important;} + #email {border-radius: 0 !important;} + + /* saved credit cards popup */ + #cc-number {border-radius: 0 !important;} + #cc-exp-month {border-radius: 0 !important;} + #cc-exp-year {border-radius: 0 !important;} + #cc-name {border-radius: 0 !important;} + #cc-type {border-radius: 0 !important;} + + /* primary password dialog */ + #message {border-radius: 0 !important;} + #pw1 {border-radius: 0 !important;} + #pw2 {border-radius: 0 !important;} + #pwmeter { + appearance: none !important; + height: 0.35em !important; + border: none !important; + vertical-align: 0 !important; + margin: 0.5em 0 !important; + } + + /* custom color selection */ + #foregroundtextmenu {border-radius: 0 !important;} + #backgroundmenu {border-radius: 0 !important;} + #unvisitedlinkmenu {border-radius: 0 !important;} + #visitedlinkmenu {border-radius: 0 !important;} + + /* clear history warning popup */ + #sanitizeEverythingWarningBox {border-radius: 0 !important;} + +} + + +/* ADDONS PAGE --------------------------------------------------------------------------------------------- */ + +@-moz-document url(about:addons) { + /* square search box */ + search-textbox {border-radius: 0 !important;} + + /* square the context menus (3 dots and settings gear) */ + panel-list {border-radius: 0 !important;} + + /* square the info boxes / banners */ + .discopane-notice {border-radius: 0 !important;} + .container {border-radius: 0 !important;} + + /* square the addons and theme cards */ + .card-heading-image {border-radius: 0 !important;} + .card {border-radius: 0 !important;} + + /* square selection buttons */ + button {border-radius: 0 !important;} + richlistitem {border-radius: 0 !important;} + menulist {border-radius: 0 !important;} + .sidebar-footer-link {border-radius: 0 !important;} + + /* square toggle buttons */ + .toggle-button, .toggle-button::before {border-radius: 0 !important;} + + /* available addons update badge */ + .category[badge-count]::after {border-radius: 0 !important;} + +} + + +/* ABOUT CONFIG PAGE ---------------------------------------------------------------------------------------- */ + +@-moz-document url(about:config) { + /* square everything except radio buttons */ + #about-config-search {border-radius: 0 !important;} + #about-config-show-only-modified {border-radius: 0 !important;} + #showWarningNextTime {border-radius: 0 !important;} + button {border-radius: 0 !important;} +} + + +/* DOWNLOADS ------------------------------------------------------------------------------------------------ */ + +@-moz-document url(about:downloads) { + /* square buttons and boxes*/ + .button-box {border-radius: 0 !important;} + richlistbox {border-radius: 0 !important;} +} + + +/* OTHER INTERNAL PAGES ------------------------------------------------------------------------------------- */ + +@-moz-document url(about:buildconfig), url(about:compat), url(about:crashes), url(about:debugging), +url(about:debugging#/setup), url(about:debugging#/runtime/this-firefox), url(about:devtools), + url(about:logins), url(about:networking), url(about:policies), url(about:profiles), +url(about:profiling), url(about:protections), url(about:serviceworkers), url(about:studies), +url(about:support), url(about:telemetry), url(about:unloads), url(about:url-classifier), +url(about:webrtc), url(about:welcome) { + *{border-radius: 0 !important;} +} + + +/* SERVER NOT FOUND PAGE ------------------------------------------------------------------------------------- */ + +@supports (-moz-appearance:none) { + .primary.try-again {border-radius: 0 !important;} +} + + +/* WARNING SECURITY RISK PAGE --------------------------------------------------------------------------------- */ + +@supports (-moz-appearance:none) { + .primary.try-again {border-radius: 0 !important;} + #returnButton {border-radius: 0 !important;} + #advancedButton {border-radius: 0 !important;} + #exceptionDialogButton {border-radius: 0 !important;} + #advancedPanelReturnButton {border-radius: 0 !important;} + #automaticallyReportBlockingInFuture {border-radius: 0 !important;} +} + + +/* Restart Firefox page after update ------------------------------------------------------------------------- */ + +@supports (-moz-appearance:none) { + #restart {border-radius: 0 !important;} +} + + +/* SCREENSHOT PAGE ------------------------------------------------------------------------------------------ */ + +@supports (-moz-appearance:none) { + .cancel-shot {border-radius: 0 !important;} + .all-buttons-container {border-radius: 0 !important;} + .visible {border-radius: 0 !important;} + .full-page {border-radius: 0 !important;} + .highlight-button-cancel {border-radius: 0 !important;} + .highlight-button-copy {border-radius: 0 !important;} + .highlight-button-download {border-radius: 0 !important;} + .preview-buttons {border-radius: 0 !important;} + .preview-image-wrapper {border-radius: 0 !important;} +} + + +/* PICTURE IN PICTURE PAGE ----------------------------------------------------------------------------------- */ + +@supports (-moz-appearance:none) { + .pip-small.clickable {border-radius: 0 !important;} + .pip-expanded {border-radius: 0 !important;} + .pip-explainer { + border-bottom-right-radius: 0 !important; + border-bottom-left-radius: 0 !important;} +} + + +/* READER MODE ----------------------------------------------------------------------------------------------- */ + +@supports (-moz-appearance:none) { + .reader-toolbar {border-radius: 0 !important;} + .dropdown-popup {border-radius: 0 !important;} + .radiorow > label {border-radius: 0 !important;} + .font-size-value {border-radius: 0 !important;} + .content-width-value {border-radius: 0 !important;} + .line-height-value {border-radius: 0 !important;} +} \ No newline at end of file diff --git a/ilosrim/firefox-theme/userVariables.css b/ilosrim/firefox-theme/userVariables.css new file mode 100644 index 00000000..322b78f0 --- /dev/null +++ b/ilosrim/firefox-theme/userVariables.css @@ -0,0 +1,29 @@ +/* USER FACING VARIABLES -------------------------------------------------------------------------------------- */ +/* this file does NOT have to be updated between versions */ + +/* NOTE: restart Firefox to apply any changes */ + +:root { + + +/* custom accent color to be used across Firefox*/ +/* use hexcode or color name */ + --custom-accent-color: #0a84ff; + + +/* color of the tab dividers / separators */ +/* set variable = none, to disable dividers */ + --custom-tab-divider-color: #535354; + + +/* sets the height of the tabs toolbar */ +/* legacy height (<= v1.6.2) = 33px */ + --tab-bar-height: 35px; + + +/* set the size of sync profile pic */ +/* 1.0 = 100% scale */ + --sync-avatar-scale: 1.0; + + +} diff --git a/ilosrim/powershell.png b/ilosrim/powershell.png new file mode 100644 index 00000000..ec17a3ae Binary files /dev/null and b/ilosrim/powershell.png differ diff --git a/ilosrim/win-arch-2.png b/ilosrim/win-arch-2.png new file mode 100644 index 00000000..7e573014 Binary files /dev/null and b/ilosrim/win-arch-2.png differ diff --git a/ilosrim/winMacUx.png b/ilosrim/winMacUx.png new file mode 100644 index 00000000..cffe8752 Binary files /dev/null and b/ilosrim/winMacUx.png differ