- commit
- 120c1ce91bfbe12dfdcb14222475d5dd9ac97f70
- parent
- 88d3d97ac59b10fc14d3d5d48018bd0e0e743030
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-06-23 08:38
Revert "avoid changing border width on focus in linked buttons/entries" This reverts commit 88d3d97ac59b10fc14d3d5d48018bd0e0e743030. transparent border is still covered by background color (though not by background images)
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:not(:first-child),
88 -1 .linked:not(.vertical) > entry:not(:first-child) {
89 -1 margin-left: -1px;
-1 87 .linked:not(.vertical) > button,
-1 88 .linked:not(.vertical) > entry {
-1 89 border-right-width: 0;
90 90 }
91 -1 .linked:not(.vertical) > button:focus + button,
92 -1 .linked:not(.vertical) > entry:focus + entry {
93 -1 border-left-color: transparent;
-1 91 .linked:not(.vertical) > :focus + button,
-1 92 .linked:not(.vertical) > :focus + entry {
-1 93 border-left: 0;
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:not(:first-child),
109 -1 .linked.vertical > entry:not(:first-child) {
110 -1 margin-top: -1px;
-1 108 .linked.vertical > button,
-1 109 .linked.vertical > entry {
-1 110 border-bottom-width: 0;
111 111 }
112 -1 .linked.vertical > button:focus + button,
113 -1 .linked.vertical > entry:focus + entry {
114 -1 border-top-color: transparent;
-1 112 .linked.vertical > :focus + button,
-1 113 .linked.vertical > :focus + entry {
-1 114 border-top: 0;
115 115 }
116 116
117 117 .linked > button:last-child,