Skip to content

Commit ec23fec

Browse files
authored
Make Entry and SpinButton Progess more subtle (#521)
1 parent 097d412 commit ec23fec

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

elementary/gtk-3.0/gtk-widgets.css

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -549,30 +549,33 @@ entry progress,
549549
spinbutton progress {
550550
background-image:
551551
linear-gradient(
552-
to bottom,
553-
mix(
554-
@colorAccent,
555-
@base_color,
556-
0.4
557-
),
558-
mix(
552+
to top,
553+
@colorAccent,
554+
alpha (
559555
@colorAccent,
560-
@base_color,
561556
0.5
562-
)
557+
) 1px,
558+
alpha (
559+
@base_color,
560+
0
561+
) 7px
563562
);
564-
border: 1px solid @colorAccent;
565563
border-radius: 2.5px;
566-
box-shadow:
567-
inset 0 1px 0 0 alpha (@inset_dark_color, 0.7),
568-
inset 0 0 0 1px alpha (@inset_dark_color, 0.3);
569564
margin: -4px;
570565
}
571566

572-
entry progress:not(.pulse) {
567+
entry progress:not(.pulse):dir(ltr) {
573568
border-top-right-radius: 0;
574569
border-bottom-right-radius: 0;
575-
border-right: 0;
570+
}
571+
572+
entry progress:not(.pulse):dir(rtl) {
573+
border-top-left-radius: 0;
574+
border-bottom-left-radius: 0;
575+
}
576+
577+
spinbutton progress {
578+
margin: -4px -6px;
576579
}
577580

578581
progressbar.osd progress,

0 commit comments

Comments
 (0)