mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Drop Open Sans in the admin in favor of system fonts.
Rejoice, for your admins will feel more native to your surrounding computing environment and likely load faster, especially when offline, as they no longer have to talk to The Google Overlord. At the time of introduction in 3.8, there were not good system fonts common to all platforms at the time. In the years since, Windows, Android, OS X, iOS, Firefox OS, and various flavors of Linux have all gotten their own (good) system UI fonts. There will definitely be visual bugs, mainly around alignment and spacing; these should be documented and reported on the ticket and fixed more atomically so that our current and future selves have a better understanding of what happened and why. The style remains registered, as it is almost certainly in use by themes and plugins. props mattmiklic. see #36753. git-svn-id: https://develop.svn.wordpress.org/trunk@37361 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
text-shadow: none;
|
||||
text-transform: none;
|
||||
letter-spacing: normal;
|
||||
font: normal 13px/32px "Open Sans", sans-serif;
|
||||
font: normal 13px/32px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
-webkit-box-sizing: content-box;
|
||||
@@ -79,7 +79,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
#wpadminbar {
|
||||
direction: ltr;
|
||||
color: #ccc;
|
||||
font: normal 13px/32px "Open Sans", sans-serif;
|
||||
font: normal 13px/32px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
height: 32px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -618,7 +618,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
|
||||
position: relative;
|
||||
z-index: 30;
|
||||
font: 13px/24px "Open Sans", sans-serif;
|
||||
font: 13px/24px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
max-width: none;
|
||||
@@ -798,7 +798,7 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
}
|
||||
|
||||
#wpadminbar * {
|
||||
font: normal 14px/32px "Open Sans", sans-serif;
|
||||
font: normal 14px/32px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif, sans-serif;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks > ul > li > a,
|
||||
|
||||
@@ -1109,7 +1109,8 @@ i.mce-i-wp_code:before {
|
||||
background: #ebebeb;
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
font: 13px/19px "Open Sans", sans-serif;
|
||||
font-size: 13px;
|
||||
line-height: 19px;
|
||||
height: 20px;
|
||||
margin: 5px 0 0 5px;
|
||||
padding: 3px 8px 4px;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
.media-modal,
|
||||
.media-frame {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
font-size: 12px;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
@@ -80,7 +80,7 @@
|
||||
.media-frame input[type="url"],
|
||||
.media-frame textarea,
|
||||
.media-frame select {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
font-size: 12px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
@@ -807,7 +807,7 @@
|
||||
padding: 4px;
|
||||
font-size: 13px;
|
||||
color: #444;
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ body {
|
||||
|
||||
.wp-embed {
|
||||
padding: 25px;
|
||||
font: 400 14px/1.5 'Open Sans', sans-serif;
|
||||
font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
color: #82878c;
|
||||
background: white;
|
||||
border: 1px solid #e5e5e5;
|
||||
@@ -307,7 +307,7 @@ p.wp-embed-share-description {
|
||||
height: 28px;
|
||||
margin: 0 0 10px 0;
|
||||
padding: 0 5px;
|
||||
font: 400 14px/1.5 'Open Sans', sans-serif;
|
||||
font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
|
||||
resize: none;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user