Compare commits
55
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41d079ddff | ||
|
|
bb051d7f2b | ||
|
|
52417e11c9 | ||
|
|
09df2a6662 | ||
|
|
f3a84436e2 | ||
|
|
ccb4e0f420 | ||
|
|
2346c83a8b | ||
|
|
0d633bfda7 | ||
|
|
acce6cc91e | ||
|
|
74b2b063ca | ||
|
|
ad2f28a1b6 | ||
|
|
ff93846b71 | ||
|
|
651251d3bb | ||
|
|
3ada4e0aea | ||
|
|
999f68fb2e | ||
|
|
69307c247a | ||
|
|
df329a1888 | ||
|
|
41919a87a0 | ||
|
|
3e5ecba187 | ||
|
|
54bc22341e | ||
|
|
1788cc0461 | ||
|
|
ac95b28b11 | ||
|
|
06fa50c433 | ||
|
|
8ac4a07f53 | ||
|
|
c006a57550 | ||
|
|
f0e0a497aa | ||
|
|
ac977a7370 | ||
|
|
cf307035e2 | ||
|
|
fb1fcc3ff1 | ||
|
|
3343ef3d5c | ||
|
|
e891e81636 | ||
|
|
9245f8f90b | ||
|
|
e26ac9378e | ||
|
|
f3acc70773 | ||
|
|
1d8777c2a1 | ||
|
|
dbf4aab4be | ||
|
|
880be876f8 | ||
|
|
acc1fcf027 | ||
|
|
0571efa376 | ||
|
|
bed696ca13 | ||
|
|
e67c8022a8 | ||
|
|
298a1440b6 | ||
|
|
b5227462de | ||
|
|
07d0e57dba | ||
|
|
cbae71ef97 | ||
|
|
e3aeb5ec55 | ||
|
|
d750517e1b | ||
|
|
df3c3790be | ||
|
|
ffab45f5d7 | ||
|
|
1338bf9cae | ||
|
|
55989c9a21 | ||
|
|
22bd6b2e14 | ||
|
|
a6f2aa6e90 | ||
|
|
d742d3e674 | ||
|
|
cf0c21612f |
No files matched your search
@@ -29,6 +29,14 @@
|
||||
Don't worry, WhiteSur installer already provides all of those dependencies.
|
||||
</details>
|
||||
|
||||
<details> <summary> Recommended gnome-shell extensions </summary>
|
||||
|
||||
- [floating-dock](https://extensions.gnome.org/extension/3730/floating-dock) `Gnome-shell <= 3.38`
|
||||
- [dash-to-dock](https://extensions.gnome.org/extension/307/dash-to-dock)
|
||||
- [blur-my-shell](https://extensions.gnome.org/extension/3193/blur-my-shell)
|
||||
|
||||
</details>
|
||||
|
||||
## Quick install
|
||||
|
||||
### Use the stable package
|
||||
@@ -184,9 +192,9 @@ Parameter: `--flatpak` `-F`
|
||||
Example: `./tweaks.sh -F`
|
||||
|
||||
### <p align="center"> <b> Connect WhiteSur theme to your Snap apps </b> </p>
|
||||
Parameter: `--snap` `-S`
|
||||
Parameter: `--snap` `-s`
|
||||
|
||||
Example: `./tweaks.sh -S`
|
||||
Example: `./tweaks.sh -s`
|
||||
|
||||
Note:
|
||||
|
||||
|
||||
+19
-7
@@ -33,8 +33,10 @@ usage() {
|
||||
helpify "-p, --panel" "[$(IFS='|'; echo "${PANEL_OPACITY_VARIANTS[*]}")]" "Set panel transparency" "Default is 15%"
|
||||
helpify "-s, --size" "[$(IFS='|'; echo "${SIDEBAR_SIZE_VARIANTS[*]}")]" "Set Nautilus sidebar minimum width" "Default is 200px"
|
||||
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set 'Activities' icon" "Default is 'standard'"
|
||||
helpify "-b, --background" "[default|blank|IMAGE_PATH]" "Set gnome-shell background image" "Default is BigSur-like wallpaper"
|
||||
helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style"
|
||||
helpify "-R, --round" "" "Set maximized window to rounded" "Default is square"
|
||||
helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur"
|
||||
helpify "--dialog, --interactive" "" "Run this installer interactively, with dialogs" ""
|
||||
helpify "-r, --remove, -u, --uninstall" "" "Remove all installed ${THEME_NAME} themes" ""
|
||||
helpify "-h, --help" "" "Show this help" ""
|
||||
@@ -62,11 +64,15 @@ while [[ $# -gt 0 ]]; do
|
||||
uninstall='true'; shift ;;
|
||||
--dialog|--interactive)
|
||||
interactive='true'; shift ;;
|
||||
--normal|--normalshowapps)
|
||||
showapps_normal="true"; shift ;;
|
||||
-R|--round)
|
||||
max_round="true"; shift ;;
|
||||
-h|--help)
|
||||
need_help="true"; shift ;;
|
||||
# Parameters that require value, single use
|
||||
-b|--background)
|
||||
check_param "${1}" "${1}" "${2}" "must" "must" "must" "false" && shift 2 || shift ;;
|
||||
-d|--dest)
|
||||
check_param "${1}" "${1}" "${2}" "must" "must" "not-at-all" && shift 2 || shift ;;
|
||||
-n|--name)
|
||||
@@ -104,7 +110,7 @@ if [[ "${uninstall}" == 'true' ]]; then
|
||||
remove_themes
|
||||
prompt -s "Done! All '${name}' themes has been removed."
|
||||
else
|
||||
install_theme_deps
|
||||
install_theme_deps; echo
|
||||
|
||||
if [[ "${interactive}" == 'true' ]]; then
|
||||
show_panel_opacity_dialog; show_sidebar_size_dialog; show_nautilus_style_dialog
|
||||
@@ -123,13 +129,19 @@ else
|
||||
prompt -i "Alt variants : $( IFS=';'; echo "${alts[*]}" )"
|
||||
prompt -i "Icon variant : ${icon}"
|
||||
prompt -i "Nautilus variant : ${nautilus_style}"
|
||||
echo; install_themes
|
||||
|
||||
# if [[ "$(which xfce4-session 2> /dev/null)" ]]; then
|
||||
# msg="XFCE: you may need to logout after changing your theme to fix your panel opacity."
|
||||
# fi
|
||||
echo; install_themes; echo; prompt -s "Done!"
|
||||
|
||||
echo; prompt -s "Done!"; echo; prompt -w "${msg}"; echo
|
||||
if is_my_distro "arch" && has_command xfce4-session; then
|
||||
msg="XFCE: you may need to logout after changing your theme to fix your panel opacity."
|
||||
notif_msg="${msg}\n\n${final_msg}"
|
||||
|
||||
[[ -x /usr/bin/notify-send ]] && notify-send "'${name}' theme has been installed. Enjoy!" "${msg}" -i "dialog-information-symbolic"
|
||||
echo; prompt -w "${msg}"
|
||||
else
|
||||
notif_msg="${final_msg}"
|
||||
fi
|
||||
|
||||
echo; prompt -w "${final_msg}"; echo
|
||||
|
||||
[[ -x /usr/bin/notify-send ]] && notify-send "'${name}' theme has been installed. Enjoy!" "${notif_msg}" -i "dialog-information-symbolic"
|
||||
fi
|
||||
+11
-14
@@ -29,16 +29,6 @@ else
|
||||
GNOME_VERSION="none"
|
||||
fi
|
||||
|
||||
if command -v nautilus &> /dev/null; then
|
||||
if (( $(nautilus --version | cut -d ' ' -f 3 | cut -d . -f 1) >= 40 )); then
|
||||
NAUTILUS_VERSION="new"
|
||||
else
|
||||
NAUTILUS_VERSION="old"
|
||||
fi
|
||||
else
|
||||
NAUTILUS_VERSION="none"
|
||||
fi
|
||||
|
||||
# Program options
|
||||
SASSC_OPT="-M -t expanded"
|
||||
|
||||
@@ -119,9 +109,12 @@ snap="false"
|
||||
gdm="false"
|
||||
dash_to_dock="false"
|
||||
max_round="false"
|
||||
showapps_normal="false"
|
||||
|
||||
# Misc
|
||||
msg="Run '${0} --help' to explore more customization features!"
|
||||
msg=""
|
||||
final_msg="Run '${0} --help' to explore more customization features!"
|
||||
notif_msg=""
|
||||
error_msg=""
|
||||
process_ids=()
|
||||
ANIM_PID="0"
|
||||
@@ -201,6 +194,10 @@ has_command() {
|
||||
command -v "$1" &> /dev/null
|
||||
}
|
||||
|
||||
is_my_distro() {
|
||||
[[ "$(cat '/etc/os-release' | awk -F '=' '/ID/{print $2}')" =~ "${1}" ]]
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
# PARAMETERS #
|
||||
###############################################################################
|
||||
@@ -451,7 +448,7 @@ backup_file() {
|
||||
}
|
||||
|
||||
check_theme_file() {
|
||||
[[ -f "${1}" || -f "${1}.bak" ]] && return 0 || return 1
|
||||
[[ -f "${1}" || -f "${1}.bak" ]]
|
||||
}
|
||||
|
||||
remind_relative_path() {
|
||||
@@ -488,8 +485,8 @@ userify() {
|
||||
}
|
||||
|
||||
sig_c() {
|
||||
kill -13 "${process_ids[@]}" &> /dev/null
|
||||
stop_animation; wait "${process_ids[@]}"; operation_canceled
|
||||
kill -13 ${process_ids[*]} &> /dev/null
|
||||
stop_animation; wait ${process_ids[*]} &> /dev/null; operation_canceled
|
||||
}
|
||||
|
||||
operation_canceled() {
|
||||
|
||||
+42
-19
@@ -23,8 +23,8 @@ source "${REPO_DIR}/lib-core.sh"
|
||||
###############################################################################
|
||||
|
||||
install_theme_deps() {
|
||||
if [[ ! "$(which glib-compile-resources 2> /dev/null)" || ! "$(which sassc 2> /dev/null)" || \
|
||||
! -r "/usr/share/gtk-engines/murrine.xml" || ! "$(which xmllint 2> /dev/null)" ]]; then
|
||||
if ! has_command glib-compile-resources || ! has_command sassc || \
|
||||
! has_command xmllint || [[ ! -r "/usr/share/gtk-engines/murrine.xml" ]]; then
|
||||
echo; prompt -w "'glib2.0', 'sassc', 'xmllint', 'libmurrine' are required for theme installation."
|
||||
|
||||
if has_command zypper; then
|
||||
@@ -67,7 +67,7 @@ install_gdm_deps() {
|
||||
}
|
||||
|
||||
install_beggy_deps() {
|
||||
if [[ ! "$(which convert 2> /dev/null)" ]]; then
|
||||
if ! has_command convert; then
|
||||
echo; prompt -w "'imagemagick' are required for this option."
|
||||
|
||||
if has_command zypper; then
|
||||
@@ -79,7 +79,7 @@ install_beggy_deps() {
|
||||
elif has_command yum; then
|
||||
rootify yum install -y sassc ImageMagick
|
||||
elif has_command pacman; then
|
||||
rootify pacman -S --noconfirm --needed sassc imagemagic
|
||||
rootify pacman -S --noconfirm --needed sassc imagemagick
|
||||
else
|
||||
prompt -w "INSTRUCTION: Please make sure you have installed all of the required dependencies!"
|
||||
fi
|
||||
@@ -87,7 +87,7 @@ install_beggy_deps() {
|
||||
}
|
||||
|
||||
install_dialog_deps() {
|
||||
if [[ ! "$(which dialog 2> /dev/null)" ]]; then
|
||||
if ! has_command dialog; then
|
||||
echo; prompt -w "'dialog' are required for this option."
|
||||
|
||||
if has_command zypper; then
|
||||
@@ -113,19 +113,37 @@ install_dialog_deps() {
|
||||
install_beggy() {
|
||||
local CONVERT_OPT=""
|
||||
|
||||
[[ "${no_blur}" == "false" ]] && CONVERT_OPT+=" -scale 1280x -blur 0x60 "
|
||||
[[ "${no_blur}" == "false" ]] && CONVERT_OPT+=" -scale 1280x -blur 0x50 "
|
||||
[[ "${darken}" == "true" ]] && CONVERT_OPT+=" -fill black -colorize 45% "
|
||||
|
||||
case "${background}" in
|
||||
blank)
|
||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy.png" ;;
|
||||
default)
|
||||
install_beggy_deps && convert "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" ${CONVERT_OPT} "${WHITESUR_TMP_DIR}/beggy.png" ;;
|
||||
if [[ "${no_blur}" == "false" || "${darken}" == "true" ]]; then
|
||||
install_beggy_deps && convert "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" ${CONVERT_OPT} "${WHITESUR_TMP_DIR}/beggy.png"
|
||||
else
|
||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur.png" "${WHITESUR_TMP_DIR}/beggy.png"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
install_beggy_deps && convert "${background}" ${CONVERT_OPT} "${WHITESUR_TMP_DIR}/beggy.png" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
install_beggy_blur() {
|
||||
local CONVERT_OPT=" -scale 1280x -blur 0x35 -fill black -colorize 25% "
|
||||
|
||||
case "${background}" in
|
||||
blank)
|
||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blank.png" "${WHITESUR_TMP_DIR}/beggy-blur.png" ;;
|
||||
default)
|
||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur.png" "${WHITESUR_TMP_DIR}/beggy-blur.png" ;;
|
||||
*)
|
||||
install_beggy_deps && convert "${background}" ${CONVERT_OPT} "${WHITESUR_TMP_DIR}/beggy-blur.png" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
install_darky() {
|
||||
local opacity="$(destify ${1})"
|
||||
local theme="$(destify ${2})"
|
||||
@@ -137,7 +155,7 @@ install_darky() {
|
||||
install_xfwmy() {
|
||||
local color="$(destify ${1})"
|
||||
|
||||
local TARGET_DIR="${dest}/${name}${color}-mdpi"
|
||||
local TARGET_DIR="${dest}/${name}${color}"
|
||||
local HDPI_TARGET_DIR="${dest}/${name}${color}-hdpi"
|
||||
local XHDPI_TARGET_DIR="${dest}/${name}${color}-xhdpi"
|
||||
|
||||
@@ -192,7 +210,7 @@ install_shelly() {
|
||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-default.png" "${TARGET_DIR}/assets/background.png"
|
||||
fi
|
||||
|
||||
cp -r "${THEME_SRC_DIR}/assets/gnome-shell/common-assets/background-blur.png" "${TARGET_DIR}/assets"
|
||||
cp -r "${WHITESUR_TMP_DIR}/beggy-blur.png" "${TARGET_DIR}/assets/background-blur.png"
|
||||
|
||||
(
|
||||
cd "${TARGET_DIR}"
|
||||
@@ -317,9 +335,12 @@ install_theemy() {
|
||||
|
||||
remove_packy() {
|
||||
rm -rf "${dest}/${name}$(destify ${1})$(destify ${2})$(destify ${3})$(destify ${4})"
|
||||
rm -rf "${dest}/${name}$(destify ${1})-mdpi"
|
||||
rm -rf "${dest}/${name}$(destify ${1})"
|
||||
rm -rf "${dest}/${name}$(destify ${1})-hdpi"
|
||||
rm -rf "${dest}/${name}$(destify ${1})-xhdpi"
|
||||
|
||||
# Backward compatibility
|
||||
rm -rf "${dest}/${name}$(destify ${1})-mdpi"
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
@@ -329,6 +350,7 @@ remove_packy() {
|
||||
install_themes() {
|
||||
start_animation
|
||||
process_ids=()
|
||||
install_beggy_blur
|
||||
|
||||
for opacity in "${opacities[@]}"; do
|
||||
for alt in "${alts[@]}"; do
|
||||
@@ -349,7 +371,7 @@ install_themes() {
|
||||
done
|
||||
done
|
||||
|
||||
wait "${process_ids[@]}"
|
||||
wait ${process_ids[*]} &> /dev/null
|
||||
stop_animation
|
||||
}
|
||||
|
||||
@@ -367,7 +389,7 @@ remove_themes() {
|
||||
done
|
||||
done
|
||||
|
||||
wait "${process_ids[@]}"
|
||||
wait ${process_ids[*]} &> /dev/null
|
||||
}
|
||||
|
||||
install_gdm_theme() {
|
||||
@@ -378,6 +400,7 @@ install_gdm_theme() {
|
||||
rm -rf "${WHITESUR_GS_DIR}"; install_beggy
|
||||
|
||||
if check_theme_file "${COMMON_CSS_FILE}"; then # CSS-based theme
|
||||
install_beggy_blur
|
||||
install_shelly "${colors[0]}" "${opacities[0]}" "${alts[0]}" "${themes[0]}" "${icon}" "${WHITESUR_GS_DIR}"
|
||||
sed ${SED_OPT} "s|assets|${WHITESUR_GS_DIR}/assets|" "${WHITESUR_GS_DIR}/gnome-shell.css"
|
||||
|
||||
@@ -394,6 +417,7 @@ install_gdm_theme() {
|
||||
# Fix previously installed WhiteSur
|
||||
restore_file "${ETC_CSS_FILE}"
|
||||
else # GR-based theme
|
||||
install_beggy_blur
|
||||
install_shelly "${colors[0]}" "${opacities[0]}" "${alts[0]}" "${themes[0]}" "${icon}" "${WHITESUR_TMP_DIR}/shelly"
|
||||
sed ${SED_OPT} "s|assets|resource:///org/gnome/shell/theme/assets|" "${WHITESUR_TMP_DIR}/shelly/gnome-shell.css"
|
||||
|
||||
@@ -518,19 +542,18 @@ customize_theme() {
|
||||
rm -rf "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||
cp -rf "${THEME_SRC_DIR}/sass/_theme-options"{".scss","-temp.scss"}
|
||||
|
||||
# Change common apps style for a specific GNOME Shell version
|
||||
if [[ ${NAUTILUS_VERSION} == "new" ]]; then
|
||||
sed ${SED_OPT} "/\$nautilus_version/s/old/new/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||
elif [[ ${NAUTILUS_VERSION} == "none" ]]; then
|
||||
prompt -w "There's no Nautilus installed, using style for the older gtk theme instead..."
|
||||
fi
|
||||
|
||||
# Change gnome-shell panel transparency
|
||||
if [[ "${panel_opacity}" != 'default' ]]; then
|
||||
prompt -w "Changing panel transparency ..."
|
||||
sed ${SED_OPT} "/\$panel_opacity/s/0.15/0.${panel_opacity}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||
fi
|
||||
|
||||
# Change gnome-shell show apps button style
|
||||
if [[ "${showapps_normal}" == 'true' ]]; then
|
||||
prompt -w "Changing gnome-shell show apps button style ..."
|
||||
sed ${SED_OPT} "/\$showapps_button/s/bigsur/normal/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||
fi
|
||||
|
||||
# Change Nautilus sidarbar size
|
||||
if [[ "${sidebar_size}" != 'default' ]]; then
|
||||
prompt -w "Changing Nautilus sidebar size ..."
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 126 B |
@@ -8,7 +8,7 @@ has_command() {
|
||||
"$1" -v $1 > /dev/null 2>&1
|
||||
}
|
||||
|
||||
if [ ! "$(which inkscape 2> /dev/null)" ]; then
|
||||
if ! has_command inkscape; then
|
||||
echo inkscape and optipng needs to be installed to generate the assets.
|
||||
if has_command zypper; then
|
||||
sudo zypper in inkscape optipng
|
||||
|
||||
@@ -34,10 +34,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
:root[privatebrowsingmode="temporary"] #nav-bar {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#TabsToolbar .private-browsing-indicator {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -3,8 +3,8 @@
|
||||
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
#urlbar {
|
||||
--urlbar-height: 34.00px;
|
||||
--urlbar-toolbar-height: 34.00px !important;
|
||||
--urlbar-height: 32.00px;
|
||||
--urlbar-toolbar-height: 32.00px !important;
|
||||
}
|
||||
|
||||
/* Center the URL bar */
|
||||
@@ -141,3 +141,15 @@ toolbarspring {
|
||||
background-color: transparent !important;
|
||||
fill-opacity: 1 !important;
|
||||
}
|
||||
|
||||
.urlbar-icon {
|
||||
width: 28px !important;
|
||||
height: 28px !important;
|
||||
padding: 6px !important;
|
||||
}
|
||||
|
||||
#page-action-buttons {
|
||||
padding: 2px 0 !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ menupopup {
|
||||
-moz-appearance: none !important;
|
||||
background: var(--gnome-menu-background) !important;
|
||||
border: 1px solid var(--gnome-menu-border-color) !important;
|
||||
border-radius: 8px;
|
||||
border-radius: 8px !important;
|
||||
padding: 4px 0 !important;
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
|
||||
@@ -54,7 +54,7 @@ panelview {
|
||||
background: var(--gnome-popover-background) !important;
|
||||
border: 1px solid !important;
|
||||
border-color: var(--gnome-popover-border-color) !important;
|
||||
border-radius: 9px;
|
||||
border-radius: 9px !important;
|
||||
/* box-shadow: var(--gnome-popover-shadow) !important; */
|
||||
padding: 12px !important;
|
||||
color: var(--gnome-toolbar-color) !important;
|
||||
|
||||
@@ -115,18 +115,14 @@ tab[selected]:-moz-window-inactive {
|
||||
}
|
||||
|
||||
/* Force tab favicon to the center */
|
||||
.tab-throbber, .tab-throbber-fallback {
|
||||
margin-left: auto;
|
||||
}
|
||||
.tabbrowser-tab:not([busy]) .tab-icon-image {
|
||||
margin-left: auto;
|
||||
.tab-throbber, .tab-throbber-fallback,
|
||||
.tabbrowser-tab:not([busy]) .tab-icon-image,
|
||||
.tabbrowser-tab:not([class*="identity-color-"]) .tab-icon-stack {
|
||||
margin-left: auto !important;
|
||||
}
|
||||
|
||||
/* If tab favicon is not present, force tab label to the center */
|
||||
.tabbrowser-tab .tab-label-container {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.tabbrowser-tab:not([image]):not([busy]):not([progress]) .tab-label-container {
|
||||
.tabbrowser-tab:not([image]):not([busy]):not([progress]):not([class*="identity-color-"]) .tab-label-container {
|
||||
margin-left: auto !important;
|
||||
}
|
||||
|
||||
@@ -134,7 +130,8 @@ tab[selected]:-moz-window-inactive {
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber,
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback,
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image,
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container {
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container,
|
||||
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-icon-stackr {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
@@ -147,6 +144,13 @@ tab[selected]:-moz-window-inactive {
|
||||
:root {
|
||||
--gnome-fill-icon: red !important;
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
height: 16px !important;
|
||||
padding: 0 !important;
|
||||
width: 16px !important;
|
||||
}
|
||||
|
||||
.tab-close-button {
|
||||
-moz-appearance: none !important;
|
||||
border: none !important;
|
||||
|
||||
@@ -98,7 +98,7 @@ $disabled_bg_color: if($variant == 'light', mix($bg_color, $base
|
||||
|
||||
// Headerbar colors
|
||||
$header_bg: if($variant == 'light', #ffffff, #373737);
|
||||
$dark_header_bg: if($trans == 'true', transparentize($base_color, 0.04), $base_color);
|
||||
$dark_header_bg: if($trans == 'true', rgba($base_color, 0.95), $base_color);
|
||||
$header_highlight: if($variant == 'dark', #434343, #f5f5f5);
|
||||
|
||||
$header_bg_backdrop: if($variant == 'light', darken($header_bg, 0%), darken($header_bg, 0%));
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
// THEME OPTIONS
|
||||
//
|
||||
|
||||
// Nautilus version
|
||||
$nautilus_version: 'old'; // < 3.38/old || 40.0/new
|
||||
|
||||
// Nautilus sidebar sizes (when nautilus_use_colors is false)
|
||||
$sidebar_size: 200px;
|
||||
|
||||
@@ -14,5 +11,8 @@ $nautilus_style: 'stable';
|
||||
// Gnome-shell panel opacity
|
||||
$panel_opacity: 0.15;
|
||||
|
||||
// Gnome-shell show apps button style
|
||||
$showapps_button: 'bigsur';
|
||||
|
||||
// maximized window radius
|
||||
$max_window_style: 'square';
|
||||
@@ -1,16 +1,15 @@
|
||||
|
||||
/* App Icons */
|
||||
|
||||
$app_grid_fg_color: #fff;
|
||||
|
||||
.show-apps,
|
||||
.app-well-app,
|
||||
%app-well-app {
|
||||
& .overview-icon {
|
||||
color: $light_alt_fg_color;
|
||||
border-radius: $bd_radius * 1.5;
|
||||
border-radius: $wm_radius;
|
||||
padding: 8px;
|
||||
border: none;
|
||||
transition-duration: 100ms;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -32,16 +31,20 @@ $app_grid_fg_color: #fff;
|
||||
// App Folders
|
||||
.app-folder {
|
||||
background: none;
|
||||
border-radius: $bt_radius * 2;
|
||||
|
||||
.overview-icon {
|
||||
background-color: $light_divider_color;
|
||||
// padding: 16px;
|
||||
border-radius: $bt_radius * 2;
|
||||
}
|
||||
|
||||
&:hover .overview-icon {
|
||||
&:hover .overview-icon {
|
||||
background-color: rgba(white, 0.2);
|
||||
}
|
||||
|
||||
&:active .overview-icon {
|
||||
background-color: rgba(white, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
// expanded folder
|
||||
@@ -61,7 +64,7 @@ $app_grid_fg_color: #fff;
|
||||
}
|
||||
|
||||
& .folder-name-entry {
|
||||
@extend %search-entry !optional;
|
||||
@extend %search-entry;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
@@ -77,7 +80,7 @@ $app_grid_fg_color: #fff;
|
||||
height: 36px;
|
||||
border-radius: 18px;
|
||||
|
||||
& > StIcon { icon-size: 16px }
|
||||
& > StIcon { icon-size: 16px; }
|
||||
|
||||
&:hover { background-color: $light_divider_color; }
|
||||
&:checked, &:active { background-color: $light_track_color; }
|
||||
@@ -116,6 +119,41 @@ $app_grid_fg_color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.page-indicator {
|
||||
padding: $base_padding $base_padding * 2;
|
||||
|
||||
.page-indicator-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 12px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-image: none;
|
||||
color: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background-color: $light_alt_disabled_fg_color;
|
||||
}
|
||||
&:hover .page-indicator-icon {
|
||||
background-image: none;
|
||||
background-color: $light_disabled_fg_color;
|
||||
}
|
||||
&:active .page-indicator-icon {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-image: none;
|
||||
color: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background-color: $light_alt_fg_color;
|
||||
}
|
||||
&:checked .page-indicator-icon {
|
||||
background-image: none;
|
||||
background-color: $light_alt_fg_color;
|
||||
}
|
||||
&:checked:active { background-image: none; }
|
||||
}
|
||||
|
||||
// right-click app menu
|
||||
.app-menu,
|
||||
.app-well-menu {
|
||||
|
||||
@@ -9,7 +9,6 @@ $popover_bubble_bg: if($variant == 'light', rgba(white, 0.95), rgba(lighten($bas
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
transition: none;
|
||||
|
||||
&:hover, &:focus {
|
||||
color: $fg_color;
|
||||
|
||||
@@ -24,20 +24,26 @@ $dash_placeholder_size: 32px;
|
||||
-x-offset: 8px;
|
||||
}
|
||||
|
||||
%show_apps_bigsur {
|
||||
.show-apps-icon {
|
||||
color: transparent;
|
||||
background-image: url("assets/view-app-grid.svg");
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.overview-icon { color: transparent; }
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:checked,
|
||||
&:focus {
|
||||
.show-apps-icon { color: transparent; }
|
||||
}
|
||||
}
|
||||
|
||||
// Show apps button
|
||||
.show-apps .show-apps-icon {
|
||||
color: transparent;
|
||||
background-image: url("assets/view-app-grid.svg");
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.show-apps .overview-icon {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.show-apps:hover .show-apps-icon,
|
||||
.show-apps:active .show-apps-icon,
|
||||
.show-apps:checked .show-apps-icon,
|
||||
.show-apps:focus .show-apps-icon {
|
||||
color: transparent;
|
||||
.show-apps {
|
||||
@if $showapps_button == "bigsur" {
|
||||
@extend %show_apps_bigsur;
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,6 @@
|
||||
}
|
||||
|
||||
.candidate-box {
|
||||
transition-duration: 0ms; // FIXME: needs more natural transitions
|
||||
padding: 0.3em 0.5em 0.3em 0.5em;
|
||||
margin-right: 2px;
|
||||
border-radius: $bt_radius;
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
/* Login Dialog */
|
||||
|
||||
#lockDialogGroup {
|
||||
background: url("assets/background.png");
|
||||
background-color: rgba($osd_bg_color, 1);
|
||||
background-image: url("assets/background.png");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
min-height: $medium_size;
|
||||
padding: 0 16px * 2;
|
||||
padding: 0 32px;
|
||||
transition-duration: 100ms;
|
||||
|
||||
&:hover {
|
||||
box-shadow: inset 0 -2px 0px $track_color;
|
||||
color: $fg_color;
|
||||
|
||||
@@ -6,12 +6,12 @@ $shell_panel_bg: if($trans == 'true', $panel_bg, rgba($panel_bg, 0.95));
|
||||
|
||||
#panel {
|
||||
background-color: $shell_panel_bg;
|
||||
transition-duration: 250ms;
|
||||
font-weight: bold;
|
||||
height: $menuitem_size;
|
||||
box-shadow: 0 5px 16px rgba(black, 0.35);
|
||||
color: $panel_fg;
|
||||
font-feature-settings: "tnum";
|
||||
transition-duration: 250ms;
|
||||
|
||||
// transparent panel on lock & login screens
|
||||
&:overview,
|
||||
@@ -50,6 +50,7 @@ $shell_panel_bg: if($trans == 'true', $panel_bg, rgba($panel_bg, 0.95));
|
||||
-panel-corner-border-width: 2px;
|
||||
-panel-corner-border-color: transparent;
|
||||
-panel-corner-opacity: 1;
|
||||
transition-duration: 250ms;
|
||||
}
|
||||
|
||||
// panel menus
|
||||
@@ -58,7 +59,7 @@ $shell_panel_bg: if($trans == 'true', $panel_bg, rgba($panel_bg, 0.95));
|
||||
-minimum-hpadding: 8px;
|
||||
font-weight: bold;
|
||||
color: $panel_fg;
|
||||
// transition-duration: $longer_duration;
|
||||
transition-duration: 150ms;
|
||||
border-radius: $bt_radius;
|
||||
|
||||
StLabel { padding: 0 2px; }
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
&-button-action,
|
||||
&-menu-button-container,
|
||||
&-button-box {
|
||||
border: 1px solid transparent;
|
||||
border: 1px solid transparent !important;
|
||||
}
|
||||
|
||||
&-provider {
|
||||
@@ -21,7 +21,7 @@
|
||||
&:focus { @include button(flat-focus); }
|
||||
&:active { @include button(flat-active); }
|
||||
&:insensitive { @include button(flat-disabled); }
|
||||
border: 1px solid transparent;
|
||||
border: 1px solid transparent !important;
|
||||
}
|
||||
|
||||
&-current {
|
||||
|
||||
@@ -35,51 +35,69 @@ $dash_radius: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.straight-corner #dash .dash-background,
|
||||
&.shrink.straight-corner #dash .dash-background {
|
||||
&.straight-corner #dash,
|
||||
&.shrink.straight-corner #dash {
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-top: 0;
|
||||
|
||||
.dash-background {
|
||||
border-radius: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.extended.top,
|
||||
&.extended.bottom {
|
||||
#dash {
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.dash-background {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.extended.bottom,
|
||||
&.extended.right,
|
||||
&.extended.left {
|
||||
#dash {
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.dash-background {
|
||||
margin-bottom: 0;
|
||||
padding: 0 0;
|
||||
|
||||
.dash-background {
|
||||
border-radius: 0;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.dashtodock #dash { background: none; }
|
||||
&.left,
|
||||
&.right {
|
||||
#dash {
|
||||
margin-top: 0;
|
||||
padding: $dash_padding 0;
|
||||
|
||||
.dash-background { // default-mode
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.dash-item-container .app-well-app, .show-apps {
|
||||
padding: $base_padding;
|
||||
}
|
||||
}
|
||||
|
||||
&.left #dash {
|
||||
margin-left: $base_padding;
|
||||
}
|
||||
|
||||
&.right #dash {
|
||||
margin-right: $base_padding;
|
||||
}
|
||||
|
||||
#dash { // default-mode
|
||||
background: none;
|
||||
|
||||
// .app-well-app-running-dot {
|
||||
// background-color: rgba($dash_panel_fg, 0.85);
|
||||
// }
|
||||
//
|
||||
StWidget.focused .app-well-app-running-dot {
|
||||
background-color: $primary_color;
|
||||
}
|
||||
@@ -91,12 +109,6 @@ $dash_radius: 18px;
|
||||
box-shadow: inset 0 0 0 1px rgba(white, 0.05);
|
||||
}
|
||||
|
||||
// .dash-separator {
|
||||
// width: 1px !important;
|
||||
// // margin: 0 0 !important;
|
||||
// background-color: $light_divider_color;
|
||||
// }
|
||||
|
||||
&:overview #dash { // overview-mode #1
|
||||
background: none;
|
||||
|
||||
@@ -133,10 +145,6 @@ $dash_radius: 18px;
|
||||
#dash {
|
||||
background: none;
|
||||
}
|
||||
|
||||
// .dash-background {
|
||||
// background-color: $light_divider_color;
|
||||
// }
|
||||
}
|
||||
|
||||
&.running-dots,
|
||||
@@ -154,14 +162,6 @@ $dash_radius: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.app-well-app,
|
||||
.show-apps {
|
||||
.overview-icon {
|
||||
padding: 8px;
|
||||
background-size: contain;
|
||||
}
|
||||
}
|
||||
|
||||
&.extended,
|
||||
&.extended:overview {
|
||||
.app-well-app,
|
||||
|
||||
@@ -40,42 +40,6 @@ $app_icon_padding: 24px;
|
||||
& StButton#vhandle:active { background-color: transparent; }
|
||||
}
|
||||
|
||||
.page-indicator {
|
||||
padding: 15px 20px;
|
||||
|
||||
.page-indicator-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 12px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-image: none;
|
||||
color: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background-color: $light_alt_disabled_fg_color;
|
||||
}
|
||||
&:hover .page-indicator-icon {
|
||||
background-image: none;
|
||||
background-color: $light_disabled_fg_color;
|
||||
}
|
||||
&:active .page-indicator-icon {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-image: none;
|
||||
color: transparent;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background-color: $light_alt_fg_color;
|
||||
}
|
||||
&:checked .page-indicator-icon {
|
||||
background-image: none;
|
||||
background-color: $light_alt_fg_color;
|
||||
transition-duration: 0ms;
|
||||
}
|
||||
&:checked:active { background-image: none; }
|
||||
}
|
||||
|
||||
//Some hacks I don't even
|
||||
.all-apps,
|
||||
.search-display > StBoxLayout,
|
||||
|
||||
@@ -221,15 +221,5 @@
|
||||
#panel.lock-screen { background-color: $alt_dark_bg_color; }
|
||||
|
||||
#screenShieldNotifications {
|
||||
StScrollBar {
|
||||
StBin#trough {
|
||||
background-color: $light_divider_color;
|
||||
}
|
||||
|
||||
StButton#vhandle, StButton#hhandle {
|
||||
background-color: $light_hint_fg_color;
|
||||
&:hover { background-color: $light_alt_fg_color; }
|
||||
&:active { background-color: $light_alt_fg_color; }
|
||||
}
|
||||
}
|
||||
StScrollBar { @extend %overview_scrollbar; }
|
||||
}
|
||||
@@ -1,4 +1,16 @@
|
||||
%overview_scrollbar {
|
||||
StBin#trough {
|
||||
background-color: $light_divider_color;
|
||||
}
|
||||
|
||||
StButton#vhandle, StButton#hhandle {
|
||||
background-color: $light_hint_fg_color;
|
||||
&:hover { background-color: $light_alt_fg_color; }
|
||||
&:active { background-color: $light_fg_color; }
|
||||
}
|
||||
}
|
||||
|
||||
#overview {
|
||||
spacing: 24px;
|
||||
StScrollBar { @extend %overview_scrollbar !optional; }
|
||||
StScrollBar { @extend %overview_scrollbar; }
|
||||
}
|
||||
@@ -42,6 +42,7 @@ $_close_size: 42px;
|
||||
box-shadow: none;
|
||||
StIcon { icon-size: $_close_size; } // for safety
|
||||
background-image: url("assets/window-close.svg");
|
||||
transition-duration: 300ms;
|
||||
|
||||
&:hover {
|
||||
background-size: $_close_size;
|
||||
|
||||
@@ -14,19 +14,7 @@ $app_icon_size: 96px;
|
||||
}
|
||||
|
||||
.app-folder-dialog {
|
||||
background-color: rgba(black, 0.9);
|
||||
}
|
||||
|
||||
// App Grid pagination indicators
|
||||
.page-indicator {
|
||||
padding: $base_padding $base_padding * 2 0;
|
||||
|
||||
.page-indicator-icon {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 10px; // the same as height&width
|
||||
background-color: white;
|
||||
}
|
||||
background-color: rgba(#262626, 0.9);
|
||||
}
|
||||
|
||||
.apps-scroll-view {
|
||||
|
||||
@@ -3,7 +3,7 @@ $dash_placeholder_size: 32px;
|
||||
$dash_padding: $base_padding + 4px; // 10px
|
||||
$dash_spacing: $base_padding / 4;
|
||||
$dash_bottom_margin: $base_margin * 4;
|
||||
$dash_border_radius: $bt_radius * 2.5;
|
||||
$dash_border_radius: $wm_radius + $dash_padding;
|
||||
|
||||
#dash {
|
||||
margin-top: $base_spacing * 2;
|
||||
|
||||
Whitespace-only changes.
@@ -78,8 +78,8 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
@if $nautilus_style == 'stable' {
|
||||
$nautilus_sidebar_image: linear-gradient(90deg, $dark_sidebar_bg 0%,
|
||||
$dark_sidebar_bg $nautilus_sidebar_size,
|
||||
transparent $nautilus_sidebar_size,
|
||||
transparent 100%);
|
||||
rgba($dark_sidebar_bg, 0) $nautilus_sidebar_size,
|
||||
rgba($dark_sidebar_bg, 0) 100%);
|
||||
|
||||
$nautilus_bg_image: linear-gradient(90deg, $dark_sidebar_bg 0%,
|
||||
$dark_sidebar_bg $nautilus_sidebar_size,
|
||||
@@ -104,29 +104,20 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
}
|
||||
|
||||
@if $nautilus_style == 'default' or $nautilus_style == 'stable' {
|
||||
$nautilus_header_borders_image: linear-gradient(90deg, transparent $nautilus_sidebar_size,
|
||||
$nautilus_header_borders_image: linear-gradient(90deg, rgba($header_border, 0) $nautilus_sidebar_size,
|
||||
$header_border $nautilus_sidebar_size);
|
||||
}
|
||||
|
||||
@if $nautilus_style == 'stable' or $nautilus_style == 'default' {
|
||||
@if $nautilus_version == 'new' {
|
||||
$nautilus_header_image: linear-gradient(90deg, transparent $nautilus_sidebar_size,
|
||||
$nautilus_borders_color $nautilus_sidebar_size,
|
||||
$nautilus_borders_color ($nautilus_sidebar_size + 1px),
|
||||
$base_color ($nautilus_sidebar_size + 1px));
|
||||
} @else {
|
||||
$nautilus_header_image: linear-gradient(90deg, $dark_sidebar_bg $nautilus_sidebar_size,
|
||||
$nautilus_borders_color $nautilus_sidebar_size,
|
||||
$nautilus_borders_color ($nautilus_sidebar_size + 1px),
|
||||
$base_color ($nautilus_sidebar_size + 1px));
|
||||
}
|
||||
}
|
||||
|
||||
@else if $nautilus_style == 'glassy' {
|
||||
$dark_header_bg ($nautilus_sidebar_size + 1px));
|
||||
} @else if $nautilus_style == 'glassy' {
|
||||
$nautilus_header_image: linear-gradient(90deg, $dark_sidebar_bg ($nautilus_sidebar_size/2),
|
||||
$dark_header_bg 40%);
|
||||
|
||||
$nautilus_header_borders_image: linear-gradient(90deg, transparent (($nautilus_sidebar_size/2) - 40px),
|
||||
$nautilus_header_borders_image: linear-gradient(90deg, rgba($header_border, 0) (($nautilus_sidebar_size/2) - 40px),
|
||||
$header_border 40%);
|
||||
}
|
||||
|
||||
@@ -139,8 +130,33 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
background-image: $nautilus_bg_image;
|
||||
border-radius: $background_radius_style;
|
||||
|
||||
&.unified { // >= 40.0
|
||||
border-radius: $wm_radius;
|
||||
|
||||
@if $nautilus_style == 'glassy' {
|
||||
background-image: image(rgba($dark_sidebar_bg, 0));
|
||||
}
|
||||
|
||||
> deck > box.vertical > headerbar.titlebar {
|
||||
@if $nautilus_style == 'stable' or $nautilus_style == 'default' {
|
||||
background-image: linear-gradient(90deg, rgba($dark_header_bg, 0) $nautilus_sidebar_size,
|
||||
$nautilus_borders_color $nautilus_sidebar_size,
|
||||
$nautilus_borders_color ($nautilus_sidebar_size + 1px),
|
||||
$dark_header_bg ($nautilus_sidebar_size + 1px));
|
||||
}
|
||||
|
||||
> .linked > button.disclosure-button { margin-left: $container_padding / 2; }
|
||||
|
||||
> box.horizontal:first-child { // move the search button to right side
|
||||
margin-right: -74px;
|
||||
|
||||
entry.search { margin-left: $container_padding; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> headerbar.titlebar,
|
||||
> deck > box > headerbar.titlebar {
|
||||
> deck > box.vertical > headerbar.titlebar {
|
||||
background-color: transparent;
|
||||
box-shadow: inset 0 1px rgba(white, 0.1);
|
||||
background-image: $nautilus_header_image;
|
||||
@@ -162,10 +178,13 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
|
||||
placessidebar.sidebar {
|
||||
background-color: transparent;
|
||||
min-width: $nautilus_sidebar_size;
|
||||
border: none;
|
||||
border-bottom-left-radius: $wm_radius;
|
||||
|
||||
@if $nautilus_style == 'stable' or $nautilus_style == 'default' {
|
||||
min-width: $nautilus_sidebar_size;
|
||||
}
|
||||
|
||||
@if $nautilus_style == 'stable' {
|
||||
background-image: if($trans == 'true', none, $nautilus_sidebar_image);
|
||||
}
|
||||
@@ -174,6 +193,10 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
&.frame { border-right: 1px solid $nautilus_borders_color; }
|
||||
}
|
||||
|
||||
@if $nautilus_style == 'glassy' {
|
||||
background-image: $nautilus_sidebar_image;
|
||||
}
|
||||
|
||||
list { margin-bottom: 6px; }
|
||||
|
||||
row.sidebar-row {
|
||||
@@ -353,7 +376,7 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
}
|
||||
|
||||
&, > stack {
|
||||
border-radius: 0 0 $nautilus_radius $nautilus_radius;
|
||||
border-radius: $background_radius_style;
|
||||
}
|
||||
|
||||
> stack {
|
||||
@@ -395,10 +418,25 @@ $nautilus_sidebar_image: image($dark_sidebar_bg);
|
||||
|
||||
// Reset maximized nautilus-window border-radius
|
||||
&.maximized, &.tiled, &.fullscreen {
|
||||
&.background.csd { border-radius: $maximized_radius_style; }
|
||||
notebook { &, > stack { border-radius: 0 0 $maximized_radius $maximized_radius; } }
|
||||
headerbar.titlebar { &, &.windowhandle { border-radius: $maximized_radius $maximized_radius 0 0; } }
|
||||
placessidebar { border-bottom-left-radius: $maximized_radius; }
|
||||
&.background.csd {
|
||||
border-radius: $maximized_radius_style;
|
||||
|
||||
&.unified { border-radius: $maximized_radius; }
|
||||
|
||||
&, &.unified {
|
||||
notebook { &, > stack { border-radius: 0 0 $maximized_radius $maximized_radius; } }
|
||||
|
||||
> headerbar.titlebar,
|
||||
> deck > box.vertical > headerbar.titlebar {
|
||||
&, &.windowhandle {
|
||||
border-top-left-radius: $maximized_radius;
|
||||
border-top-right-radius: $maximized_radius;
|
||||
}
|
||||
}
|
||||
|
||||
placessidebar { border-bottom-left-radius: $maximized_radius; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> grid.horizontal > paned.horizontal > separator,
|
||||
@@ -1956,6 +1994,8 @@ window.background.csd {
|
||||
window.background.csd.unified {
|
||||
border-top-left-radius: $wm_radius;
|
||||
border-top-right-radius: $wm_radius;
|
||||
border-bottom-left-radius: $wm_radius;
|
||||
border-bottom-right-radius: $wm_radius;
|
||||
|
||||
> deck > deck > deck {
|
||||
> box.vertical > headerbar.titlebar.windowhandle {
|
||||
@@ -1971,7 +2011,15 @@ window.background.csd.unified {
|
||||
}
|
||||
|
||||
&.maximized, &.tiled, &.fullscreen {
|
||||
border-radius: 0 0 $maximized_radius $maximized_radius;
|
||||
border-top-left-radius: $maximized_radius;
|
||||
border-top-right-radius: $maximized_radius;
|
||||
border-bottom-left-radius: $maximized_radius;
|
||||
border-bottom-right-radius: $maximized_radius;
|
||||
|
||||
> deck > box.vertical > headerbar.titlebar.windowhandle {
|
||||
border-top-left-radius: $maximized_radius;
|
||||
border-top-right-radius: $maximized_radius;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2375,6 +2423,32 @@ flowboxchild.bookmark-tag-widget {
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Seahorse
|
||||
//
|
||||
|
||||
window.background.csd {
|
||||
> leaflet.unfolded {
|
||||
> scrolledwindow > viewport.frame {
|
||||
> list { // left side
|
||||
background-color: $dark_sidebar_bg;
|
||||
border-bottom-left-radius: $wm_radius;
|
||||
|
||||
> row {
|
||||
@extend %sidebar_row;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> box.vertical > stack {
|
||||
background-color: $base_color;
|
||||
border-bottom-right-radius: $wm_radius;
|
||||
}
|
||||
|
||||
> box.vertical > searchbar { background-color: $base_color; }
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// documents-scrolledwi (Totem, Documents, EvView)
|
||||
//
|
||||
@@ -3037,7 +3111,6 @@ window#GearyMainWindow.background.csd {
|
||||
border-radius: $bt_radius;
|
||||
|
||||
treeview.view {
|
||||
border: none;
|
||||
background-image: none;
|
||||
|
||||
&:hover { background-color: rgba($fg_color, 0.1); }
|
||||
@@ -3152,7 +3225,6 @@ window#GearyMainWindow.background.csd {
|
||||
background-color: $base_color;
|
||||
|
||||
treeview.view {
|
||||
border: none;
|
||||
background-image: none;
|
||||
|
||||
&:hover { background-color: rgba($fg_color, 0.1); }
|
||||
@@ -3659,11 +3731,13 @@ widget > box.terminal-titlebar {
|
||||
list.tilix-session-sidebar {
|
||||
// use -image property instead
|
||||
background-image: image($dark_sidebar_bg);
|
||||
border-bottom-left-radius: $wm_radius;
|
||||
|
||||
button.tilix-sidebar-close-button {
|
||||
min-height: 20px;
|
||||
min-width: 20px;
|
||||
min-height: 28px;
|
||||
min-width: 28px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border-radius: 100px;
|
||||
// -gtk-outline-radius: 100px;
|
||||
background-color: $destructive_color;
|
||||
@@ -3676,6 +3750,8 @@ list.tilix-session-sidebar {
|
||||
}
|
||||
}
|
||||
|
||||
$tilix_bg: if($variant == 'light', #ffffff, #151515);
|
||||
|
||||
window.background.csd {
|
||||
> box.horizontal > stack {
|
||||
> box.vertical > notebook > stack {
|
||||
@@ -3683,6 +3759,26 @@ window.background.csd {
|
||||
}
|
||||
}
|
||||
|
||||
> overlay > notebook > stack > .tilix-background {
|
||||
background-color: $tilix_bg;
|
||||
border-radius: 0 0 $wm_radius $wm_radius;
|
||||
|
||||
> .tilix-background {
|
||||
background-color: $tilix_bg;
|
||||
border-radius: 0 0 $wm_radius $wm_radius;
|
||||
|
||||
.tilix-terminal-scrolledwindow {
|
||||
padding-bottom: $wm_radius;
|
||||
background-color: $tilix_bg;
|
||||
border-radius: 0 0 $wm_radius $wm_radius;
|
||||
|
||||
> vte-terminal {
|
||||
border-radius: 0 0 $wm_radius $wm_radius;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.maximized, &.tiled, &.fullscreen {
|
||||
> box.horizontal > stack {
|
||||
> box.vertical > notebook > stack {
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
+34
-125
@@ -1,13 +1,8 @@
|
||||
// based css:
|
||||
// https://github.com/budgie-desktop/budgie-desktop/tree/master/src/theme
|
||||
|
||||
/******************
|
||||
* Budgie Desktop *
|
||||
******************/
|
||||
// Container for both the "panel" area and the shadow. Wise to keep
|
||||
// this transparent..
|
||||
|
||||
// Raven
|
||||
$raven_base_color: if($variant =='light', #f5f5f5, #1b1b1b);
|
||||
$raven_bg_color: if($variant =='light', #dedede, #1f1f1f);
|
||||
$raven_fg_color: $text_color;
|
||||
@@ -84,7 +79,6 @@ $raven_padding: 8px;
|
||||
|
||||
button {
|
||||
border-radius: $bt_radius;
|
||||
// -gtk-outline-radius: $bt_radius;
|
||||
|
||||
@extend %budgie_button;
|
||||
}
|
||||
@@ -140,9 +134,11 @@ $raven_padding: 8px;
|
||||
&:disabled { color: $disabled_fg_color; }
|
||||
}
|
||||
|
||||
treeview.view.sidebar,
|
||||
scrolledwindow.sidebar:not(.categories) { //AppMenu (Elementary)
|
||||
// min-height: 36px;
|
||||
scrolledwindow.sidebar.categories { //AppMenu (budgie)
|
||||
border-bottom-left-radius: $wm_radius;
|
||||
}
|
||||
|
||||
treeview.view.sidebar {
|
||||
background: none;
|
||||
border-right: none;
|
||||
color: $fg_color;
|
||||
@@ -150,6 +146,18 @@ $raven_padding: 8px;
|
||||
label { padding: 3px 8px; }
|
||||
|
||||
&:hover { background-color: rgba($fg_color, 0.05); }
|
||||
}
|
||||
|
||||
scrolledwindow.sidebar:not(.categories) { //AppMenu (Elementary)
|
||||
background: none;
|
||||
border-right: none;
|
||||
color: $fg_color;
|
||||
|
||||
label { padding: 3px 8px; }
|
||||
|
||||
&:hover { background-color: rgba($fg_color, 0.05); }
|
||||
|
||||
&:active { background-color: rgba($fg_color, 0.1); }
|
||||
|
||||
&:selected, &:selected:hover {
|
||||
color: $selected_fg_color;
|
||||
@@ -163,6 +171,13 @@ $raven_padding: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&.bottom > frame.container > grid.horizontal > grid.horizontal {
|
||||
> widget > grid.horizontal > stack {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid $borders_color;
|
||||
}
|
||||
}
|
||||
|
||||
&.budgie-menu {
|
||||
.container { padding: 0; }
|
||||
}
|
||||
@@ -174,6 +189,8 @@ $raven_padding: 8px;
|
||||
|
||||
&.sound-popover {
|
||||
separator { margin: 3px 0; }
|
||||
|
||||
buttonbox.linked > button { border-radius: $bt_radius; }
|
||||
}
|
||||
|
||||
&.caffeine-popover {
|
||||
@@ -184,6 +201,10 @@ $raven_padding: 8px;
|
||||
.container { padding: 6px; }
|
||||
}
|
||||
|
||||
&.icon-popover {
|
||||
.container { padding: 6px; }
|
||||
}
|
||||
|
||||
&.places-menu {
|
||||
.container { padding: 6px; }
|
||||
|
||||
@@ -288,14 +309,12 @@ window.budgie-popover:not(.csd) {
|
||||
entry.search { background-color: transparent; }
|
||||
|
||||
entry.search {
|
||||
// margin: 6px 6px 0 6px;
|
||||
padding: 5px 10px;
|
||||
border: none;
|
||||
border-bottom: 1px solid $borders_color;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
font-size: 110%;
|
||||
// &:focus { @include entry(focus); }
|
||||
}
|
||||
|
||||
.categories {
|
||||
@@ -333,7 +352,6 @@ window.budgie-popover:not(.csd) {
|
||||
|
||||
// Menu Button
|
||||
button.budgie-menu-launcher {
|
||||
// padding: 0 2px;
|
||||
@extend %flat_button;
|
||||
}
|
||||
|
||||
@@ -360,11 +378,6 @@ button.raven-trigger {
|
||||
popover.background.places-menu {
|
||||
padding: 8px;
|
||||
|
||||
// FIXME: untested
|
||||
// .message-bar {
|
||||
// margin-bottom: 4px;
|
||||
// }
|
||||
|
||||
.name-button.text-button {
|
||||
// padding: 4px 8px;
|
||||
padding-left: 8px;
|
||||
@@ -376,11 +389,6 @@ popover.background.places-menu {
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: untested
|
||||
// .unmount-button {
|
||||
// padding: ($medium_size - 24px) / 2;
|
||||
// }
|
||||
|
||||
.places-section-header > image {
|
||||
&:dir(ltr) { margin: 0 8px - 10px 0 8px - 3px; }
|
||||
&:dir(rtl) { margin: 0 8px - 3px 0 8px - 10px; }
|
||||
@@ -406,7 +414,6 @@ popover.background.places-menu {
|
||||
background-color: $panel_bg;
|
||||
color: $panel_fg;
|
||||
font-weight: 500;
|
||||
// box-shadow: $panel_shadow;
|
||||
border-width: 0;
|
||||
|
||||
&.transparent {
|
||||
@@ -486,9 +493,6 @@ popover.background.places-menu {
|
||||
background-image: none;
|
||||
font-weight: normal;
|
||||
|
||||
// > window.background.popup > decoration,
|
||||
// > window.background.popup > menu { border-radius: 0 0 $wm_radius $wm_radius; }
|
||||
|
||||
&:hover { background-color: $selected_bg_color; }
|
||||
&:disabled { color: transparentize($panel_fg, 0.6); }
|
||||
|
||||
@@ -507,18 +511,12 @@ popover.background.places-menu {
|
||||
// used to indicate unread notifications
|
||||
.alert { color: $destructive_color; }
|
||||
|
||||
// End Section needs to be fancy
|
||||
// .end-region {
|
||||
// background-color: rgba(0,0,0,0.2);
|
||||
// }
|
||||
|
||||
&.vertical #tasklist-button { min-height: 32px; }
|
||||
|
||||
// Icon Tasklist
|
||||
button.flat.launcher {
|
||||
padding: 0;
|
||||
@extend %flat_button;
|
||||
@extend %underscores;
|
||||
|
||||
// for indicator colors
|
||||
&:not(:checked) {
|
||||
@@ -649,24 +647,12 @@ frame.raven-frame > border {
|
||||
$pos_list: ((top, bottom), (bottom, top), (left, right), (right, left));
|
||||
|
||||
@each $pos, $b_pos in $pos_list {
|
||||
// Panel borders
|
||||
// .#{$pos} .budgie-panel {
|
||||
// border-#{$b_pos}: 1px solid $panel_border_color;
|
||||
// }
|
||||
|
||||
// Raven borders
|
||||
// .#{$pos} frame.raven-frame > border {
|
||||
// margin-#{$b_pos}: 16px;
|
||||
// }
|
||||
|
||||
// Shadows
|
||||
.#{$pos} .shadow-block {
|
||||
background-image: linear-gradient(to $b_pos, rgba(black, 0.05) 0%, rgba(black, 0.03) 15%, rgba(black, 0.02) 60%, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
// .bottom .shadow-block { background-image: none; }
|
||||
|
||||
$raven_opacity: if($variant =='light', 0.85, 0.95);
|
||||
$raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px 0 rgba(black, 0.1);
|
||||
|
||||
@@ -676,14 +662,6 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
color: $raven_fg_color;
|
||||
box-shadow: $shadow_4;
|
||||
|
||||
// for >=10.4
|
||||
> box { margin-bottom: -10px; }
|
||||
|
||||
// for <10.4
|
||||
> stack { margin-bottom: -10px; }
|
||||
|
||||
// > stack > box:last-child > stack { margin-top: -6px; }
|
||||
|
||||
button {
|
||||
@extend %raven_button;
|
||||
&.image-button { @extend %circular_button; }
|
||||
@@ -708,7 +686,6 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
|
||||
&.image-button {
|
||||
border-radius: 100px;
|
||||
// -gtk-outline-radius: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -744,29 +721,12 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// for <10.4
|
||||
button.image-button {
|
||||
&:dir(ltr) { margin-right: 2px; }
|
||||
&:dir(rtl) { margin-left: 2px; }
|
||||
}
|
||||
|
||||
// for <10.4
|
||||
> image { margin: 0 8px; }
|
||||
|
||||
// for <10.4
|
||||
> label {
|
||||
margin: 0 -8px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
&.bottom { border-top: 1px solid $borders_color; }
|
||||
}
|
||||
|
||||
scrolledwindow > .frame { // stacking raised-grid
|
||||
// reserve L/R shadow region
|
||||
// FIXME: Do not set any L/R margins and borders
|
||||
padding: 0 $raven_padding;
|
||||
transition-duration: 0s;
|
||||
border: none;
|
||||
@@ -792,20 +752,11 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
}
|
||||
|
||||
> box.vertical > box.vertical:last-child {
|
||||
// FIXME: we can't crop album-art images horizontally with any borders,
|
||||
// paddings, and margins. And parent GtkBox does not sync to the size
|
||||
// of album-art dynamically while transitioning images. so set specific
|
||||
// depth-0 OSD materials for MPRIS.
|
||||
border-radius: $raven_radius;
|
||||
border: none;
|
||||
background-color: if($variant =='light', rgba(black, 0.65), rgba(black, 0.35));
|
||||
color: rgba(white, 0.65);
|
||||
|
||||
// .raven-header {
|
||||
// background-color: rgba(black, 0.65);
|
||||
// color: rgba(white, 0.75);
|
||||
// }
|
||||
|
||||
.raven-background {
|
||||
background-color: rgba(black, 0.25);
|
||||
margin-bottom: 0; // unset parent margin
|
||||
@@ -873,7 +824,6 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
|
||||
.expander-button {
|
||||
border-radius: 100px;
|
||||
// -gtk-outline-radius: 100px;
|
||||
}
|
||||
|
||||
.raven-background {
|
||||
@@ -886,36 +836,11 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
}
|
||||
}
|
||||
|
||||
// switch { }
|
||||
|
||||
list { color: $raven_fg_color; background-color: $raven_base_color; }
|
||||
|
||||
// for <10.4
|
||||
&.frame { border-style: solid none; border-width: 1px; border-color: $borders_color; }
|
||||
|
||||
> overlay > widget > image { color: rgba($raven_fg_color, 0.12); }
|
||||
|
||||
// for <10.4
|
||||
grid > label:first-child { min-height: 26px; } // workaround to fix vertical-align
|
||||
|
||||
// for <10.4
|
||||
spinbutton:not(.vertical) { @extend %flat_entry; }
|
||||
|
||||
// for <10.4
|
||||
// button.combo { }
|
||||
}
|
||||
|
||||
scrolledwindow.raven-background { border-bottom-style: none; }
|
||||
|
||||
// for <10.4
|
||||
.raven-header.top + .raven-background {
|
||||
border-style: none;
|
||||
background-color: $selected_bg_color;
|
||||
color: $selected_fg_color;
|
||||
|
||||
stackswitcher button { margin: -4px 0; }
|
||||
}
|
||||
|
||||
.powerstrip button.image-button {
|
||||
min-height: 28px;
|
||||
min-width: 28px;
|
||||
@@ -974,15 +899,11 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
min-width: 24px;
|
||||
image { padding: 0; }
|
||||
}
|
||||
|
||||
// box.horizontal > label:first-child { font-weight: 500; } // title labels
|
||||
}
|
||||
}
|
||||
|
||||
&:selected {
|
||||
background-color: rgba($selected_bg_color, 0.75);
|
||||
// &:dir(ltr) { box-shadow: inset 2px 0 $selected_bg_color; }
|
||||
// &:dir(rtl) { box-shadow: inset -2px 0 $selected_bg_color; }
|
||||
|
||||
> grid > *,
|
||||
> box.vertical * { color: $selected_fg_color; }
|
||||
@@ -1013,12 +934,6 @@ $raven_shadow: 0 0 3px 0 rgba(black, 0.2), 0 0 8px 0 rgba(black, 0.15), 0 0 16px
|
||||
}
|
||||
|
||||
.audio-widget {
|
||||
// scale.marks-after {
|
||||
// label { }
|
||||
// }
|
||||
|
||||
// button.flat.expander-button { }
|
||||
|
||||
list.devices-list.sound-devices {
|
||||
> row.activatable {
|
||||
&:selected, &:checked {
|
||||
@@ -1064,14 +979,12 @@ window.sound-popover.background {
|
||||
|
||||
// Calendar
|
||||
calendar.raven-calendar {
|
||||
margin: 2px 0;
|
||||
padding: 4px;
|
||||
border-style: none;
|
||||
background-color: transparent;
|
||||
color: $raven_fg_color;
|
||||
|
||||
&:selected {
|
||||
border-radius: 3px;
|
||||
border-radius: $bt_radius;
|
||||
background-color: $selected_bg_color;
|
||||
color: $selected_fg_color;
|
||||
}
|
||||
@@ -1141,8 +1054,6 @@ window.budgie-switcher-window {
|
||||
flowboxchild { // icon-tiles
|
||||
margin: 2px;
|
||||
border-radius: $wm_radius;
|
||||
// -gtk-outline-radius: $wm_radius;
|
||||
// background-color: transparent;
|
||||
background-image: none;
|
||||
}
|
||||
}
|
||||
@@ -1150,8 +1061,6 @@ window.budgie-switcher-window {
|
||||
// Internal part of the Switcher
|
||||
.budgie-switcher {
|
||||
@extend %budgie-notification;
|
||||
// background-color: transparent;
|
||||
// background-image: none;
|
||||
}
|
||||
|
||||
%drop-shadow, .drop-shadow {
|
||||
@@ -1175,7 +1084,9 @@ window.budgie-switcher-window {
|
||||
background-color: $bg_color;
|
||||
@if $variant == 'dark' { border: 1px solid lighten($menu_bg, 10%); }
|
||||
|
||||
&, &.background, decoration { border-radius: $wm_radius; }
|
||||
&.background.csd {
|
||||
border-radius: $wm_radius $wm_radius $wm_radius $wm_radius;
|
||||
}
|
||||
}
|
||||
|
||||
// Session Dialog
|
||||
@@ -1212,8 +1123,6 @@ window.budgie-switcher-window {
|
||||
|
||||
// PolKit Dialog
|
||||
.budgie-polkit-dialog {
|
||||
@extend %budgie_dialog;
|
||||
|
||||
.message { color: gtkalpha(currentColor, 0.6); }
|
||||
.failure { color: $destructive_color; }
|
||||
}
|
||||
|
||||
@@ -2,25 +2,29 @@
|
||||
|
||||
// Sass thinks we're using the colors in the variables as strings and may shoot
|
||||
// warning, it's innocuous and can be defeated by using "" + $var
|
||||
|
||||
$theme_text: currentColor;
|
||||
|
||||
@define-color theme_fg_color #{"" + $fg_color};
|
||||
@define-color theme_text_color #{"" + $text_color};
|
||||
@define-color theme_text_color #{"" + $theme_text};
|
||||
@define-color theme_bg_color #{"" + $bg_color};
|
||||
@define-color theme_base_color #{"" + $base_color};
|
||||
@define-color theme_selected_bg_color #{"" + $selected_bg_color};
|
||||
@define-color theme_selected_fg_color #{"" + $selected_fg_color};
|
||||
@define-color fg_color #{"" + $fg_color};
|
||||
@define-color text_color #{"" + $text_color};
|
||||
@define-color text_color #{"" + $theme_text};
|
||||
@define-color bg_color #{"" + $bg_color};
|
||||
@define-color base_color #{"" + $base_color};
|
||||
@define-color selected_bg_color #{"" + $selected_bg_color};
|
||||
@define-color selected_fg_color #{"" + $selected_fg_color};
|
||||
@define-color insensitive_bg_color #{"" + $disabled_fg_color};
|
||||
@define-color insensitive_fg_color alpha(#{"" + $disabled_fg_color}, 0.5);
|
||||
@define-color insensitive_bg_color #{"" + mix($bg_color, $base_color, 60%)};
|
||||
@define-color insensitive_fg_color #{"" + $disabled_fg_color};
|
||||
@define-color insensitive_base_color #{"" + $base_color};
|
||||
@define-color theme_unfocused_fg_color #{"" + $fg_color};
|
||||
@define-color theme_unfocused_text_color #{"" + $text_color};
|
||||
@define-color theme_unfocused_text_color #{"" + $theme_text};
|
||||
@define-color theme_unfocused_bg_color #{"" + $bg_color};
|
||||
@define-color theme_unfocused_base_color #{"" + $base_color};
|
||||
@define-color unfocused_insensitive_color #{"" + mix($fg_color, $bg_color, 35%)};
|
||||
@define-color borders #{"" + $borders_color};
|
||||
@define-color unfocused_borders #{"" + $borders_color};
|
||||
|
||||
@@ -76,11 +80,11 @@ $wm_bg_unfocused: opacify($header_bg_backdrop, 1);
|
||||
//
|
||||
|
||||
// unfocused window 'dot(s)'
|
||||
@define-color budgie_tasklist_indicator_color #{"" + $selected_bg_color};
|
||||
@define-color budgie_tasklist_indicator_color #{"" + $selected_fg_color};
|
||||
// focused window 'line'
|
||||
@define-color budgie_tasklist_indicator_color_active #{"" + $selected_bg_color};
|
||||
// group-ed and unfocused window 'line(s)'
|
||||
@define-color budgie_tasklist_indicator_color_active_window #{"" + mix($selected_bg_color, $panel_bg, 54%)};
|
||||
@define-color budgie_tasklist_indicator_color_active_window #{"" + mix($selected_fg_color, $panel_bg, 100%)};
|
||||
// attention 'dot'
|
||||
// FIXME: we can't fill whole widget backgrounds with our suggestion colour
|
||||
// because of lacking specific style-class on 'needs_attention' state,
|
||||
|
||||
@@ -96,14 +96,12 @@ $background_radius_style: 0 0 $wm_radius $wm_radius;
|
||||
$maximized_radius_style: 0 0 $maximized_radius $maximized_radius;
|
||||
|
||||
.background {
|
||||
// border-radius: 0 0 $wm_radius $wm_radius;
|
||||
color: $fg_color;
|
||||
background-color: rgba($bg_color, 1);
|
||||
|
||||
// > box > stack { background-color: $bg_color; }
|
||||
|
||||
&.csd {
|
||||
border-radius: $background_radius_style; // Set csd windows botttom border radius
|
||||
background-color: rgba($bg_color, 0.999);
|
||||
|
||||
&.maximized, &.tiled, &.fullscreen {
|
||||
border-radius: $maximized_radius_style; // Set csd windows botttom border radius
|
||||
@@ -638,7 +636,7 @@ button {
|
||||
}
|
||||
|
||||
&.text-button {
|
||||
min-height: 20px;
|
||||
min-height: 24px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
@@ -1138,6 +1136,8 @@ spinbutton {
|
||||
@extend %linked_vertical;
|
||||
}
|
||||
|
||||
entry:not(:focus):not(:drop(active)) { border-color: $dark_borders_color; }
|
||||
|
||||
button.up { border-radius: $bt_radius $bt_radius 0 0; }
|
||||
|
||||
> entry:focus + button { border-top-color: $entry_highlight; }
|
||||
@@ -1304,20 +1304,6 @@ combobox {
|
||||
&.left { border-width: 0 1px 0 0; }
|
||||
&.right { border-width: 0 0 0 1px; }
|
||||
}
|
||||
|
||||
// &:not(.inline-toolbar) {
|
||||
// switch,
|
||||
// scale,
|
||||
// entry,
|
||||
// spinbutton,
|
||||
// button {
|
||||
// margin-right: 1px;
|
||||
// margin-bottom: 1px;
|
||||
// }
|
||||
//
|
||||
// .linked > button,
|
||||
// .linked > entry { margin-right:0; }
|
||||
// }
|
||||
}
|
||||
|
||||
.primary-toolbar:not(.libreoffice-toolbar) { // LO messes up the toolbar styling, so exclude LO toolbars
|
||||
@@ -1511,6 +1497,7 @@ headerbar {
|
||||
border-radius: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
> button.popup {
|
||||
@@ -3183,7 +3170,47 @@ frame > border.flat,
|
||||
|
||||
scrolledwindow {
|
||||
viewport.frame { // avoid double borders when viewport inside scrolled window
|
||||
border-style: none;
|
||||
border: none;
|
||||
|
||||
.frame {
|
||||
border: none;
|
||||
|
||||
> textview {
|
||||
border-radius: $bt_radius;
|
||||
background: none;
|
||||
|
||||
> text {
|
||||
border-radius: $bt_radius;
|
||||
border: 1px solid $borders_color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> box.vertical list.content.view {
|
||||
border-top-left-radius: $wm_radius;
|
||||
border-top-right-radius: $wm_radius;
|
||||
}
|
||||
|
||||
> box.vertical list.frame {
|
||||
@extend %circular_list;
|
||||
padding: 0;
|
||||
|
||||
> row.activatable { @extend %circular_row; }
|
||||
|
||||
list {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
background: none;
|
||||
|
||||
> row.activatable {
|
||||
&, &:first-child, &:last-child {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// This is used by GtkScrolledWindow, when content is touch-dragged past boundaries.
|
||||
@@ -3232,9 +3259,16 @@ separator {
|
||||
list {
|
||||
background-color: $base_color;
|
||||
border-color: $borders_color;
|
||||
// border-radius: $wm_radius;
|
||||
|
||||
row { padding: 2px; }
|
||||
|
||||
&.content:not(.conversation-listbox) {
|
||||
@extend %circular_list;
|
||||
|
||||
> row {
|
||||
@extend %circular_row;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
%row_activatable {
|
||||
@@ -3289,13 +3323,13 @@ row {
|
||||
//
|
||||
.app-notification {
|
||||
padding: 8px;
|
||||
margin: 6px 16px 16px 16px;
|
||||
margin: 6px 20px 24px 20px;
|
||||
color: $fg_color;
|
||||
background-color: rgba($header_bg, 0.85);
|
||||
// background-image: linear-gradient(0deg, $bg_color 0%, $bg_color 85%, darken($bg_color, 5%) 95%, darken($bg_color, 15%) 100%);
|
||||
border-radius: $wm_radius;
|
||||
border: none;
|
||||
box-shadow: 0 5px 15px 0 rgba(black, 0.25),
|
||||
box-shadow: 0 3px 10px 0 rgba(black, 0.15),
|
||||
inset 0 0 0 1px rgba(white, 0.06),
|
||||
0 0 0 1px if($variant=='light', rgba(black, 0.12), rgba(black, 0.75));
|
||||
|
||||
|
||||
@@ -636,19 +636,19 @@ button {
|
||||
}
|
||||
|
||||
&.image-button {
|
||||
min-height: 22px;
|
||||
min-height: 24px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
&.text-button {
|
||||
min-height: 22px;
|
||||
min-height: 24px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
&.text-button.image-button {
|
||||
min-height: 22px;
|
||||
min-height: 24px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
|
||||
@@ -1084,11 +1084,11 @@ spinbutton {
|
||||
> button.up:dir(rtl):hover:not(:active),
|
||||
> text + button:not(:active):hover { box-shadow: none; }
|
||||
|
||||
> text:focus + button { border-left-color: $entry_highlight; }
|
||||
> text:focus-within + button { border-left-color: $entry_highlight; }
|
||||
> text:drop(active) + button { border-left-color: $drop_target_color; }
|
||||
|
||||
.osd & {
|
||||
&, &:focus, &:drop(active) { border-image: none; }
|
||||
&, &:focus-within, &:drop(active) { border-image: none; }
|
||||
> button:hover:not(:active),
|
||||
> button:hover + button { box-shadow: inset 1px 0 $osd_button_border; }
|
||||
|
||||
@@ -1096,7 +1096,7 @@ spinbutton {
|
||||
> button.up:dir(rtl):hover:not(:active),
|
||||
> text + button:not(:active):hover { box-shadow: none; }
|
||||
|
||||
> text:focus + button { border-left-color: $entry_highlight; }
|
||||
> text:focus-within + button { border-left-color: $entry_highlight; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1111,7 +1111,7 @@ spinbutton {
|
||||
|
||||
> button.up { border-radius: $bt_radius $bt_radius 0 0; }
|
||||
|
||||
> text:focus + button { border-top-color: $entry_highlight; }
|
||||
> text:focus-within + button { border-top-color: $entry_highlight; }
|
||||
> text:drop(active) + button { border-top-color: $drop_target_color; }
|
||||
}
|
||||
|
||||
@@ -1966,19 +1966,10 @@ treeview.view {
|
||||
color: $borders_color;
|
||||
}
|
||||
|
||||
&:drop(active) {
|
||||
border-style: solid none;
|
||||
border-width: 1px;
|
||||
border-color: mix($fg_color, $selected_bg_color, 50%);
|
||||
|
||||
&.after { border-top-style: none; }
|
||||
&.before { border-bottom-style: none; }
|
||||
}
|
||||
|
||||
> dndtarget:drop(active) {
|
||||
border-style: solid none;
|
||||
border-width: 1px;
|
||||
border-color: $selected_borders_color;
|
||||
border-color: mix($fg_color, $selected_bg_color, 50%);
|
||||
|
||||
&.after { border-top-style: none; }
|
||||
|
||||
@@ -2778,7 +2769,7 @@ radio {
|
||||
margin: 0 2px;
|
||||
|
||||
&:only-child,
|
||||
menu menuitem & { margin: 0; }
|
||||
popover.menu > contents & { margin: 0; }
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2816,7 +2807,6 @@ scale {
|
||||
$_scale_trough_bg: rgba(black, 0.2);
|
||||
|
||||
outline-offset: 2px;
|
||||
|
||||
border-radius: $bt_radius;
|
||||
background-color: $_scale_trough_bg;
|
||||
|
||||
@@ -2836,7 +2826,7 @@ scale {
|
||||
}
|
||||
|
||||
// Troughs in selected list-rows and infobars
|
||||
menuitem:hover &,
|
||||
modelbutton:hover &,
|
||||
row:selected &,
|
||||
infobar & {
|
||||
background-color: transparentize(black, 0.8);
|
||||
@@ -2898,7 +2888,7 @@ scale {
|
||||
}
|
||||
|
||||
// Selected list-row and infobar sliders
|
||||
menuitem:hover &,
|
||||
modelbutton:hover &,
|
||||
row:selected &,
|
||||
infobar & {
|
||||
background-clip: border-box;
|
||||
@@ -3103,8 +3093,8 @@ progressbar {
|
||||
}
|
||||
}
|
||||
|
||||
&.horizontal > trough > progress { margin: 0 -1px; } // the progress node is positioned after the trough border
|
||||
&.vertical > trough > progress { margin: -1px 0; } // this moves it over it.
|
||||
// &.horizontal > trough > progress { margin: 0 -1px; } // the progress node is positioned after the trough border
|
||||
// &.vertical > trough > progress { margin: -1px 0; } // this moves it over it.
|
||||
|
||||
&.osd {
|
||||
min-width: 3px;
|
||||
@@ -3514,10 +3504,7 @@ calendar {
|
||||
}
|
||||
|
||||
> label:focus {
|
||||
outline-color: $borders_color;
|
||||
outline-offset: -2px;
|
||||
outline-width: 2px;
|
||||
outline-style: solid;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
> label.day-number {
|
||||
@@ -4003,7 +3990,7 @@ infobar {
|
||||
background-color: $selected_fg_color;
|
||||
}
|
||||
|
||||
*:link { @extend %link_selected; }
|
||||
link { @extend %link_selected; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -67,7 +67,7 @@ while [[ $# -gt 0 ]]; do
|
||||
edit_firefox="true" ;;
|
||||
esac
|
||||
|
||||
if [[ ! "$(which firefox 2> /dev/null)" ]]; then
|
||||
if ! has_command firefox; then
|
||||
prompt -e "'${1}' ERROR: There's no Firefox installed in your system"
|
||||
has_any_error="true"
|
||||
elif [[ ! -d "${FIREFOX_DIR_HOME}" ]]; then
|
||||
@@ -81,21 +81,21 @@ while [[ $# -gt 0 ]]; do
|
||||
-F|--flatpak)
|
||||
flatpak="true";
|
||||
|
||||
if [[ ! "$(which flatpak 2> /dev/null)" ]]; then
|
||||
if ! has_command flatpak; then
|
||||
prompt -e "'${1}' ERROR: There's no Flatpak installed in your system"
|
||||
has_any_error="true"
|
||||
fi; shift ;;
|
||||
-s|--snap)
|
||||
snap="true";
|
||||
|
||||
if [[ ! "$(which snap 2> /dev/null)" ]]; then
|
||||
if ! has_command snap; then
|
||||
prompt -e "'${1}' ERROR: There's no Snap installed in your system"
|
||||
has_any_error="true"
|
||||
fi; shift ;;
|
||||
-g|--gdm)
|
||||
gdm="true"; full_rootify "${1}"
|
||||
|
||||
if [[ ! "$(which gdm 2> /dev/null)" && ! "$(which gdm3 2> /dev/null)" ]]; then
|
||||
if ! has_command gdm && ! has_command gdm3; then
|
||||
prompt -e "'${1}' ERROR: There's no GDM installed in your system"
|
||||
has_any_error="true"
|
||||
fi; shift ;;
|
||||
@@ -214,6 +214,7 @@ fi
|
||||
|
||||
if [[ "${firefox}" == "false" && "${edit_firefox}" == "false" && "${flatpak}" == "false" && "${snap}" == "false" && "${gdm}" == "false" && "${dash_to_dock}" == "false" ]]; then
|
||||
echo; prompt -e "Oops... there's nothing to tweaks..."
|
||||
echo; prompt -i "Run ./tweaks.sh -h for help!..."
|
||||
fi
|
||||
|
||||
echo
|
||||
Reference in new issue
Block a user