Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e8ef32

Browse files
committed
Update windowcontrol buttons, drop most terminal-related code, reduce overshoot gradient opacity, standardize statusbar padding
1 parent4b52c91 commit1e8ef32

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

‎gtk-4.0/gtk.css‎

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnd {
1717
image:disabled {
1818
-gtk-icon-filter:opacity(0.5); }
1919

20-
image,image:disabled,label,label:disabled,box,box:disabled {
20+
image,label,box {
2121
background-color: transparent; }
2222

2323
.view {
@@ -815,11 +815,16 @@ headerbar {
815815
border:1px solid#677a93; }
816816
headerbarswitch:checked {
817817
border-color:#677a93; }
818-
headerbarentry {
819-
padding:4px8px; }
820818
headerbar.titlebar, .titlebarheaderbar {
821819
border-radius:4px4px0px0px; }
822-
headerbar .titlebutton.close,headerbar .titlebutton.maximize,headerbar .titlebutton.minimize,headerbar .titlebutton:not(separator) {
820+
821+
windowcontrols {
822+
border-spacing:6px; }
823+
windowcontrols.start:not(.empty):dir(ltr),windowcontrols.end:not(.empty):dir(rtl) {
824+
margin-right:7px; }
825+
windowcontrols.start:not(.empty):dir(rtl),windowcontrols.end:not(.empty):dir(ltr) {
826+
margin-left:7px; }
827+
windowcontrolsbutton.close,windowcontrolsbutton.maximize,windowcontrolsbutton.minimize {
823828
padding:2px2px;
824829
border: none;
825830
color: transparent;
@@ -828,29 +833,29 @@ headerbar {
828833
-gtk-icon-shadow: none;
829834
background-position: center;
830835
background-repeat: no-repeat; }
831-
headerbar .titlebutton.close {
836+
windowcontrolsbutton.close {
832837
background:url("assets/close-normal.png")100%100%; }
833-
headerbar .titlebutton.close:hover {
838+
windowcontrolsbutton.close:hover {
834839
background:url("assets/close-hover.png")100%100%; }
835-
headerbar .titlebutton.close:active {
840+
windowcontrolsbutton.close:active {
836841
background:url("assets/close-active.png")100%100%; }
837-
headerbar .titlebutton.close:backdrop {
842+
windowcontrolsbutton.close:backdrop {
838843
background:url("assets/close-backdrop.png")100%100%; }
839-
headerbar .titlebutton.minimize {
844+
windowcontrolsbutton.minimize {
840845
background:url("assets/minimize-normal.png")100%100%; }
841-
headerbar .titlebutton.minimize:hover {
846+
windowcontrolsbutton.minimize:hover {
842847
background:url("assets/minimize-hover.png")100%100%; }
843-
headerbar .titlebutton.minimize:active {
848+
windowcontrolsbutton.minimize:active {
844849
background:url("assets/minimize-active.png")100%100%; }
845-
headerbar .titlebutton.minimize:backdrop {
850+
windowcontrolsbutton.minimize:backdrop {
846851
background:url("assets/minimize-backdrop.png")100%100%; }
847-
headerbar .titlebutton.maximize {
852+
windowcontrolsbutton.maximize {
848853
background:url("assets/maximize-normal.png")100%100%; }
849-
headerbar .titlebutton.maximize:hover {
854+
windowcontrolsbutton.maximize:hover {
850855
background:url("assets/maximize-hover.png")100%100%; }
851-
headerbar .titlebutton.maximize:active {
856+
windowcontrolsbutton.maximize:active {
852857
background:url("assets/maximize-active.png")100%100%; }
853-
headerbar .titlebutton.maximize:backdrop {
858+
windowcontrolsbutton.maximize:backdrop {
854859
background:url("assets/maximize-backdrop.png")100%100%; }
855860

856861
window.ssd .titlebar {
@@ -1610,7 +1615,7 @@ actionbar {
16101615
padding:012px; }
16111616

16121617
scrolledwindow>overshoot.top {
1613-
background-image:radial-gradient(farthest-side at top,black, transparent);
1618+
background-image:radial-gradient(farthest-side at top,rgba(0,0,0,0.5), transparent);
16141619
background-size:100%50%;
16151620
background-repeat: no-repeat;
16161621
background-position: top;
@@ -1619,7 +1624,7 @@ scrolledwindow > overshoot.top {
16191624
box-shadow: none; }
16201625

16211626
scrolledwindow>overshoot.bottom {
1622-
background-image:radial-gradient(farthest-side at bottom,black, transparent);
1627+
background-image:radial-gradient(farthest-side at bottom,rgba(0,0,0,0.5), transparent);
16231628
background-size:100%50%;
16241629
background-repeat: no-repeat;
16251630
background-position: bottom;
@@ -1628,7 +1633,7 @@ scrolledwindow > overshoot.bottom {
16281633
box-shadow: none; }
16291634

16301635
scrolledwindow>overshoot.left {
1631-
background-image:radial-gradient(farthest-side at left,black, transparent);
1636+
background-image:radial-gradient(farthest-side at left,rgba(0,0,0,0.5), transparent);
16321637
background-size:50%100%;
16331638
background-repeat: no-repeat;
16341639
background-position: left;
@@ -1637,7 +1642,7 @@ scrolledwindow > overshoot.left {
16371642
box-shadow: none; }
16381643

16391644
scrolledwindow>overshoot.right {
1640-
background-image:radial-gradient(farthest-side at right,black, transparent);
1645+
background-image:radial-gradient(farthest-side at right,rgba(0,0,0,0.5), transparent);
16411646
background-size:50%100%;
16421647
background-repeat: no-repeat;
16431648
background-position: right;
@@ -2333,10 +2338,7 @@ popover.entry-completion > contents {
23332338
padding:0; }
23342339

23352340
statusbar {
2336-
padding:4px;
2337-
color:#000000; }
2338-
statusbarframe>border {
2339-
border: none; }
2341+
padding:4px; }
23402342

23412343
menubutton>button>box {
23422344
border-spacing:6px; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp