Declare shared css var for monospace font
Change-Id: If5ae7c38b6fd560245c53dfd59b21cb8a7d07c5a
This commit is contained in:
parent
5e6e4ab001
commit
4da21baa80
@ -52,7 +52,7 @@ limitations under the License.
|
|||||||
width: 1.3em;
|
width: 1.3em;
|
||||||
}
|
}
|
||||||
.u-monospace {
|
.u-monospace {
|
||||||
font-family: 'Source Code Pro';
|
font-family: var(--monospace-font-family);
|
||||||
}
|
}
|
||||||
.u-green {
|
.u-green {
|
||||||
color: #388E3C;
|
color: #388E3C;
|
||||||
|
@ -115,7 +115,7 @@ limitations under the License.
|
|||||||
.summary {
|
.summary {
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid #ddd;
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
font-family: 'Source Code Pro', Menlo, 'Lucida Console', Monaco, monospace;
|
font-family: var(--monospace-font-family);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
gr-file-list {
|
gr-file-list {
|
||||||
|
@ -35,7 +35,7 @@ limitations under the License.
|
|||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
border-top: 1px solid #eee;
|
border-top: 1px solid #eee;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-family: 'Source Code Pro', monospace;
|
font-family: var(--monospace-font-family);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
@ -23,5 +23,6 @@ limitations under the License.
|
|||||||
--view-background-color: #fff;
|
--view-background-color: #fff;
|
||||||
--default-horizontal-margin: 1.25rem;
|
--default-horizontal-margin: 1.25rem;
|
||||||
--max-constrained-width: 980px;
|
--max-constrained-width: 980px;
|
||||||
|
--monospace-font-family: 'Source Code Pro', Menlo, 'Lucida Console', Monaco, monospace;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user