mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-21 14:13:36 +08:00
docs:更新文档
This commit is contained in:
271
node_modules/vitepress/dist/client/theme-default/styles/code.css
generated
vendored
Normal file
271
node_modules/vitepress/dist/client/theme-default/styles/code.css
generated
vendored
Normal file
@@ -0,0 +1,271 @@
|
||||
code {
|
||||
font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace;
|
||||
font-size: 0.85em;
|
||||
color: var(--text-color-light);
|
||||
background-color: rgba(27, 31, 35, 0.05);
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 3px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code .token.deleted {
|
||||
color: #ec5975;
|
||||
}
|
||||
|
||||
code .token.inserted {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
div[class*='language-'] {
|
||||
line-height: 1.5;
|
||||
padding: 0.5rem 1.5rem;
|
||||
background-color: var(--code-bg-color);
|
||||
border-radius: 6px;
|
||||
overflow-x: auto;
|
||||
position: relative;
|
||||
margin: 0.85rem 0;
|
||||
}
|
||||
|
||||
[class*='language-'] pre {
|
||||
background: transparent;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
[class*='language-'] code {
|
||||
color: #eee;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
[class*='language-'] code,
|
||||
[class*='language-'] pre {
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
/* Line highlighting */
|
||||
|
||||
.highlight-lines {
|
||||
font-size: 0.9em;
|
||||
user-select: none;
|
||||
padding-top: 1.3rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.highlight-lines .highlighted {
|
||||
background-color: rgba(0, 0, 0, 66%);
|
||||
}
|
||||
|
||||
/* Line numbers mode */
|
||||
|
||||
div[class*='language-'].line-numbers-mode {
|
||||
padding-left: 5rem;
|
||||
}
|
||||
|
||||
.line-numbers-wrapper {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 3.5rem;
|
||||
text-align: center;
|
||||
color: #888;
|
||||
line-height: 1.5;
|
||||
font-size: 0.9em;
|
||||
padding: 1.3rem 0;
|
||||
border-right: 1px solid rgba(0,0,0,50%);
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
/* Language marker */
|
||||
|
||||
[class*='language-']:before {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 0.6em;
|
||||
right: 1em;
|
||||
font-size: 0.8rem;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
[class~='language-html']:before,
|
||||
[class~='language-markup']:before {
|
||||
content: 'html';
|
||||
}
|
||||
|
||||
[class~='language-md']:before,
|
||||
[class~='language-markdown']:before {
|
||||
content: 'md';
|
||||
}
|
||||
|
||||
[class~='language-css']:before {
|
||||
content: 'css';
|
||||
}
|
||||
|
||||
[class~='language-sass']:before {
|
||||
content: 'sass';
|
||||
}
|
||||
|
||||
[class~='language-scss']:before {
|
||||
content: 'scss';
|
||||
}
|
||||
|
||||
[class~='language-less']:before {
|
||||
content: 'less';
|
||||
}
|
||||
|
||||
[class~='language-stylus']:before {
|
||||
content: 'styl';
|
||||
}
|
||||
|
||||
[class~='language-js']:before,
|
||||
[class~='language-typescript']:before {
|
||||
content: 'js';
|
||||
}
|
||||
|
||||
[class~='language-ts']:before,
|
||||
[class~='language-typescript']:before {
|
||||
content: 'ts';
|
||||
}
|
||||
|
||||
[class~='language-json']:before {
|
||||
content: 'json';
|
||||
}
|
||||
|
||||
[class~='language-rb']:before,
|
||||
[class~='language-ruby']:before {
|
||||
content: 'rb';
|
||||
}
|
||||
|
||||
[class~='language-py']:before,
|
||||
[class~='language-python']:before {
|
||||
content: 'py';
|
||||
}
|
||||
|
||||
[class~='language-sh']:before,
|
||||
[class~='language-bash']:before {
|
||||
content: 'sh';
|
||||
}
|
||||
|
||||
[class~='language-php']:before {
|
||||
content: 'php';
|
||||
}
|
||||
|
||||
[class~='language-go']:before {
|
||||
content: 'go';
|
||||
}
|
||||
|
||||
[class~='language-rust']:before {
|
||||
content: 'rust';
|
||||
}
|
||||
|
||||
[class~='language-java']:before {
|
||||
content: 'java';
|
||||
}
|
||||
|
||||
[class~='language-c']:before {
|
||||
content: 'c';
|
||||
}
|
||||
|
||||
[class~='language-yaml']:before {
|
||||
content: 'yaml';
|
||||
}
|
||||
|
||||
[class~='language-dockerfile']:before {
|
||||
content: 'dockerfile';
|
||||
}
|
||||
|
||||
/**
|
||||
* prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
|
||||
* Based on https://github.com/chriskempson/tomorrow-theme
|
||||
* @author Rose Pritchard
|
||||
*/
|
||||
.token.comment,
|
||||
.token.block-comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.token.tag,
|
||||
.token.attr-name,
|
||||
.token.namespace,
|
||||
.token.deleted {
|
||||
color: #e2777a;
|
||||
}
|
||||
|
||||
.token.function-name {
|
||||
color: #6196cc;
|
||||
}
|
||||
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.function {
|
||||
color: #f08d49;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.class-name,
|
||||
.token.constant,
|
||||
.token.symbol {
|
||||
color: #f8c555;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.important,
|
||||
.token.atrule,
|
||||
.token.keyword,
|
||||
.token.builtin {
|
||||
color: #cc99cd;
|
||||
}
|
||||
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.attr-value,
|
||||
.token.regex,
|
||||
.token.variable {
|
||||
color: #7ec699;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url {
|
||||
color: #67cdcc;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.token.inserted {
|
||||
color: green;
|
||||
}
|
||||
70
node_modules/vitepress/dist/client/theme-default/styles/custom-blocks.css
generated
vendored
Normal file
70
node_modules/vitepress/dist/client/theme-default/styles/custom-blocks.css
generated
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
.custom-block .custom-block-title {
|
||||
font-weight: 600;
|
||||
margin-bottom: -0.4rem;
|
||||
}
|
||||
|
||||
.custom-block.tip,
|
||||
.custom-block.warning,
|
||||
.custom-block.danger {
|
||||
padding: 0.1rem 1.5rem;
|
||||
border-left-width: 0.5rem;
|
||||
border-left-style: solid;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.custom-block.tip {
|
||||
background-color: #f3f5f7;
|
||||
border-color: #42b983;
|
||||
}
|
||||
|
||||
.custom-block.warning {
|
||||
background-color: rgba(255, 229, 100, 0.3);
|
||||
border-color: #e7c000;
|
||||
color: #6b5900;
|
||||
}
|
||||
|
||||
.custom-block.warning .custom-block-title {
|
||||
color: #b29400;
|
||||
}
|
||||
|
||||
.custom-block.warning a {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.custom-block.danger {
|
||||
background-color: #ffe6e6;
|
||||
border-color: #c00;
|
||||
color: #4d0000;
|
||||
}
|
||||
|
||||
.custom-block.danger .custom-block-title {
|
||||
color: #900;
|
||||
}
|
||||
|
||||
.custom-block.danger a {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.custom-block.details {
|
||||
display: block;
|
||||
position: relative;
|
||||
border-radius: 2px;
|
||||
margin: 1.6em 0;
|
||||
padding: 1.6em;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.custom-block.details h4 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.custom-block.details figure:last-child,
|
||||
.custom-block.details p:last-child {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.custom-block.details summary {
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
240
node_modules/vitepress/dist/client/theme-default/styles/layout.css
generated
vendored
Normal file
240
node_modules/vitepress/dist/client/theme-default/styles/layout.css
generated
vendored
Normal file
@@ -0,0 +1,240 @@
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-color: #fff;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
|
||||
Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.theme {
|
||||
font-size: 16px;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.theme .navbar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: var(--header-height);
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
z-index: 4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0.7rem 1.5rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 719px) {
|
||||
.theme .navbar {
|
||||
padding-left: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.theme aside {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: var(--sidebar-width);
|
||||
padding: var(--header-height) 0 1.5rem 0;
|
||||
border-right: 1px solid var(--border-color);
|
||||
background-color: #fff;
|
||||
z-index: 3;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.theme.sidebar-open .sidebar-mask {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.theme.no-navbar > h1,
|
||||
.theme.no-navbar > h2,
|
||||
.theme.no-navbar > h3,
|
||||
.theme.no-navbar > h4,
|
||||
.theme.no-navbar > h5,
|
||||
.theme.no-navbar > h6 {
|
||||
margin-top: 1.5rem;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.theme.no-navbar aside {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 959px) {
|
||||
.theme aside {
|
||||
width: var(--sidebar-width);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 719px) {
|
||||
.theme aside {
|
||||
transition: transform 0.2s ease;
|
||||
transform: translateX(-100%);
|
||||
}
|
||||
|
||||
.theme aside.open {
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-mask {
|
||||
z-index: 2;
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.theme main {
|
||||
padding-top: var(--header-height);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 960px) {
|
||||
.theme main {
|
||||
padding-left: var(--sidebar-width);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 720px) {
|
||||
.theme.no-sidebar aside {
|
||||
display: none;
|
||||
}
|
||||
.theme.no-sidebar main {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 959px) {
|
||||
.theme main {
|
||||
margin-left: var(--sidebar-width);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 719px) {
|
||||
.theme main {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.theme main.home {
|
||||
padding: var(--header-height) 2rem 0;
|
||||
max-width: 960px;
|
||||
margin: 0px auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 429px) {
|
||||
.theme main.home {
|
||||
padding-left: 1.5rem;
|
||||
padding-right: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
strong,
|
||||
b {
|
||||
font-weight: 600;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.65rem;
|
||||
padding-bottom: 0.3rem;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
a.header-anchor {
|
||||
font-size: 0.85em;
|
||||
float: left;
|
||||
margin-left: -0.87em;
|
||||
padding-right: 0.23em;
|
||||
margin-top: 0.125em;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
a.header-anchor:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1:hover .header-anchor,
|
||||
h2:hover .header-anchor,
|
||||
h3:hover .header-anchor,
|
||||
h4:hover .header-anchor,
|
||||
h5:hover .header-anchor,
|
||||
h6:hover .header-anchor {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
p,
|
||||
ol,
|
||||
ul {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
padding-left: 1.25em;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
margin: 1rem 0;
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
tr {
|
||||
border-top: 1px solid #dfe2e5;
|
||||
}
|
||||
|
||||
tr:nth-child(2n) {
|
||||
background-color: #f6f8fa;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
border: 1px solid #dfe2e5;
|
||||
padding: 0.6em 1em;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 1rem 0;
|
||||
border-left: 0.2rem solid #dfe2e5;
|
||||
padding: 0.25rem 0 0.25rem 1rem;
|
||||
font-size: 1rem;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
blockquote > p {
|
||||
margin: 0;
|
||||
}
|
||||
14
node_modules/vitepress/dist/client/theme-default/styles/vars.css
generated
vendored
Normal file
14
node_modules/vitepress/dist/client/theme-default/styles/vars.css
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
.theme {
|
||||
--border-color: rgb(226, 232, 240);
|
||||
--header-height: 3.6rem;
|
||||
--sidebar-width: 16.4rem;
|
||||
--text-color: #2c3e50;
|
||||
--text-color-light: #476582;
|
||||
--code-bg-color: #282c34;
|
||||
--accent-color: #3eaf7c;
|
||||
|
||||
/* responsive breakpoints */
|
||||
/* --mq-narrow: 959px; */
|
||||
/* --mq-mobile: 719px; */
|
||||
/* --mq-mobile-narrow: 419px; */
|
||||
}
|
||||
Reference in New Issue
Block a user