- commit
- 88d3d97ac59b10fc14d3d5d48018bd0e0e743030
- parent
- d27325c0b1d5c5415c6ec718e744142dd7e137da
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-06-23 07:51
avoid changing border width on focus in linked buttons/entries see also 22be572e73ef6e69ce4a95e3426e85a89da7941b
Diffstat
| M | gtk-3.0/widgets/button.css | 24 | ++++++++++++------------ |
1 files changed, 12 insertions, 12 deletions
diff --git a/gtk-3.0/widgets/button.css b/gtk-3.0/widgets/button.css
@@ -84,13 +84,13 @@ button.link > label {
84 84 border-top-right-radius: 3px;
85 85 border-bottom-right-radius: 3px;
86 86 }
87 -1 .linked:not(.vertical) > button,
88 -1 .linked:not(.vertical) > entry {
89 -1 border-right-width: 0;
-1 87 .linked:not(.vertical) > button:not(:first-child),
-1 88 .linked:not(.vertical) > entry:not(:first-child) {
-1 89 margin-left: -1px;
90 90 }
91 -1 .linked:not(.vertical) > :focus + button,
92 -1 .linked:not(.vertical) > :focus + entry {
93 -1 border-left: 0;
-1 91 .linked:not(.vertical) > button:focus + button,
-1 92 .linked:not(.vertical) > entry:focus + entry {
-1 93 border-left-color: transparent;
94 94 }
95 95
96 96 .linked.vertical > button:first-child,
@@ -105,13 +105,13 @@ button.link > label {
105 105 border-bottom-left-radius: 3px;
106 106 border-bottom-right-radius: 3px;
107 107 }
108 -1 .linked.vertical > button,
109 -1 .linked.vertical > entry {
110 -1 border-bottom-width: 0;
-1 108 .linked.vertical > button:not(:first-child),
-1 109 .linked.vertical > entry:not(:first-child) {
-1 110 margin-top: -1px;
111 111 }
112 -1 .linked.vertical > :focus + button,
113 -1 .linked.vertical > :focus + entry {
114 -1 border-top: 0;
-1 112 .linked.vertical > button:focus + button,
-1 113 .linked.vertical > entry:focus + entry {
-1 114 border-top-color: transparent;
115 115 }
116 116
117 117 .linked > button:last-child,