Changeset 288495 in webkit
- Timestamp:
- Jan 24, 2022, 5:54:37 PM (5 years ago)
- Location:
- branches/safari-613-branch/Source/WebInspectorUI
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Images/AlignContentStretch.svg (modified) (1 diff)
-
UserInterface/Views/AlignmentEditor.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613-branch/Source/WebInspectorUI/ChangeLog
r287787 r288495 1 2022-01-24 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r287870. rdar://problem/86543279 4 5 Web Inspector: Increase padding around icons in Alignment editor 6 https://bugs.webkit.org/show_bug.cgi?id=234036 7 <rdar://problem/86543279> 8 9 Reviewed by Devin Rousso. 10 11 Increase margin and padding around the icons, making the icons more visually appealing 12 and easier to distinguish and from each other. 13 14 * UserInterface/Images/AlignContentStretch.svg: 15 The gap between rectangles was only 0.5px. Increase it to 2px. 16 17 * UserInterface/Views/AlignmentEditor.css: 18 (.alignment-editor .glyph): 19 (.alignment-editor .glyph:not(:first-child)): 20 (.alignment-editor .glyph.selected): 21 (.alignment-editor .glyph.selected:active): 22 (.alignment-editor .glyph:not(:last-child)): Deleted. 23 (.alignment-editor .glyph.selected + .glyph): Deleted. 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287870 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2022-01-10 Nikita Vasilyev <nvasilyev@apple.com> 29 30 Web Inspector: Increase padding around icons in Alignment editor 31 https://bugs.webkit.org/show_bug.cgi?id=234036 32 <rdar://problem/86543279> 33 34 Reviewed by Devin Rousso. 35 36 Increase margin and padding around the icons, making the icons more visually appealing 37 and easier to distinguish and from each other. 38 39 * UserInterface/Images/AlignContentStretch.svg: 40 The gap between rectangles was only 0.5px. Increase it to 2px. 41 42 * UserInterface/Views/AlignmentEditor.css: 43 (.alignment-editor .glyph): 44 (.alignment-editor .glyph:not(:first-child)): 45 (.alignment-editor .glyph.selected): 46 (.alignment-editor .glyph.selected:active): 47 (.alignment-editor .glyph:not(:last-child)): Deleted. 48 (.alignment-editor .glyph.selected + .glyph): Deleted. 49 1 50 2022-01-07 Alexey Shvayka <ashvayka@apple.com> 2 51 -
branches/safari-613-branch/Source/WebInspectorUI/UserInterface/Images/AlignContentStretch.svg
r286875 r288495 1 1 <!-- Copyright © 2021 Apple Inc. All rights reserved. --> 2 2 <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" id="root"> 3 <rect x="2" y="1" width="12" height="6 .5" fill="currentColor"/>4 <rect x="2" y=" 8" width="12" height="6.5" fill="currentColor"/>3 <rect x="2" y="1" width="12" height="6" fill="currentColor"/> 4 <rect x="2" y="9" width="12" height="6" fill="currentColor"/> 5 5 </svg> -
branches/safari-613-branch/Source/WebInspectorUI/UserInterface/Views/AlignmentEditor.css
r286885 r288495 28 28 width: 16px; 29 29 height: 16px; 30 padding: 2px; 30 31 background-color: var(--background-color-content); 31 32 box-sizing: content-box; … … 34 35 } 35 36 36 .alignment-editor .glyph:not(: last-child) {37 border-inline-end-width: 0;37 .alignment-editor .glyph:not(:first-child) { 38 margin-inline-start: 2px; 38 39 } 39 40 … … 43 44 44 45 .alignment-editor .glyph.selected { 45 color: var(--glyph-color-active);46 background-color: var(--glyph-color-active); 46 47 border-color: var(--glyph-color-active); 47 } 48 49 .alignment-editor .glyph.selected + .glyph { 50 border-inline-start-color: var(--glyph-color-active); 48 color: var(--selected-foreground-color); 51 49 } 52 50 53 51 .alignment-editor .glyph.selected:active { 54 color: var(--glyph-color-active-pressed);55 outline-color: var(--glyph-color-active-pressed);52 background-color: var(--glyph-color-active-pressed); 53 border-color: var(--glyph-color-active-pressed); 56 54 } 57 55
Note:
See TracChangeset
for help on using the changeset viewer.