添加丢失的文件
This commit is contained in:
parent
0843a0608e
commit
d67dd56b3b
BIN
aio/src/assets/images/favicons/favicon-144x144-maskable.png
Normal file
BIN
aio/src/assets/images/favicons/favicon-144x144-maskable.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
15
aio/src/custom-elements-es5-polyfills.js
Normal file
15
aio/src/custom-elements-es5-polyfills.js
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Custom Elements polyfills for browsers that natively support Custom Elements but not ES2015
|
||||
* modules.
|
||||
*
|
||||
* NOTE:
|
||||
* Chrome, Firefox and Safari should not need these, because they added support for ES2015 modules
|
||||
* before Custom Elements. It is still required for some other (less common) browsers:
|
||||
* - UC browser for android 11.8 (~3.5% global usage)
|
||||
* - Samsung browser 5.0-8.1 (~0.43% global usage)
|
||||
* - Opera 41-47 (~0.02% global usage)
|
||||
*/
|
||||
// @ts-nocheck
|
||||
|
||||
require('core-js/modules/es.reflect.construct'); // Required by `native-shim.js`.
|
||||
require('@webcomponents/custom-elements/src/native-shim');
|
1
aio/src/google385281288605d160.html
Normal file
1
aio/src/google385281288605d160.html
Normal file
@ -0,0 +1 @@
|
||||
google-site-verification: google385281288605d160.html
|
@ -3,19 +3,11 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Angular 中文文档</title>
|
||||
<title>Angular</title>
|
||||
<meta name="Description" content="Angular is a platform for building mobile and desktop web applications.
|
||||
Join the community of millions of developers who build compelling user interfaces with Angular.">
|
||||
<base href="/">
|
||||
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','GTM-W3NL9V');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
|
||||
<link rel="preconnect" href="https://www.google-analytics.com">
|
||||
<link rel="dns-prefetch" href="https://www.google-analytics.com">
|
||||
<link rel="preconnect" href="https://stats.g.doubleclick.net">
|
||||
|
28
aio/src/styles/2-modules/_api-symbols.scss
Normal file
28
aio/src/styles/2-modules/_api-symbols.scss
Normal file
@ -0,0 +1,28 @@
|
||||
/* API SYMBOLS */
|
||||
|
||||
/* SYMBOL CLASS */
|
||||
|
||||
.symbol {
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 1px 2px rgba($black, .24);
|
||||
color: $white;
|
||||
display: inline-block;
|
||||
@include font-size(10);
|
||||
font-weight: 600;
|
||||
@include line-height(16);
|
||||
margin-right: 8px;
|
||||
text-align: center;
|
||||
width: 16px;
|
||||
|
||||
// SYMBOL TYPES
|
||||
// Symbol mapping variables in *constants*
|
||||
@each $name, $symbol in $api-symbols {
|
||||
&.#{$name} {
|
||||
background: map-get($symbol, background);
|
||||
|
||||
&:before {
|
||||
content: map-get($symbol, content);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
71
aio/src/styles/2-modules/_errors.scss
Normal file
71
aio/src/styles/2-modules/_errors.scss
Normal file
@ -0,0 +1,71 @@
|
||||
|
||||
.error-list {
|
||||
display: grid;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
margin: 0 0 0 -8px;
|
||||
}
|
||||
|
||||
li {
|
||||
@include font-size(14);
|
||||
margin: 8px 0;
|
||||
@include line-height(14);
|
||||
padding: 0;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
min-width: 220px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
.symbol {
|
||||
&.runtime {
|
||||
background: $green-500;
|
||||
}
|
||||
|
||||
&.compiler {
|
||||
background: $blue-500;
|
||||
}
|
||||
}
|
||||
|
||||
.symbol.runtime:before {
|
||||
content: "R";
|
||||
}
|
||||
|
||||
.symbol.compiler:before {
|
||||
content: "C";
|
||||
}
|
||||
|
||||
a {
|
||||
color: $blue-grey-600;
|
||||
display: inline-block;
|
||||
@include line-height(16);
|
||||
padding: 0 16px 0;
|
||||
text-decoration: none;
|
||||
transition: all .3s;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
&:hover {
|
||||
background: $blue-grey-50;
|
||||
color: $blue-500;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.error-video-container {
|
||||
position: relative;
|
||||
padding-bottom: 56.25%; /* 16:9 */
|
||||
height: 0;
|
||||
|
||||
iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
6
aio/src/styles/2-modules/_guides.scss
Normal file
6
aio/src/styles/2-modules/_guides.scss
Normal file
@ -0,0 +1,6 @@
|
||||
.reviewed {
|
||||
color: lighten($darkgray, 10);
|
||||
@include font-size(13);
|
||||
font-style: italic;
|
||||
text-align: right;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user