https://bugs.webkit.org/show_bug.cgi?id=133966
Reviewed by Timothy Hatcher.
Updated font families to use -webkit-system-font, and set this on the body to be
inherited. Also made sure that popovers use Menlo as the default. Updated
autocompletions with system font names.
* UserInterface/Models/CSSKeywordCompletions.js: Updated completions with available system fonts.
* UserInterface/Controllers/CodeMirrorGradientEditingController.css:
* UserInterface/Views/Breakpoint.css:
* UserInterface/Views/ButtonNavigationItem.css:
* UserInterface/Views/ButtonToolbarItem.css:
* UserInterface/Views/CSSStyleDeclarationSection.css:
* UserInterface/Views/CSSStyleDeclarationTextEditor.css:
* UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
* UserInterface/Views/CodeMirrorOverrides.css:
* UserInterface/Views/DataGrid.css:
* UserInterface/Views/DebuggerDashboardView.css:
* UserInterface/Views/DetailsSection.css:
* UserInterface/Views/FindBanner.css:
* UserInterface/Views/GoToLineDialog.css:
* UserInterface/Views/HierarchicalPathComponent.css:
* UserInterface/Views/Main.css:
* UserInterface/Views/NavigationSidebarPanel.css:
* UserInterface/Views/ProbeSetDataGrid.css:
* UserInterface/Views/RulesStyleDetailsPanel.css:
* UserInterface/Views/ScopeBar.css:
* UserInterface/Views/SourceCodeTextEditor.css:
* UserInterface/Views/TimelineDataGrid.css:
* UserInterface/Views/TimelineRuler.css:
* UserInterface/Views/TimelineSidebarPanel.css:
Changes to fonts. Set default font stack to -webkit-system-font, sans-serif. Default size is
11px. Only changes to this default size or changes to the font (to Menlo, monospace usually) remain.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170240
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-06-21 Jono Wells <jonowells@apple.com>
+
+ Web Inspector: UI fonts should pull from system fonts automatically to whatever degree possible
+ https://bugs.webkit.org/show_bug.cgi?id=133966
+
+ Reviewed by Timothy Hatcher.
+
+ Updated font families to use -webkit-system-font, and set this on the body to be
+ inherited. Also made sure that popovers use Menlo as the default. Updated
+ autocompletions with system font names.
+
+ * UserInterface/Models/CSSKeywordCompletions.js: Updated completions with available system fonts.
+
+ * UserInterface/Controllers/CodeMirrorGradientEditingController.css:
+ * UserInterface/Views/Breakpoint.css:
+ * UserInterface/Views/ButtonNavigationItem.css:
+ * UserInterface/Views/ButtonToolbarItem.css:
+ * UserInterface/Views/CSSStyleDeclarationSection.css:
+ * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
+ * UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
+ * UserInterface/Views/CodeMirrorOverrides.css:
+ * UserInterface/Views/DataGrid.css:
+ * UserInterface/Views/DebuggerDashboardView.css:
+ * UserInterface/Views/DetailsSection.css:
+ * UserInterface/Views/FindBanner.css:
+ * UserInterface/Views/GoToLineDialog.css:
+ * UserInterface/Views/HierarchicalPathComponent.css:
+ * UserInterface/Views/Main.css:
+ * UserInterface/Views/NavigationSidebarPanel.css:
+ * UserInterface/Views/ProbeSetDataGrid.css:
+ * UserInterface/Views/RulesStyleDetailsPanel.css:
+ * UserInterface/Views/ScopeBar.css:
+ * UserInterface/Views/SourceCodeTextEditor.css:
+ * UserInterface/Views/TimelineDataGrid.css:
+ * UserInterface/Views/TimelineRuler.css:
+ * UserInterface/Views/TimelineSidebarPanel.css:
+ Changes to fonts. Set default font stack to -webkit-system-font, sans-serif. Default size is
+ 11px. Only changes to this default size or changes to the font (to Menlo, monospace usually) remain.
+
2014-06-21 Joseph Pecoraro <pecoraro@apple.com>
Web Inspector: Esc in quick console no longer toggles console drawer
.gradient-editing-controller {
width: 260px;
height: 109px;
-
- font-family: "Lucida Grande", Helvetica, sans-serif;
}
.gradient-editing-controller.edits-color {
"-webkit-control", "status-bar", "italic", "oblique", "small-caps", "normal", "bold", "bolder", "lighter",
"100", "200", "300", "400", "500", "600", "700", "800", "900", "xx-small", "x-small", "small", "medium",
"large", "x-large", "xx-large", "-webkit-xxx-large", "smaller", "larger", "serif", "sans-serif", "cursive",
- "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-webkit-system-font", "-apple-system-headline",
- "-apple-system-body", "-apple-system-subheadline", "-apple-system-footnote", "-apple-system-caption1",
- "-apple-system-caption2", "-apple-system-short-headline", "-apple-system-short-body",
+ "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-webkit-system-font", "-apple-system-font",
+ "-apple-system-headline", "-apple-system-body", "-apple-system-subheadline", "-apple-system-footnote",
+ "-apple-system-caption1", "-apple-system-caption2", "-apple-system-short-headline", "-apple-system-short-body",
"-apple-system-short-subheadline", "-apple-system-short-footnote", "-apple-system-short-caption1",
"-apple-system-tall-body"
],
"absolute", "fixed", "relative", "static", "-webkit-sticky"
],
"font-family": [
- "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph", "-webkit-system-font"
+ "serif", "sans-serif", "cursive", "fantasy", "monospace", "-webkit-body", "-webkit-pictograph",
+ "-webkit-system-font", "-apple-system-font", "-apple-system-headline", "-apple-system-body",
+ "-apple-system-subheadline", "-apple-system-footnote", "-apple-system-caption1", "-apple-system-caption2",
+ "-apple-system-short-headline", "-apple-system-short-body", "-apple-system-short-subheadline",
+ "-apple-system-short-footnote", "-apple-system-short-caption1", "-apple-system-tall-body"
],
"text-overflow-mode": [
"clip", "ellipsis"
.popover .edit-breakpoint-popover-content {
width: 420px;
padding: 5px 15px;
-
- font-family: "Lucida Grande", Helvetica, sans-serif;
- font-size: 11px;
}
.popover .edit-breakpoint-popover-content.wide {
padding: 0 10px;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
- font-family: "Lucida Grande", sans-serif;
- font-size: 11px;
line-height: 20px;
-webkit-justify-content: center;
}
.toolbar .item.button > .label {
- font-size: 11px;
- font-family: Lucida Grande, sans-serif;
text-align: center;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
color: rgb(60, 60, 60);
.style-declaration-section > .header > .origin {
line-height: 10px;
- font-family: "Lucida Grande", sans-serif;
color: rgb(128, 128, 128);
-
+
word-wrap: break-word;
white-space: nowrap;
}
}
.css-style-text-editor > .CodeMirror .CodeMirror-placeholder {
- font-family: "Lucida Grande", sans-serif;
color: rgb(128, 128, 128);
padding: 0 5px 0 25px;
text-indent: 0;
}
.sidebar > .panel.details.css-style > .content > .pseudo-classes {
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
-
padding: 10px;
display: -webkit-flex;
font-size: 9px;
line-height: 13px;
- font-family: "Lucida Grande", sans-serif;
text-align: right;
}
border-collapse: collapse;
width: 100%;
font-size: 10px;
- font-family: Lucida Grande, sans-serif;
}
.data-grid .data-container {
-webkit-justify-content: center;
-webkit-align-items: center;
- font-size: 11px;
- font-family: Lucida Grande, sans-serif;
text-align: center;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
color: rgb(60, 60, 60);
margin-top: -1px;
margin-bottom: -1px;
- font-family: "Lucida Grande", sans-serif;
font-size: 10px;
}
}
.details-section > .content > .group > .row.empty.syntax-highlighted {
- font-family: "Lucida Grande", sans-serif;
font-size: 10px;
}
.find-banner {
border-bottom: 1px solid rgb(153, 153, 153);
- font-family: "Lucida Grande", sans-serif;
- font-size: 11px;
-
position: absolute;
top: -22px;
left: 0;
right: 36px;
border: none;
background-color: transparent;
- font-family: "Lucida Grande", sans-serif;
font-size: 20px;
color: rgb(12, 12, 12);
padding: 0 0 1px 5px;
vertical-align: top;
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
- font-family: "Lucida Grande", sans-serif;
- font-size: 11px;
line-height: 20px;
height: 20px;
display: -webkit-flex;
-webkit-flex-direction: column;
+ font-family: -webkit-system-font, sans-serif;
+ font-size: 11px;
+
position: absolute;
top: 0;
left: 0;
-webkit-justify-content: center;
-webkit-align-items: center;
-
+
line-height: 20px;
white-space: pre-wrap;
text-align: center;
font-size: 18px;
font-weight: bold;
- font-family: Lucida Grande, sans-serif;
color: rgb(75%, 75%, 75%);
background-color: white;
display: inline-block;
white-space: nowrap;
- font-family: "Lucida Grande", sans-serif;
font-size: 13px;
color: white;
outline: none;
list-style: none;
-
- font-family: "Lucida Grande", "Helvetica", sans-serif;
- font-size: 11px;
}
.navigation-sidebar-panel-content-tree-outline .children {
.details-section.probe-set .data-grid th {
height: 21px;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
background-image: linear-gradient(to bottom, rgb(248, 248, 248), rgb(226, 226, 226));
background-size: 100% 100% !important;
background-position: center !important;
*/
.sidebar > .panel.details.css-style .rules .label {
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
-
color: rgb(60%, 60%, 60%);
text-shadow: white 0 1px 0;
.sidebar > .panel.details.css-style .rules .new-rule {
font-size: 12px;
- font-family: "Lucida Grande", sans-serif;
font-weight: bold;
color: black;
*/
.scope-bar {
- font-family: Lucida Grande, sans-serif;
padding: 0 3px;
overflow: hidden;
}
padding: 0 8px 3px;
font-size: 11px;
font-weight: bold;
- line-height: 12px;
+ line-height: 11px;
color: rgb(46, 46, 46);
background-color: transparent;
border: 1px solid transparent;
}
.popover .debugger-popover-content {
- font-family: monospace;
+ font-family: Menlo, monospace;
+ font-size: 11px;
white-space: pre;
}
width: 16px;
height: 16px;
content: -webkit-image-set(url(../Images/ColorIcon.png) 1x, url(../Images/ColorIcon@2x.png) 2x);
-
+
-webkit-transform: translateY(1px);
}
.data-grid.timeline th {
height: 22px;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
-
background-image: none;
background-color: white;
margin: 0;
outline: none;
list-style: none;
- font-family: "Lucida Grande", "Helvetica", sans-serif;
- font-size: 11px;
}
.timeline-data-grid-tree-outline .item {
top: 5px;
right: 5px;
font-size: 9px;
- font-family: "Lucida Grande", sans-serif;
color: rgb(128, 128, 128);
white-space: nowrap;
}
text-align: center;
line-height: 20px;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
font-weight: bold;
color: rgb(76, 76, 76);
overflow: hidden;
text-overflow: ellipsis;
- font-size: 11px;
- font-family: "Lucida Grande", sans-serif;
font-weight: bold;
padding: 4px 9px;