Changeset 189011 in webkit
- Timestamp:
- Aug 26, 2015 9:40:50 PM (9 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r189008 r189011 1 2015-08-26 Nikita Vasilyev <nvasilyev@apple.com> 2 3 Web Inspector: [Regression] [Mavericks]: Undocked Web Inspector toolbar is two different colors and has extra space 4 https://bugs.webkit.org/show_bug.cgi?id=148510 5 6 Make body element transparent and remove extra padding above the toolbar only for OS X Mavericks. 7 8 Reviewed by Timothy Hatcher. 9 10 * UserInterface/Base/Main.js: 11 (WebInspector.contentLoaded): 12 * UserInterface/Views/Main.css: 13 (body:not(.mavericks)): 14 (body): Deleted. 15 * UserInterface/Views/Toolbar.css: 16 (body:not(.mavericks) .toolbar): 17 (body.window-inactive:not(.mavericks) .toolbar): 18 (body.mac-platform:not(.docked, .mavericks) .toolbar): 19 (.toolbar): Deleted. 20 (body.window-inactive .toolbar): Deleted. 21 (body.mac-platform:not(.docked) .toolbar): Deleted. 22 1 23 2015-08-26 Joseph Pecoraro <pecoraro@apple.com> 2 24 -
trunk/Source/WebInspectorUI/UserInterface/Base/Main.js
r188993 r189011 196 196 197 197 if (WebInspector.Platform.name === "mac") { 198 document.body.classList.add(WebInspector.Platform.version.name); 199 198 200 if (WebInspector.Platform.version.release >= 11) 199 201 document.body.classList.add("latest-mac"); -
trunk/Source/WebInspectorUI/UserInterface/Views/Main.css
r188837 r189011 35 35 font-size: 11px; 36 36 37 background-color: white;38 39 37 position: absolute; 40 38 top: 0; … … 56 54 57 55 tab-size: 4; /* FIXME: This should be controlled by a setting. <rdar://problem/10593948> */ 56 } 57 58 body:not(.mavericks) { 59 background-color: white; 58 60 } 59 61 -
trunk/Source/WebInspectorUI/UserInterface/Views/Toolbar.css
r188173 r189011 30 30 overflow: hidden; 31 31 32 background-image: linear-gradient(to bottom, hsl(0, 0%, 92%), hsl(0, 0%, 87%));33 box-shadow: inset hsla(0, 0%, 100%, 0.5) 0 1px 1px;34 35 32 outline: none; 36 33 … … 40 37 } 41 38 42 body.window-inactive .toolbar { 39 body:not(.mavericks) .toolbar { 40 background-image: linear-gradient(to bottom, hsl(0, 0%, 92%), hsl(0, 0%, 87%)); 41 box-shadow: inset hsla(0, 0%, 100%, 0.5) 0 1px 1px; 42 } 43 44 body.window-inactive:not(.mavericks) .toolbar { 43 45 background-image: none; 44 46 background-color: hsl(0, 0%, 96%); 45 47 } 46 48 47 body.mac-platform:not(.docked ) .toolbar {49 body.mac-platform:not(.docked, .mavericks) .toolbar { 48 50 padding-top: 21px; 49 51 height: 54px;
Note: See TracChangeset
for help on using the changeset viewer.