Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Breeze for GTK
Commits
ae000574
Commit
ae000574
authored
Apr 21, 2021
by
Nate Graham
Committed by
Janet Blackquill
Apr 26, 2021
Browse files
Use Breeze-style arrows everywhere
parent
af897dd7
Changes
10
Hide whitespace changes
Inline
Side-by-side
src/gtk3/widgets/_headerbar.scss
View file @
ae000574
...
...
@@ -161,7 +161,7 @@ headerbar {
}
.arrow
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-down-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-down-symbolic"
);
-gtk-icon-shadow
:
none
;
}
}
...
...
src/gtk3/widgets/_menus.scss
View file @
ae000574
...
...
@@ -111,12 +111,12 @@ menu,
min-width
:
16px
;
&
:dir
(
ltr
)
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-end
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next
-symbolic"
);
margin-left
:
10px
;
}
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-sta
rt-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next-
rt
l
-symbolic"
);
margin-right
:
10px
;
}
}
...
...
@@ -135,13 +135,13 @@ menu,
&
.top
{
margin-top
:
-6px
;
border
:
none
;
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-up-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-up-symbolic"
);
}
&
.bottom
{
margin-bottom
:
-6px
;
border
:
none
;
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-down-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-down-symbolic"
);
}
&
:hover
{
...
...
@@ -264,11 +264,11 @@ modelbutton.flat arrow {
}
&
.left
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-start
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-previous
-symbolic"
);
}
&
.right
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-end
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next
-symbolic"
);
}
}
...
...
src/gtk3/widgets/_misc.scss
View file @
ae000574
...
...
@@ -84,15 +84,15 @@ expander {
arrow
{
min-width
:
16px
;
min-height
:
16px
;
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-end
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next
-symbolic"
);
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-sta
rt-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next-
rt
l
-symbolic"
);
}
&
:hover
{
color
:
gtkshade
(
gtk
(
"@theme_fg_color"
)
,
1
.3
);
}
//only lightens the arrow
&
:checked
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-down-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-down-symbolic"
);
}
}
}
...
...
src/gtk3/widgets/_notebook.scss
View file @
ae000574
...
...
@@ -153,11 +153,11 @@ notebook {
padding-right
:
4px
;
&
.down
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-start
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-previous
-symbolic"
);
}
&
.up
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-end
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next
-symbolic"
);
}
}
...
...
@@ -180,11 +180,11 @@ notebook {
padding-bottom
:
4px
;
&
.down
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-up-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-up-symbolic"
);
}
&
.up
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-down-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-down-symbolic"
);
}
}
...
...
src/gtk3/widgets/_treeview.scss
View file @
ae000574
...
...
@@ -112,10 +112,10 @@ treeview.view {
// GtkTreeView uses the larger of the expander’s min-width and min-height
min-width
:
16px
;
min-height
:
16px
;
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-end
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next
-symbolic"
);
color
:
gtk
(
"@theme_fg_color"
);
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-sta
rt-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next-
rt
l
-symbolic"
);
}
&
:hover
{
color
:
gtk
(
"@theme_button_decoration_hover"
);
...
...
@@ -124,7 +124,7 @@ treeview.view {
color
:
gtk
(
"@theme_selected_fg_color"
);
}
&
:checked
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-down-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-down-symbolic"
);
&
:selected
{
color
:
gtk
(
"@theme_selected_fg_color"
);
}
...
...
src/gtk4/widgets/_headerbar.scss
View file @
ae000574
...
...
@@ -143,7 +143,7 @@ headerbar {
padding
:
4px
6px
;
.arrow
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan
-down-symbolic'
);
-gtk-icon-source
:
-gtk-icontheme
(
'
go
-down-symbolic'
);
-gtk-icon-shadow
:
none
;
}
}
...
...
src/gtk4/widgets/_menus.scss
View file @
ae000574
...
...
@@ -115,12 +115,12 @@ menu,
min-width
:
16px
;
&
:dir
(
ltr
)
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-end
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next
-symbolic"
);
margin-left
:
10px
;
}
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-sta
rt-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next-
rt
l
-symbolic"
);
margin-right
:
10px
;
}
}
...
...
@@ -139,13 +139,13 @@ menu,
&
.top
{
margin-top
:
-6px
;
border
:
none
;
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-up-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-up-symbolic"
);
}
&
.bottom
{
margin-bottom
:
-6px
;
border
:
none
;
-gtk-icon-source
:
-gtk-icontheme
(
"
pan
-down-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go
-down-symbolic"
);
}
&
:hover
{
...
...
@@ -270,11 +270,11 @@ modelbutton.flat arrow {
}
&
.left
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-start
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-previous
-symbolic"
);
}
&
.right
{
-gtk-icon-source
:
-gtk-icontheme
(
"
pan-end
-symbolic"
);
-gtk-icon-source
:
-gtk-icontheme
(
"
go-next
-symbolic"
);
}
}
...
...
src/gtk4/widgets/_misc.scss
View file @
ae000574
...
...
@@ -74,10 +74,10 @@ expander {
arrow
{
min-width
:
16px
;
min-height
:
16px
;
-gtk-icon-source
:
-gtk-icontheme
(
'
pan-end
-symbolic'
);
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan-sta
rt-symbolic'
);}
-gtk-icon-source
:
-gtk-icontheme
(
'
go-next
-symbolic'
);
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
'
go-next-
rt
l
-symbolic'
);}
&
:hover
{
color
:
gtkshade
(
gtk
(
"@theme_fg_color"
)
,
1
.3
);
}
//only lightens the arrow
&
:checked
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan
-down-symbolic'
);
}
&
:checked
{
-gtk-icon-source
:
-gtk-icontheme
(
'
go
-down-symbolic'
);
}
}
}
...
...
src/gtk4/widgets/_notebook.scss
View file @
ae000574
...
...
@@ -135,9 +135,9 @@
padding-left
:
4px
;
padding-right
:
4px
;
&
.down
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan-start
-symbolic'
);
}
&
.down
{
-gtk-icon-source
:
-gtk-icontheme
(
'
go-previous
-symbolic'
);
}
&
.up
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan-end
-symbolic'
);
}
&
.up
{
-gtk-icon-source
:
-gtk-icontheme
(
'
go-next
-symbolic'
);
}
}
&
.left
>
tabs
>
arrow
{
...
...
@@ -158,9 +158,9 @@
padding-top
:
4px
;
padding-bottom
:
4px
;
&
.down
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan
-up-symbolic'
);
}
&
.down
{
-gtk-icon-source
:
-gtk-icontheme
(
'
go
-up-symbolic'
);
}
&
.up
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan
-down-symbolic'
);
}
&
.up
{
-gtk-icon-source
:
-gtk-icontheme
(
'
go
-down-symbolic'
);
}
}
>
tabs
>
arrow
{
...
...
src/gtk4/widgets/_treeview.scss
View file @
ae000574
...
...
@@ -96,13 +96,13 @@ treeview.view {
// GtkTreeView uses the larger of the expander’s min-width and min-height
min-width
:
16px
;
min-height
:
16px
;
-gtk-icon-source
:
-gtk-icontheme
(
'
pan-end
-symbolic'
);
-gtk-icon-source
:
-gtk-icontheme
(
'
go-next
-symbolic'
);
color
:
gtk
(
"@theme_fg_color"
);
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan-sta
rt-symbolic'
);
};
&
:dir
(
rtl
)
{
-gtk-icon-source
:
-gtk-icontheme
(
'
go-next-
rt
l
-symbolic'
);
};
&
:hover
{
color
:
gtk
(
"@theme_button_decoration_hover"
);
}
&
:selected
{
color
:
gtk
(
"@theme_selected_fg_color"
);
}
&
:checked
{
-gtk-icon-source
:
-gtk-icontheme
(
'
pan
-down-symbolic'
);
-gtk-icon-source
:
-gtk-icontheme
(
'
go
-down-symbolic'
);
&
:selected
{
color
:
gtk
(
"@theme_selected_fg_color"
);
}
&
:backdrop
{
color
:
gtk
(
"@theme_unfocused_base_color"
);
}
}
...
...
Nate Graham
@ngraham
mentioned in commit
0d370bdf
·
Apr 26, 2021
mentioned in commit
0d370bdf
mentioned in commit 0d370bdfa5a3f9fd250d49a4ac4ba19efa25fa5f
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment