pull/276/head
vinceliuice 3 years ago
parent d73063bf57
commit 930c75e360

@ -187,9 +187,8 @@ clean() {
}
uninstall_link() {
[[ -L "${HOME}/.config/gtk-4.0/assets" ]] && rm -rf "${HOME}/.config/gtk-4.0/assets" && echo -e "Removing ${HOME}/.config/gtk-4.0/assets"
[[ -L "${HOME}/.config/gtk-4.0/gtk.css" ]] && rm -rf "${HOME}/.config/gtk-4.0/gtk.css" && echo -e "Removing ${HOME}/.config/gtk-4.0/gtk.css"
[[ -L "${HOME}/.config/gtk-4.0/gtk-dark.css" ]] && rm -rf "${HOME}/.config/gtk-4.0/gtk-dark.css" && echo -e "Removing ${HOME}/.config/gtk-4.0/gtk-dark.css"
rm -rf "${HOME}/.config/gtk-4.0/"{assets,gtk.css,gtk-dark.css}
echo -e "\nRemoving ${HOME}/.config/gtk-4.0 links..."
}
link_libadwaita() {

@ -1116,7 +1116,7 @@ headerbar {
margin: 0;
border-radius: $window-radius $window-radius 0 0;
@if $variant == 'light' and $topbar == 'dark' {
@if $topbar == 'dark' {
background-color: transparent;
} @else {
background-color: $titlebar;
@ -1127,7 +1127,7 @@ headerbar {
&:backdrop {
color: $titlebar-text-secondary;
@if $variant == 'light' and $topbar == 'dark' {
@if $topbar == 'dark' {
background-color: transparent;
} @else {
background-color: $titlebar-backdrop;
@ -1342,6 +1342,8 @@ headerbar {
&.default-decoration {
min-height: $small-size;
padding: $space-size;
background-image: none;
background-color: $titlebar;
box-shadow: inset 0 -1px $divider, inset 0 1px highlight($titlebar);
windowcontrols {
@ -4023,7 +4025,7 @@ window {
&.tiled-left { border-radius: 0; }
}
@if $variant == 'light' and $topbar == 'dark' {
@if $topbar == 'dark' {
&.background {
background-color: transparent;
background-image: linear-gradient(to bottom,

@ -350,14 +350,6 @@ window.dialog {
}
}
window.background {
> contents > leaflet {
stack.background {
background-color: transparent;
}
}
}
//
// Calculator
//

@ -715,16 +715,28 @@ tabbox:drop(active) {
leaflet {
border-radius: $window-radius;
box-shadow: inset 0 1px highlight($titlebar);
&, &:backdrop {
box-shadow: inset 0 1px highlight($titlebar);
}
leaflet { // reset
border-radius: 0;
outline: none;
box-shadow: none;
&, &:backdrop {
box-shadow: none;
}
}
headerbar {
border-radius: 0;
box-shadow: inset 0 -1px $divider;
}
leaflet {
border-radius: 0;
outline: none;
stack.background {
background-color: transparent;
}
> box > scrolledwindow > viewport > widget > stack {

@ -2,7 +2,7 @@
//.the popover itself
.popup-menu-boxpointer {
// -arrow-border-radius: $popup_radius;
-arrow-border-radius: $container_padding;
-arrow-background-color: transparent;
-arrow-border-width: 0;
-arrow-border-color: transparent;
@ -23,7 +23,7 @@
.popup-menu-content {
padding: $container_padding;
margin: 0 6px 14px;
margin: 0 3px 14px;
background-color: $menu_bg_color;
border-radius: $popup_radius;
border: none;

@ -7,6 +7,7 @@ StScrollView {
StScrollBar {
padding: 0;
margin: 6px;
StScrollView & {
min-width: 8px;

@ -376,6 +376,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {

@ -376,6 +376,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {

@ -376,6 +376,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {

@ -376,6 +376,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {

@ -430,6 +430,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {
@ -491,6 +492,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
/* Popovers/Menus */
.popup-menu-boxpointer {
-arrow-border-radius: 4px;
-arrow-background-color: transparent;
-arrow-border-width: 0;
-arrow-border-color: transparent;
@ -511,7 +513,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
.popup-menu .popup-menu-content {
padding: 4px;
margin: 0 6px 14px;
margin: 0 3px 14px;
background-color: rgba(255, 255, 255, 0.97);
border-radius: 18px;
border: none;

@ -430,6 +430,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {
@ -491,6 +492,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
/* Popovers/Menus */
.popup-menu-boxpointer {
-arrow-border-radius: 4px;
-arrow-background-color: transparent;
-arrow-border-width: 0;
-arrow-border-color: transparent;
@ -511,7 +513,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
.popup-menu .popup-menu-content {
padding: 4px;
margin: 0 6px 14px;
margin: 0 3px 14px;
background-color: rgba(32, 32, 32, 0.97);
border-radius: 18px;
border: none;

@ -430,6 +430,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {
@ -491,6 +492,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
/* Popovers/Menus */
.popup-menu-boxpointer {
-arrow-border-radius: 6px;
-arrow-background-color: transparent;
-arrow-border-width: 0;
-arrow-border-color: transparent;
@ -511,7 +513,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
.popup-menu .popup-menu-content {
padding: 6px;
margin: 0 6px 14px;
margin: 0 3px 14px;
background-color: rgba(32, 32, 32, 0.97);
border-radius: 20px;
border: none;

@ -430,6 +430,7 @@ StScrollView.hfade {
StScrollBar {
padding: 0;
margin: 6px;
}
StScrollView StScrollBar {
@ -491,6 +492,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
/* Popovers/Menus */
.popup-menu-boxpointer {
-arrow-border-radius: 6px;
-arrow-background-color: transparent;
-arrow-border-width: 0;
-arrow-border-color: transparent;
@ -511,7 +513,7 @@ StScrollBar StButton#vhandle:active, StScrollBar StButton#hhandle:active {
.popup-menu .popup-menu-content {
padding: 6px;
margin: 0 6px 14px;
margin: 0 3px 14px;
background-color: rgba(255, 255, 255, 0.97);
border-radius: 20px;
border: none;

@ -1719,6 +1719,8 @@ headerbar .selection-mode {
headerbar.default-decoration {
min-height: 22px;
padding: 4px;
background-image: none;
background-color: #2C2C2C;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12), inset 0 1px rgba(255, 255, 255, 0.1);
}
@ -4982,10 +4984,6 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}
window.background > contents > leaflet stack.background {
background-color: transparent;
}
.history-view {
background-color: #FFFFFF;
}
@ -6038,17 +6036,29 @@ tabbox:drop(active) {
leaflet {
border-radius: 16px;
}
leaflet, leaflet:backdrop {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}
leaflet leaflet {
border-radius: 0;
outline: none;
box-shadow: none;
}
leaflet leaflet, leaflet leaflet:backdrop {
box-shadow: none;
}
leaflet headerbar {
border-radius: 0;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12);
}
leaflet leaflet {
border-radius: 0;
outline: none;
leaflet stack.background {
background-color: transparent;
}
leaflet > box > scrolledwindow > viewport > widget > stack {

@ -1493,7 +1493,7 @@ headerbar {
padding: 0;
margin: 0;
border-radius: 16px 16px 0 0;
background-color: #2C2C2C;
background-color: transparent;
}
headerbar:disabled {
@ -1502,7 +1502,7 @@ headerbar:disabled {
headerbar:backdrop {
color: rgba(255, 255, 255, 0.7);
background-color: #2C2C2C;
background-color: transparent;
}
headerbar:backdrop:disabled {
@ -1719,6 +1719,8 @@ headerbar .selection-mode {
headerbar.default-decoration {
min-height: 22px;
padding: 4px;
background-image: none;
background-color: #2C2C2C;
box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12), inset 0 1px rgba(255, 255, 255, 0.1);
}
@ -4423,6 +4425,11 @@ window.csd.maximized, window.csd.fullscreen, window.csd.tiled, window.csd.tiled-
border-radius: 0;
}
window.background {
background-color: transparent;
background-image: linear-gradient(to bottom, #2C2C2C, #2C2C2C 40px, #212121 40px, #212121);
}
window:backdrop {
box-shadow: 0 2px 2.4px -1px rgba(0, 0, 0, 0.2), 0 4px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 16px 14.4px 2px transparent, 0 6px 18px 5px transparent;
}
@ -4947,10 +4954,6 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}
window.background > contents > leaflet stack.background {
background-color: transparent;
}
.history-view {
background-color: #2C2C2C;
}
@ -6003,17 +6006,29 @@ tabbox:drop(active) {
leaflet {
border-radius: 16px;
}
leaflet, leaflet:backdrop {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}
leaflet leaflet {
border-radius: 0;
outline: none;
box-shadow: none;
}
leaflet leaflet, leaflet leaflet:backdrop {
box-shadow: none;
}
leaflet headerbar {
border-radius: 0;
box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12);
}
leaflet leaflet {
border-radius: 0;
outline: none;
leaflet stack.background {
background-color: transparent;
}
leaflet > box > scrolledwindow > viewport > widget > stack {

@ -1493,7 +1493,7 @@ headerbar {
padding: 0;
margin: 0;
border-radius: 18px 18px 0 0;
background-color: #2C2C2C;
background-color: transparent;
}
headerbar:disabled {
@ -1502,7 +1502,7 @@ headerbar:disabled {
headerbar:backdrop {
color: rgba(255, 255, 255, 0.7);
background-color: #2C2C2C;
background-color: transparent;
}
headerbar:backdrop:disabled {
@ -1719,6 +1719,8 @@ headerbar .selection-mode {
headerbar.default-decoration {
min-height: 24px;
padding: 6px;
background-image: none;
background-color: #2C2C2C;
box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12), inset 0 1px rgba(255, 255, 255, 0.1);
}
@ -4423,6 +4425,11 @@ window.csd.maximized, window.csd.fullscreen, window.csd.tiled, window.csd.tiled-
border-radius: 0;
}
window.background {
background-color: transparent;
background-image: linear-gradient(to bottom, #2C2C2C, #2C2C2C 48px, #212121 48px, #212121);
}
window:backdrop {
box-shadow: 0 2px 2.4px -1px rgba(0, 0, 0, 0.2), 0 4px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 16px 14.4px 2px transparent, 0 6px 18px 5px transparent;
}
@ -4947,10 +4954,6 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}
window.background > contents > leaflet stack.background {
background-color: transparent;
}
.history-view {
background-color: #2C2C2C;
}
@ -6003,17 +6006,29 @@ tabbox:drop(active) {
leaflet {
border-radius: 18px;
}
leaflet, leaflet:backdrop {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}
leaflet leaflet {
border-radius: 0;
outline: none;
box-shadow: none;
}
leaflet leaflet, leaflet leaflet:backdrop {
box-shadow: none;
}
leaflet headerbar {
border-radius: 0;
box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12);
}
leaflet leaflet {
border-radius: 0;
outline: none;
leaflet stack.background {
background-color: transparent;
}
leaflet > box > scrolledwindow > viewport > widget > stack {

@ -1719,6 +1719,8 @@ headerbar .selection-mode {
headerbar.default-decoration {
min-height: 22px;
padding: 4px;
background-image: none;
background-color: #FFFFFF;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12), inset 0 1px rgba(255, 255, 255, 0.4);
}
@ -4946,10 +4948,6 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}
window.background > contents > leaflet stack.background {
background-color: transparent;
}
.history-view {
background-color: #FFFFFF;
}
@ -6002,17 +6000,29 @@ tabbox:drop(active) {
leaflet {
border-radius: 16px;
}
leaflet, leaflet:backdrop {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
}
leaflet leaflet {
border-radius: 0;
outline: none;
box-shadow: none;
}
leaflet leaflet, leaflet leaflet:backdrop {
box-shadow: none;
}
leaflet headerbar {
border-radius: 0;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12);
}
leaflet leaflet {
border-radius: 0;
outline: none;
leaflet stack.background {
background-color: transparent;
}
leaflet > box > scrolledwindow > viewport > widget > stack {

@ -1719,6 +1719,8 @@ headerbar .selection-mode {
headerbar.default-decoration {
min-height: 24px;
padding: 6px;
background-image: none;
background-color: #FFFFFF;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12), inset 0 1px rgba(255, 255, 255, 0.4);
}
@ -4946,10 +4948,6 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}
window.background > contents > leaflet stack.background {
background-color: transparent;
}
.history-view {
background-color: #FFFFFF;
}
@ -6002,17 +6000,29 @@ tabbox:drop(active) {
leaflet {
border-radius: 18px;
}
leaflet, leaflet:backdrop {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.4);
}
leaflet leaflet {
border-radius: 0;
outline: none;
box-shadow: none;
}
leaflet leaflet, leaflet leaflet:backdrop {
box-shadow: none;
}
leaflet headerbar {
border-radius: 0;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12);
}
leaflet leaflet {
border-radius: 0;
outline: none;
leaflet stack.background {
background-color: transparent;
}
leaflet > box > scrolledwindow > viewport > widget > stack {

@ -1719,6 +1719,8 @@ headerbar .selection-mode {
headerbar.default-decoration {
min-height: 24px;
padding: 6px;
background-image: none;
background-color: #2C2C2C;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12), inset 0 1px rgba(255, 255, 255, 0.1);
}
@ -4982,10 +4984,6 @@ window.dialog > box > stack > box > box > notebook.frame {
border-radius: 0;
}
window.background > contents > leaflet stack.background {
background-color: transparent;
}
.history-view {
background-color: #FFFFFF;
}
@ -6038,17 +6036,29 @@ tabbox:drop(active) {
leaflet {
border-radius: 18px;
}
leaflet, leaflet:backdrop {
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}
leaflet leaflet {
border-radius: 0;
outline: none;
box-shadow: none;
}
leaflet leaflet, leaflet leaflet:backdrop {
box-shadow: none;
}
leaflet headerbar {
border-radius: 0;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.12);
}
leaflet leaflet {
border-radius: 0;
outline: none;
leaflet stack.background {
background-color: transparent;
}
leaflet > box > scrolledwindow > viewport > widget > stack {

Loading…
Cancel
Save