This commit is contained in:
Vince 2021-05-14 16:19:14 +08:00
parent 608c4e381b
commit ba126d2ade
4 changed files with 23 additions and 9 deletions

View file

@ -135,6 +135,8 @@ else
echo; install_themes; echo; prompt -s "Done!"
rm -rf "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss"
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}"

View file

@ -173,8 +173,8 @@ install_darky() {
local opacity="$(destify ${1})"
local theme="$(destify ${2})"
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-3.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-3.css"
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-4.css"
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-3.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-3.css"
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-4.css"
}
install_xfwmy() {
@ -551,7 +551,6 @@ disconnect_snap() {
#########################################################################
gtk_base() {
# rm -rf "${THEME_SRC_DIR}/sass/_gtk-base-temp.scss"
cp -rf "${THEME_SRC_DIR}/sass/_gtk-base"{".scss","-temp.scss"}
# Theme base options

View file

@ -126,12 +126,17 @@ tab[selected]:-moz-window-inactive {
margin-left: auto !important;
}
/* Force tab favicon to the center */
.tabbrowser-tab:not([class*="identity-color-"]) .tab-icon-stack {
margin-left: auto !important;
}
/* If tab close button is not present, don't force favicon to the center */
#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"]) .tab-icon-stackr {
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-icon-stack {
margin-left: 0 !important;
}

View file

@ -15,6 +15,12 @@ $app_icon_size: 96px;
.app-folder-dialog {
background-color: rgba(#262626, 0.9);
.page-navigation-hint { width: 80px; }
.page-navigation-arrow {
margin: $container_padding * 3;
}
}
.apps-scroll-view {
@ -30,23 +36,25 @@ $app_icon_size: 96px;
&.next:ltr,
&.previous:rtl {
background-gradient-start: rgba(255, 255, 255, 0.05);
background-gradient-start: $light_divider_color;
background-gradient-end: transparent;
background-gradient-direction: horizontal;
border-radius: 15px 0px 0px 15px;
border-radius: $modal_radius 0px 0px $modal_radius;
}
&.previous:ltr,
&.next:rtl {
background-gradient-start: transparent;
background-gradient-end: rgba(255, 255, 255, 0.05);
background-gradient-end: $light_divider_color;
background-gradient-direction: horizontal;
border-radius: 0px 15px 15px 0px;
border-radius: 0px $modal_radius $modal_radius 0px;
}
}
.page-navigation-arrow {
margin: 6px;
margin: $container_padding;
width: 24px;
height: 24px;
color: $light_alt_fg_color;
icon-size: 24px;
}