├── common ├── meson.build └── gtk │ ├── _sass │ ├── _apps.scss │ ├── _variables.scss │ ├── _colors.scss │ ├── _palette_variable.scss │ ├── _palette.scss │ └── apps │ │ ├── _nautilus.scss │ │ └── _budgie.scss │ ├── _sass_fox │ ├── _sass │ │ └── fox │ │ │ ├── personalbar │ │ │ └── personalbar.scss │ │ │ ├── global │ │ │ ├── circle.svg │ │ │ ├── global.scss │ │ │ └── variables.scss │ │ │ ├── popup │ │ │ ├── menu-right-1x.svg │ │ │ ├── menu-right-2x.svg │ │ │ ├── checkbox-empty.svg │ │ │ ├── checkbox-checked.svg │ │ │ └── popup.scss │ │ │ ├── navbar │ │ │ ├── connection-warning-1x.svg │ │ │ ├── connection-warning-2x.svg │ │ │ ├── menu-update.svg │ │ │ ├── close.svg │ │ │ ├── home-1x.svg │ │ │ ├── info-1x.svg │ │ │ ├── stop-1x.svg │ │ │ ├── stop-2x.svg │ │ │ ├── developer.svg │ │ │ ├── connection-1x.svg │ │ │ ├── bookmark.svg │ │ │ ├── menu.svg │ │ │ ├── profile-inactive.svg │ │ │ ├── star-1x.svg │ │ │ ├── connection-2x.svg │ │ │ ├── info-2x.svg │ │ │ ├── library-1x.svg │ │ │ ├── arrow-back-2x.svg │ │ │ ├── library-2x.svg │ │ │ ├── star-2x.svg │ │ │ ├── search.svg │ │ │ ├── go.svg │ │ │ ├── home-2x.svg │ │ │ ├── history.svg │ │ │ ├── arrow-back-1x.svg │ │ │ ├── refresh-2x.svg │ │ │ ├── refresh-1x.svg │ │ │ ├── profile.svg │ │ │ ├── addons.svg │ │ │ ├── share.svg │ │ │ ├── forget.svg │ │ │ ├── naughty-shield-1x.svg │ │ │ ├── naughty-shield-2x.svg │ │ │ ├── incognito.svg │ │ │ ├── settings.svg │ │ │ ├── identity-icons-brand.svg │ │ │ └── navbar.scss │ │ │ └── tabbar │ │ │ ├── tab.svg │ │ │ ├── new-tab.svg │ │ │ ├── close-tab.svg │ │ │ ├── spinner-busy.svg │ │ │ ├── spinner-progress.svg │ │ │ └── tabbar.scss │ ├── fox-install.sh │ ├── userChrome.scss │ └── meson.build │ ├── gtk │ ├── gtk.scss │ ├── index.theme │ └── meson.build │ ├── gtk-dark │ ├── gtk.scss │ ├── index.theme │ └── meson.build │ ├── assets_sass │ ├── colorsassets.css │ ├── meson.build │ ├── makecolors.css │ ├── makecolors.scss │ ├── render-asset.sh │ ├── render-assets.sh │ └── assets.txt │ ├── chrome │ └── assets │ │ ├── circle.svg │ │ ├── menu-right-1x.svg │ │ ├── menu-right-2x.svg │ │ ├── connection-warning-1x.svg │ │ ├── tab.svg │ │ ├── new-tab.svg │ │ ├── connection-warning-2x.svg │ │ ├── menu-update.svg │ │ ├── close.svg │ │ ├── home-1x.svg │ │ ├── info-1x.svg │ │ ├── stop-1x.svg │ │ ├── stop-2x.svg │ │ ├── developer.svg │ │ ├── connection-1x.svg │ │ ├── menu.svg │ │ ├── bookmark.svg │ │ ├── checkbox-empty.svg │ │ ├── profile-inactive.svg │ │ ├── star-1x.svg │ │ ├── connection-2x.svg │ │ ├── info-2x.svg │ │ ├── library-1x.svg │ │ ├── arrow-back-2x.svg │ │ ├── library-2x.svg │ │ ├── star-2x.svg │ │ ├── close-tab.svg │ │ ├── search.svg │ │ ├── go.svg │ │ ├── home-2x.svg │ │ ├── history.svg │ │ ├── arrow-back-1x.svg │ │ ├── refresh-2x.svg │ │ ├── refresh-1x.svg │ │ ├── checkbox-checked.svg │ │ ├── profile.svg │ │ ├── addons.svg │ │ ├── share.svg │ │ ├── forget.svg │ │ ├── naughty-shield-1x.svg │ │ ├── naughty-shield-2x.svg │ │ ├── spinner-busy.svg │ │ ├── incognito.svg │ │ ├── settings.svg │ │ ├── spinner-progress.svg │ │ └── identity-icons-brand.svg │ └── meson.build ├── Color_Palette.png ├── brightwork_020.png ├── brightwork_020_dark.png ├── teal_40_screenshot.png ├── variety_screenshot_old.png ├── shades_of_teal_screenshot.png ├── meson.build ├── .github └── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md ├── _config.scss ├── README.md └── LICENSE /common/meson.build: -------------------------------------------------------------------------------- 1 | theme_deps = [] 2 | subdir('gtk') 3 | -------------------------------------------------------------------------------- /common/gtk/_sass/_apps.scss: -------------------------------------------------------------------------------- 1 | @import 'apps/nautilus'; 2 | @import 'apps/budgie'; 3 | -------------------------------------------------------------------------------- /Color_Palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikkNakk/Brightwork-Theme/HEAD/Color_Palette.png -------------------------------------------------------------------------------- /brightwork_020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikkNakk/Brightwork-Theme/HEAD/brightwork_020.png -------------------------------------------------------------------------------- /brightwork_020_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikkNakk/Brightwork-Theme/HEAD/brightwork_020_dark.png -------------------------------------------------------------------------------- /teal_40_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikkNakk/Brightwork-Theme/HEAD/teal_40_screenshot.png -------------------------------------------------------------------------------- /variety_screenshot_old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikkNakk/Brightwork-Theme/HEAD/variety_screenshot_old.png -------------------------------------------------------------------------------- /shades_of_teal_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikkNakk/Brightwork-Theme/HEAD/shades_of_teal_screenshot.png -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/personalbar/personalbar.scss: -------------------------------------------------------------------------------- 1 | #navigator-toolbox toolbarbutton.bookmark-item:not(.subviewbutton) 2 | { 3 | padding: 6px !important; 4 | } -------------------------------------------------------------------------------- /common/gtk/gtk/gtk.scss: -------------------------------------------------------------------------------- 1 | $variant: 'light'; 2 | 3 | @import '../_sass/colors'; 4 | @import '../_sass/variables'; 5 | @import '../_sass/common'; 6 | @import '../_sass/apps'; 7 | -------------------------------------------------------------------------------- /common/gtk/gtk-dark/gtk.scss: -------------------------------------------------------------------------------- 1 | $variant: 'dark'; 2 | 3 | @import '../_sass/colors'; 4 | @import '../_sass/variables'; 5 | @import '../_sass/common'; 6 | @import '../_sass/apps'; 7 | -------------------------------------------------------------------------------- /common/gtk/assets_sass/colorsassets.css: -------------------------------------------------------------------------------- 1 | PM=#45bfb7 2 | 3 | PMWARM=#52a19a 4 | 5 | PMRED=#d69896 6 | 7 | PMBLUE=#77b4ed 8 | 9 | PMYELLOW=#c7a357 10 | 11 | PMGREEN=#53c18d; 12 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /meson.build: -------------------------------------------------------------------------------- 1 | project('Brightwork-Theme', 2 | version: '0.2.0', 3 | meson_version: '>= 0.45', 4 | default_options: ['prefix=/usr'], 5 | ) 6 | 7 | subdir('common') 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/fox-install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -ueo pipefail 3 | 4 | USER_HOME=$(getent passwd $SUDO_USER | cut -d: -f6) 5 | 6 | 7 | cp -r ${MESON_SOURCE_ROOT}/common/gtk/chrome ${USER_HOME}/.mozilla/firefox/*.default -------------------------------------------------------------------------------- /common/gtk/chrome/assets/menu-right-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/global/circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/popup/menu-right-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/assets_sass/meson.build: -------------------------------------------------------------------------------- 1 | scss_files =files([ 2 | 'assets.txt', 3 | 'assets.svg', 4 | 'render-asset.sh', 5 | ]) 6 | 7 | run_target('render', 8 | command : 'render-assets.sh', 9 | ) 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/menu-right-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/popup/menu-right-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/assets_sass/makecolors.css: -------------------------------------------------------------------------------- 1 | @define-color pm=#45bfb7 2 | 3 | @define-color pmwarm=#52a19a 4 | 5 | @define-color pmred=#d69896 6 | 7 | @define-color pmblue=#77b4ed 8 | 9 | @define-color pmyellow=#c7a357 10 | 11 | @define-color pmgreen=#53c18d; 12 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/connection-warning-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/connection-warning-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/tabbar/tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/new-tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/gtk/index.theme: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=X-GNOME-Metatheme 3 | Name=Brightwork 4 | Comment=BrightworkTest 5 | Encoding=UTF-8 6 | 7 | [X-GNOME-Metatheme] 8 | GtkTheme=Brightwork 9 | MetacityTheme=Brightwork 10 | IconTheme=Papirus 11 | CursorTheme=Papirus 12 | CursorSize=24 13 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/connection-warning-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/menu-update.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/tabbar/new-tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/home-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/connection-warning-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/menu-update.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/info-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/stop-1x.svg: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/stop-2x.svg: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/home-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/developer.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/info-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/stop-1x.svg: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/stop-2x.svg: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/connection-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/developer.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/gtk-dark/index.theme: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=X-GNOME-Metatheme 3 | Name=Brightwork-Dark 4 | Comment=BrightworkTest 5 | Encoding=UTF-8 6 | 7 | Name[en_CA]=index.theme 8 | 9 | [X-GNOME-Metatheme] 10 | GtkTheme=Brightwork 11 | MetacityTheme=Brightwork 12 | IconTheme=Papirus 13 | CursorTheme=Papirus 14 | CursorSize=24 15 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/connection-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/userChrome.scss: -------------------------------------------------------------------------------- 1 | $variant: 'dark'; 2 | 3 | @import '../_sass/colors'; 4 | 5 | @import '_sass/fox/global/variables'; 6 | @import '_sass/fox/global/global'; 7 | @import '_sass/fox/tabbar/tabbar'; 8 | @import '_sass/fox/navbar/navbar'; 9 | @import '_sass/fox/personalbar/personalbar'; 10 | @import '_sass/fox/popup/popup'; -------------------------------------------------------------------------------- /common/gtk/chrome/assets/bookmark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/checkbox-empty.svg: -------------------------------------------------------------------------------- 1 | 5 | 10 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/profile-inactive.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/bookmark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/star-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/profile-inactive.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/connection-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/star-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/popup/checkbox-empty.svg: -------------------------------------------------------------------------------- 1 | 5 | 10 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/info-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/library-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/connection-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/info-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/library-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/arrow-back-2x.svg: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/library-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/star-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/close-tab.svg: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/arrow-back-2x.svg: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/library-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/star-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/tabbar/close-tab.svg: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/search.svg: -------------------------------------------------------------------------------- 1 | 5 | 10 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/search.svg: -------------------------------------------------------------------------------- 1 | 5 | 10 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/go.svg: -------------------------------------------------------------------------------- 1 | 5 | 14 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/home-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/go.svg: -------------------------------------------------------------------------------- 1 | 5 | 14 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/home-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/history.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/arrow-back-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/history.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/arrow-back-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/refresh-2x.svg: -------------------------------------------------------------------------------- 1 | 6 | 11 | 16 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/refresh-2x.svg: -------------------------------------------------------------------------------- 1 | 6 | 11 | 16 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/refresh-1x.svg: -------------------------------------------------------------------------------- 1 | 6 | 11 | 16 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/checkbox-checked.svg: -------------------------------------------------------------------------------- 1 | 5 | 10 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/profile.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/refresh-1x.svg: -------------------------------------------------------------------------------- 1 | 6 | 11 | 16 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/popup/checkbox-checked.svg: -------------------------------------------------------------------------------- 1 | 5 | 10 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/addons.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/profile.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/addons.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/assets_sass/makecolors.scss: -------------------------------------------------------------------------------- 1 | // When color definition differs for dark and light variant, 2 | // it gets @if ed depending on $variant 3 | $variant: 'light'; 4 | 5 | @import '../_sass/palette'; 6 | @import '../_sass/colors'; 7 | 8 | 9 | 10 | 11 | @define-color ps=#{$ps_color} 12 | 13 | @define-color pswarm=#{$ps_warm} 14 | 15 | @define-color pmred=#{$pm_red} 16 | 17 | @define-color pmblue=#{$pm_blue} 18 | 19 | @define-color pmyellow=#{$pm_yellow} 20 | 21 | @define-color pmgreen=#{$pm_green} 22 | 23 | @define-color pmdark=#{$pm_dark} 24 | 25 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/share.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/share.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/forget.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/forget.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/naughty-shield-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/naughty-shield-1x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/naughty-shield-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/naughty-shield-2x.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/spinner-busy.svg: -------------------------------------------------------------------------------- 1 | 2 | 27 | 28 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/tabbar/spinner-busy.svg: -------------------------------------------------------------------------------- 1 | 2 | 27 | 28 | -------------------------------------------------------------------------------- /common/gtk/meson.build: -------------------------------------------------------------------------------- 1 | scss_files =files([ 2 | 'gtk/gtk.scss', 3 | 'gtk-dark/gtk.scss', 4 | '_sass/_colors.scss', 5 | '_sass/_palette.scss', 6 | '_sass/_palette_variable.scss', 7 | '_sass/_variables.scss', 8 | '_sass/apps/_budgie.scss', 9 | '_sass/apps/_nautilus.scss', 10 | '../../_config.scss', 11 | '_sass_fox/userChrome.scss', 12 | ]) 13 | 14 | 15 | subdir('gtk') 16 | subdir('gtk-dark') 17 | subdir('assets_sass') 18 | subdir('_sass_fox') 19 | 20 | install_subdir('assets', install_dir: join_paths(get_option('datadir'), 'themes', 'Brightwork/gtk-3.0') 21 | ) 22 | 23 | install_subdir('assets', install_dir: join_paths(get_option('datadir'), 'themes', 'Brightwork Dark/gtk-3.0') 24 | ) 25 | 26 | install_subdir('chrome', install_dir: meson.build_root()) -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is and how to reproduce as needed. 12 | 13 | **Expected behavior** 14 | A clear and concise description of what you expected to happen. 15 | 16 | **Screenshots** 17 | If applicable, add screenshots to help explain your problem. Screenshots are not required if the problem is obvious or trivial from description. 18 | 19 | **Application and Desktop Information** 20 | If applicable, please provide application version and any other unique desktop attributes that may be factors (i.e. theme color, accent color, etc.) 21 | 22 | **Additional context** 23 | Add any other context about the problem here. 24 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/incognito.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/settings.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/incognito.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/settings.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/meson.build: -------------------------------------------------------------------------------- 1 | scss_files =files([ 2 | 'userChrome.scss', 3 | '../_sass/_colors.scss', 4 | '../_sass/_palette.scss', 5 | '../_sass/_palette_variable.scss', 6 | '../_sass/_variables.scss', 7 | '../../../_config.scss', 8 | 9 | ]) 10 | 11 | 12 | sassc = find_program('sassc', required: false) 13 | if sassc.found() 14 | sassc_opts = [ '-M', '-t', 'expanded' ] 15 | endif 16 | 17 | theme_deps += custom_target('Firefox', 18 | input: 'userChrome.scss', 19 | output: 'userChrome.css', 20 | command: [ 21 | sassc, sassc_opts, '@INPUT@', '@OUTPUT@', 22 | ], 23 | depend_files: scss_files, 24 | build_by_default: true, 25 | install: true, 26 | 27 | install_dir : join_paths(meson.source_root(), 'common/gtk/chrome'), 28 | 29 | ) 30 | 31 | run_target('fox', 32 | command : 'fox-install.sh', 33 | ) 34 | 35 | -------------------------------------------------------------------------------- /common/gtk/_sass/_variables.scss: -------------------------------------------------------------------------------- 1 | @import 'palette'; 2 | @import '../../../config'; 3 | 4 | 5 | //Some colors 6 | 7 | $error: $pm_red; 8 | $background-clip-extra: if($variant=='light', padding-box, border-box); 9 | 10 | //Global padding 11 | $pad: 4px; 12 | 13 | //Durations (adapted from Arc) 14 | $duration: 75ms; 15 | $ripple-fade-in-duration: 225ms; 16 | $ripple-fade-out-duration: 300ms; 17 | $ripple-fade-out-opacity-duration: 1200ms; 18 | 19 | //Timing functions 20 | $ease: cubic-bezier(0.4, 0.0, 0.2, 1); 21 | $ease-out: cubic-bezier(0.0, 0.0, 0.2, 1); 22 | $ease-in: cubic-bezier(0.4, 0.0, 1, 1); 23 | $ease-in-out: cubic-bezier(0.4, 0.0, 0.6, 1); 24 | 25 | //Transition shorthands 26 | $transition: all $duration $ease-out; 27 | $transition-shadow: box-shadow $duration $ease-out; 28 | 29 | //Shadows 30 | $btn_shadow:0.12*$enable_btn; 31 | 32 | $shadow: 0 3px 3px 1px rgba(black, 0.16), 33 | 0 3px 3px 1px rgba(black, 0.23); //Basic shadows for windows 34 | $shadow-btn: 0 2px 2px 0.5px rgba(black, $btn_shadow), 35 | 0 1px 2px 0.5px rgba(black, 2*$btn_shadow); //Button shadows, for "hover effect" 36 | $shadow-pop: 0 2px 6px 1px rgba(black, 0.27); //Popover shadows -------------------------------------------------------------------------------- /common/gtk/gtk/meson.build: -------------------------------------------------------------------------------- 1 | scss_files =files([ 2 | 'gtk.scss', 3 | '../_sass/_colors.scss', 4 | '../_sass/_palette.scss', 5 | '../_sass/_palette_variable.scss', 6 | '../_sass/_variables.scss', 7 | '../_sass/apps/_budgie.scss', 8 | '../_sass/apps/_nautilus.scss', 9 | '../../../_config.scss', 10 | 11 | ]) 12 | 13 | 14 | sassc = find_program('sassc', required: false) 15 | if sassc.found() 16 | sassc_opts = [ '-M', '-t', 'expanded' ] 17 | endif 18 | 19 | theme_deps += custom_target('Brightwork', 20 | input: 'gtk.scss', 21 | output: 'gtk.css', 22 | command: [ 23 | sassc, sassc_opts, '@INPUT@', '@OUTPUT@', 24 | ], 25 | depend_files: scss_files, 26 | build_by_default: true, 27 | install: true, 28 | 29 | install_dir : join_paths(get_option('datadir'), 'themes', 'Brightwork/gtk-3.0'), 30 | 31 | ) 32 | 33 | index_file= 'index.theme' 34 | install_data(index_file, install_dir: join_paths(get_option('datadir'), 'themes', 'Brightwork')) 35 | -------------------------------------------------------------------------------- /common/gtk/gtk-dark/meson.build: -------------------------------------------------------------------------------- 1 | scss_files =files([ 2 | 'gtk.scss', 3 | '../_sass/_colors.scss', 4 | '../_sass/_palette.scss', 5 | '../_sass/_palette_variable.scss', 6 | '../_sass/_variables.scss', 7 | '../_sass/apps/_budgie.scss', 8 | '../_sass/apps/_nautilus.scss', 9 | '../../../_config.scss', 10 | 11 | ]) 12 | 13 | 14 | sassc = find_program('sassc', required: false) 15 | if sassc.found() 16 | sassc_opts = [ '-M', '-t', 'expanded' ] 17 | endif 18 | 19 | theme_deps += custom_target('Brightwork-dark', 20 | input: 'gtk.scss', 21 | output: 'gtk.css', 22 | command: [ 23 | sassc, sassc_opts, '@INPUT@', '@OUTPUT@', 24 | ], 25 | depend_files: scss_files, 26 | build_by_default: true, 27 | install: true, 28 | 29 | install_dir : join_paths(get_option('datadir'), 'themes', 'Brightwork Dark/gtk-3.0'), 30 | 31 | ) 32 | index_file = 'index.theme' 33 | install_data(index_file, install_dir: join_paths(get_option('datadir'), 'themes', 'Brightwork Dark')) -------------------------------------------------------------------------------- /common/gtk/assets_sass/render-asset.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -ueo pipefail 3 | 4 | RENDER_SVG="$(command -v rendersvg)" || true 5 | INKSCAPE="$(command -v inkscape)" || true 6 | OPTIPNG="$(command -v optipng)" || true 7 | 8 | SRC_FILE="${MESON_SOURCE_ROOT}/common/gtk/assets_sass/assets.svg" 9 | ASSETS_DIR="${MESON_SOURCE_ROOT}/common/gtk/assets" 10 | 11 | i="$1" 12 | 13 | echo "Rendering '$ASSETS_DIR/$i.png'" 14 | if [[ -n "${RENDER_SVG}" ]]; then 15 | "$RENDER_SVG" --export-id "$i" \ 16 | "$SRC_FILE" "$ASSETS_DIR/$i.png" 17 | else 18 | "$INKSCAPE" --export-id="$i" \ 19 | --export-id-only \ 20 | --export-png="$ASSETS_DIR/$i.png" "$SRC_FILE" >/dev/null 21 | fi 22 | if [[ -n "${OPTIPNG}" ]]; then 23 | "$OPTIPNG" -o7 --quiet "$ASSETS_DIR/$i.png" 24 | fi 25 | 26 | echo "Rendering '$ASSETS_DIR/$i@2.png'" 27 | if [[ -n "${RENDER_SVG}" ]]; then 28 | "$RENDER_SVG" --export-id "$i" \ 29 | --dpi 192 \ 30 | --zoom 2 \ 31 | "$SRC_FILE" "$ASSETS_DIR/$i@2.png" 32 | else 33 | "$INKSCAPE" --export-id="$i" \ 34 | --export-id-only \ 35 | --export-dpi=192 \ 36 | --export-png="$ASSETS_DIR/$i@2.png" "$SRC_FILE" >/dev/null 37 | fi 38 | if [[ -n "${OPTIPNG}" ]]; then 39 | "$OPTIPNG" -o7 --quiet "$ASSETS_DIR/$i@2.png" 40 | fi 41 | -------------------------------------------------------------------------------- /common/gtk/assets_sass/render-assets.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -ueo pipefail 3 | 4 | SASSC_OPT=('-M' '-t' 'expanded') 5 | 6 | _COLOR_VARIANTS=('' '-dark') 7 | 8 | SASS_DIR="${MESON_SOURCE_ROOT}/common/gtk/assets_sass" 9 | 10 | 11 | for makecolors in "$SASS_DIR"; do 12 | sassc "${SASSC_OPT[@]}" "$SASS_DIR/makecolors."{scss,css} 13 | done 14 | 15 | sed -e 's/@define-color ps=/PS=/' -e 's/@define-color pmred/PMRED/' -e 's/@define-color pmblue/PMBLUE/' -e 's/@define-color pmyellow/PMYELLOW/' -e 's/@define-color pmgreen/PMGREEN/' -e 's/@define-color pswarm/PSWARM/' -e 's/@define-color pmdark/PMDARK/' $SASS_DIR/makecolors.css> $SASS_DIR/colorsassets.css 16 | 17 | 18 | DIR="${BASH_SOURCE%/*}" 19 | 20 | . "$SASS_DIR/colorsassets.css" 21 | 22 | 23 | 24 | echo "== Modifying Assets SVG (Remember to render assets if you changed colors)..." 25 | 26 | sed -e 's/"$ps_color"/'"$PS/" -e 's/"$pm_red"/'"$PMRED/" -e 's/"$pm_blue"/'"$PMBLUE/" -e 's/"$pm_yellow"/'"$PMYELLOW/" -e 's/"$pm_green"/'"$PMGREEN/" -e 's/"$ps_warm"/'"$PSWARM/" -e 's/"$pm_dark"/'"$PMDARK/" $SASS_DIR/_assetssass.svg> $SASS_DIR/assets.svg 27 | 28 | 29 | if [[ ! "$(command -v inkscape || command -v rendersvg)" ]]; then 30 | echo "'inkscape' or 'resvg' needs to be installed to generate the PNG." 31 | exit 1 32 | fi 33 | 34 | if [[ ! "$(command -v optipng)" ]]; then 35 | echo "'optipng' needs to be installed to optimize the resulting PNG." 36 | fi 37 | 38 | if command -v parallel >/dev/null; then 39 | cmd=(parallel) 40 | else 41 | cmd=(xargs -n1) 42 | fi 43 | 44 | mkdir -p "${MESON_SOURCE_ROOT}/common/gtk/assets" 45 | 46 | "${cmd[@]}" ./render-asset.sh < "${MESON_SOURCE_ROOT}/common/gtk/assets_sass/assets.txt" 47 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/spinner-progress.svg: -------------------------------------------------------------------------------- 1 | 2 | 42 | 43 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/tabbar/spinner-progress.svg: -------------------------------------------------------------------------------- 1 | 2 | 42 | 43 | -------------------------------------------------------------------------------- /common/gtk/assets_sass/assets.txt: -------------------------------------------------------------------------------- 1 | checkbox-checked 2 | checkbox-checked-insensitive 3 | checkbox-unchecked 4 | checkbox-unchecked-insensitive 5 | checkbox-mixed 6 | checkbox-mixed-insensitive 7 | radio-checked 8 | radio-checked-insensitive 9 | radio-unchecked 10 | radio-unchecked-insensitive 11 | radio-mixed 12 | radio-mixed-insensitive 13 | checkbox-checked-selected 14 | checkbox-checked-insensitive-selected 15 | checkbox-unchecked-selected 16 | checkbox-unchecked-insensitive-selected 17 | checkbox-mixed-selected 18 | checkbox-mixed-insensitive-selected 19 | checkbox-checked-selectionmode 20 | checkbox-selectionmode 21 | radio-checked-selected 22 | radio-checked-insensitive-selected 23 | radio-unchecked-selected 24 | radio-unchecked-insensitive-selected 25 | radio-mixed-selected 26 | radio-mixed-insensitive-selected 27 | spin-down 28 | spin-down-hover 29 | spin-down-insensitive 30 | spin-down-selected 31 | spin-up 32 | spin-up-hover 33 | spin-up-insensitive 34 | spin-up-selected 35 | switch 36 | switch-active 37 | switch-insensitive 38 | switch-active-insensitive 39 | switch-header 40 | switch-active-header 41 | switch-insensitive-header 42 | switch-active-insensitive-header 43 | switch-selected 44 | switch-active-selected 45 | switch-insensitive-selected 46 | switch-active-insensitive-selected 47 | titlebutton-close 48 | titlebutton-close-backdrop 49 | titlebutton-close-hover 50 | titlebutton-close-active 51 | titlebutton-maximize 52 | titlebutton-maximize-backdrop 53 | titlebutton-maximize-hover 54 | titlebutton-maximize-active 55 | titlebutton-unmaximize 56 | titlebutton-unmaximize-backdrop 57 | titlebutton-unmaximize-hover 58 | titlebutton-unmaximize-active 59 | titlebutton-minimize 60 | titlebutton-minimize-backdrop 61 | titlebutton-minimize-hover 62 | titlebutton-minimize-active 63 | -------------------------------------------------------------------------------- /_config.scss: -------------------------------------------------------------------------------- 1 | //Configuration file for theme. More detailed instructions in Readme 2 | 3 | //Each section will include a value type at the end of the description. 4 | //The value types are the allowable (tested and working values) for that specific section. 5 | 6 | //Scalar values : Any value. Large values may cause issues. 7 | //Binary values : 1 for on, 0 for off. 8 | //Mix value: Range from 0 to 1; 1 for on, 0 for off. 9 | //Range: Will be given 10 | //px: Type in a vlaue in pixels 11 | 12 | 13 | // Theme Colors 14 | 15 | //Primary Color 16 | $pick_color: 'slate'; 17 | 18 | //Personal(Accent) Color 19 | $ps_pick: 'teal'; 20 | 21 | //Color Mixes (amount of change between color temperatures) (Mix value) 22 | $temp_mix: 1; 23 | 24 | //Shade (Darkness of the primary and accent colors) (Range from 30 to 100) 25 | $shade: 80; 26 | $ps_shade: 40; 27 | 28 | // Effects 29 | 30 | //Opacity (How transparent the main elements are) (Mix value) 31 | $alpha: 0.99; //General opacity. 32 | $alpha_cool: $alpha - 0.05; //Modify to change the backdrop elements opacity. 33 | $icon_panel_alpha : 0; //Opacity of icon backgrounds on the Budgie Panel (Mix value) 34 | 35 | //Shadows (Shadows for buttons) (Mix value) 36 | $enable_btn: 1; 37 | 38 | // Spacing 39 | 40 | //Margins (Spacing around objects) (px) 41 | $mag: 10px; //Window Margins 42 | 43 | // Corners 44 | 45 | //Radii Value (Corner radii) (px) 46 | $corner: 17px; //General raddi 47 | $incorner: 7px; //Radii of inside elements (Recommend subtracting $mag from $corner value) 48 | $btncorner: 22px; //Radii of buttons 49 | 50 | // Budgie 51 | 52 | //Enable regions in Budgie (Mix value) 53 | $start_bot: 1; //Start region of bottom panel 54 | $center_bot: 0; //Center region of bottom panel 55 | $end_bot: 1; //End region of bottom panel 56 | 57 | $start_top: 0.7; //Start region of top panel 58 | $center_top: 0; //Center region of top panel 59 | $end_top: 0; //End region of top panel 60 | 61 | // Raven 62 | 63 | //Raven padding (Amount of space for raven from top and bottom panels) (Scalar value: 0 to 10 tested) 64 | $raven_pad: 1; 65 | 66 | -------------------------------------------------------------------------------- /common/gtk/_sass/_colors.scss: -------------------------------------------------------------------------------- 1 | @import 'palette'; 2 | @import 'palette_variable'; 3 | @import '../../../config'; 4 | 5 | //Darker shades 6 | $shade_dark: null;//initialize darker shades 7 | $ps_shade_dark: null; 8 | 9 | 10 | @if $shade < 90 { 11 | $shade_dark: $shade+20; 12 | $ps_shade_dark: $ps_shade+20; 13 | 14 | } @else { 15 | $shade_dark: 100; 16 | $ps_shade_dark: 100; 17 | } 18 | 19 | //Default White Shade 20 | $lt: 10; 21 | 22 | //Functions to pick color// 23 | 24 | //getcolor function// 25 | @function getcolor($map, $keys...) { 26 | @each $key in $keys { 27 | $map: map-get($map, $key); 28 | } 29 | 30 | @return $map; 31 | } 32 | 33 | //get pm_color// 34 | $pm_color: getcolor($palette, $pick_color, #{$shade}); 35 | 36 | //get pm_dark// 37 | $pm_dark: getcolor($palette, $pick_color, #{$shade_dark}); 38 | 39 | //get pm_white;// 40 | $pm_white: getcolor($palette, $pick_color, #{$lt}); 41 | 42 | //get ps_color// 43 | $ps: getcolor($palette, $ps_pick, #{$ps_shade}); 44 | 45 | //get ps_dark// 46 | $psdk: getcolor($palette, $ps_pick, #{$ps_shade_dark}); 47 | 48 | 49 | 50 | //Variables// 51 | $mix:17%*$temp_mix; 52 | 53 | $ps_color: mix($ps, $pm_color, 90%); 54 | $ps_dark: mix($psdk, $pm_color, 90%); 55 | 56 | $ps_cool: mix(#3737b3, $ps_color, $mix); 57 | $ps_warm: mix(#8f0e0e, $ps_color, $mix); 58 | 59 | $pm_warm: mix(#8f0e0e, $pm_color, $mix); 60 | $pm_cool: mix(#3737b3, $pm_color, $mix); 61 | 62 | $bg_lt : $pm_white; 63 | $bg_dk : mix($black, $pm_color, 72%); 64 | 65 | 66 | //Base Colors // 67 | $pm_red: mix($red_40, $pm_color, 80%); 68 | $pm_yellow: mix($bronze_40, $pm_color, 80%); 69 | $pm_blue: mix($blue_40, $pm_color, 80%); 70 | $pm_green: mix($green_40, $pm_color, 80%); 71 | 72 | $dk_red: mix($pm_red, $black, 60%); 73 | $dk_blue: mix($pm_blue, $black, 60%); 74 | $dk_green: mix($pm_green, $black, 60%); 75 | $dk_yellow: mix($pm_yellow, $black, 60%); 76 | 77 | 78 | //Text// 79 | $text: $black; 80 | $textfg: if($variant=='dark', $bg_lt, $bg_dk); 81 | $textbg: if($shade>30, $bg_lt, $bg_dk); 82 | $textdb: rgba($black, .27); 83 | 84 | //Bakgrounds// 85 | $bg_color: rgba($pm_color, $alpha); 86 | $bg_dark: rgba($pm_dark, $alpha); 87 | $bg_cool: rgba($pm_cool, $alpha_cool); 88 | $bg_warm: rgba($pm_warm, $alpha); 89 | $bg_view: if($variant=='light', $bg_lt, $bg_dk); //change later for variant 90 | 91 | 92 | //Overlays// 93 | $overlay: $ps_color; 94 | 95 | //Borders and Lines// 96 | $divider: mix($bg_lt, $bg_color, .5); 97 | -------------------------------------------------------------------------------- /common/gtk/chrome/assets/identity-icons-brand.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/identity-icons-brand.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /common/gtk/_sass/_palette_variable.scss: -------------------------------------------------------------------------------- 1 | 2 | 3 | $palette:( 4 | 5 | 'blue': ( 6 | '10': #f0f5fc, 7 | '20': #cfe0fc, 8 | '30': #accbfc, 9 | '40': #84b1fa, 10 | '50': #5691f0, 11 | '60': #3272d9, 12 | '70': #1d5bbf, 13 | '80': #114599, 14 | '90': #103570, 15 | '100': #15233b,), 16 | 17 | 18 | 19 | 'bronze': ( 20 | '10': #fcf2e6, 21 | '20': #fad8af, 22 | '30': #f5bc76, 23 | '40': #e89c3f, 24 | '50': #cf7911, 25 | '60': #ad5f00, 26 | '70': #8a4d03, 27 | '80': #693d07, 28 | '90': #4d2f0b, 29 | '100': #33210c, 30 | ), 31 | 32 | 'dusk':( 33 | '10': #f4f2f7, 34 | '20': #e3dcf7, 35 | '30': #cec2f0, 36 | '40': #b5a6e3, 37 | '50': #9886cf, 38 | '60': #7a68b3, 39 | '70': #645396, 40 | '80': #4f4178, 41 | '90': #3a3154, 42 | '100': #282436, 43 | ), 44 | 45 | 'gray':( 46 | '10': #f5f7fa, 47 | '20': #ebeff5, 48 | '30': #dde3ed, 49 | '40': #c8d1e0, 50 | '50': #afbacc, 51 | '60': #8e99ab, 52 | '70': #707a8a, 53 | '80': #58606e, 54 | '90': #434a54, 55 | '100': #333840, 56 | ), 57 | 58 | 'green':( 59 | '10': #e1faeb, 60 | '20': #abedc5, 61 | '30': #7ddba3, 62 | '40': #57c282, 63 | '50': #3ba164, 64 | '60': #2a854e, 65 | '70': #20693d, 66 | '80': #1a5230, 67 | '90': #153d25, 68 | '100': #112b1b, 69 | ), 70 | 71 | 'indigo':( 72 | '10': #f2f2fc, 73 | '20': #dcdcfc, 74 | '30': #c2c2fc, 75 | '40': #a7a7fa, 76 | '50': #8585f2, 77 | '60': #6767e6, 78 | '70': #4d4dd1, 79 | '80': #3737b3, 80 | '90': #28288a, 81 | '100': #202057, 82 | ), 83 | 84 | 'magenta':( 85 | '10': #faf0f4, 86 | '20': #fad4e4, 87 | '30': #fab4d1, 88 | '40': #f78bb8, 89 | '50': #ed5393, 90 | '60': #d6246e, 91 | '70': #b01355, 92 | '80': #8a1244, 93 | '90': #611535, 94 | '100': #421527, 95 | ), 96 | 97 | 'purple':( 98 | '10': #f5f0fa, 99 | '20': #ead9fa, 100 | '30': #dabcf7, 101 | '40': #c79bf2, 102 | '50': #ae74e8, 103 | '60': #9656d6, 104 | '70': #7d3cbd, 105 | '80': #642b9e, 106 | '90': #4b2175, 107 | '100': #371c52, 108 | ), 109 | 110 | 'red':( 111 | '10': #faf0f0, 112 | '20': #fad4d4, 113 | '30': #fab6b6, 114 | '40': #fa8e8e, 115 | '50': #f55353, 116 | '60': #de1b1b, 117 | '70': #b80d0d, 118 | '80': #8f0e0e, 119 | '90': #661414, 120 | '100': #451717, 121 | ), 122 | 123 | 'sky':( 124 | '10': #e8f4fa, 125 | '20': #bbe5fa, 126 | '30': #8dd4f7, 127 | '40': #53baed, 128 | '50': #229ad6, 129 | '60': #0c7bb3, 130 | '70': #066391, 131 | '80': #064d70, 132 | '90': #093952, 133 | '100': #0c2938, 134 | ), 135 | 136 | 'slate':( 137 | '10': #edf4f7, 138 | '20': #cbe3f5, 139 | '30': #a7ceeb, 140 | '40': #84b7db, 141 | '50': #5e95bd, 142 | '60': #48799c, 143 | '70': #376180, 144 | '80': #2d4d63, 145 | '90': #243947, 146 | '100': #1d2830, 147 | ), 148 | 149 | 'teal':( 150 | '10': #e4f7f6, 151 | '20': #a8ede9, 152 | '30': #6cd9d2, 153 | '40': #45bfb7, 154 | '50': #28a199, 155 | '60': #17827b, 156 | '70': #116963, 157 | '80': #0d524d, 158 | '90': #0b3d3a, 159 | '100': #092b29, 160 | ), 161 | 162 | ) -------------------------------------------------------------------------------- /common/gtk/_sass/_palette.scss: -------------------------------------------------------------------------------- 1 | $black: #1d1f24; 2 | $white: #ffffff; 3 | 4 | 5 | 6 | $blue_10: #f0f5fc; 7 | $blue_20: #cfe0fc; 8 | $blue_30: #accbfc; 9 | $blue_40: #84b1fa; 10 | $blue_50: #5691f0; 11 | $blue_60: #3272d9; 12 | $blue_70: #1d5bbf; 13 | $blue_80: #114599; 14 | $blue_90: #103570; 15 | $blue_100: #15233b; 16 | 17 | $bronze_10: #fcf2e6; 18 | $bronze_20: #fad8af; 19 | $bronze_30: #f5bc76; 20 | $bronze_40: #e89c3f; 21 | $bronze_50: #cf7911; 22 | $bronze_60: #ad5f00; 23 | $bronze_70: #8a4d03; 24 | $bronze_80: #693d07; 25 | $bronze_90: #4d2f0b; 26 | $bronze_100: #33210c; 27 | 28 | $dusk_10: #f4f2f7; 29 | $dusk_20: #e3dcf7; 30 | $dusk_30: #cec2f0; 31 | $dusk_40: #b5a6e3; 32 | $dusk_50: #9886cf; 33 | $dusk_60: #7a68b3; 34 | $dusk_70: #645396; 35 | $dusk_80: #4f4178; 36 | $dusk_90: #3a3154; 37 | $dusk_100: #282436; 38 | 39 | $gray_10: #f5f7fa; 40 | $gray_20: #ebeff5; 41 | $gray_30: #dde3ed; 42 | $gray_40: #c8d1e0; 43 | $gray_50: #afbacc; 44 | $gray_60: #8e99ab; 45 | $gray_70: #707a8a; 46 | $gray_80: #58606e; 47 | $gray_90: #434a54; 48 | $gray_100: #333840; 49 | 50 | $green_10: #e1faeb; 51 | $green_20: #abedc5; 52 | $green_30: #7ddba3; 53 | $green_40: #57c282; 54 | $green_50: #3ba164; 55 | $green_60: #2a854e; 56 | $green_70: #20693d; 57 | $green_80: #1a5230; 58 | $green_90: #153d25; 59 | $green_100: #112b1b; 60 | 61 | $indigo_10: #f2f2fc; 62 | $indigo_20: #dcdcfc; 63 | $indigo_30: #c2c2fc; 64 | $indigo_40: #a7a7fa; 65 | $indigo_50: #8585f2; 66 | $indigo_60: #6767e6; 67 | $indigo_70: #4d4dd1; 68 | $indigo_80: #3737b3; 69 | $indigo_90: #28288a; 70 | $indigo_100: #202057; 71 | 72 | $magenta_10: #faf0f4; 73 | $magenta_20: #fad4e4; 74 | $magenta_30: #fab4d1; 75 | $magenta_40: #f78bb8; 76 | $magenta_50: #ed5393; 77 | $magenta_60: #d6246e; 78 | $magenta_70: #b01355; 79 | $magenta_80: #8a1244; 80 | $magenta_90: #611535; 81 | $magenta_100: #421527; 82 | 83 | $purple_10: #f5f0fa; 84 | $purple_20: #ead9fa; 85 | $purple_30: #dabcf7; 86 | $purple_40: #c79bf2; 87 | $purple_50: #ae74e8; 88 | $purple_60: #9656d6; 89 | $purple_70: #7d3cbd; 90 | $purple_80: #642b9e; 91 | $purple_90: #4b2175; 92 | $purple_100: #371c52; 93 | 94 | $red_10: #faf0f0; 95 | $red_20: #fad4d4; 96 | $red_30: #fab6b6; 97 | $red_40: #fa8e8e; 98 | $red_50: #f55353; 99 | $red_60: #de1b1b; 100 | $red_70: #b80d0d; 101 | $red_80: #8f0e0e; 102 | $red_90: #661414; 103 | $red_100: #451717; 104 | 105 | $sky_10: #e8f4fa; 106 | $sky_20: #bbe5fa; 107 | $sky_30: #8dd4f7; 108 | $sky_40: #53baed; 109 | $sky_50: #229ad6; 110 | $sky_60: #0c7bb3; 111 | $sky_70: #066391; 112 | $sky_80: #064d70; 113 | $sky_90: #093952; 114 | $sky_100: #0c2938; 115 | 116 | $slate_10: #edf4f7; 117 | $slate_20: #cbe3f5; 118 | $slate_30: #a7ceeb; 119 | $slate_40: #84b7db; 120 | $slate_50: #5e95bd; 121 | $slate_60: #48799c; 122 | $slate_70: #376180; 123 | $slate_80: #2d4d63; 124 | $slate_90: #243947; 125 | $slate_100: #1d2830; 126 | 127 | $teal_10: #e4f7f6; 128 | $teal_20: #a8ede9; 129 | $teal_30: #6cd9d2; 130 | $teal_40: #45bfb7; 131 | $teal_50: #28a199; 132 | $teal_60: #17827b; 133 | $teal_70: #116963; 134 | $teal_80: #0d524d; 135 | $teal_90: #0b3d3a; 136 | $teal_100: #092b29 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /common/gtk/_sass/apps/_nautilus.scss: -------------------------------------------------------------------------------- 1 | ////////////// 2 | /* Nautilus */ 3 | ////////////// 4 | 5 | 6 | .nautilus-window { 7 | 8 | .menu { 9 | margin:0px; 10 | padding:0px; 11 | } 12 | 13 | popover { 14 | color: $textbg; 15 | } 16 | 17 | notebook { 18 | border-radius: $incorner; 19 | margin-right: $mag; 20 | margin-top: 0px; 21 | margin-bottom: $mag; 22 | background-color: $pm_cool; 23 | 24 | stack { 25 | background-color: $bg_view; 26 | border-radius: $incorner; 27 | margin:0 0 0 0px; 28 | } 29 | 30 | tabs { 31 | background-color: $pm_cool; 32 | border-radius: $incorner $incorner 0 0; 33 | padding: 0 $pad; 34 | color: $textfg; 35 | margin-top: 0px; 36 | 37 | >tab { 38 | padding: $pad; 39 | padding-top: 0px; 40 | border-radius: $incorner $incorner 0 0; 41 | margin-top: 0px; 42 | margin-right: 6px; 43 | margin-left: 6px; 44 | margin-bottom: 0px; 45 | color: $textfg; 46 | 47 | image { 48 | margin-top: 3px; 49 | } 50 | 51 | box { 52 | padding: 0px; 53 | image {margin-right:4px;} 54 | } 55 | 56 | } 57 | 58 | >tab { 59 | 60 | &:checked { 61 | background-image: radial-gradient(circle 8px at 0 73.5%, $pm_cool 90%, $bg_view 100%, transparent), radial-gradient(circle 8px at 100% 73.5%, $pm_cool 91%, $bg_view 100%, transparent); 62 | background-color: $bg_view; 63 | box-shadow: inset 0 20px 0 0 $pm_cool; 64 | border-style: inset solid; 65 | border-top-width: 8px; 66 | border-color: $pm_cool; 67 | 68 | >box { 69 | background-color: $bg_view; 70 | margin-top: 0px; 71 | margin-left: 3px; 72 | margin-right: 3px; 73 | border-radius: 8px 8px 0 0; 74 | margin-bottom: 0px; 75 | } 76 | } 77 | 78 | &:not(:checked) { 79 | border-style: inset solid; 80 | border-top-width: 8px; 81 | border-color: transparent; 82 | color: $textfg; 83 | 84 | >box { 85 | margin-top: 0px; 86 | margin-left: 3px; 87 | margin-right: 3px; 88 | border-radius: 8px 8px 0 0; 89 | margin-bottom: 0px; 90 | } 91 | 92 | &:hover { 93 | color: $ps_color; 94 | } 95 | } 96 | } 97 | } 98 | } 99 | 100 | treeview { 101 | color:$textfg; 102 | } 103 | 104 | scrolledwindow { 105 | border-width: 5px; 106 | background-color: transparent; 107 | } 108 | } 109 | 110 | .floating-bar { 111 | color: $textfg; 112 | } 113 | 114 | .sidebar list { 115 | color: $textbg; 116 | 117 | image { 118 | color: $textbg; 119 | } 120 | } 121 | 122 | .nautilus-canvas-item.dim-label, 123 | .nautilus-list-dim-label { 124 | color: $text; 125 | } 126 | 127 | .nautilus-desktop.nautilus-canvas-item { 128 | color: $textbg; 129 | text-shadow:1px 1px 1px rgba($black, 0.5); 130 | 131 | } 132 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/global/global.scss: -------------------------------------------------------------------------------- 1 | @media (-moz-windows-compositor) 2 | { 3 | @media not (-moz-os-version: windows-win7) 4 | { 5 | @media not (-moz-os-version: windows-win8) 6 | { 7 | @media (-moz-windows-default-theme) 8 | { 9 | :root[tabsintitlebar] .titlebar-buttonbox-container 10 | { 11 | height: 30px !important; 12 | } 13 | 14 | :root[tabsintitlebar][sizemode=normal] .titlebar-buttonbox-container 15 | { 16 | margin-block-start: calc(0px - (var(--space-above-tabbar) + 5px)) !important; 17 | } 18 | 19 | :root[tabsintitlebar][sizemode=maximized] .titlebar-buttonbox-container 20 | { 21 | margin-block-start: calc(0px - (var(--space-above-tabbar))) !important; 22 | } 23 | 24 | @media (-moz-windows-accent-color-in-titlebar: 0) 25 | { 26 | :root[tabsintitlebar]:not(:-moz-lwtheme) 27 | { 28 | background-color: #dee1e6 !important; 29 | color: #3c4043 !important; 30 | } 31 | 32 | :root[tabsintitlebar]:not(:-moz-lwtheme):-moz-window-inactive 33 | { 34 | background-color: #e7eaed !important; 35 | color: #666a6d !important; 36 | } 37 | } 38 | } 39 | } 40 | } 41 | } 42 | 43 | #navigator-toolbox :-moz-any(toolbar, #nav-bar-customization-target):not(#toolbar-menubar) 44 | { 45 | -moz-box-align: center !important; 46 | } 47 | 48 | #navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton), .scrollbutton-up, .scrollbutton-down) 49 | { 50 | border-radius: 99px !important; 51 | transition-property: 52 | background-color, 53 | background-size, 54 | fill-opacity !important; 55 | transition-duration: .3s !important; 56 | transition-timing-function: 57 | var(--ease-basic), 58 | var(--ease-out), 59 | var(--ease-basic) !important; 60 | 61 | fill: currentColor !important; 62 | fill-opacity: 0 !important; 63 | 64 | background-image: 65 | url(assets/circle.svg), 66 | url(assets/circle.svg) !important; 67 | background-size: 25% !important; 68 | background-repeat: no-repeat !important; 69 | background-position: center !important; 70 | background-color: transparent !important; 71 | } 72 | 73 | #navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton), .scrollbutton-up, .scrollbutton-down) 74 | { 75 | font-size: 12px !important; 76 | padding: 0 !important; 77 | margin: 0 !important; 78 | border: 2px solid transparent !important; 79 | background-clip: padding-box !important; 80 | } 81 | 82 | #navigator-toolbox :-moz-any(.toolbarbutton-1, .scrollbutton-up, .scrollbutton-down) 83 | { 84 | max-height: 32px !important; 85 | height: 32px !important; 86 | min-height: 32px !important; 87 | } 88 | 89 | #navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton), .scrollbutton-up, .scrollbutton-down)[disabled] 90 | { 91 | opacity: .42 !important; 92 | } 93 | 94 | #navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton), .scrollbutton-up, .scrollbutton-down):hover:not([disabled]), 95 | #navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton), .scrollbutton-up, .scrollbutton-down):-moz-any(:hover:active, [checked], [open]):not([disabled]) 96 | { 97 | background-color: var(--toolbarbutton-hover-background) !important; 98 | } 99 | 100 | #navigator-toolbox :-moz-any(.toolbarbutton-1, toolbarbutton.bookmark-item:not(.subviewbutton), .scrollbutton-up, .scrollbutton-down):-moz-any(:hover:active, [checked], [open]):not([disabled]) 101 | { 102 | fill-opacity: .04 !important; 103 | background-size: 100% !important; 104 | } 105 | 106 | #navigator-toolbox :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack) 107 | { 108 | fill-opacity: 1 !important; 109 | border: 0 !important; 110 | box-shadow: none !important; 111 | } 112 | 113 | #navigator-toolbox .toolbarbutton-1 > .toolbarbutton-icon 114 | { 115 | width: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important; 116 | height: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important; 117 | } 118 | 119 | #navigator-toolbox > #PersonalToolbar .toolbarbutton-1 > .toolbarbutton-icon, 120 | #navigator-toolbox :-moz-any(.toolbarbutton-1, .scrollbutton-up, .scrollbutton-down) > :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack) 121 | { 122 | padding: 6px !important; 123 | background: 0 !important; 124 | } 125 | 126 | /* 127 | hack: fix customization screen popping bug when changing ui density 128 | icon size is enforced and it doesn't like it when the normal density 129 | nav-bar height is less than 38px (it's 36px due to smaller back icon) 130 | */ 131 | :root:not([uidensity=compact]) #customization-content-container 132 | { 133 | padding-top: 1px !important; 134 | } 135 | 136 | :root:not([uidensity=compact]) :-moz-any(#customization-palette-container, #customization-panel-container) 137 | { 138 | margin-top: -1px !important; 139 | } 140 | 141 | .menu-iconic, 142 | .menuitem-iconic 143 | { 144 | fill: currentColor !important; 145 | } 146 | 147 | /* legacy */ 148 | #navigator-toolbox 149 | { 150 | border-bottom: 1px solid var(--chrome-content-separator-color, var(--toolbox-border-bottom-color)) !important; 151 | } 152 | 153 | /* legacy */ 154 | #navigator-toolbox::after 155 | { 156 | display: none !important; 157 | } 158 | 159 | /* high DPI adjustments */ 160 | @media (min--moz-device-pixel-ratio: 2) 161 | { 162 | #navigator-toolbox 163 | { 164 | border-bottom-width: .5px !important; 165 | padding-bottom: .5px !important; 166 | box-shadow: inset 0 -.5px var(--toolbar-bgcolor) !important; 167 | } 168 | } -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/global/variables.scss: -------------------------------------------------------------------------------- 1 | /* light mode */ 2 | 3 | :root[style*="--lwt-accent-color:rgb(227, 228, 230);"] 4 | { 5 | /* accentcolor */ 6 | --lwt-accent-color: #{$pm_color} !important; 7 | 8 | /* textcolor */ 9 | --lwt-text-color: #606368 !important; 10 | 11 | /* toolbar */ 12 | --toolbar-bgcolor: #fff !important; 13 | 14 | /* toolbar_text */ 15 | --toolbar-color: #606368 !important; 16 | 17 | /* toolbar_bottom_separator */ 18 | --toolbox-border-bottom-color: #b3b1b3 !important; /* legacy */ 19 | --chrome-content-separator-color: #b3b1b3 !important; 20 | 21 | /* icons */ 22 | --lwt-toolbarbutton-icon-fill: #606368 !important; 23 | 24 | /* icons_attention */ 25 | --lwt-toolbarbutton-icon-fill-attention: #5086ec !important; 26 | 27 | /* button_background_hover */ 28 | --lwt-toolbarbutton-hover-background: rgba(0, 0, 0, .07) !important; 29 | 30 | /* button_background_active */ 31 | --lwt-toolbarbutton-active-background: rgba(0, 0, 0, .11) !important; 32 | 33 | --lwt-toolbar-field-color: #606368 !important; 34 | } 35 | 36 | /* don't bother with sidebar in light mode */ 37 | 38 | /* dark mode */ 39 | :root[style*="--lwt-accent-color:rgb(12, 12, 13);"], 40 | :root[privatebrowsingmode] 41 | { 42 | /* accentcolor */ 43 | --lwt-accent-color: #{$pm_color} !important; 44 | 45 | /* textcolor */ 46 | --lwt-text-color: #9ba0a5 !important; 47 | 48 | /* toolbar */ 49 | --toolbar-bgcolor: #333639 !important; 50 | 51 | /* toolbar_text */ 52 | --toolbar-color: #fff !important; 53 | 54 | /* toolbar_bottom_separator */ 55 | --toolbox-border-bottom-color: #282828 !important; /* legacy */ 56 | --chrome-content-separator-color: #282828 !important; 57 | 58 | /* icons */ 59 | --lwt-toolbarbutton-icon-fill: #fff !important; 60 | 61 | /* icons_attention */ 62 | --lwt-toolbarbutton-icon-fill-attention: #5086ec !important; 63 | 64 | /* button_background_hover */ 65 | --lwt-toolbarbutton-hover-background: #434649 !important; 66 | 67 | /* button_background_active */ 68 | --lwt-toolbarbutton-active-background: #4e5153 !important; 69 | 70 | --lwt-toolbar-field-color: #fff !important; 71 | 72 | /* popup */ 73 | --arrowpanel-background: #373737 !important; 74 | 75 | /* popup_text */ 76 | --arrowpanel-color: #fff !important; 77 | --autocomplete-popup-color: #fff !important; 78 | --panel-disabled-color: hsla(0, 0%, 100%, .5) !important; 79 | 80 | /* popup_border */ 81 | --arrowpanel-border-color: #555 !important; 82 | --autocomplete-popup-border-color: #555 !important; 83 | 84 | /* popup_highlight */ 85 | --autocomplete-popup-highlight-background: #0056d9 !important; 86 | 87 | /* popup_highlight_text */ 88 | --autocomplete-popup-highlight-color: #fff !important; 89 | } 90 | 91 | :-moz-any(#sidebar-box, #sidebar)[style*="--sidebar-background-color:rgb(56, 56, 61);"] 92 | { 93 | /* sidebar */ 94 | --sidebar-background-color: #333639 !important; 95 | 96 | /* sidebar_text */ 97 | --sidebar-text-color: #f1f3ee !important; 98 | } 99 | 100 | :-moz-any(.sidebar-panel, body)[style*="--lwt-sidebar-background-color:rgb(56, 56, 61);"] 101 | { 102 | /* sidebar */ 103 | --lwt-sidebar-background-color: #333639 !important; 104 | 105 | /* sidebar_text */ 106 | --lwt-sidebar-text-color: #f1f3ee !important; 107 | } 108 | 109 | :root 110 | { 111 | --ease-in: cubic-bezier(.4, 0, 1, 1); 112 | --ease-out: cubic-bezier(0, 0, .2, 1); 113 | --ease-basic: linear; 114 | 115 | --button-size: 32px; /* is this used? */ 116 | --icon-size: 24px; /* is this used? */ 117 | } 118 | 119 | #titlebar, 120 | #tabbrowser-tabs 121 | { 122 | --tab-min-height: 34px !important; 123 | } 124 | 125 | 126 | 127 | :root 128 | { 129 | --tab-separator-opacity: .35 !important; 130 | 131 | --toolbar-field-background-color: hsl(200, 12%, 95%) !important; 132 | --toolbar-field-hover-background-color: hsl(216, 12%, 92%) !important; 133 | --toolbar-field-focus-background-color: hsl(0, 0%, 100%) !important; 134 | } 135 | 136 | :root:-moz-any(:-moz-lwtheme-brighttext, [privatebrowsingmode]) 137 | { 138 | --toolbar-field-background-color: hsl(206, 8%, 17%) !important; 139 | --toolbar-field-hover-background-color: hsl(206, 7%, 20%) !important; 140 | --toolbar-field-focus-background-color: hsl(206, 6%, 25%) !important; 141 | } 142 | 143 | :root:not(:-moz-lwtheme) 144 | { 145 | --toolbar-bgcolor: hsl(0, 0%, 100%) !important; 146 | --toolbar-color: hsl(213, 5%, 39%) !important; 147 | --toolbox-border-bottom-color: hsl(0, 0%, 70%) !important; 148 | } 149 | 150 | @media (-moz-mac-yosemite-theme) 151 | { 152 | :root[extradragspace] 153 | { 154 | --space-above-tabbar: 8px !important; 155 | } 156 | } 157 | 158 | /* Ubuntu */ 159 | @media (-moz-gtk-csd-available) 160 | { 161 | :root:not(:-moz-lwtheme) 162 | { 163 | --toolbar-bgcolor: -moz-dialog !important; 164 | --toolbar-color: -moz-dialogtext !important; 165 | } 166 | } 167 | 168 | :root:-moz-lwtheme-darktext, 169 | :root toolbar:not([brighttext]), 170 | .tabbrowser-tab[visuallyselected] 171 | { 172 | --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, hsla(0, 0%, 0%, .07)) !important; 173 | --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, hsla(0, 0%, 0%, .11)) !important; 174 | } 175 | 176 | :root:-moz-lwtheme-brighttext, 177 | :root toolbar[brighttext], 178 | .tabbrowser-tab[visuallyselected]:-moz-lwtheme-brighttext 179 | { 180 | --toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background, hsla(0, 0%, 100%, .1)) !important; 181 | --toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background, hsla(0, 0%, 100%, .17)) !important; 182 | } 183 | 184 | /* special case for urlbar buttons */ 185 | :-moz-any(#urlbar, #searchbar) 186 | { 187 | --toolbarbutton-hover-background: hsl(210, 5%, 85%) !important; 188 | --toolbarbutton-active-background: hsl(210, 4%, 80%) !important; 189 | } 190 | 191 | :root:-moz-any([privatebrowsingmode], :-moz-lwtheme-brighttext) :-moz-any(#urlbar, #searchbar) 192 | { 193 | --toolbarbutton-hover-background: hsl(206, 5%, 26%) !important; 194 | --toolbarbutton-active-background: hsl(210, 4%, 31%) !important; 195 | } -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/popup/popup.scss: -------------------------------------------------------------------------------- 1 | menupopup, 2 | panel[type="autocomplete-richlistbox"] 3 | { 4 | -moz-appearance: none !important; 5 | background: 0 !important; 6 | border: 0 !important; 7 | color: var(--arrowpanel-color) !important; 8 | position: relative !important; 9 | } 10 | 11 | .popup-internal-box, 12 | .panel-arrowcontent, 13 | .autocomplete-richlistbox, 14 | #PopupSearchAutoComplete 15 | { 16 | background: var(--arrowpanel-background) !important; 17 | border-radius: 8px !important; 18 | padding: 8px 0 !important; 19 | margin: 0 !important; 20 | } 21 | 22 | /* dark themes get a contrasty border */ 23 | .popup-internal-box:-moz-lwtheme-brighttext, 24 | .panel-arrowcontent:-moz-lwtheme-brighttext, 25 | #PopupSearchAutoComplete:-moz-lwtheme-brighttext 26 | { 27 | box-shadow: 28 | 0 0 0 .5px #000 inset, 29 | 0 0 0 1.5px var(--arrowpanel-border-color) inset !important; 30 | } 31 | 32 | .panel-arrowbox 33 | { 34 | display: none !important; 35 | } 36 | 37 | .PanelUI-subView 38 | { 39 | background: none !important; 40 | } 41 | 42 | menu, 43 | menuitem, 44 | .autocomplete-richlistitem, 45 | .popup-internal-box > .scrollbutton-up, 46 | .popup-internal-box > .scrollbutton-down 47 | { 48 | background: 0 !important; 49 | -moz-appearance: none !important; 50 | color: inherit !important; 51 | } 52 | 53 | richlistbox, 54 | .ac-title 55 | { 56 | color: inherit !important; 57 | } 58 | 59 | menu, 60 | menuitem, 61 | .autocomplete-richlistitem 62 | { 63 | padding: 0 24px 0 !important; 64 | min-height: 28px !important; 65 | border: 0 !important; 66 | } 67 | 68 | /* hover */ 69 | menu:not([disabled=true]):not([open]):hover, 70 | menuitem:not([disabled=true]):not([_moz-menuactive]):hover, 71 | .autocomplete-richlistitem:not([disabled=true]):not([selected]):hover 72 | { 73 | background-color: var(--arrowpanel-dimmed) !important; 74 | } 75 | 76 | /* selected/open */ 77 | menu[open], 78 | .autocomplete-richlistitem[selected], 79 | menuitem[_moz-menuactive] 80 | { 81 | background-color: var(--autocomplete-popup-highlight-background) !important; 82 | color: var(--autocomplete-popup-highlight-color) !important; 83 | } 84 | 85 | menu[disabled=true], 86 | menuitem[disabled=true], 87 | .autocomplete-richlistitem[disabled=true] 88 | { 89 | opacity: .5 !important; 90 | } 91 | 92 | menuseparator 93 | { 94 | -moz-appearance: none !important; 95 | background: currentColor !important; 96 | opacity: .1 !important; 97 | border: 0 !important; 98 | padding: 0 !important; 99 | height: 1px !important; 100 | margin: 5px 0 !important; 101 | } 102 | 103 | .menu-iconic-icon, 104 | .menu-right, 105 | .ac-site-icon, 106 | .ac-type-icon 107 | { 108 | fill: currentColor !important; 109 | -moz-context-properties: fill, stroke, fill-opacity, stroke-opacity !important; 110 | } 111 | 112 | .menu-iconic-icon, 113 | .ac-type-icon, 114 | .ac-site-icon 115 | { 116 | margin-inline-start: 0 !important; 117 | margin-inline-end: 8px !important; 118 | } 119 | 120 | .menu-right 121 | { 122 | -moz-appearance: none !important; 123 | list-style-image: url(assets/menu-right-1x.svg) !important; 124 | } 125 | 126 | #context-navigation 127 | { 128 | padding: 0 8px 3px !important; 129 | background: 0 !important; 130 | } 131 | 132 | /* could perhaps make this more generalised */ 133 | #context-navigation > .menuitem-iconic 134 | { 135 | padding: 0 !important; 136 | border-radius: 99px !important; 137 | } 138 | 139 | #context-navigation .menu-iconic-icon 140 | { 141 | margin: 0 !important; 142 | } 143 | 144 | #context-back, 145 | #context-forward 146 | { 147 | list-style-image: url(assets/arrow-back-1x.svg) !important; 148 | } 149 | 150 | #context-forward 151 | { 152 | transform: scaleX(-1) !important; 153 | } 154 | 155 | #context-reload 156 | { 157 | list-style-image: url(assets/refresh-1x.svg) !important; 158 | } 159 | 160 | #context-bookmarkpage 161 | { 162 | list-style-image: url(assets/star-1x.svg) !important; 163 | } 164 | 165 | #context-bookmarkpage:not([starred]) .menu-iconic-icon 166 | { 167 | fill-opacity: 0 !important; 168 | } 169 | 170 | :not(menulist) > menupopup > menuitem:-moz-any([type=checkbox], [type=radio]) 171 | { 172 | list-style-image: url(assets/checkbox-empty.svg) !important; 173 | } 174 | 175 | :not(menulist) > menupopup > menuitem:-moz-any([type=checkbox], [type=radio]):-moz-any([checked=true], [selected=true]) 176 | { 177 | list-style-image: url(assets/checkbox-checked.svg) !important; 178 | } 179 | 180 | /* unset fill-opacity for menus nested in buttons */ 181 | .bookmark-item > menupopup, .toolbarbutton-1 > menupopup 182 | { 183 | fill-opacity: initial !important; 184 | } 185 | 186 | .search-panel-tree 187 | { 188 | background: 0 !important; 189 | border-radius: 0 !important; 190 | box-shadow: 0 !important; 191 | padding: 0 !important; 192 | } 193 | 194 | .search-panel-current-engine, 195 | #searchbar-anon-search-settings, 196 | .addengine-item 197 | { 198 | padding: 0 24px 0 !important; 199 | min-height: 28px !important; 200 | border-radius: 0 !important; 201 | border: 0 !important; 202 | font-size: inherit !important; 203 | text-align: start !important; 204 | } 205 | 206 | .search-panel-current-engine 207 | { 208 | -moz-box-ordinal-group: 0 !important; 209 | } 210 | 211 | /* a sneaky separator */ 212 | #PopupSearchAutoComplete::before 213 | { 214 | -moz-box-ordinal-group: 1 !important; 215 | } 216 | 217 | .searchbar-engine-image 218 | { 219 | margin-inline-end: 2px !important; 220 | } 221 | 222 | .search-panel-one-offs-header 223 | { 224 | display: none !important; 225 | } 226 | 227 | .search-panel-one-offs, 228 | #searchbar-anon-search-settings 229 | { 230 | border: 0 !important; 231 | } 232 | 233 | /* separators */ 234 | #PopupSearchAutoComplete::before, 235 | .search-panel-one-offs::before, 236 | .search-panel-one-offs::after 237 | { 238 | content: "" !important; 239 | display: -moz-box !important; 240 | height: 1px !important; 241 | width: 100% !important; 242 | background: currentColor !important; 243 | opacity: .1 !important; 244 | margin: 4px 0 !important; 245 | } 246 | 247 | .searchbar-engine-one-off-item 248 | { 249 | border: 0 !important; 250 | background: 0 !important; 251 | } 252 | 253 | .searchbar-engine-one-off-item .button-box 254 | { 255 | border-radius: 99px !important; 256 | margin: 2px 0 !important; 257 | } 258 | 259 | .searchbar-engine-one-off-item:first-of-type .button-box, 260 | .searchbar-engine-one-off-item.last-of-row + .searchbar-engine-one-off-item .button-box 261 | { 262 | margin-inline-start: 4px !important; 263 | } 264 | 265 | .searchbar-engine-one-off-item.last-of-row .button-box 266 | { 267 | margin-inline-end: 4px !important; 268 | } 269 | 270 | /* unfortunately these don't support focus */ 271 | .searchbar-engine-one-off-item:hover .button-box, 272 | #searchbar-anon-search-settings:hover, 273 | .search-panel-current-engine:hover, 274 | .addengine-item:hover 275 | { 276 | background-color: var(--autocomplete-popup-highlight-background) !important; 277 | } 278 | 279 | .searchbar-engine-one-off-item.dummy 280 | { 281 | display: none !important; 282 | } 283 | 284 | .search-panel-tree .ac-type-icon[type="null"] 285 | { 286 | display: none !important; 287 | } 288 | 289 | .search-add-engines 290 | { 291 | background: 0 !important; 292 | } 293 | 294 | /* windows-specific tweaks */ 295 | @media (-moz-windows-compositor) 296 | { 297 | menupopup 298 | { 299 | padding: 6px 12px 24px !important; 300 | margin: -6px -12px -24px !important; 301 | } 302 | 303 | .popup-internal-box 304 | { 305 | box-shadow: 306 | 0 0 6px rgba(0, 0, 0, .08), 307 | 0 12px 12px rgba(0, 0, 0, .125) !important; 308 | } 309 | 310 | /* 311 | panels are magically positioned and cropped, which means 312 | we can't use margins to compensate for box-shadow, so we 313 | reduce the shadow size so the padded offset is tolerable 314 | */ 315 | panel[type="arrow"] 316 | { 317 | /* must pad because overflow: visible doesn't work */ 318 | padding: 3px 3px 7px !important; 319 | } 320 | 321 | .panel-arrowcontent 322 | { 323 | border: 0 !important; 324 | box-shadow: 325 | 0 0 3px rgba(0, 0, 0, .17), 326 | 0 4px 3px rgba(0, 0, 0, .1) !important; 327 | } 328 | 329 | /* dark themes get a contrasty border */ 330 | .popup-internal-box:-moz-lwtheme-brighttext 331 | { 332 | box-shadow: 333 | 0 0 0 .5px #000 inset, 334 | 0 0 0 1.5px var(--arrowpanel-border-color) inset, 335 | 0 0 6px rgba(0, 0, 0, .08), 336 | 0 12px 12px rgba(0, 0, 0, .125) !important; 337 | } 338 | 339 | .panel-arrowcontent:-moz-lwtheme-brighttext 340 | { 341 | box-shadow: 342 | 0 0 0 .5px #000 inset, 343 | 0 0 0 1.5px var(--arrowpanel-border-color) inset, 344 | 0 0 3px rgba(0, 0, 0, .17), 345 | 0 4px 13px rgba(0, 0, 0, .1) !important; 346 | } 347 | 348 | /* 349 | padding refuses to override so we'll cheat and use 350 | negative margin to counter it 351 | */ 352 | .menu-text 353 | { 354 | margin-inline-start: -1.45em !important; 355 | } 356 | } 357 | 358 | /* high DPI adjustments */ 359 | @media (min--moz-device-pixel-ratio: 2) 360 | { 361 | .menu-right 362 | { 363 | list-style-image: url(assets/menu-right-2x.svg) !important; 364 | } 365 | 366 | #context-back, 367 | #context-forward 368 | { 369 | list-style-image: url(assets/arrow-back-2x.svg) !important; 370 | } 371 | 372 | #context-reload 373 | { 374 | list-style-image: url(assets/refresh-2x.svg) !important; 375 | } 376 | 377 | #context-bookmarkpage 378 | { 379 | list-style-image: url(assets/star-2x.svg) !important; 380 | } 381 | } -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/tabbar/tabbar.scss: -------------------------------------------------------------------------------- 1 | :-moz-any(.titlebar-placeholder, .titlebar-spacer)[type=pre-tabs] 2 | { 3 | width: 0 !important; 4 | } 5 | 6 | @media (-moz-mac-yosemite-theme) 7 | { 8 | #TabsToolbar 9 | { 10 | -moz-appearance: none !important; 11 | } 12 | 13 | :root:-moz-any([inFullscreen], [tabsintitlebar]) #TabsToolbar:not(:-moz-lwtheme) 14 | { 15 | background-color: #dee1e5 !important; 16 | color: #606367 !important; 17 | --toolbarbutton-hover-background: #cbced2 !important; 18 | --toolbarbutton-active-background: #bec0c5 !important; 19 | } 20 | 21 | :root:-moz-any([inFullscreen], [tabsintitlebar]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive 22 | { 23 | background-color: #e7eaed !important; 24 | } 25 | 26 | :-moz-any(.titlebar-placeholder, .titlebar-spacer)[type=pre-tabs] 27 | { 28 | width: 4px !important; 29 | } 30 | } 31 | 32 | @media (-moz-os-version: windows-win7) 33 | { 34 | #TabsToolbar:not(:-moz-lwtheme) 35 | { 36 | color: #808387 !important; 37 | --toolbarbutton-hover-background: rgba(196, 198, 204, .8) !important; 38 | --toolbarbutton-active-background: #bec0c6 !important; 39 | } 40 | 41 | #TabsToolbar toolbarbutton:not(:-moz-lwtheme):not(:hover):not([open]) 42 | { 43 | background-color: rgba(218, 220, 227, .8) !important; 44 | } 45 | 46 | .tabbrowser-tab:not([visuallyselected]):not(:-moz-lwtheme) 47 | { 48 | --tab-bgcolor: rgb(218, 220, 227) !important; 49 | --tab-opacity: .8 !important; 50 | } 51 | 52 | .tabbrowser-tab:hover:not([visuallyselected]):not(:-moz-lwtheme) 53 | { 54 | --tab-bgcolor: #e9ebef !important; 55 | } 56 | } 57 | 58 | /* < FF 65, >= FF 65 */ 59 | :-moz-any(.titlebar-placeholder, .titlebar-spacer) 60 | { 61 | border: 0 !important; 62 | display: -moz-box !important; 63 | } 64 | 65 | :-moz-any(.titlebar-placeholder, .titlebar-spacer)[type=post-tabs] 66 | { 67 | width: 48px !important; 68 | transition: width .666s cubic-bezier(.4, 0, .2, 1) !important; 69 | } 70 | 71 | @media (max-width: 700px) 72 | { 73 | :-moz-any(.titlebar-placeholder, .titlebar-spacer)[type=post-tabs] 74 | { 75 | width: 8px !important; 76 | } 77 | } 78 | 79 | #tabbrowser-tabs .arrowscrollbox-scrollbox 80 | { 81 | padding-inline-start: 8px !important; 82 | padding-inline-end: 8px !important; 83 | } 84 | 85 | /* vertically center buttons in tab bar */ 86 | #TabsToolbar :-moz-any(.toolbarbutton-1, .scrollbutton-up, .scrollbutton-down) 87 | { 88 | margin-top: calc((var(--tab-min-height) - var(--button-size)) / 2) !important; 89 | margin-bottom: calc((var(--tab-min-height) - var(--button-size)) / 2) !important; 90 | } 91 | 92 | .tabbrowser-tab 93 | { 94 | min-height: var(--tab-min-height) !important; 95 | overflow: visible !important; 96 | font-size: 12px !important; 97 | background: 0 !important; 98 | border: 0 !important; 99 | } 100 | 101 | /* regular */ 102 | .tabbrowser-tab[fadein]:not([pinned]):not([style*="max-width"]) 103 | { 104 | max-width: 240px !important; 105 | } 106 | 107 | /* neighbouring tabs should "pinch" together */ 108 | .tabbrowser-tab:not([last-visible-tab]) 109 | { 110 | margin-inline-end: -.5px !important; 111 | } 112 | 113 | /* special case for pinned tabs when overflowing */ 114 | #tabbrowser-tabs:not([overflow]) .tabbrowser-tab:not([first-visible-tab]), 115 | #tabbrowser-tabs[overflow] .tabbrowser-tab:not([first-visible-tab]):not([pinned]) 116 | { 117 | margin-inline-start: -.5px !important; 118 | } 119 | 120 | #tabbrowser-tabs[overflow] .tabbrowser-tab[pinned] .tab-background 121 | { 122 | margin: 0 -1px !important; 123 | } 124 | 125 | .tab-content 126 | { 127 | position: relative !important; 128 | overflow: hidden !important; 129 | padding-inline-start: 12px !important; 130 | padding-inline-end: 8px !important; 131 | } 132 | 133 | .tab-content::before, 134 | .tab-content::after 135 | { 136 | content: "" !important; 137 | display: -moz-box !important; 138 | position: absolute !important; 139 | background-color: currentColor !important; 140 | width: 1px !important; 141 | height: 20px !important; 142 | transform: translateY(-10px) !important; 143 | opacity: 0 !important; 144 | transition: opacity .2s var(--ease-basic) !important; 145 | } 146 | 147 | .tab-content::before 148 | { 149 | left: 0 !important; 150 | } 151 | 152 | .tab-content::after 153 | { 154 | right: 0 !important; 155 | } 156 | 157 | .tab-throbber, 158 | .tab-throbber-fallback, 159 | .tab-icon-image, 160 | .tab-sharing-icon-overlay, 161 | .tab-icon-sound, 162 | .tab-close-button 163 | { 164 | margin-top: 0 !important; 165 | } 166 | 167 | .tabbrowser-tab::before, 168 | .tabbrowser-tab::after, 169 | .tab-line 170 | { 171 | display: none !important; 172 | } 173 | 174 | /* tab background color */ 175 | 176 | .tabbrowser-tab 177 | { 178 | --tab-opacity: 0; 179 | --tab-bgcolor: #000; 180 | --tab-transition-duration: .2s; 181 | } 182 | 183 | #TabsToolbar[brighttext] .tabbrowser-tab 184 | { 185 | --tab-opacity: 0; 186 | --tab-bgcolor: #fff; 187 | } 188 | 189 | .tabbrowser-tab:not([selected=true]):hover, 190 | .tabbrowser-tab[multiselected]:not([selected=true]) 191 | { 192 | --tab-opacity: .1; 193 | } 194 | 195 | #TabsToolbar[brighttext] .tabbrowser-tab:not([selected=true]):hover, 196 | #TabsToolbar[brighttext] .tabbrowser-tab[multiselected]:not([selected=true]) 197 | { 198 | --tab-opacity: .06; 199 | } 200 | 201 | #TabsToolbar .tabbrowser-tab[visuallyselected] 202 | { 203 | --tab-bgcolor: var(--toolbar-bgcolor); 204 | --tab-opacity: 1; 205 | } 206 | 207 | .tab-background 208 | { 209 | background: var(--tab-bgcolor) !important; 210 | /* rounded top corners */ 211 | border-radius: 8px 8px 0 0 !important; 212 | position: relative !important; 213 | border: 0 !important; 214 | transition: 215 | opacity var(--tab-transition-duration) var(--ease-basic), 216 | background-color 0s var(--tab-transition-duration) var(--ease-basic) !important; 217 | opacity: var(--tab-opacity) !important; 218 | visibility: visible !important; 219 | } 220 | 221 | /* rounded bottom corners */ 222 | .tab-background::before, 223 | .tab-background::after 224 | { 225 | content: "" !important; 226 | display: -moz-box !important; 227 | position: absolute !important; 228 | width: 8px !important; 229 | height: 8px !important; 230 | bottom: 0 !important; 231 | pointer-events: none !important; 232 | transition: box-shadow 0s var(--tab-transition-duration) var(--ease-basic) !important; 233 | } 234 | 235 | .tab-background::before 236 | { 237 | border-bottom-right-radius: 8px !important; 238 | left: 0 !important; 239 | transform: translateX(-8px) !important; 240 | box-shadow: 4px 4px 0 4px var(--tab-bgcolor) !important; 241 | } 242 | 243 | .tab-background::after 244 | { 245 | border-bottom-left-radius: 8px !important; 246 | right: 0 !important; 247 | transform: translateX(8px) !important; 248 | box-shadow: -4px 4px 0 4px var(--tab-bgcolor) !important; 249 | } 250 | 251 | .tabbrowser-tab[visuallyselected][style*=transform] + .tabbrowser-tab[style*=transform] .tab-content::after, 252 | .tabbrowser-tab[style*=transform]:not([visuallyselected]) .tab-content::before, 253 | .tabbrowser-tab[style*=transform] + .tabbrowser-tab:not([visuallyselected]) .tab-content::before, 254 | .tabbrowser-tab:not([visuallyselected]):not(:hover):not([multiselected]) + .tabbrowser-tab:not([visuallyselected]):not(:hover):not([multiselected]) .tab-content::before, 255 | #tabbrowser-tabs[hasadjacentnewtabbutton]:not([overflow]) .tabbrowser-tab[last-visible-tab]:not([visuallyselected]):not(:hover):not([multiselected]) .tab-content::after 256 | { 257 | opacity: var(--tab-separator-opacity) !important; 258 | } 259 | 260 | #tabbrowser-tabs[overflow] .tabbrowser-tab[pinned] + .tabbrowser-tab:not([pinned]) .tab-content::before 261 | { 262 | opacity: 0 !important; 263 | } 264 | 265 | .tabbrowser-tab[visuallyselected] 266 | { 267 | --tab-transition-duration: 0s; 268 | } 269 | 270 | .tab-throbber, 271 | .tab-throbber-fallback 272 | { 273 | margin-inline-end: 8px !important; 274 | } 275 | 276 | .tab-icon-image 277 | { 278 | margin: 0 !important; 279 | } 280 | 281 | /* hide new tab favicon */ 282 | .tabbrowser-tab[image^="chrome://branding/"]:not([pinned]) .tab-icon-image 283 | { 284 | display: none !important; 285 | } 286 | 287 | .tab-label-container 288 | { 289 | margin-top: -2px !important; 290 | opacity: 1 !important; 291 | } 292 | 293 | .tabbrowser-tab[image]:not([image^="chrome://branding/"]) .tab-label-container, 294 | .tabbrowser-tab:-moz-any([progress], [busy]) .tab-label-container 295 | { 296 | padding-inline-start: 8px !important; 297 | } 298 | 299 | .tabbrowser-tab[fadein] .tab-close-button 300 | { 301 | visibility: visible !important; 302 | } 303 | 304 | .tab-close-button 305 | { 306 | list-style-image: url(assets/close-tab.svg) !important; 307 | width: 16px !important; 308 | height: 16px !important; 309 | margin: 0 !important; 310 | padding: 0 !important; 311 | border-radius: 99px !important; 312 | transition-property: fill-opacity, background-color !important; 313 | transition-duration: .15s !important; 314 | transition-timing-function: var(--ease-basic) !important; 315 | fill-opacity: 1 !important; 316 | } 317 | 318 | .tab-close-button:hover 319 | { 320 | background-color: var(--toolbarbutton-hover-background) !important; 321 | } 322 | 323 | .tab-close-button:hover:active 324 | { 325 | background-color: var(--toolbarbutton-active-background) !important; 326 | } 327 | 328 | @keyframes rotate-360 329 | { 330 | 0% { transform: rotate(0); } 331 | 100% { transform: rotate(1turn); } 332 | } 333 | 334 | .tab-throbber 335 | { 336 | -moz-context-properties: fill !important; 337 | fill: currentColor !important; 338 | background-image: url(assets/spinner-busy.svg) !important; 339 | margin: 0 !important; 340 | transform-origin: center !important; 341 | animation: rotate-360 1.333s linear infinite reverse !important; 342 | position: static !important; 343 | } 344 | 345 | .tab-throbber[progress] 346 | { 347 | background-image: url(assets/spinner-progress.svg) !important; 348 | animation-direction: normal !important; 349 | } 350 | 351 | .tab-throbber::before 352 | { 353 | display: none !important; 354 | } 355 | 356 | /* clipped tabs */ 357 | #tabbrowser-tabs[closebuttons=activetab] .tab-content:not([pinned]) 358 | { 359 | padding-inline-start: 8px !important; 360 | } 361 | 362 | #tabbrowser-tabs[closebuttons=activetab] .tabbrowser-tab:not([visuallyselected]) .tab-close-button 363 | { 364 | visibility: collapse !important; 365 | } 366 | 367 | #tabbrowser-tabs[closebuttons=activetab] .tab-label-container[textoverflow][labeldirection="ltr"]:not([pinned]), 368 | #tabbrowser-tabs[closebuttons=activetab] .tab-label-container[textoverflow]:not([labeldirection]):-moz-locale-dir(ltr):not([pinned]) 369 | { 370 | mask-image: linear-gradient(to right, black 70%, transparent) !important; 371 | } 372 | 373 | #tabbrowser-tabs[closebuttons=activetab] .tab-label-container[textoverflow][labeldirection="rtl"]:not([pinned]), 374 | #tabbrowser-tabs[closebuttons=activetab] .tab-label-container[textoverflow]:not([labeldirection]):-moz-locale-dir(rtl):not([pinned]) 375 | { 376 | mask-image: linear-gradient(to left, black 70%, transparent) !important; 377 | } 378 | 379 | .tab-content[pinned] 380 | { 381 | -moz-box-pack: center !important; 382 | } 383 | 384 | .tab-icon-image[pinned], 385 | .tab-throbber[pinned] 386 | { 387 | margin: auto !important; 388 | } 389 | 390 | .tab-content[pinned] 391 | { 392 | width: 36px !important; 393 | padding: 0 !important; 394 | padding-inline-start: 10px !important; 395 | padding-inline-end: 0 !important; 396 | } 397 | 398 | .tab-label-container[pinned], 399 | .tab-close-button[pinned] 400 | { 401 | visibility: hidden !important; 402 | } 403 | 404 | 405 | 406 | #tabbrowser-tabs .tabs-newtab-button 407 | { 408 | margin-inline-start: 6px !important; 409 | } 410 | 411 | .tabs-newtab-button, 412 | #new-tab-button, 413 | /* Simple New Tab Button */ 414 | #TabsToolbar #_42b6f73f-e197-466e-9059-bd40982e88ce_-browser-action 415 | { 416 | list-style-image: url(assets/new-tab.svg) !important; 417 | } 418 | 419 | #tabbrowser-tabs[overflow] .arrowscrollbox-scrollbox 420 | { 421 | border-radius: 8px 8px 0 0 !important; 422 | background-color: rgba(0, 0, 0, .2) !important; 423 | padding-inline-start: 0 !important; 424 | } 425 | 426 | #tabbrowser-tabs[overflow] .tabbrowser-tab[first-visible-tab]:not([pinned]), 427 | #tabbrowser-tabs[overflow] .tabbrowser-tab[pinned] + .tabbrowser-tab:not([pinned]) 428 | { 429 | margin-inline-start: 8px !important; 430 | } 431 | 432 | #tabbrowser-tabs .arrowscrollbox-overflow-start-indicator, 433 | #tabbrowser-tabs .arrowscrollbox-overflow-end-indicator 434 | { 435 | display: none !important; 436 | } 437 | 438 | /* high DPI adjustments */ 439 | @media (min--moz-device-pixel-ratio: 2) 440 | { 441 | .tabbrowser-tab::before, 442 | #tabbrowser-tabs .arrowscrollbox-overflow-start-indicator, 443 | #tabbrowser-tabs .arrowscrollbox-overflow-end-indicator 444 | { 445 | transform: translateY(.5px) !important; 446 | } 447 | 448 | .tabbrowser-tab:last-of-type::after 449 | { 450 | transform: translate(-1px, .5px) !important; 451 | } 452 | 453 | /* macOS */ 454 | @media (-moz-mac-yosemite-theme) 455 | { 456 | .titlebar-buttonbox 457 | { 458 | margin-top: .5px !important; 459 | margin-bottom: -.5px !important; 460 | } 461 | } 462 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Brightwork Theme 2 | **Version 0.2.0 (Public Test and Preview Version 2.0)** 3 | 4 | ## Description: 5 | Brightwork started as a personal theme. The original plan was to make a theme for my personal use,but after many people expressed their interest I began making a public version. This version is public test version 2. 6 | 7 | ![Brightwork](https://github.com/NikkNakk/Brightwork-theme/blob/master/brightwork_020.png?raw=true) (Wallpaper is The Brig Mercury in Moonlight by Ivan Aivazovsky) 8 | 9 | **This theme is still in development, and this is just a test or preview version for those interested.** 10 | 11 | 12 | * [Priority Issues](#Priority-Issues) 13 | * [Roadmap](#Roadmap-and-Goals) 14 | * [Installation](#Installation) 15 | * [Dependencies](#Dependencies) 16 | * [Build and Install](#Build) 17 | * [Extras](#extra-install-information) 18 | * [Screenshots](#screenshots) 19 | * [Customizing](#theme-user-preferences) 20 | * [Config File](#instructions-for-_configscss) 21 | * [Firefox](#Firefox-Theme) 22 | * [Community](#Community) 23 | * [Development](#brightwork-theme-guidelines-development) 24 | 25 | 26 | 27 | ## Priority Issues and Tasks 28 | As stated, this is a test version for the theme. Here is a list of current priority issues that I am focusing on. 29 | 30 | * **GTK2: (High Priority)** 31 | - Many applications rely on GTK2 as a fallback, like QT applications. There currently is NO GTK2 for the theme in place. 32 | - Will push a temporary GTK2 platform to avoid making applications unfunctional and allow more people to use theme daily. Temporary GTK2 theme will be based on another theme for the time being. 33 | - Eventually push a bespoked Brightwork Theme GTK2 platform. 34 | 35 | * KDE Plasma: 36 | - Basic outline for KDE so that default color schemes can be created. 37 | 38 | * Meson Build: 39 | - Change render command to output progress rather than each line (looking for help on this) 40 | - Add colors and shades as an install option that initiates render command, will depreciate render command as a user input 41 | 42 | * Windows: 43 | - Specific windows need more attention 44 | - Popups in applications (like firefox) are not consistent 45 | - Text cursor is not always visible in light variant of theme 46 | - Specific application issues need to be documented and worked on 47 | 48 | * System: 49 | - Login display manager needs attention 50 | 51 | * Compatability: 52 | - Begin porting theme to other environments (In progress for Solus Gnome)! 53 | 54 | 55 | **Note: These represent current priority issues;** This is just the list of priority issues. I have my personal notes that have a list of many other issues I have taken note of. The priority issues represent current issues that I believe will be noticed first by many users, and are ones that specifically would damper functionality of the theme enough to weaken support for development. I'm hoping that clarifying this as a test version will help streamline the process of tracking down and tweaking small issues while I am, or others, are working on some of the larger issues that would directly deter people from using the theme. This also gives people a chance to play with the theme without waiting forever! 56 | 57 | 58 | ## Roadmap and Goals 59 | 60 | 1. Ensure meson build is working efficiently (complete) and has more install options (continued progress) 61 | - Install options should include color and shade arguments 62 | 2. Verify dependencies (complete for Solus Budgie) 63 | 3. Organize GitHub (continued progress) 64 | 4. Create and begin tracking issues (Continued progress) 65 | - Begun tracking and completing issues on Github 66 | - Fix issues for specific applications (in progress) 67 | 5. Begin fixing priority issues and updating priority issues list based on user tests and feedback (continued progress) 68 | 6. Complete and update theme design guidelines (continued progress) 69 | 7. Create and complete resources for GitHub page: 70 | - Readme (complete) 71 | - Update Screenshots 72 | - Instructions (complete) 73 | - Formatting (continued) 74 | - Add more organization for development (features, issues, etc.) (continued) 75 | 8. Begin porting to other environments 76 | - Porting to Solus Gnome (in progres!) 77 | - Port to Solus Mate (not started) 78 | - Port to Solus KDE Plasma (not started) 79 | 80 | **Changes** 81 | 82 | - Changes to menus 83 | - Modified menus and popovers to have matching margins across the entire theme. 84 | - Modified menus and popovers to have matching hover effects across the entire theme. 85 | - Modified menu and popover buttons to have consistent shapes and colors across the entire theme. 86 | 87 | - Changes to Budgie panel 88 | - Added hover effects to Budgie menus and popovers 89 | 90 | - Button and Assets 91 | - Reduced redundancies in assets svg file (removed extra objects). 92 | - Modified all assets to use theme colors for object parts (i.e. slider handle now calls pm_dark). 93 | - Streamlined svg format by removing extra transform properties. 94 | - Added assets for spinbuttons that are consistent with theme. 95 | 96 | - Fixed spelling mistakes (again, whoops!) 97 | 98 | # Installation 99 | 100 | ## Dependencies 101 | Make sure that you have the proper dependencies: 102 | * Currently the preview version is just for Solus Budgie. Other versions will be included in future releases. 103 | 104 | * Meson and Ninja 105 | * Inkscape 106 | * Optipng 107 | * sassc 108 | * git 109 | 110 | ## Build 111 | 112 | 1. Clone or download this repository 113 | 114 | ``` 115 | git clone https://github.com/Nikknakk/Brightwork-Theme 116 | ``` 117 | 118 | 2. Enter the Brightwork-Theme directory 119 | 120 | 3. Open the ```_config.scss``` and choose your primary color and shade, or any other changes you would like. Build the theme and install with: 121 | ``` 122 | meson build 123 | cd build 124 | sudo ninja render install 125 | ``` 126 | * *Be patient as the render command will take around a minute or two to complete. I plan on replacing this with a progress bar or something* * 127 | 128 | **Note:** You have to run the render command for the initial install. After that, you only have to run it if you change colors. If you do not change colors, you can install other changes much quicker with: 129 | ``` 130 | sudo ninja install 131 | ``` 132 | This command completes in less than a second and is more ideal for testing for development. 133 | 134 | 135 | **Enjoy the theme!** 136 | 137 | ## Extra Install Information 138 | 139 | ### Budgie Panel 140 | 141 | To get the Budgie Panel like the screen shots, in Budgie Settings set the bottom panel to dynamic transparency. The icon backgrounds (which are in my plans to adjust) work best with the dock size around 50. 142 | 143 | ## Screenshots 144 | 145 | ![Default (Slate_80)](https://github.com/NikkNakk/Brightwork-theme/blob/master/brightwork_020.png?raw=true) 146 | 147 | ![Default Dark](https://github.com/NikkNakk/Brightwork-theme/blob/master/brightwork_020_dark.png?raw=true) 148 | 149 | ![Teal_40](https://github.com/NikkNakk/Brightwork-theme/blob/master/teal_40_screenshot.png?raw=true) 150 | 151 | ![Teal Shades](https://github.com/NikkNakk/Brightwork-theme/blob/master/shades_of_teal_screenshot.png?raw=true) 152 | 153 | ![Varieties](https://github.com/NikkNakk/Brightwork-theme/blob/master/variety_screenshot_old.png?raw=true) 154 | 155 | # Theme User Preferences 156 | All user preferences are currently handled in the ```_config.scss ``` file. This is a sass file that is parsed during install. 157 | 158 | ## Instructions for ``` _config.scss ``` 159 | 160 | 1. **Primary Color:** 161 | 162 | - To change the primary color of the theme replace string color with the color of your choice from the included palette. ```$pick_color: 'COLOR';``` Make sure you leave the color in the apostrophes. 163 | 164 | - Ex: To make the primary color dusk you would have: ```$pick_color: 'dusk';``` 165 | 166 | 2. **Personal Color:** 167 | 168 | - This is the main accent color of the theme (hover color, highlights, level bars, etc...) You can change this color just like the primary color. 169 | 170 | - Ex: To have a green accent color you would have: ```$ps_pick: 'green';``` 171 | 172 | 3. **Shades:** 173 | 174 | - The shade values change the overall lightness or darkness of the Primary and Personal colors selected. You can choose a shade between 10 and 100. Currently lighter shades (<30) will cause visibility issues with the light theme variants, this will be fixed soon. 175 | 176 | - Ex: ```$shade: 40;``` Sets a shade of 40 for the primary theme color 177 | - Ex: ```$ps_shade: 20; ``` Sets a shade of 20 for the accent color. 178 | 179 | 180 | Color Palette:![image](https://github.com/NikkNakk/Brightwork-theme/blob/master/Color_Palette.png?raw=true) 181 | 182 | Palette is from [Mineral UI](https://mineral-ui.com/color). It only uses the color palette and not the Mineral UI guidelines. 183 | 184 | 4. **Transparency:** 185 | 186 | - Opacity section will modify most of the transparency effects within the theme. You can adjust these between ranges of 0 and 1, where 0 is completely transparent, and 1 is completely opaque. 187 | 188 | - Ex: ```$alpha: 0.99``` Sets the main opacity to a 0.99 (slight transparency) 189 | - Ex: ```$alpha_cool: $alpha - 0.05``` Sets the opacity of background elements 0.94 (.05 less than the main alpha). Of course, you can just place a number in there, but I personally found 0.05 to be the right difference in values for a pleasing effect. 190 | 191 | 5. **Shadows:** 192 | 193 | - The values here will adjust the button shadows (may add window shadows in a future release). To disable shadows on the buttons change the value to 0: ```$enable_btn: 0;``` 194 | 195 | - You can change the value to anything between 0 and 1 as well. 196 | 197 | 6. **Radii Values:** 198 | 199 | - Here are the values for the corner radii. 200 | 201 | - ```$corner:18px;``` Sets main window components to 18px 202 | - ```$incorner: ($corner -10)``` Sets the inner corners to 10 less than the exterior corners. This is to create even borders. If you make the outer corner radii to something smaller than 10, you will have to play with this value to find what you like best. 203 | - ```btncorner:9999px``` This makes buttons circular. You can mess with this value if you would like non-circular buttons, but it hasn't been tested thoroughly. 204 | 205 | 7. **Budgie Panel** 206 | 207 | - Budgie panel has three regions. You can hide a background of a region by changing the values in the Budgie section of _config. 208 | 209 | - Ex: ```$start_bot: 1;``` will make the start region (left-most) region of the panel visible. 210 | 211 | 8. **Raven** 212 | 213 | - Raven now has a setting to add some spacing between the top and bottom panels, giving it a more card like look. 214 | 215 | - Ex: ```$raven_pad: 1``` is the default padding in the theme. ```$raven_pad: 0``` will remove the padding. 216 | - Any positive integer value should work, but too large of numbers may cause some issues. 217 | 218 | 9. **Layout** 219 | 220 | - Margins of windows and objects can be adjusted with ```$mag```. 221 | 222 | - Ex: ```$mag: 10px;``` will make theme margins 10px in size. 223 | 224 | - For best results, make ```$incorner``` be equal to ```$corner-$mag```. 225 | 226 | ## Firefox Theme 227 | 228 | Firefox theme is a modified version of [Material Fox](https://github.com/muckSponge/MaterialFox). 229 | 230 | To install the Firefox theme: 231 | 232 | **NOTE** This overwrites userChrome.css in ```/.mozilla/chrome/*.default```. You may want to backup if you have made changes there. 233 | 234 | 1. Install Brightwork Theme following install instructions above. 235 | 236 | 2. In ```build``` run ```sudo ninja fox```. 237 | 238 | 3. 239 | a. In Firefox [Firefox 69+, about:config] set ```toolkit.legacyUserProfileCustomizations.stylesheets``` to ```true```. 240 | b. In Firefox [about:config] set ```svg.context-properties.content.enabled``` to ```true```. 241 | 242 | 4. Restart Firefox. 243 | 244 | 245 | 246 | 247 | ## Community 248 | Some public and community information. This theme started as a personal project, but the community has expressed such a positive interest in it that I want to ensure the community is included in its development. 249 | 250 | **Name** 251 | 252 | I decided on the name of Brightwork Theme. In nautical terms, Brightwork is the polished metalwork on ships. If a desktop is symbolic of a ship, it made sense to me that the theme is analogous to the aesthetic of the ship. My hope is that Brightwork can become a polished theme like the brightwork of a ship. 253 | 254 | The name is still open to public, but I have not heard a request for any other names so far. 255 | 256 | **Feature Request** 257 | 258 | One of the large aspects for the vision of the theme was to enable user choice. 259 | 260 | To request a feature please submit an issue and tag it as a enhancement. Follow the instructions od the issue template. 261 | 262 | **Involvement** 263 | 264 | I will be looking for help with the development of this theme. If you are interested, please reach out or make a pull request. 265 | 266 | * Special thanks: Josh Strobl, JacekJagosz, EbonJaeger, and Staudey for their contributions to the theme already! It has been a big help. 267 | 268 | # Brightwork Theme Guidelines (Development) 269 | This project begun just as something for myself. I had zero experience when I started, so I read a bunch of resources before I begun. One thing that became clear was that a proper guideline determined the success of a theme, ui, or ux. Here are the guidelines I wrote up for myself when I was making this theme for myself that I have adapted for this Readme and the continued development of the theme (These guidelines are a work in progress and open to change as well). 270 | 271 | **Key Vision:** 272 | * Users should be able to easily change key visual elements. 273 | - Key visual well be defined as elements that are visual aspects that do not hinder functionality, i.e. shadows, colors, radii, etc. 274 | - Lots of feedback has focused on minor(in functionality) details that can easily be included as configurable properties. Making this a key guideline ensures that the theme will be structured around user preference and choice of these details. 275 | - This was the initial vision I had for my personal use of this theme. I wanted the option to quickly change small details, and people also requested so many detail changes for their own uses; I think it should represent the continued vision. 276 | 277 | **Structure:** 278 | 279 | * Content 280 | Main content of a intractable object (window, popup, dialog, application, etc) should be emphasized or gain focus with it's container or shape. Ways to create emphasis: 281 | - Rounded corners: Round corners make objects easier to find and track. 282 | - Color: Layers are created with three layers of colors; cool, default, and warm. Main active content should be the default view. Urgent content (popups) are warm, which quickly makes them the focus. Background content (backdrops) are cool to push them out of focus. 283 | - Color Specific Use: Colors should be consistent in use. View color is reserved for the most essential area an object, and the main attention of the user (the light or dark color of a theme). This ensures that when users see that color, they know this is the main content they were interested in. 284 | 285 | **Colors:** 286 | 287 | * Palette 288 | Colors are used from a pre-selected palette. These colors are mixed and applied to make a vast array of other colors. This pre-selected palette ensures colors will work more harmoniously throughout the theme. Allowing users to select colors is an important property for preference, but having it from a palette that is used for mixing helps avoid color clashes and issues. Many functions are techniques from color theory. 289 | 290 | * Color creates depth 291 | Using colors to create depth enables the theme to adhere more closely to the popular flat guidelines of popular UX frameworks, while still enabling the theme to have recognizable and usable layers. 292 | 293 | - Cool Colors: Cooler colors are naturally pushed into the background of an image, making them less focal and less likely to distract the user. 294 | 295 | - Warm Colors: Warmer colors pull objects to the foreground of an image, and create a sense of urgency for that object. It is a useful technique for quickly drawing a user's eye to the a object that needs attention. 296 | 297 | ## License 298 | 299 | Brightwork Theme is available under the terms of the GPL-3.0. 300 | 301 | 302 | 303 | -------------------------------------------------------------------------------- /common/gtk/_sass/apps/_budgie.scss: -------------------------------------------------------------------------------- 1 | ////////////////// 2 | /* Budgie Panel */ 3 | ////////////////// 4 | 5 | %regionbot { 6 | border-radius: 26px; 7 | padding: 0 10px; 8 | margin-bottom: 4px; 9 | margin-top: 0px; 10 | } 11 | 12 | %regiontop { 13 | border-radius: 26px; 14 | padding: 0 5px; 15 | margin-bottom: 0px; 16 | margin-top: 2px; 17 | } 18 | 19 | 20 | .budgie-container.bottom { 21 | 22 | .budgie-panel { 23 | 24 | &.background { 25 | border-radius: 0px; 26 | } 27 | 28 | &:backdrop { 29 | background-color: $bg_color; 30 | } 31 | 32 | &.transparent { 33 | background-color: transparent; 34 | 35 | .start-region{ 36 | background-color: rgba($bg_color, $start_bot); 37 | } 38 | 39 | .center-region { 40 | background-color: rgba($bg_color, $center_bot); 41 | } 42 | 43 | .end-region { 44 | background-color: rgba($bg_color, $end_bot); 45 | } 46 | 47 | } 48 | 49 | .start-region { 50 | 51 | @extend %regionbot; 52 | margin-left: 5px; 53 | 54 | } 55 | 56 | .center-region { 57 | @extend %regionbot; 58 | background-color: transparent; 59 | margin-left: 5px; 60 | margin-right: 5px; 61 | } 62 | 63 | .end-region { 64 | 65 | @extend %regionbot; 66 | margin-right: 5px; 67 | } 68 | 69 | 70 | 71 | button { 72 | border-radius: $corner; 73 | 74 | &.icon { 75 | box-shadow: inset 0px 0px 1px 1px rgba($bg_cool, .6); 76 | } 77 | 78 | &:hover box image { 79 | color: $ps_color; 80 | } 81 | 82 | &.budgie-menu-launcher:hover { 83 | background-color: transparent; 84 | box-shadow: none; 85 | } 86 | 87 | &.budgie-menu-launcher:checked { 88 | background-color: transparent; 89 | box-shadow: none; 90 | } 91 | } 92 | } 93 | } 94 | 95 | .budgie-container.top { 96 | 97 | .budgie-panel { 98 | 99 | &.background { 100 | border-radius: 0px; 101 | } 102 | 103 | &:backdrop { 104 | background-color: rgba($bg_cool, 0.7); 105 | } 106 | 107 | &.transparent { 108 | background-color: transparent; 109 | 110 | .start-region { 111 | background-color: rgba($bg_cool, $start_top); 112 | } 113 | 114 | .center-region { 115 | background-color: rgba($bg_cool, $center_top); 116 | } 117 | 118 | .end-region { 119 | background-color: rgba($bg_cool, $end_top); 120 | } 121 | } 122 | 123 | .start-region { 124 | @extend %regiontop; 125 | margin-left: 5px; 126 | } 127 | 128 | .center-region { 129 | @extend %regiontop; 130 | background-color: transparent; 131 | margin-left: 5px; 132 | margin-right: 5px; 133 | } 134 | 135 | .end-region { 136 | 137 | @extend %regiontop; 138 | margin-right: 5px; 139 | } 140 | 141 | 142 | 143 | button { 144 | border-radius: $corner; 145 | 146 | &.icon { 147 | box-shadow: inset 0px 0px 1px 1px rgba($bg_cool, .6); 148 | } 149 | 150 | &:hover box image { 151 | color: $ps_color; 152 | } 153 | 154 | &.budgie-menu-launcher:hover { 155 | background-color: transparent; 156 | box-shadow: none; 157 | } 158 | 159 | &.budgie-menu-launcher:checked { 160 | background-color: transparent; 161 | box-shadow: none; 162 | } 163 | } 164 | } 165 | } 166 | 167 | .budgie-panel { 168 | 169 | .icon-tasklist { 170 | 171 | image { 172 | margin: 4px 8px; 173 | border-radius: 40%; 174 | min-height: 16px; 175 | min-width: 16px; 176 | background-color: rgba($black, $icon_panel_alpha); 177 | } 178 | 179 | .running { 180 | 181 | image { 182 | background-color: rgba($ps_cool, $icon_panel_alpha); 183 | } 184 | 185 | &:checked { 186 | image { 187 | background-color: rgba($ps_warm, $icon_panel_alpha); 188 | } 189 | } 190 | } 191 | } 192 | 193 | separator { 194 | background-color:rgba($textbg, 0.3); 195 | margin: 5px 2px; 196 | border-radius:$btncorner; 197 | padding:1px; 198 | } 199 | } 200 | 201 | 202 | //////////////////////////////////// 203 | /* Budgie Panel Menu and Popovers */ 204 | //////////////////////////////////// 205 | 206 | .budgie-popover image { 207 | padding: 5px; 208 | } 209 | 210 | .budgie-popover { 211 | 212 | &.background { 213 | border-radius: $corner; 214 | } 215 | 216 | border-style: solid; 217 | border-width: 1px; 218 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.3); 219 | border-radius: $corner; 220 | box-shadow: $shadow; 221 | background-color: $pm_warm; 222 | color: rgba($textbg, 0.6); 223 | 224 | &.background { 225 | background-color: $pm_warm; 226 | border-style: solid; 227 | border-width: 0px; 228 | } 229 | 230 | border { 231 | border: none; 232 | } 233 | 234 | list { 235 | background-color: transparent; 236 | } 237 | 238 | row { 239 | padding: 0; 240 | 241 | &:hover { 242 | box-shadow: none; 243 | } 244 | } 245 | 246 | button.flat:not(.image-button) { 247 | 248 | padding: 0 8px; 249 | color: $textbg; 250 | font-weight: normal; 251 | border-radius:$incorner; 252 | 253 | &:disabled { 254 | color: $textdb; 255 | } 256 | 257 | &:hover { 258 | background-color:$ps_color; 259 | } 260 | 261 | &:checked { 262 | color:$ps_color; 263 | } 264 | } 265 | 266 | &.budgie-menu { 267 | color: rgba($textbg, 0.6); 268 | border-color: $pm_warm; 269 | border-radius: $corner; 270 | 271 | &.background { 272 | background-color: rgba($pm_warm, 0.97); 273 | margin: 0px; 274 | border-radius: $corner; 275 | } 276 | 277 | .container { 278 | padding: 0px; 279 | margin: $mag; 280 | border-radius: $incorner; 281 | } 282 | 283 | .sidebar { 284 | border-radius: $incorner 0px 0px $incorner; 285 | padding: 0px; 286 | font-size: 120%; 287 | 288 | button { 289 | margin: 4px; 290 | padding: 2px; 291 | } 292 | 293 | .frame { 294 | background-color:rgba($black, 0.27); 295 | border-radius:$incorner; 296 | margin:0px; 297 | 298 | stack { 299 | background-color:transparent; 300 | margin:0px; 301 | } 302 | } 303 | 304 | } 305 | 306 | entry { 307 | border-style: solid; 308 | border-width: 0px; 309 | border-color: $pm_color; 310 | } 311 | 312 | scrollbar { 313 | background-color: transparent; 314 | } 315 | 316 | entry.search { 317 | box-shadow: none; 318 | font-size: 120%; 319 | border-style: solid; 320 | border-width: 0px; 321 | border-color: #243947; 322 | background-color: rgba($black, 0.27); 323 | background-blend-mode: darken; 324 | border-radius: $corner; 325 | padding: 5px; 326 | margin-bottom:$mag; 327 | } 328 | 329 | scrolledwindow { 330 | 331 | padding:2px; 332 | 333 | &:last-child { 334 | 335 | &> .frame { 336 | background-color:rgba($black, 0); 337 | border-radius:$incorner; 338 | 339 | } 340 | } 341 | } 342 | } 343 | 344 | &.icon-popover { 345 | .icon-popover-stack { 346 | padding: 4px; 347 | } 348 | } 349 | 350 | &.caffeine-popover, 351 | &.night-light-indicator, 352 | &.places-menu, 353 | &.user-menu { 354 | .container { 355 | padding: 8px; 356 | } 357 | } 358 | 359 | &.user-menu { 360 | separator { 361 | margin: 4px 0; 362 | } 363 | } 364 | 365 | &.sound-popover { 366 | separator { 367 | margin: 3px 0; 368 | } 369 | } 370 | 371 | &.user-menu { 372 | separator { 373 | margin: 4px 0; 374 | } 375 | } 376 | 377 | &.sound-popover { 378 | separator { 379 | margin: 3px 0; 380 | } 381 | } 382 | } 383 | 384 | ////////////// 385 | /* Settings */ 386 | /* Window */ 387 | ////////////// 388 | 389 | .budgie-settings-window headerbar { 390 | padding-top: 0px; 391 | margin-top: 0px; 392 | padding-bottom: 0px; 393 | margin-bottom: 0px; 394 | } 395 | 396 | 397 | .budgie-settings-window stack { 398 | background-color: transparent; 399 | border-radius: $incorner; 400 | 401 | 402 | label { 403 | color: $textfg; 404 | } 405 | 406 | combobox .csd { 407 | background-color: transparent; 408 | } 409 | 410 | scrolledwindow { 411 | background-color: $bg_view; 412 | border-radius: $incorner; 413 | 414 | } 415 | 416 | box { 417 | color: $textfg; 418 | } 419 | 420 | .linked box { 421 | color: $white; 422 | } 423 | 424 | } 425 | 426 | .budgie-settings-window scrolledwindow list { 427 | color: $textbg; 428 | } 429 | 430 | .budgie-settings-window.csd>box { 431 | background-color: transparent; 432 | color: $textfg; 433 | 434 | .linked { 435 | color: $textbg; 436 | } 437 | } 438 | 439 | .budgie-settings-window buttonbox.inline-toolbar { 440 | border-style: none none solid; 441 | 442 | button { 443 | border-radius: $corner; 444 | 445 | 446 | } 447 | } 448 | 449 | /////////////////// 450 | /* Notifications */ 451 | /* and Dialogs */ 452 | /////////////////// 453 | 454 | .budgie-notification-window { 455 | background-color: transparent; 456 | color: $textbg; 457 | border-radius: $incorner; 458 | 459 | .drop-shadow { 460 | background-color: $bg_warm; 461 | } 462 | } 463 | 464 | .budgie-notification { 465 | .notification-title { 466 | font-size: 110%; 467 | color: $textbg; 468 | } 469 | 470 | .notification-body { 471 | color: $textbg; 472 | } 473 | 474 | background-color: $bg_warm; 475 | color: $textbg; 476 | } 477 | 478 | .budgie-osd-window { 479 | @extend .budgie-notification-window; 480 | } 481 | 482 | .budgie-osd { 483 | @extend .budgie-notification; 484 | 485 | .budgie-osd-text { 486 | font-size: 120%; 487 | } 488 | } 489 | 490 | // Alt+tab 491 | .budgie-switcher-window { 492 | background-color: transparent; 493 | 494 | :selected image { 495 | padding:4px; 496 | background-color:$ps_color; 497 | border-radius: $btncorner; 498 | } 499 | 500 | .drop-shadow { 501 | margin: 8px 8px $incorner; 502 | border-radius: $corner; 503 | background-color: $bg_warm; 504 | box-shadow: $shadow; 505 | 506 | label.budgie-switcher-title { 507 | color: $textbg; 508 | 509 | &:dir(ltr) { 510 | padding: 0 0 0 6px; 511 | } 512 | 513 | &:dir(rtl) { 514 | padding: 0 6px 0 0; 515 | } 516 | } 517 | } 518 | } 519 | 520 | // Internal part of the Switcher 521 | .budgie-switcher { 522 | @extend .budgie-notification; 523 | } 524 | 525 | .drop-shadow { 526 | margin: 5px 9px; 527 | padding: 3px; 528 | border-radius: $incorner; 529 | box-shadow: none; 530 | background-color: $bg_color; 531 | 532 | .linked>button { 533 | border-radius: $incorner; 534 | } 535 | } 536 | 537 | %budgie_dialog { 538 | border-radius: $incorner; 539 | background-color: $bg_color; 540 | 541 | decoration { 542 | border-radius: $corner; 543 | } 544 | } 545 | 546 | // Session Dialog 547 | .budgie-session-dialog { 548 | @extend %budgie_dialog; 549 | 550 | label:not(:last-child), 551 | .dialog-title { 552 | font-size: 120%; 553 | } 554 | 555 | .linked.horizontal>button { 556 | padding: 8px 16px; 557 | border-top: 1px solid $pm_dark; 558 | border-radius: 0; 559 | 560 | &:first-child { 561 | border-bottom-left-radius: 2px; 562 | } 563 | 564 | &:last-child { 565 | border-bottom-right-radius: 2px; 566 | } 567 | } 568 | } 569 | 570 | // PolKit Dialog 571 | .budgie-polkit-dialog { 572 | @extend %budgie_dialog; 573 | 574 | .message { 575 | color: $textbg; 576 | } 577 | 578 | .failure { 579 | color: $pm_red; 580 | } 581 | } 582 | 583 | // Run Dialog 584 | .budgie-run-dialog { 585 | @extend %budgie_dialog; 586 | 587 | background-color: $bg_warm; 588 | border-style: none; 589 | 590 | entry.search { 591 | font-size: 120%; 592 | box-shadow: none; 593 | background-color: transparent; 594 | border-style: none; 595 | border-radius: $incorner; 596 | padding: 6px; 597 | } 598 | 599 | list .dim-label { 600 | opacity: 1; 601 | } 602 | 603 | scrolledwindow { 604 | border-top: 1px solid $pm_dark; 605 | } 606 | } 607 | 608 | 609 | /////////// 610 | /* Raven */ 611 | /////////// 612 | 613 | .budgie-container.background { 614 | background-color: transparent; 615 | } 616 | 617 | //fixes raven transition 618 | 619 | .raven { 620 | background-color: $pm_color; 621 | border-radius: $corner 0 0 $corner; 622 | padding: 10px; 623 | margin-top:(10px*$raven_pad); 624 | margin-bottom:(10px*$raven_pad); 625 | 626 | 627 | //////////////// 628 | /* Notifications */ 629 | /////////////// 630 | 631 | .raven-notifications-view { 632 | .raven-header { // Header of the Notifications View 633 | .do-not-disturb { // Do Not Disturb button 634 | margin-right: 6px; // Add some margin on the right to space it away from Clear All Notifications 635 | } 636 | } 637 | 638 | .raven-notifications-group { // Notification Groups in the list 639 | .raven-notifications-group-header { // Header in each Group 640 | margin-right: 15px; // Align with DND button 641 | } 642 | 643 | .notification-clone { // Individual Notification 644 | box > .flat { // Clear specific notification 645 | margin-right: 9px; // Align with DND button 646 | } 647 | } 648 | } 649 | } 650 | 651 | /////////// 652 | /* Widgets */ 653 | /////////// 654 | 655 | .vertical { // All Raven Widgets 656 | .raven-header { 657 | padding: 6px 0; // 6px vertical padding 658 | } 659 | } 660 | 661 | .raven-calendar { // Calendar Widget (Literal GtkCalendar) 662 | padding: 1px; 663 | border-radius:$btncorner; 664 | 665 | &:selected { 666 | background-color:$ps_color; 667 | } 668 | 669 | } 670 | 671 | .audio-widget { // Audio Widgets 672 | .raven-header { // Inner Headers 673 | scale { 674 | font-size: 0; // Hide marks-after 675 | } 676 | } 677 | } 678 | 679 | .mpris-widget { // MPRIS Widget 680 | &:not(.no-album-art) { // Has Album Art 681 | .raven-mpris { 682 | background-color: rgba($black, .5); 683 | } 684 | } 685 | 686 | &.no-album-art { // No Album Art 687 | .raven-mpris { 688 | background-color: rgba($black, .7); 689 | } 690 | } 691 | 692 | .raven-mpris { // MPRIS Player Information and Controls 693 | box.horizontal:not(.raven-mpris-controls) { // MPRIS Information (will eventually be refactored into dedicated info container) 694 | margin: 2px 0; // 2px vertical 695 | } 696 | 697 | .raven-mpris-controls { // Inner Controls Container 698 | .flat { // Player Buttons 699 | margin: 6px 12px; // 6px vertical, 12px horizontal 700 | } 701 | } 702 | } 703 | } 704 | } 705 | 706 | 707 | .raven-background { 708 | border-style: none; 709 | background-color: rgba($black, .27); 710 | border-radius: $incorner; 711 | 712 | &:selected { 713 | border-radius: $incorner; 714 | background-color: $bg_color; 715 | } 716 | } 717 | -------------------------------------------------------------------------------- /common/gtk/_sass_fox/_sass/fox/navbar/navbar.scss: -------------------------------------------------------------------------------- 1 | #nav-bar 2 | { 3 | min-height: 36px !important; 4 | box-shadow: none !important; 5 | padding-left: 6px !important; 6 | padding-right: 6px !important; 7 | } 8 | 9 | #reload-button[disabled]:not(:-moz-window-inactive) > .toolbarbutton-icon 10 | { 11 | opacity: 1 !important; 12 | } 13 | 14 | .toolbarbutton-1:-moz-any(#back-button, #forward-button) 15 | { 16 | list-style-image: url(assets/arrow-back-1x.svg) !important; 17 | } 18 | 19 | /* Windows */ 20 | #PanelUI-button 21 | { 22 | border: none !important; 23 | margin: 0 !important; 24 | } 25 | 26 | #PanelUI-menu-button 27 | { 28 | list-style-image: url(assets/menu.svg) !important; 29 | } 30 | 31 | #PanelUI-menu-button[badge-status|="update"] 32 | { 33 | list-style-image: url(assets/menu-update.svg) !important; 34 | } 35 | 36 | #PanelUI-menu-button[badge-status|="update"] .toolbarbutton-badge 37 | { 38 | display: none !important; 39 | } 40 | 41 | #reload-button 42 | { 43 | list-style-image: url(assets/refresh-1x.svg) !important; 44 | } 45 | 46 | #stop-button 47 | { 48 | list-style-image: url(assets/stop-1x.svg) !important; 49 | } 50 | 51 | .toolbarbutton-1#forward-button 52 | { 53 | transform: scaleX(-1) !important; 54 | } 55 | 56 | #home-button 57 | { 58 | list-style-image: url(assets/home-1x.svg) !important; 59 | } 60 | 61 | #bookmarks-menu-button 62 | { 63 | list-style-image: url(assets/bookmark.svg) !important; 64 | } 65 | 66 | #library-button 67 | { 68 | list-style-image: url(assets/library-1x.svg) !important; 69 | } 70 | 71 | #preferences-button 72 | { 73 | list-style-image: url(assets/settings.svg) !important; 74 | } 75 | 76 | #history-panelmenu 77 | { 78 | list-style-image: url(assets/history.svg) !important; 79 | } 80 | 81 | #panic-button 82 | { 83 | list-style-image: url(assets/forget.svg) !important; 84 | } 85 | 86 | #developer-button 87 | { 88 | list-style-image: url(assets/developer.svg) !important; 89 | } 90 | 91 | #add-ons-button 92 | { 93 | list-style-image: url(assets/addons.svg) !important; 94 | } 95 | 96 | #email-link-button 97 | { 98 | list-style-image: url(assets/share.svg) !important; 99 | } 100 | 101 | #fxa-avatar-image 102 | { 103 | /* icon should be 20px, but we don't want to affect button size */ 104 | transform: scale(1.25) !important; 105 | } 106 | 107 | :root:not([fxastatus=signedin]) #fxa-avatar-image 108 | { 109 | list-style-image: url(assets/profile-inactive.svg) !important; 110 | } 111 | 112 | :root[fxastatus=signedin]:not([style*="--avatar-image-url"]) #fxa-avatar-image 113 | { 114 | list-style-image: url(assets/profile.svg) !important; 115 | } 116 | 117 | :root[privatebrowsingmode] #fxa-avatar-image 118 | { 119 | list-style-image: url(assets/incognito.svg) !important; 120 | } 121 | 122 | :root[privatebrowsingmode] #fxa-toolbar-menu-button 123 | { 124 | pointer-events: none !important; 125 | } 126 | 127 | /* show "Private" label for en languages only */ 128 | :root[titlemodifier="(Private Browsing)"] #fxa-toolbar-menu-button::before 129 | { 130 | content: "Private" !important; 131 | display: -moz-box !important; 132 | margin-inline-start: 12px !important; 133 | margin-inline-end: 6px !important; 134 | } 135 | 136 | #nav-bar-customization-target 137 | { 138 | overflow: visible !important; 139 | } 140 | 141 | #urlbar-container, 142 | #searchbar-container 143 | { 144 | overflow: visible !important; 145 | padding: 0 5px !important; 146 | } 147 | 148 | .searchbar-textbox 149 | { 150 | color: inherit !important; 151 | font-size: inherit !important; 152 | min-height: auto !important; 153 | } 154 | 155 | #urlbar, 156 | #searchbar 157 | { 158 | font-size: 14px !important; 159 | border-radius: 99px !important; 160 | background-color: var(--toolbar-field-background-color) !important; 161 | border: 0 !important; 162 | box-shadow: none !important; 163 | margin: 1px !important; 164 | padding: 2px !important; 165 | background-clip: padding-box !important; 166 | min-height: 28px !important; 167 | transition: background-color .1s var(--ease-basic) !important; 168 | -moz-box-align: center !important; 169 | } 170 | 171 | #urlbar:not(:-moz-lwtheme), 172 | #searchbar:not(:-moz-lwtheme) 173 | { 174 | color: inherit !important; 175 | } 176 | 177 | #urlbar:hover, 178 | #searchbar:hover 179 | { 180 | background-color: var(--toolbar-field-hover-background-color) !important; 181 | } 182 | 183 | #urlbar[focused], 184 | #urlbar[open], 185 | #searchbar[focused], 186 | #searchbar[open] 187 | { 188 | background-color: var(--toolbar-field-focus-background-color) !important; 189 | } 190 | 191 | #urlbar[focused], 192 | #searchbar[focused] 193 | { 194 | border: 2px solid var(--toolbar-field-focus-border-color) !important; 195 | padding: 1px !important; 196 | margin: 0 !important; 197 | } 198 | 199 | #urlbar[open], 200 | #searchbar[open] 201 | { 202 | border: 0 !important; 203 | padding: 0 8px 0 !important; 204 | border-radius: 8px 8px 0 0 !important; 205 | min-height: 37px !important; 206 | margin: 0 -5px -1px !important; 207 | box-shadow: 0 3px 10px rgba(0, 0, 0, .2) !important; 208 | position: relative !important; 209 | z-index: 99999 !important; 210 | } 211 | 212 | /* mac-specific tweaks */ 213 | @media (-moz-mac-yosemite-theme) 214 | { 215 | #urlbar[open], 216 | #searchbar[open] 217 | { 218 | box-shadow: 219 | 0 3px 10px rgba(0, 0, 0, .2), 220 | 0 0 1px rgba(0, 0, 0, .25) !important; 221 | } 222 | } 223 | 224 | #identity-box 225 | { 226 | padding: 0 8px !important; 227 | margin: 0 !important; 228 | border: 0 !important; 229 | position: relative !important; 230 | background: 0 !important; 231 | } 232 | 233 | #urlbar[pageproxystate=valid] > #identity-box:not(.no-hover) > #identity-icon 234 | { 235 | fill-opacity: 1 !important; 236 | } 237 | 238 | #identity-icon-labels 239 | { 240 | padding-inline-start: 10px !important; 241 | color: inherit !important; 242 | } 243 | 244 | #urlbar[open] #identity-icon-labels 245 | { 246 | display: none !important; 247 | } 248 | 249 | #urlbar[open] #identity-box 250 | { 251 | pointer-events: none !important; 252 | margin-inline-end: 8px !important; 253 | } 254 | 255 | #urlbar[pageproxystate=valid]:not([open]) #identity-box:-moz-any(.notSecureText, .verifiedIdentity, .chromeUI, .extensionPage, .certUserOverridden), 256 | #urlbar-display-box 257 | { 258 | overflow: visible !important; 259 | margin-inline-end: 8px !important; 260 | } 261 | 262 | /* separator */ 263 | #urlbar[pageproxystate=valid]:not([open]) #identity-box:-moz-any(.notSecureText, .verifiedIdentity, .chromeUI, .extensionPage, .certUserOverridden)::after, 264 | #urlbar-display-box::after 265 | { 266 | content: "" !important; 267 | display: -moz-box !important; 268 | background: #9d9e9f !important; 269 | height: 16px !important; 270 | width: 1px !important; 271 | transform: translateX(8px) !important; 272 | transition: opacity .2s var(--ease-basic) !important; 273 | } 274 | 275 | #urlbar[pageproxystate=valid] #identity-box:-moz-any(.notSecureText, .verifiedIdentity, .chromeUI, .extensionPage, .certUserOverridden):hover:not(.no-hover)::after, 276 | #urlbar[pageproxystate=valid] #identity-box:-moz-any(.notSecureText, .verifiedIdentity, .chromeUI, .extensionPage, .certUserOverridden)[open]::after 277 | { 278 | opacity: 0 !important; 279 | } 280 | 281 | #urlbar[pageproxystate=valid] > #identity-icon 282 | { 283 | list-style-image: url(assets/info-1x.svg) !important; 284 | } 285 | 286 | #urlbar[pageproxystate=valid] > #identity-box:-moz-any(.verifiedDomain, .verifiedIdentity) > #identity-icon 287 | { 288 | list-style-image: url(assets/connection-1x.svg) !important; 289 | } 290 | 291 | #urlbar[pageproxystate=valid] > #identity-box.chromeUI > #identity-icon 292 | { 293 | list-style-image: url(assets/identity-icons-brand.svg) !important; 294 | } 295 | 296 | #identity-box > image 297 | { 298 | fill: currentColor !important; 299 | fill-opacity: 1 !important; 300 | } 301 | 302 | #identity-box.extensionPage > #identity-icon 303 | { 304 | list-style-image: none !important; 305 | margin-inline-end: -16px !important; 306 | } 307 | 308 | /* no longer used as a connection icon */ 309 | #connection-icon 310 | { 311 | display: none !important; 312 | list-style-image: url(assets/naughty-shield-1x.svg) !important; 313 | } 314 | 315 | #urlbar[pageproxystate="invalid"] #identity-icon 316 | { 317 | list-style-image: url(assets/search.svg) !important; 318 | } 319 | 320 | #identity-box:-moz-any( 321 | .mixedActiveBlocked, 322 | .mixedDisplayContentLoadedActiveBlocked, 323 | .mixedActiveContent) > #connection-icon 324 | { 325 | display: -moz-box !important; 326 | } 327 | 328 | #urlbar[pageproxystate=valid] > #identity-box:-moz-any( 329 | .certUserOverridden, 330 | .weakCipher, 331 | .mixedActiveContent, 332 | .insecureLoginForms) > #identity-icon 333 | { 334 | list-style-image: url(assets/connection-warning-1x.svg) !important; 335 | } 336 | 337 | #identity-box:-moz-any(.certUserOverridden, .insecureLoginForms) 338 | { 339 | color: #c94031 !important; 340 | } 341 | 342 | .certUserOverridden #identity-icon-labels 343 | { 344 | visibility: visible !important; 345 | display: -moz-box !important; 346 | } 347 | 348 | .certUserOverridden #identity-icon-labels::after 349 | { 350 | content: "Not Secure" !important; 351 | display: -moz-box !important; 352 | } 353 | 354 | .urlbar-input 355 | { 356 | padding: 0 !important; 357 | } 358 | 359 | .searchbar-textbox 360 | { 361 | border: 0 !important; 362 | background: 0 !important; 363 | box-shadow: none !important; 364 | margin: 0 !important; 365 | } 366 | 367 | #page-action-buttons > #pageActionSeparator, 368 | .urlbar-history-dropmarker 369 | { 370 | display: none !important; 371 | } 372 | 373 | #pageActionSeparator 374 | { 375 | height: 24px !important; 376 | } 377 | 378 | .urlbar-icon-wrapper 379 | { 380 | background: 0 !important; 381 | } 382 | 383 | .urlbar-icon, 384 | #identity-box 385 | { 386 | min-width: 32px !important; 387 | height: 24px !important; 388 | padding: 0 8px !important; 389 | border-radius: 99px !important; 390 | fill-opacity: 1 !important; 391 | transition: background-color .2s var(--ease-basic); 392 | background-color: transparent !important; 393 | } 394 | 395 | .urlbar-icon 396 | { 397 | padding: 4px 8px !important; 398 | } 399 | 400 | #urlbar[open] #page-action-buttons 401 | { 402 | display: none !important; 403 | } 404 | 405 | .urlbar-icon:hover:not([disabled]), 406 | #identity-box:hover:not(.no-hover) 407 | { 408 | background-color: var(--toolbarbutton-hover-background) !important; 409 | } 410 | 411 | .urlbar-icon:hover:active:not([disabled]), 412 | .urlbar-icon[open], 413 | #identity-box:hover:active:not(.no-hover), 414 | #identity-box[open]:not(.no-hover) 415 | { 416 | background-color: var(--toolbarbutton-active-background) !important; 417 | transition-duration: 0 !important; 418 | } 419 | 420 | #star-button-box 421 | { 422 | -moz-box-ordinal-group: 98 !important; 423 | } 424 | 425 | #pageActionButton 426 | { 427 | list-style-image: url(assets/menu.svg) !important; 428 | -moz-box-ordinal-group: 99 !important; 429 | } 430 | 431 | .urlbar-page-action:-moz-any( 432 | #reader-mode-button, 433 | #pageActionButton, 434 | #pocket-button-box, 435 | #pageAction-urlbar-screenshots_mozilla_org, 436 | #pageAction-urlbar-sendToDevice, 437 | #pageAction-urlbar-emailLink, 438 | #pageAction-urlbar-copyURL, 439 | #pageAction-urlbar-shareURL, 440 | #pageAction-urlbar-addSearchEngine 441 | ) 442 | { 443 | transition: 444 | background-color .2s var(--ease-basic), 445 | margin .15s var(--ease-in), 446 | opacity .15s var(--ease-basic), 447 | visibility 0s .2s !important; 448 | opacity: 0 !important; 449 | visibility: hidden !important; 450 | margin-inline-start: -32px !important; 451 | } 452 | 453 | #urlbar:hover .urlbar-page-action:-moz-any( 454 | #reader-mode-button, 455 | #pageActionButton, 456 | #pocket-button-box, 457 | #pageAction-urlbar-screenshots_mozilla_org, 458 | #pageAction-urlbar-sendToDevice, 459 | #pageAction-urlbar-emailLink, 460 | #pageAction-urlbar-copyURL, 461 | #pageAction-urlbar-shareURL, 462 | #pageAction-urlbar-addSearchEngine 463 | ), 464 | .urlbar-page-action:-moz-any( 465 | #reader-mode-button, 466 | #pageActionButton, 467 | #pocket-button-box, 468 | #pageAction-urlbar-screenshots_mozilla_org, 469 | #pageAction-urlbar-sendToDevice, 470 | #pageAction-urlbar-emailLink, 471 | #pageAction-urlbar-copyURL, 472 | #pageAction-urlbar-shareURL, 473 | #pageAction-urlbar-addSearchEngine 474 | ):-moz-any(:hover, [open], [readeractive]) 475 | { 476 | transition: 477 | background-color .2s var(--ease-basic), 478 | margin .3s var(--ease-out), 479 | opacity .3s var(--ease-basic) !important; 480 | opacity: 1 !important; 481 | visibility: visible !important; 482 | margin-inline-start: 0 !important; 483 | } 484 | 485 | #pocket-button-box[animate] > #pocket-animatable-box 486 | { 487 | margin-inline-start: 6px !important; 488 | } 489 | 490 | #star-button 491 | { 492 | list-style-image: url(assets/star-1x.svg) !important; 493 | fill-opacity: 0 !important; 494 | } 495 | 496 | #star-button[starred] 497 | { 498 | fill: var(--toolbarbutton-icon-fill-attention) !important; 499 | fill-opacity: 1 !important; 500 | } 501 | 502 | #star-button-animatable-box 503 | { 504 | display: none !important; 505 | } 506 | 507 | #urlbar[open] .urlbar-go-button, 508 | #searchbar[open] .search-go-button 509 | { 510 | height: 32px !important; 511 | } 512 | 513 | .urlbar-go-button, 514 | .search-go-button 515 | { 516 | list-style-image: url(assets/go.svg) !important; 517 | } 518 | 519 | .private-browsing-indicator 520 | { 521 | display: none !important; 522 | } 523 | 524 | #PanelUI-button 525 | { 526 | -moz-box-ordinal-group: 2 !important; 527 | } 528 | 529 | /* urlbar and searchbar autocomplete popup */ 530 | #PopupAutoCompleteRichResult 531 | { 532 | background: 0 !important; 533 | margin-top: -4px !important; 534 | 535 | border: 0 !important; 536 | filter: drop-shadow(0 12px 6px rgba(0, 0, 0, .25)) !important; 537 | overflow: visible !important; 538 | padding-bottom: 28px !important; 539 | } 540 | 541 | #PopupAutoCompleteRichResult .autocomplete-richlistbox, 542 | #PopupAutoCompleteRichResult [anonid="footer"] 543 | { 544 | background-color: var(--toolbar-field-focus-background-color) !important; 545 | margin-inline-start: calc(var(--item-padding-start) + 20px - 0px) !important; 546 | margin-inline-end: calc(var(--item-padding-end) - 10px) !important; 547 | } 548 | 549 | #PopupAutoCompleteRichResult .autocomplete-richlistbox 550 | { 551 | padding: 0 !important; 552 | /* comment to keep footer */ 553 | border-radius: 0 0 8px 8px !important; 554 | overflow: hidden !important; 555 | } 556 | 557 | #PopupAutoCompleteRichResult .autocomplete-richlistitem 558 | { 559 | border: 0 !important; 560 | border-radius: 0 !important; 561 | padding: 0 !important; 562 | height: 36px !important; 563 | } 564 | 565 | /* mac-specific tweaks */ 566 | @media (-moz-mac-yosemite-theme) 567 | { 568 | #PopupAutoCompleteRichResult 569 | { 570 | filter: none !important; 571 | padding-bottom: 0 !important; 572 | margin-top: -3px !important; 573 | } 574 | } 575 | 576 | #PopupAutoCompleteRichResult .ac-type-icon 577 | { 578 | display: none !important; 579 | } 580 | 581 | #PopupAutoCompleteRichResult .ac-site-icon 582 | { 583 | margin-inline-start: 16px !important; 584 | margin-inline-end: 16px !important; 585 | } 586 | 587 | #PopupAutoCompleteRichResult .ac-type-icon[type="keyword"], 588 | #PopupAutoCompleteRichResult .ac-site-icon[type="searchengine"] 589 | { 590 | list-style-image: url(assets/search.svg) !important; 591 | } 592 | 593 | /* footer is hidden by default */ 594 | #PopupAutoCompleteRichResult [anonid="footer"] 595 | { 596 | margin-top: -8px !important; 597 | border-radius: 0 0 8px 8px !important; 598 | /* comment to keep footer */ 599 | display: none !important; 600 | } 601 | 602 | .search-panel-header, 603 | .search-panel-one-offs 604 | { 605 | background: 0 !important; 606 | } 607 | 608 | /* high DPI adjustments */ 609 | @media (min--moz-device-pixel-ratio: 2) 610 | { 611 | .toolbarbutton-1:-moz-any(#back-button, #forward-button) 612 | { 613 | list-style-image: url(assets/arrow-back-2x.svg) !important; 614 | } 615 | 616 | #PanelUI-menu-button:not([badge-status|="update"]) .toolbarbutton-icon 617 | { 618 | transform: translate(-.5px, -.5px) !important; 619 | } 620 | 621 | #stop-button 622 | { 623 | list-style-image: url(assets/stop-2x.svg) !important; 624 | } 625 | 626 | #reload-button 627 | { 628 | list-style-image: url(assets/refresh-2x.svg) !important; 629 | } 630 | 631 | #home-button 632 | { 633 | list-style-image: url(assets/home-2x.svg) !important; 634 | } 635 | 636 | #star-button 637 | { 638 | list-style-image: url(assets/star-2x.svg) !important; 639 | } 640 | 641 | #bookmarks-menu-button 642 | { 643 | list-style-image: url(assets/bookmark.svg) !important; 644 | } 645 | 646 | #bookmarks-menu-button .toolbarbutton-icon 647 | { 648 | translateX:(.5px) !important; 649 | } 650 | 651 | #library-button 652 | { 653 | list-style-image: url(assets/library-2x.svg) !important; 654 | } 655 | 656 | #identity-icon-labels 657 | { 658 | padding-inline-end: .5px !important; 659 | } 660 | 661 | #urlbar[pageproxystate=valid] > #identity-box:-moz-any(.unknownIdentity, .notSecure) > #identity-icon 662 | { 663 | list-style-image: url(assets/info-2x.svg) !important; 664 | transform: translate(.5px, .5px) !important; 665 | } 666 | 667 | #urlbar[pageproxystate=valid] > #identity-box:-moz-any(.verifiedDomain, .verifiedIdentity) > #identity-icon 668 | { 669 | list-style-image: url(assets/connection-2x.svg) !important; 670 | } 671 | 672 | #urlbar[pageproxystate=valid] > #identity-box:-moz-any( 673 | .certUserOverridden, 674 | .weakCipher, 675 | .mixedActiveContent, 676 | .insecureLoginForms) > #identity-icon 677 | { 678 | list-style-image: url(assets/connection-warning-2x.svg) !important; 679 | } 680 | 681 | #connection-icon 682 | { 683 | list-style-image: url(assets/naughty-shield-2x.svg) !important; 684 | } 685 | 686 | #identity-icon-labels, 687 | .urlbar-input, 688 | .searchbar-textbox 689 | { 690 | transform: translateY(-.5px) !important; 691 | } 692 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | --------------------------------------------------------------------------------