Fixed #212
This commit is contained in:
parent
4df9eb0f82
commit
c61b84109e
7 changed files with 17 additions and 10 deletions
|
@ -645,7 +645,7 @@ sudo() {
|
|||
prompt -w "Executing '$(echo "${@}" | cut -c -35 )...' as root"
|
||||
|
||||
if ! ${SUDO_BIN} -n true &> /dev/null; then
|
||||
echo -e "${c_magenta} Authentication is required:${c_default}"
|
||||
echo -e "${c_magenta} Authentication is required${c_default} ${c_green}(Please input your password):${c_default}"
|
||||
fi
|
||||
|
||||
if [[ -p /dev/stdin ]]; then
|
||||
|
@ -665,7 +665,7 @@ udo() {
|
|||
# Just in case. We put the prompt here to make it less annoying
|
||||
if ! ${SUDO_BIN} -u "${MY_USERNAME}" -n true &> /dev/null; then
|
||||
prompt -w "Executing '$(echo "${@}" | cut -c -35 )...' as user"
|
||||
echo -e "${c_magenta} Authentication is required:${c_default}"
|
||||
echo -e "${c_magenta} Authentication is required${c_default} ${c_green}(Please input your password):${c_default}"
|
||||
fi
|
||||
|
||||
if [[ -p /dev/stdin ]]; then
|
||||
|
|
|
@ -185,7 +185,7 @@ install_theme_deps() {
|
|||
install_beggy_deps() {
|
||||
if ! has_command convert; then
|
||||
prompt -w "DEPS: 'imagemagick' is required for background editing."
|
||||
prepare_deps
|
||||
prepare_deps; stop_animation
|
||||
|
||||
if has_command zypper; then
|
||||
sudo zypper in -y ImageMagick
|
||||
|
@ -266,9 +266,8 @@ install_beggy() {
|
|||
;;
|
||||
*)
|
||||
if [[ "${no_blur}" == "false" || "${darken}" == "true" ]]; then
|
||||
install_beggy_deps; start_animation
|
||||
install_beggy_deps
|
||||
convert "${background}" ${CONVERT_OPT} "${WHITESUR_TMP_DIR}/beggy.png"
|
||||
stop_animation
|
||||
else
|
||||
cp -r "${background}" "${WHITESUR_TMP_DIR}/beggy.png"
|
||||
fi
|
||||
|
|
|
@ -98,6 +98,7 @@
|
|||
transition: box-shadow 200ms;
|
||||
}
|
||||
|
||||
:root:-moz-window-inactive #nav-bar #searchbar,
|
||||
:root:-moz-window-inactive #urlbar #urlbar-input-container {
|
||||
background: var(--gnome-inactive-urlbar-background) !important;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
--gnome-urlbar-box-shadow: inset 0 0 0 1px rgba(21, 83, 158, 0);
|
||||
--gnome-urlbar-color: #ffffff;
|
||||
--gnome-hover-urlbar-border-color: #585858;
|
||||
--gnome-inactive-urlbar-background: #313131;
|
||||
--gnome-inactive-urlbar-background: #383838;
|
||||
--gnome-inactive-urlbar-border-color: #282828;
|
||||
--gnome-inactive-urlbar-box-shadow: none;
|
||||
--gnome-inactive-urlbar-color: #d6d6d6;
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
--gnome-urlbar-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.08), 0 5px 8px rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.03);
|
||||
--gnome-urlbar-color: #020202;
|
||||
--gnome-hover-urlbar-border-color: #e5e5e5;
|
||||
--gnome-inactive-urlbar-background: linear-gradient(#fcfcfc, #fcfcfc);
|
||||
--gnome-inactive-urlbar-background: #f0f0f0;
|
||||
--gnome-inactive-urlbar-border-color: #dadada;
|
||||
--gnome-inactive-urlbar-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
|
||||
--gnome-inactive-urlbar-color: #323232;
|
||||
|
|
|
@ -36,6 +36,10 @@
|
|||
--toolbarbutton-inner-padding: 0 !important;
|
||||
}
|
||||
|
||||
:root:-moz-window-inactive #nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton) {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
/* Hover headerbar buttons */
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton):not([open]):not([disabled]):not([checked]):hover {
|
||||
outline: 0 !important;
|
||||
|
@ -92,6 +96,11 @@
|
|||
transition: box-shadow 200ms;
|
||||
}
|
||||
|
||||
:root:-moz-window-inactive #nav-bar #searchbar,
|
||||
:root:-moz-window-inactive #urlbar #urlbar-input-container {
|
||||
background: var(--gnome-inactive-urlbar-background) !important;
|
||||
}
|
||||
|
||||
#nav-bar #searchbar:hover,
|
||||
#urlbar #urlbar-input-container:hover {
|
||||
box-shadow: inset 0 0 0 1px var(--gnome-hover-urlbar-border-color) !important;
|
||||
|
|
|
@ -78,10 +78,8 @@ tab > stack {
|
|||
/* Tab labels */
|
||||
tab {
|
||||
color: var(--gnome-tabbar-tab-color) !important;
|
||||
font-family: Cantarell, inherit;
|
||||
font-weight: bold;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
tab:hover {
|
||||
color: var(--gnome-tabbar-tab-hover-color) !important;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue