зеркало из https://github.com/mozilla/brackets.git
Fix https://github.com/mozilla/thimble.webmaker.org/issues/1019 - add monospace to code font-family
This commit is contained in:
Родитель
76e3e4d903
Коммит
c3595a8d7f
|
@ -45,15 +45,15 @@
|
|||
|
||||
.brackets-js-hints.literal-hint {
|
||||
color: #444; /* dark grey */
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, fixed;
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
}
|
||||
|
||||
.brackets-js-hints.keyword-hint {
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, fixed;
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
}
|
||||
|
||||
.brackets-js-hints.keyword-hint .matched-hint {
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, fixed;
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
/* XXXBramble: generated from WebPlatformDocs.less with lessc --clean-css */
|
||||
.css-prop-defn{margin-left:20px;color:#777;cursor:auto;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;-o-user-select:text;user-select:text;font-family:SourceSansPro;font-size:14px}.css-prop-defn:focus{outline:0}.css-prop-defn h1{color:#333;font-size:16px;font-weight:500;line-height:normal;margin:15px 0 9px 0}.css-prop-defn a{color:#0083e8}.css-prop-defn code{font-family:SourceCodePro;font-size:12px;color:#333;background:0 0;padding:0;white-space:normal}.css-prop-defn b{font-weight:500}.css-prop-defn table{width:100%;margin-bottom:1em}.css-prop-defn table td,.css-prop-defn table th{border:1px solid #aaa;padding:0 .15em}.css-prop-summary{box-sizing:border-box;float:left;padding-left:20px;width:35%;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.css-prop-summary p{line-height:18px}.css-prop-values{box-sizing:border-box;float:right;width:60%}.css-prop-values .scroller{max-height:300px;overflow-y:auto;margin:20px 21px 0 0}.css-prop-values .scroller:focus{outline:0}.css-prop-values dl{margin-top:0}.css-prop-values dl dt{color:#333;font-size:13px;font-weight:500;margin-bottom:3px}.css-prop-values dl dd{line-height:18px;margin-left:20px;margin-right:0;margin-bottom:-2px;padding-bottom:0}.css-prop-values dl dd b,.css-prop-values dl dd li,.css-prop-values dl dd p{font-size:13px;font-style:normal;line-height:18px;margin-bottom:15px}.divider-holder{position:absolute;left:37%;top:0;height:100%}.divider-holder .divider{margin-left:12px;width:0;height:100%;border-left:1px solid #c3c6c5}.fullscreen-summary .css-prop-summary{width:95%}.fullscreen-summary .css-prop-values,.fullscreen-summary .divider-holder{display:none}.content-bottom{clear:both}a.more-info{position:absolute;bottom:0;right:50px;padding:4px 10px 4px 28px;background:#e5e9e9 url(logo.svg);background-repeat:no-repeat;background-size:15px 15px;background-position:8px 4px;border:1px solid #b2b5b5;border-radius:3px 3px 0 0;border-bottom:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.12);font-size:12px;font-weight:500;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.12)}a.more-info:hover{text-decoration:none}.dark .css-prop-defn{color:#bbb}.dark .css-prop-defn b,.dark .css-prop-defn h1{color:#ccc}.dark .css-prop-defn a{color:#6bbeff}.dark .css-prop-defn code{color:#ccc}.dark .css-prop-defn dl dt{color:#ccc}.dark .css-prop-defn .divider-holder .divider{border-left:1px solid #343434}.dark .css-prop-defn a.more-info{background-color:#3f3f3f;border:1px solid #202020;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);color:#ccc;text-shadow:0 1px 0 rgba(255,255,255,.06)}.dark .css-prop-defn table td,.dark .css-prop-defn table th{border-color:#626262}
|
||||
.css-prop-defn{margin-left:20px;color:#777;cursor:auto;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;-o-user-select:text;user-select:text;font-family:"Menlo Regular",Consolas,Inconsolata,"Vera Sans","Lucida Console",Courier,monospace,fixed;font-size:14px}.css-prop-defn:focus{outline:0}.css-prop-defn h1{color:#333;font-size:16px;font-weight:500;line-height:normal;margin:15px 0 9px 0}.css-prop-defn a{color:#0083e8}.css-prop-defn code{font-family:"Menlo Regular",Consolas,Inconsolata,"Vera Sans","Lucida Console",Courier,monospace,fixed;font-size:12px;color:#333;background:0 0;padding:0;white-space:normal}.css-prop-defn b{font-weight:500}.css-prop-defn table{width:100%;margin-bottom:1em}.css-prop-defn table td,.css-prop-defn table th{border:1px solid #aaa;padding:0 .15em}.css-prop-summary{box-sizing:border-box;float:left;padding-left:20px;width:35%;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.css-prop-summary p{line-height:18px}.css-prop-values{box-sizing:border-box;float:right;width:60%}.css-prop-values .scroller{max-height:300px;overflow-y:auto;margin:20px 21px 0 0}.css-prop-values .scroller:focus{outline:0}.css-prop-values dl{margin-top:0}.css-prop-values dl dt{color:#333;font-size:13px;font-weight:500;margin-bottom:3px}.css-prop-values dl dd{line-height:18px;margin-left:20px;margin-right:0;margin-bottom:-2px;padding-bottom:0}.css-prop-values dl dd b,.css-prop-values dl dd li,.css-prop-values dl dd p{font-size:13px;font-style:normal;line-height:18px;margin-bottom:15px}.divider-holder{position:absolute;left:37%;top:0;height:100%}.divider-holder .divider{margin-left:12px;width:0;height:100%;border-left:1px solid #c3c6c5}.fullscreen-summary .css-prop-summary{width:95%}.fullscreen-summary .css-prop-values,.fullscreen-summary .divider-holder{display:none}.content-bottom{clear:both}a.more-info{position:absolute;bottom:0;right:50px;padding:4px 10px 4px 28px;background:#e5e9e9 url(logo.svg);background-repeat:no-repeat;background-size:15px 15px;background-position:8px 4px;border:1px solid #b2b5b5;border-radius:3px 3px 0 0;border-bottom:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.12);font-size:12px;font-weight:500;color:#333;text-shadow:0 1px 0 rgba(255,255,255,.12)}a.more-info:hover{text-decoration:none}.dark .css-prop-defn{color:#bbb}.dark .css-prop-defn b,.dark .css-prop-defn h1{color:#ccc}.dark .css-prop-defn a{color:#6bbeff}.dark .css-prop-defn code{color:#ccc}.dark .css-prop-defn dl dt{color:#ccc}.dark .css-prop-defn .divider-holder .divider{border-left:1px solid #343434}.dark .css-prop-defn a.more-info{background-color:#3f3f3f;border:1px solid #202020;box-shadow:inset 0 1px 0 rgba(255,255,255,.06);color:#ccc;text-shadow:0 1px 0 rgba(255,255,255,.06)}.dark .css-prop-defn table td,.dark .css-prop-defn table th{border-color:#626262}
|
|
@ -30,7 +30,7 @@
|
|||
outline: none;
|
||||
}
|
||||
|
||||
font-family: SourceSansPro;
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
font-size: 14px;
|
||||
|
||||
h1 {
|
||||
|
@ -46,7 +46,7 @@
|
|||
}
|
||||
|
||||
code {
|
||||
font-family: SourceCodePro;
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
font-size: 12px;
|
||||
color: @bc-text;
|
||||
background: none; // revert Bootstrap's styling
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
outline: none;
|
||||
}
|
||||
|
||||
font-family: SourceSansPro;
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
font-size: 14px;
|
||||
|
||||
h1 {
|
||||
|
@ -46,7 +46,7 @@
|
|||
}
|
||||
|
||||
code {
|
||||
font-family: SourceCodePro;
|
||||
font-family: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
font-size: 12px;
|
||||
color: @bc-text;
|
||||
background: none; // revert Bootstrap's styling
|
||||
|
|
|
@ -82,5 +82,5 @@
|
|||
|
||||
@sansFontFamily: Helvetica, Arial, "Meiryo UI", "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
|
||||
@sourceFontFamily: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, fixed;
|
||||
@sourceFontFamily-Medium: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, fixed;
|
||||
@sourceFontFamily: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
@sourceFontFamily-Medium: "Menlo Regular", Consolas, Inconsolata, "Vera Sans", "Lucida Console", Courier, monospace, fixed;
|
||||
|
|
|
@ -91,7 +91,7 @@ define(function (require, exports, module) {
|
|||
* The default font family
|
||||
* @type {string}
|
||||
*/
|
||||
var DEFAULT_FONT_FAMILY = "'Menlo Regular', Consolas, Inconsolata, 'Vera Sans', 'Lucida Console', Courier, fixed";
|
||||
var DEFAULT_FONT_FAMILY = "'Menlo Regular', Consolas, Inconsolata, 'Vera Sans', 'Lucida Console', Courier, monospace, fixed";
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
|
Загрузка…
Ссылка в новой задаче