mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-09-16 05:18:38 -07:00
Merge branch 'main' of github.com:vinceliuice/Colloid-gtk-theme into main
This commit is contained in:
34
install.sh
34
install.sh
@@ -405,42 +405,42 @@ install_package() {
|
||||
}
|
||||
|
||||
tweaks_temp() {
|
||||
cp -rf ${SRC_DIR}/sass/_tweaks.scss ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
cp -rf "${SRC_DIR}/sass/_tweaks.scss" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
}
|
||||
|
||||
compact_size() {
|
||||
sed -i "/\$compact:/s/false/true/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\$compact:/s/false/true/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
}
|
||||
|
||||
nord_color() {
|
||||
sed -i "/\@import/s/color-palette-default/color-palette-nord/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\$colorscheme:/s/default/nord/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\@import/s/color-palette-default/color-palette-nord/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
sed -i "/\$colorscheme:/s/default/nord/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
}
|
||||
|
||||
dracula_color() {
|
||||
sed -i "/\@import/s/color-palette-default/color-palette-dracula/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\$colorscheme:/s/default/dracula/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\@import/s/color-palette-default/color-palette-dracula/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
sed -i "/\$colorscheme:/s/default/dracula/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
}
|
||||
|
||||
blackness_color() {
|
||||
sed -i "/\$blackness:/s/false/true/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\$blackness:/s/false/true/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
}
|
||||
|
||||
border_rimless() {
|
||||
sed -i "/\$rimless:/s/false/true/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\$rimless:/s/false/true/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
}
|
||||
|
||||
normal_winbutton() {
|
||||
sed -i "/\$window_button:/s/mac/normal/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\$window_button:/s/mac/normal/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
}
|
||||
|
||||
gnome_shell_version() {
|
||||
cp -rf ${SRC_DIR}/sass/gnome-shell/_common.scss ${SRC_DIR}/sass/gnome-shell/_common-temp.scss
|
||||
cp -rf "${SRC_DIR}/sass/gnome-shell/_common.scss" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
|
||||
|
||||
sed -i "/\widgets/s/40-0/${GS_VERSION}/" ${SRC_DIR}/sass/gnome-shell/_common-temp.scss
|
||||
sed -i "/\widgets/s/40-0/${GS_VERSION}/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
|
||||
|
||||
if [[ "${GS_VERSION}" == '3-28' ]]; then
|
||||
sed -i "/\extensions/s/40-0/${GS_VERSION}/" ${SRC_DIR}/sass/gnome-shell/_common-temp.scss
|
||||
sed -i "/\extensions/s/40-0/${GS_VERSION}/" "${SRC_DIR}/sass/gnome-shell/_common-temp.scss"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -473,7 +473,7 @@ theme_color() {
|
||||
;;
|
||||
esac
|
||||
tweaks_temp
|
||||
sed -i "/\$theme:/s/default/${theme_color}/" ${SRC_DIR}/sass/_tweaks-temp.scss
|
||||
sed -i "/\$theme:/s/default/${theme_color}/" "${SRC_DIR}/sass/_tweaks-temp.scss"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -535,7 +535,7 @@ link_theme() {
|
||||
for theme in "${themes[@]}"; do
|
||||
for color in "${lcolors[@]}"; do
|
||||
for size in "${sizes[@]}"; do
|
||||
link_libadwaita "${dest:-$DEST_DIR}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype"
|
||||
link_libadwaita "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype"
|
||||
done
|
||||
done
|
||||
done
|
||||
@@ -578,8 +578,8 @@ install_theme() {
|
||||
for theme in "${themes[@]}"; do
|
||||
for color in "${colors[@]}"; do
|
||||
for size in "${sizes[@]}"; do
|
||||
install "${dest:-$DEST_DIR}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype" "$window"
|
||||
make_gtkrc "${dest:-$DEST_DIR}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype" "$window"
|
||||
install "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype" "$window"
|
||||
make_gtkrc "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype" "$window"
|
||||
done
|
||||
done
|
||||
done
|
||||
@@ -609,7 +609,7 @@ uninstall_theme() {
|
||||
for theme in "${themes[@]}"; do
|
||||
for color in "${colors[@]}"; do
|
||||
for size in "${sizes[@]}"; do
|
||||
uninstall "${dest:-$DEST_DIR}" "${_name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype"
|
||||
uninstall "${dest:-$DEST_DIR}" "${name:-$THEME_NAME}" "$theme" "$color" "$size" "$ctype"
|
||||
done
|
||||
done
|
||||
done
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
/* Buttons */
|
||||
menulist,
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton),
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button),
|
||||
.subviewbutton.panel-subview-footer,
|
||||
.panel-footer button,
|
||||
#downloadsPanel-mainView .download-state .downloadButton,
|
||||
@@ -59,7 +59,7 @@ button.close,
|
||||
}
|
||||
|
||||
/* Flat Buttons */
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton),
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button),
|
||||
.close-icon:not(.tab-close-button),
|
||||
button.close,
|
||||
#protections-popup-info-button,
|
||||
@@ -68,7 +68,7 @@ button.close,
|
||||
}
|
||||
|
||||
/* Buttons with margins */
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton),
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button),
|
||||
.notification-button,
|
||||
.subviewbutton.panel-subview-footer:not(:only-of-type),
|
||||
.panel-footer button:not(:only-of-type) {
|
||||
@@ -166,7 +166,7 @@ menulist:hover .menulist-label-box,
|
||||
}
|
||||
|
||||
/* Hover flat buttons */
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton):not([open]):not([disabled="true"]):not([checked]):hover,
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not([open]):not([disabled="true"]):not([checked]):hover,
|
||||
.close-icon:not(.tab-close-button):hover,
|
||||
button.close:hover,
|
||||
#protections-popup-info-button:hover,
|
||||
@@ -199,12 +199,13 @@ menulist[open] .menulist-label-box,
|
||||
.dialog-button-box button:not([disabled="true"]):active,
|
||||
#editBMPanel_newFolderButton:active {
|
||||
background: var(--gnome-button-active-background) !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Active flat buttons */
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton):not([disabled="true"]):not(#hack):active,
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton):not(.subviewbutton):not([disabled="true"])[open],
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton):not([disabled="true"])[checked],
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not([disabled="true"]):not(#hack):active,
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not([disabled="true"])[open],
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not([disabled="true"])[checked],
|
||||
.close-icon:not(.tab-close-button):active,
|
||||
button.close:active,
|
||||
#protections-popup-info-button:not(#hack):active,
|
||||
@@ -212,6 +213,7 @@ button.close:active,
|
||||
.permission-popup-permission-remove-button:active,
|
||||
#item-choose button:active {
|
||||
background: var(--gnome-button-flat-active-background) !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Disabled buttons */
|
||||
@@ -223,7 +225,7 @@ button.close:active,
|
||||
}
|
||||
|
||||
/* Inactive window buttons */
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton):-moz-window-inactive,
|
||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):-moz-window-inactive,
|
||||
.findbar-container toolbarbutton:-moz-window-inactive,
|
||||
#sidebar-switcher-target:-moz-window-inactive,
|
||||
#viewButton:-moz-window-inactive,
|
||||
@@ -240,7 +242,7 @@ button.close:active,
|
||||
}
|
||||
|
||||
/* Combined buttons */
|
||||
#nav-bar .toolbaritem-combined-buttons toolbarbutton:not(:last-of-type):not(#hack),
|
||||
#nav-bar .toolbaritem-combined-buttons:not(.unified-extensions-item) toolbarbutton:not(:last-of-type):not(#hack),
|
||||
#appMenu-popup .toolbaritem-combined-buttons toolbarbutton:not(:last-of-type):not(#appMenu-zoomEnlarge-button),
|
||||
#context-navigation menuitem:not(:last-of-type),
|
||||
.findbar-container toolbarbutton.findbar-find-previous,
|
||||
@@ -252,7 +254,7 @@ button.close:active,
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
#nav-bar .toolbaritem-combined-buttons toolbarbutton:not(:first-of-type):not(#hack),
|
||||
#nav-bar .toolbaritem-combined-buttons:not(.unified-extensions-item) toolbarbutton:not(:first-of-type):not(#hack),
|
||||
#appMenu-popup .toolbaritem-combined-buttons toolbarbutton:not(:first-of-type):not(#appMenu-fullscreen-button),
|
||||
#context-navigation menuitem:not(:first-of-type),
|
||||
.findbar-container toolbarbutton.findbar-find-previous,
|
||||
|
@@ -8,15 +8,19 @@ window {
|
||||
|
||||
/* Browser dialog prompts center */
|
||||
.dialogOverlay {
|
||||
display: grid;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
justify-content: center;
|
||||
grid-auto-rows: min(90%, var(--doc-height-px));
|
||||
}
|
||||
.dialogOverlay[topmost="true"], #window-modal-dialog::backdrop {
|
||||
.dialogOverlay[topmost="true"]:not(.dialogOverlay-window-modal-dialog-subdialog), #window-modal-dialog::backdrop {
|
||||
background-color: rgba(0, 0, 0, .5) !important;
|
||||
}
|
||||
|
||||
#window-modal-dialog {
|
||||
margin-top: auto !important;
|
||||
}
|
||||
|
||||
/* Dialog */
|
||||
.dialogBox {
|
||||
border-radius: 12px !important;
|
||||
@@ -36,8 +40,11 @@ dialog {
|
||||
/* Content */
|
||||
.dialog-content-box {
|
||||
padding: 24px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#titleContainer {
|
||||
padding: 6px !important;
|
||||
margin-top: 6px !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
.titleIcon {
|
||||
@@ -46,27 +53,33 @@ dialog {
|
||||
|
||||
/* Buttons */
|
||||
.dialog-button-box {
|
||||
padding: 3px;
|
||||
display: flex !important;
|
||||
border-top: 1px solid var(--gnome-toolbar-border-color) !important;
|
||||
}
|
||||
|
||||
.dialog-button-box button:not(#hack) {
|
||||
height: auto !important;
|
||||
max-height: unset !important;
|
||||
padding: 10px 14px !important;
|
||||
margin: 0 !important;
|
||||
border-radius: 0 !important;
|
||||
margin: 3px !important;
|
||||
border-radius: 6px !important;
|
||||
flex: 1;
|
||||
border-bottom: 0 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
/*.dialog-button-box button:not(:last-of-type) {*/
|
||||
/* border-right: 1px solid var(--gnome-toolbar-border-color) !important;*/
|
||||
/*}*/
|
||||
|
||||
/* Buttons borders - only suppor for cancel/ok */
|
||||
.dialog-button-box button[dlgtype="accept"] {
|
||||
border-right: 0 !important;
|
||||
border-left: 0 !important;
|
||||
}
|
||||
.dialog-button-box button[dlgtype="cancel"]:not(#hack) {
|
||||
border-left: 0 !important;
|
||||
}
|
||||
/*.dialog-button-box button[dlgtype="accept"] {*/
|
||||
/* border-right: 0 !important;*/
|
||||
/* border-left: 0 !important;*/
|
||||
/*}*/
|
||||
/*.dialog-button-box button[dlgtype="cancel"]:not(#hack) {*/
|
||||
/* border-left: 0 !important;*/
|
||||
/*}*/
|
||||
|
||||
/* Hadler dialog */
|
||||
#os-default-handler image {
|
||||
|
@@ -20,6 +20,7 @@ findbar label, findbar description {
|
||||
flex-direction: row;
|
||||
margin: 0 !important;
|
||||
width: calc(100% - 42px);
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
hbox[anonid="findbar-textbox-wrapper"] {
|
||||
|
@@ -229,14 +229,36 @@ menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
|
||||
background: var(--gnome-menu-button-hover-background) !important;
|
||||
}
|
||||
|
||||
/* Menu buttons active */
|
||||
menuitem:not([disabled="true"]):is(:active, [_moz-menuactive]),
|
||||
menupopup menu:not([disabled="true"]):is(:active, [_moz-menuactive]),
|
||||
.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):active,
|
||||
.protections-popup-footer-button:not([disabled="true"]):active,
|
||||
#protections-popup-show-report-stack:active .protections-popup-footer-button,
|
||||
.protections-popup-category:not([disabled="true"]):active,
|
||||
.identity-popup-content-blocking-category:not([disabled="true"]):active,
|
||||
#PlacesToolbar .bookmark-item:active,
|
||||
#downloadsPanel-mainView .download-state:active {
|
||||
background: var(--gnome-button-flat-active-background) !important;
|
||||
box-shadow: none !important;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Menu buttons fix */
|
||||
#appMenu-fxa-label2 {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
#appMenu-fxa-label2:hover {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
#appMenu-fxa-label2:active {
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Menu buttons back */
|
||||
.subviewbutton-back {
|
||||
opacity: 1 !important;
|
||||
|
@@ -45,7 +45,8 @@
|
||||
padding: $base_padding * 3;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
background-color: transparent !important;
|
||||
background-image: none !important;
|
||||
text-shadow: none;
|
||||
color: on(black, secondary);
|
||||
}
|
||||
|
@@ -147,3 +147,78 @@
|
||||
.pop-shell-tab-urgent {
|
||||
background: $error;
|
||||
}
|
||||
|
||||
//
|
||||
// Blur my shell
|
||||
//
|
||||
|
||||
#panel.light-panel,
|
||||
#panel.dark-panel,
|
||||
#panel.transparent-panel {
|
||||
.panel-button {
|
||||
color: on(dark, secondary) !important;
|
||||
|
||||
&.clock-display {
|
||||
.clock {
|
||||
color: on(dark, secondary) !important;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: on(dark, secondary) !important;
|
||||
background-color: on(dark, divider) !important;
|
||||
|
||||
&.clock-display {
|
||||
.clock {
|
||||
background-color: on(dark, divider) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:active, &:checked, &:focus {
|
||||
color: on(dark) !important;
|
||||
background-color: on(dark, track) !important;
|
||||
|
||||
&.clock-display {
|
||||
.clock {
|
||||
background-color: on(dark, track) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover, &:active, &:overview, &:focus, &:checked {
|
||||
&.clock-display {
|
||||
background-color: transparent !important;
|
||||
|
||||
.clock {
|
||||
color: on(dark) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.overview-components-transparent,
|
||||
.overview-components-light,
|
||||
.overview-components-dark {
|
||||
.search-entry {
|
||||
caret-color: on(dark) !important;
|
||||
|
||||
.search-entry-icon {
|
||||
color: on(dark, secondary) !important;
|
||||
}
|
||||
|
||||
StLabel.hint-text {
|
||||
color: on(dark, track) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.search-section-content {
|
||||
border-radius: $icon_radius;
|
||||
}
|
||||
|
||||
.search-section-separator {
|
||||
height: 0 !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
@@ -1160,13 +1160,19 @@ $weather_forecast_color: #ae7b03;
|
||||
.forecast-card {
|
||||
transition: border-radius 100ms ease-out;
|
||||
border-radius: $corner-radius;
|
||||
border-width: 1px 0;
|
||||
}
|
||||
|
||||
.forecast-card separator {
|
||||
background-color: $border;
|
||||
}
|
||||
|
||||
#daily-forecast-box {
|
||||
> separator:last-child {
|
||||
background-color: transparent;
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#conditions-grid,
|
||||
#attributionGrid {
|
||||
margin-left: $space-size * 3;
|
||||
@@ -1177,6 +1183,7 @@ $weather_forecast_color: #ae7b03;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
border-radius: 0;
|
||||
border-width: 1px 0;
|
||||
}
|
||||
|
||||
.forecast-temperature-label {
|
||||
|
Reference in New Issue
Block a user