@tencentcloud/ai-desk-customer-vue 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.code.yml +17 -0
- package/.eslintignore +6 -0
- package/.stylelintrc.json +40 -0
- package/CHANGELOG.md +5 -0
- package/README.md +12 -0
- package/adapter-vue-web.ts +73 -0
- package/adapter-vue.ts +10 -0
- package/assets/audio-before-delete.svg +4 -0
- package/assets/audio-blue.png +0 -0
- package/assets/audio-bubble-blue.svg +3 -0
- package/assets/audio-bubble-red.svg +3 -0
- package/assets/audio-delete.svg +10 -0
- package/assets/audio.svg +6 -0
- package/assets/back.svg +16 -0
- package/assets/background_mobile.png +0 -0
- package/assets/camera-uni.png +0 -0
- package/assets/close-quote-icon.svg +3 -0
- package/assets/customer_avatar.png +0 -0
- package/assets/customer_avatar_mobile.png +0 -0
- package/assets/dialog-close.png +0 -0
- package/assets/double-arrow.svg +1 -0
- package/assets/download.svg +6 -0
- package/assets/emoji.png +0 -0
- package/assets/face-uni.png +0 -0
- package/assets/face.png +0 -0
- package/assets/file-h5.png +0 -0
- package/assets/files.png +0 -0
- package/assets/form-dialog-bg.png +0 -0
- package/assets/icon-arrow-left.svg +7 -0
- package/assets/icon-close.svg +6 -0
- package/assets/iconRight.svg +3 -0
- package/assets/icon_form.png +0 -0
- package/assets/icon_form_filled.png +0 -0
- package/assets/icon_question.png +0 -0
- package/assets/icon_refresh.png +0 -0
- package/assets/icon_success.png +0 -0
- package/assets/imRobotGuess.svg +4 -0
- package/assets/image-uni.png +0 -0
- package/assets/image.png +0 -0
- package/assets/keyboard_icon.png +0 -0
- package/assets/loading.png +0 -0
- package/assets/more-uni.png +0 -0
- package/assets/more_tools.png +0 -0
- package/assets/msg-audio.svg +1 -0
- package/assets/msg-copy.svg +30 -0
- package/assets/msg-del.svg +33 -0
- package/assets/msg-quote.svg +8 -0
- package/assets/msg-revoke.svg +29 -0
- package/assets/radio-check.png +0 -0
- package/assets/radio-uncheck.png +0 -0
- package/assets/radio.svg +6 -0
- package/assets/refresh.svg +4 -0
- package/assets/rotate-left.svg +7 -0
- package/assets/rotate-right.svg +7 -0
- package/assets/star.png +0 -0
- package/assets/starLine.png +0 -0
- package/assets/translate.svg +12 -0
- package/assets/video-play.png +0 -0
- package/assets/video-uni.png +0 -0
- package/assets/video.png +0 -0
- package/assets/zoom-in.svg +9 -0
- package/assets/zoom-out.svg +9 -0
- package/components/CustomerServiceChat/chat-header/index-web.vue +141 -0
- package/components/CustomerServiceChat/emoji-config/custom-emoji.ts +15 -0
- package/components/CustomerServiceChat/emoji-config/default-emoji.ts +114 -0
- package/components/CustomerServiceChat/emoji-config/index.ts +140 -0
- package/components/CustomerServiceChat/emoji-config/locales/en.ts +66 -0
- package/components/CustomerServiceChat/emoji-config/locales/zh_cn.ts +66 -0
- package/components/CustomerServiceChat/index-web.vue +250 -0
- package/components/CustomerServiceChat/message-input/index-web.vue +214 -0
- package/components/CustomerServiceChat/message-input/index.ts +2 -0
- package/components/CustomerServiceChat/message-input/message-input-button.vue +95 -0
- package/components/CustomerServiceChat/message-input/message-input-editor-web.vue +884 -0
- package/components/CustomerServiceChat/message-input/message-input-file-web.ts +38 -0
- package/components/CustomerServiceChat/message-input/message-input-quote/index.vue +204 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-dialog-mobile/emoji-dialog-mobile.vue +145 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue +180 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/index.vue +90 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/style/h5.scss +26 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/style/index.scss +4 -0
- package/components/CustomerServiceChat/message-input-toolbar/emoji-picker/style/web.scss +55 -0
- package/components/CustomerServiceChat/message-input-toolbar/file-upload/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/file-upload/index.vue +77 -0
- package/components/CustomerServiceChat/message-input-toolbar/image-upload/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/image-upload/index.vue +185 -0
- package/components/CustomerServiceChat/message-input-toolbar/index-web.vue +191 -0
- package/components/CustomerServiceChat/message-input-toolbar/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/style/uni.scss +111 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/index.vue +149 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/color.scss +6 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/h5.scss +20 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/index.scss +5 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/uni.scss +36 -0
- package/components/CustomerServiceChat/message-input-toolbar/toolbar-item-container/style/web.scss +19 -0
- package/components/CustomerServiceChat/message-input-toolbar/video-upload/index.ts +2 -0
- package/components/CustomerServiceChat/message-input-toolbar/video-upload/index.vue +146 -0
- package/components/CustomerServiceChat/message-list/index-web.vue +712 -0
- package/components/CustomerServiceChat/message-list/link/index.ts +23 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-audio-web.vue +223 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-bubble-web.vue +504 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-custom.vue +5 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-face.vue +45 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-file.vue +151 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-image-web.vue +97 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-location.vue +34 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-quote/index-web.vue +286 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-quote/interface.ts +60 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-record/index.vue +139 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-text.vue +94 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-timestamp.vue +76 -0
- package/components/CustomerServiceChat/message-list/message-elements/message-video-web.vue +319 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/index.ts +9 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-customer/index.ts +5 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-customer/message-customer-service.vue +22 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-plugin-layout-web.vue +133 -0
- package/components/CustomerServiceChat/message-list/message-elements/plugins/plugin-components/message-plugin-web.vue +83 -0
- package/components/CustomerServiceChat/message-list/message-elements/read-status/index.vue +193 -0
- package/components/CustomerServiceChat/message-list/message-elements/simple-message-list/index.vue +462 -0
- package/components/CustomerServiceChat/message-list/message-elements/simple-message-list/message-container.vue +105 -0
- package/components/CustomerServiceChat/message-list/message-elements/video-play.vue +59 -0
- package/components/CustomerServiceChat/message-list/message-tool/index-web.vue +312 -0
- package/components/CustomerServiceChat/message-list/message-tool/message-revoked.vue +63 -0
- package/components/CustomerServiceChat/message-list/scroll-button/index.vue +201 -0
- package/components/CustomerServiceChat/message-list/style/color.scss +32 -0
- package/components/CustomerServiceChat/message-list/style/h5.scss +16 -0
- package/components/CustomerServiceChat/message-list/style/index.scss +11 -0
- package/components/CustomerServiceChat/message-list/style/web.scss +180 -0
- package/components/CustomerServiceChat/style/common.scss +59 -0
- package/components/CustomerServiceChat/style/h5.scss +51 -0
- package/components/CustomerServiceChat/style/index.scss +12 -0
- package/components/CustomerServiceChat/style/uni.scss +13 -0
- package/components/CustomerServiceChat/style/web.scss +46 -0
- package/components/CustomerServiceChat/style/wx.scss +5 -0
- package/components/CustomerServiceChat/utils/conversationDraft.ts +86 -0
- package/components/CustomerServiceChat/utils/sendMessage.ts +140 -0
- package/components/common/Avatar/index.vue +148 -0
- package/components/common/BottomPopup/index.ts +3 -0
- package/components/common/BottomPopup/index.vue +160 -0
- package/components/common/BottomPopup/style/h5.scss +62 -0
- package/components/common/BottomPopup/style/index.scss +3 -0
- package/components/common/BottomPopup/style/modal.scss +5 -0
- package/components/common/Dialog/index.ts +3 -0
- package/components/common/Dialog/index.vue +120 -0
- package/components/common/Dialog/style/color.scss +43 -0
- package/components/common/Dialog/style/dialog.scss +4 -0
- package/components/common/Dialog/style/h5.scss +56 -0
- package/components/common/Dialog/style/web.scss +61 -0
- package/components/common/Drawer/index.vue +164 -0
- package/components/common/Icon.vue +83 -0
- package/components/common/ImagePreviewer/image-item-web.vue +42 -0
- package/components/common/ImagePreviewer/index-web.vue +682 -0
- package/components/common/ImagePreviewer/index.ts +3 -0
- package/components/common/Overlay/index.vue +126 -0
- package/components/common/ProgressMessage/index.vue +95 -0
- package/components/common/RadioSelect/index.vue +59 -0
- package/components/common/RichText/LICENSE +21 -0
- package/components/common/RichText/README.md +244 -0
- package/components/common/RichText/dist/mp-alipay/index.acss +1 -0
- package/components/common/RichText/dist/mp-alipay/index.axml +1 -0
- package/components/common/RichText/dist/mp-alipay/index.js +8 -0
- package/components/common/RichText/dist/mp-alipay/index.json +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.acss +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.axml +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.js +1 -0
- package/components/common/RichText/dist/mp-alipay/node/node.json +1 -0
- package/components/common/RichText/dist/mp-alipay/parser.js +1 -0
- package/components/common/RichText/dist/mp-baidu/index.css +1 -0
- package/components/common/RichText/dist/mp-baidu/index.js +8 -0
- package/components/common/RichText/dist/mp-baidu/index.json +1 -0
- package/components/common/RichText/dist/mp-baidu/index.swan +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.css +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.js +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.json +1 -0
- package/components/common/RichText/dist/mp-baidu/node/node.swan +1 -0
- package/components/common/RichText/dist/mp-baidu/parser.js +1 -0
- package/components/common/RichText/dist/mp-qq/index.js +8 -0
- package/components/common/RichText/dist/mp-qq/index.json +1 -0
- package/components/common/RichText/dist/mp-qq/index.qml +1 -0
- package/components/common/RichText/dist/mp-qq/index.qss +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.js +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.json +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.qml +1 -0
- package/components/common/RichText/dist/mp-qq/node/node.qss +1 -0
- package/components/common/RichText/dist/mp-qq/parser.js +1 -0
- package/components/common/RichText/dist/mp-toutiao/index.js +8 -0
- package/components/common/RichText/dist/mp-toutiao/index.json +1 -0
- package/components/common/RichText/dist/mp-toutiao/index.ttml +1 -0
- package/components/common/RichText/dist/mp-toutiao/index.ttss +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.js +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.json +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.ttml +1 -0
- package/components/common/RichText/dist/mp-toutiao/node/node.ttss +1 -0
- package/components/common/RichText/dist/mp-toutiao/parser.js +1 -0
- package/components/common/RichText/dist/mp-weixin/index.js +8 -0
- package/components/common/RichText/dist/mp-weixin/index.json +1 -0
- package/components/common/RichText/dist/mp-weixin/index.wxml +1 -0
- package/components/common/RichText/dist/mp-weixin/index.wxss +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.js +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.json +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.wxml +1 -0
- package/components/common/RichText/dist/mp-weixin/node/node.wxss +1 -0
- package/components/common/RichText/dist/mp-weixin/parser.js +1 -0
- package/components/common/RichText/dist/uni-app/components/mp-html/mp-html.vue +498 -0
- package/components/common/RichText/dist/uni-app/components/mp-html/node/node.vue +587 -0
- package/components/common/RichText/dist/uni-app/components/mp-html/parser.js +1393 -0
- package/components/common/RichText/dist/uni-app/static/app-plus/mp-html/js/handler.js +1 -0
- package/components/common/RichText/dist/uni-app/static/app-plus/mp-html/js/uni.webview.min.js +1 -0
- package/components/common/RichText/dist/uni-app/static/app-plus/mp-html/local.html +1 -0
- package/components/common/RichText/docs/.nojekyll +0 -0
- package/components/common/RichText/docs/index.html +50 -0
- package/components/common/RichText/docs/lib/docsify.min.js +1 -0
- package/components/common/RichText/docs/lib/prism-bash.min.js +1 -0
- package/components/common/RichText/docs/lib/search.min.js +1 -0
- package/components/common/RichText/docs/lib/vue.css +858 -0
- package/components/common/RichText/gulpfile.js +113 -0
- package/components/common/RichText/lint.js +63 -0
- package/components/common/RichText/package.json +74 -0
- package/components/common/RichText/plugins/README.md +2 -0
- package/components/common/RichText/plugins/audio/README.md +25 -0
- package/components/common/RichText/plugins/audio/build.js +11 -0
- package/components/common/RichText/plugins/audio/context.js +7 -0
- package/components/common/RichText/plugins/audio/index.js +34 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.js +189 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.json +3 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.wxml +17 -0
- package/components/common/RichText/plugins/audio/miniprogram/audio.wxss +127 -0
- package/components/common/RichText/plugins/audio/miniprogram/build.js +3 -0
- package/components/common/RichText/plugins/audio/uni-app/audio.vue +269 -0
- package/components/common/RichText/plugins/audio/uni-app/build.js +3 -0
- package/components/common/RichText/plugins/card/README.md +30 -0
- package/components/common/RichText/plugins/card/build.js +14 -0
- package/components/common/RichText/plugins/card/index.js +7 -0
- package/components/common/RichText/plugins/card/miniprogram/build.js +3 -0
- package/components/common/RichText/plugins/card/miniprogram/card.js +26 -0
- package/components/common/RichText/plugins/card/miniprogram/card.json +3 -0
- package/components/common/RichText/plugins/card/miniprogram/card.wxml +9 -0
- package/components/common/RichText/plugins/card/miniprogram/card.wxss +55 -0
- package/components/common/RichText/plugins/card/uni-app/build.js +3 -0
- package/components/common/RichText/plugins/card/uni-app/card.vue +122 -0
- package/components/common/RichText/plugins/editable/README.md +137 -0
- package/components/common/RichText/plugins/editable/config.js +15 -0
- package/components/common/RichText/plugins/editable/miniprogram/build.js +813 -0
- package/components/common/RichText/plugins/editable/miniprogram/index.js +551 -0
- package/components/common/RichText/plugins/editable/uni-app/build.js +744 -0
- package/components/common/RichText/plugins/editable/uni-app/index.js +553 -0
- package/components/common/RichText/plugins/emoji/README.md +15 -0
- package/components/common/RichText/plugins/emoji/index.js +203 -0
- package/components/common/RichText/plugins/highlight/README.md +26 -0
- package/components/common/RichText/plugins/highlight/config.js +5 -0
- package/components/common/RichText/plugins/highlight/index.js +96 -0
- package/components/common/RichText/plugins/highlight/miniprogram/build.js +88 -0
- package/components/common/RichText/plugins/highlight/prism.css +125 -0
- package/components/common/RichText/plugins/highlight/prism.min.js +7 -0
- package/components/common/RichText/plugins/highlight/uni-app/build.js +88 -0
- package/components/common/RichText/plugins/img-cache/README.md +24 -0
- package/components/common/RichText/plugins/img-cache/build.js +16 -0
- package/components/common/RichText/plugins/img-cache/index.js +138 -0
- package/components/common/RichText/plugins/latex/README.md +16 -0
- package/components/common/RichText/plugins/latex/build.js +14 -0
- package/components/common/RichText/plugins/latex/index.js +77 -0
- package/components/common/RichText/plugins/latex/katex.css +1070 -0
- package/components/common/RichText/plugins/latex/katex.min.js +1 -0
- package/components/common/RichText/plugins/markdown/README.md +17 -0
- package/components/common/RichText/plugins/markdown/index.js +34 -0
- package/components/common/RichText/plugins/markdown/marked.min.js +6 -0
- package/components/common/RichText/plugins/markdown/miniprogram/build.js +70 -0
- package/components/common/RichText/plugins/markdown/uni-app/build.js +68 -0
- package/components/common/RichText/plugins/search/README.md +46 -0
- package/components/common/RichText/plugins/search/miniprogram/index.js +137 -0
- package/components/common/RichText/plugins/search/uni-app/index.js +132 -0
- package/components/common/RichText/plugins/style/README.md +30 -0
- package/components/common/RichText/plugins/style/index.js +129 -0
- package/components/common/RichText/plugins/style/parser.js +175 -0
- package/components/common/RichText/plugins/template/README.md +2 -0
- package/components/common/RichText/plugins/template/build.js +65 -0
- package/components/common/RichText/plugins/template/index.js +67 -0
- package/components/common/RichText/plugins/txv-video/README.md +18 -0
- package/components/common/RichText/plugins/txv-video/build.js +3 -0
- package/components/common/RichText/plugins/txv-video/index.js +46 -0
- package/components/common/RichText/plugins/txv-video/miniprogram/build.js +6 -0
- package/components/common/RichText/plugins/txv-video/uni-app/build.js +3 -0
- package/components/common/RichText/src/miniprogram/index.js +396 -0
- package/components/common/RichText/src/miniprogram/index.json +6 -0
- package/components/common/RichText/src/miniprogram/index.wxml +7 -0
- package/components/common/RichText/src/miniprogram/index.wxss +13 -0
- package/components/common/RichText/src/miniprogram/node/node.js +247 -0
- package/components/common/RichText/src/miniprogram/node/node.json +6 -0
- package/components/common/RichText/src/miniprogram/node/node.wxml +112 -0
- package/components/common/RichText/src/miniprogram/node/node.wxss +164 -0
- package/components/common/RichText/src/miniprogram/parser.js +1269 -0
- package/components/common/RichText/src/uni-app/components/mp-html/mp-html.vue +498 -0
- package/components/common/RichText/src/uni-app/components/mp-html/node/node.vue +585 -0
- package/components/common/RichText/src/uni-app/components/mp-html/parser.js +1393 -0
- package/components/common/RichText/src/uni-app/static/app-plus/mp-html/js/handler.js +254 -0
- package/components/common/RichText/src/uni-app/static/app-plus/mp-html/js/uni.webview.min.js +1 -0
- package/components/common/RichText/src/uni-app/static/app-plus/mp-html/local.html +33 -0
- package/components/common/RichText/tools/config.js +82 -0
- package/components/common/RichText/tools/converter.js +205 -0
- package/components/common/RichText/tools/ifdef.js +115 -0
- package/components/common/RichText/tools/minifier.js +40 -0
- package/components/common/RichText/tools/plugin.js +248 -0
- package/components/common/Toast/index-web.ts +122 -0
- package/components/common/Toast/index-web.vue +178 -0
- package/components/common/Toast/type.ts +8 -0
- package/components/common/common.scss +59 -0
- package/components/customer-icon.vue +56 -0
- package/components/message-branch.vue +120 -0
- package/components/message-customer-service.vue +114 -0
- package/components/message-form/form-branch.vue +68 -0
- package/components/message-form/form-input.vue +242 -0
- package/components/message-form/index.vue +80 -0
- package/components/message-multi-branch/branch-pc.vue +79 -0
- package/components/message-multi-branch/index.vue +60 -0
- package/components/message-multi-form/component-mobile/form-popup.vue +37 -0
- package/components/message-multi-form/component-mobile/input-mobile.vue +102 -0
- package/components/message-multi-form/component-mobile/label-mobile.vue +32 -0
- package/components/message-multi-form/component-mobile/radios-mobile.vue +161 -0
- package/components/message-multi-form/component-pc/input-pc.vue +93 -0
- package/components/message-multi-form/component-pc/label-pc.vue +33 -0
- package/components/message-multi-form/component-pc/radio-pc.vue +98 -0
- package/components/message-multi-form/form-mobile.vue +385 -0
- package/components/message-multi-form/form-pc.vue +184 -0
- package/components/message-multi-form/index.vue +61 -0
- package/components/message-product-card.vue +129 -0
- package/components/message-rating/index.vue +56 -0
- package/components/message-rating/message-rating-number.vue +247 -0
- package/components/message-rating/message-rating-star.vue +237 -0
- package/components/message-rich-text.vue +155 -0
- package/components/message-robot-welcome.vue +181 -0
- package/components/message-stream.vue +109 -0
- package/constant.ts +122 -0
- package/excluded-list.txt +6 -0
- package/index.ts +30 -0
- package/index.vue +60 -0
- package/interface.ts +176 -0
- package/logger/index.ts +12 -0
- package/logger/main.ts +120 -0
- package/package.json +62 -0
- package/script/fileCopy.js +60 -0
- package/script/syncVersion.js +35 -0
- package/server.ts +128 -0
- package/styles/common.scss +116 -0
- package/tsconfig.json +34 -0
- package/typings.d.ts +20 -0
- package/utils/chatStorage.ts +70 -0
- package/utils/copy-web.ts +141 -0
- package/utils/enableSampleTaskStatus.ts +8 -0
- package/utils/env.ts +15 -0
- package/utils/index.ts +59 -0
- package/utils/utils.ts +162 -0
|
@@ -0,0 +1,858 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css?family=Roboto+Mono|Source+Sans+Pro:300,400,600");
|
|
2
|
+
* {
|
|
3
|
+
-webkit-font-smoothing: antialiased;
|
|
4
|
+
-webkit-overflow-scrolling: touch;
|
|
5
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
6
|
+
-webkit-text-size-adjust: none;
|
|
7
|
+
-webkit-touch-callout: none;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
body:not(.ready) {
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
}
|
|
13
|
+
body:not(.ready) [data-cloak],
|
|
14
|
+
body:not(.ready) .app-nav,
|
|
15
|
+
body:not(.ready) > nav {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
div#app {
|
|
19
|
+
font-size: 30px;
|
|
20
|
+
font-weight: lighter;
|
|
21
|
+
margin: 40vh auto;
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
div#app:empty::before {
|
|
25
|
+
content: 'Loading...';
|
|
26
|
+
}
|
|
27
|
+
.emoji {
|
|
28
|
+
height: 1.2rem;
|
|
29
|
+
vertical-align: middle;
|
|
30
|
+
}
|
|
31
|
+
.progress {
|
|
32
|
+
background-color: var(--theme-color, #42b983);
|
|
33
|
+
height: 2px;
|
|
34
|
+
left: 0px;
|
|
35
|
+
position: fixed;
|
|
36
|
+
right: 0px;
|
|
37
|
+
top: 0px;
|
|
38
|
+
transition: width 0.2s, opacity 0.4s;
|
|
39
|
+
width: 0%;
|
|
40
|
+
z-index: 999999;
|
|
41
|
+
}
|
|
42
|
+
.search a:hover {
|
|
43
|
+
color: var(--theme-color, #42b983);
|
|
44
|
+
}
|
|
45
|
+
.search .search-keyword {
|
|
46
|
+
color: var(--theme-color, #42b983);
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-weight: bold;
|
|
49
|
+
}
|
|
50
|
+
html,
|
|
51
|
+
body {
|
|
52
|
+
height: 100%;
|
|
53
|
+
}
|
|
54
|
+
body {
|
|
55
|
+
-moz-osx-font-smoothing: grayscale;
|
|
56
|
+
-webkit-font-smoothing: antialiased;
|
|
57
|
+
color: #34495e;
|
|
58
|
+
font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
|
|
59
|
+
font-size: 15px;
|
|
60
|
+
letter-spacing: 0;
|
|
61
|
+
margin: 0;
|
|
62
|
+
overflow-x: hidden;
|
|
63
|
+
}
|
|
64
|
+
img {
|
|
65
|
+
max-width: 100%;
|
|
66
|
+
}
|
|
67
|
+
a[disabled] {
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
opacity: 0.6;
|
|
70
|
+
}
|
|
71
|
+
kbd {
|
|
72
|
+
border: solid 1px #ccc;
|
|
73
|
+
border-radius: 3px;
|
|
74
|
+
display: inline-block;
|
|
75
|
+
font-size: 12px !important;
|
|
76
|
+
line-height: 12px;
|
|
77
|
+
margin-bottom: 3px;
|
|
78
|
+
padding: 3px 5px;
|
|
79
|
+
vertical-align: middle;
|
|
80
|
+
}
|
|
81
|
+
li input[type='checkbox'] {
|
|
82
|
+
margin: 0 0.2em 0.25em 0;
|
|
83
|
+
vertical-align: middle;
|
|
84
|
+
}
|
|
85
|
+
.app-nav {
|
|
86
|
+
margin: 25px 60px 0 0;
|
|
87
|
+
position: absolute;
|
|
88
|
+
right: 0;
|
|
89
|
+
text-align: right;
|
|
90
|
+
z-index: 10;
|
|
91
|
+
/* navbar dropdown */
|
|
92
|
+
}
|
|
93
|
+
.app-nav.no-badge {
|
|
94
|
+
margin-right: 25px;
|
|
95
|
+
}
|
|
96
|
+
.app-nav p {
|
|
97
|
+
margin: 0;
|
|
98
|
+
}
|
|
99
|
+
.app-nav > a {
|
|
100
|
+
margin: 0 1rem;
|
|
101
|
+
padding: 5px 0;
|
|
102
|
+
}
|
|
103
|
+
.app-nav ul,
|
|
104
|
+
.app-nav li {
|
|
105
|
+
display: inline-block;
|
|
106
|
+
list-style: none;
|
|
107
|
+
margin: 0;
|
|
108
|
+
}
|
|
109
|
+
.app-nav a {
|
|
110
|
+
color: inherit;
|
|
111
|
+
font-size: 16px;
|
|
112
|
+
text-decoration: none;
|
|
113
|
+
transition: color 0.3s;
|
|
114
|
+
}
|
|
115
|
+
.app-nav a:hover {
|
|
116
|
+
color: var(--theme-color, #42b983);
|
|
117
|
+
}
|
|
118
|
+
.app-nav a.active {
|
|
119
|
+
border-bottom: 2px solid var(--theme-color, #42b983);
|
|
120
|
+
color: var(--theme-color, #42b983);
|
|
121
|
+
}
|
|
122
|
+
.app-nav li {
|
|
123
|
+
display: inline-block;
|
|
124
|
+
margin: 0 1rem;
|
|
125
|
+
padding: 5px 0;
|
|
126
|
+
position: relative;
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
129
|
+
.app-nav li ul {
|
|
130
|
+
background-color: #fff;
|
|
131
|
+
border: 1px solid #ddd;
|
|
132
|
+
border-bottom-color: #ccc;
|
|
133
|
+
border-radius: 4px;
|
|
134
|
+
box-sizing: border-box;
|
|
135
|
+
display: none;
|
|
136
|
+
max-height: calc(100vh - 61px);
|
|
137
|
+
overflow-y: auto;
|
|
138
|
+
padding: 10px 0;
|
|
139
|
+
position: absolute;
|
|
140
|
+
right: -15px;
|
|
141
|
+
text-align: left;
|
|
142
|
+
top: 100%;
|
|
143
|
+
white-space: nowrap;
|
|
144
|
+
}
|
|
145
|
+
.app-nav li ul li {
|
|
146
|
+
display: block;
|
|
147
|
+
font-size: 14px;
|
|
148
|
+
line-height: 1rem;
|
|
149
|
+
margin: 0;
|
|
150
|
+
margin: 8px 14px;
|
|
151
|
+
white-space: nowrap;
|
|
152
|
+
}
|
|
153
|
+
.app-nav li ul a {
|
|
154
|
+
display: block;
|
|
155
|
+
font-size: inherit;
|
|
156
|
+
margin: 0;
|
|
157
|
+
padding: 0;
|
|
158
|
+
}
|
|
159
|
+
.app-nav li ul a.active {
|
|
160
|
+
border-bottom: 0;
|
|
161
|
+
}
|
|
162
|
+
.app-nav li:hover ul {
|
|
163
|
+
display: block;
|
|
164
|
+
}
|
|
165
|
+
.github-corner {
|
|
166
|
+
border-bottom: 0;
|
|
167
|
+
position: fixed;
|
|
168
|
+
right: 0;
|
|
169
|
+
text-decoration: none;
|
|
170
|
+
top: 0;
|
|
171
|
+
z-index: 1;
|
|
172
|
+
}
|
|
173
|
+
.github-corner:hover .octo-arm {
|
|
174
|
+
-webkit-animation: octocat-wave 560ms ease-in-out;
|
|
175
|
+
animation: octocat-wave 560ms ease-in-out;
|
|
176
|
+
}
|
|
177
|
+
.github-corner svg {
|
|
178
|
+
color: #fff;
|
|
179
|
+
fill: var(--theme-color, #42b983);
|
|
180
|
+
height: 80px;
|
|
181
|
+
width: 80px;
|
|
182
|
+
}
|
|
183
|
+
main {
|
|
184
|
+
display: block;
|
|
185
|
+
position: relative;
|
|
186
|
+
width: 100vw;
|
|
187
|
+
height: 100%;
|
|
188
|
+
z-index: 0;
|
|
189
|
+
}
|
|
190
|
+
main.hidden {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
.anchor {
|
|
194
|
+
display: inline-block;
|
|
195
|
+
text-decoration: none;
|
|
196
|
+
transition: all 0.3s;
|
|
197
|
+
}
|
|
198
|
+
.anchor span {
|
|
199
|
+
color: #34495e;
|
|
200
|
+
}
|
|
201
|
+
.anchor:hover {
|
|
202
|
+
text-decoration: underline;
|
|
203
|
+
}
|
|
204
|
+
.sidebar {
|
|
205
|
+
border-right: 1px solid rgba(0,0,0,0.07);
|
|
206
|
+
overflow-y: auto;
|
|
207
|
+
padding: 40px 0 0;
|
|
208
|
+
position: absolute;
|
|
209
|
+
top: 0;
|
|
210
|
+
bottom: 0;
|
|
211
|
+
left: 0;
|
|
212
|
+
transition: transform 250ms ease-out;
|
|
213
|
+
width: 300px;
|
|
214
|
+
z-index: 20;
|
|
215
|
+
}
|
|
216
|
+
.sidebar > h1 {
|
|
217
|
+
margin: 0 auto 1rem;
|
|
218
|
+
font-size: 1.5rem;
|
|
219
|
+
font-weight: 300;
|
|
220
|
+
text-align: center;
|
|
221
|
+
}
|
|
222
|
+
.sidebar > h1 a {
|
|
223
|
+
color: inherit;
|
|
224
|
+
text-decoration: none;
|
|
225
|
+
}
|
|
226
|
+
.sidebar > h1 .app-nav {
|
|
227
|
+
display: block;
|
|
228
|
+
position: static;
|
|
229
|
+
}
|
|
230
|
+
.sidebar .sidebar-nav {
|
|
231
|
+
line-height: 2em;
|
|
232
|
+
padding-bottom: 40px;
|
|
233
|
+
}
|
|
234
|
+
.sidebar li.collapse .app-sub-sidebar {
|
|
235
|
+
display: none;
|
|
236
|
+
}
|
|
237
|
+
.sidebar ul {
|
|
238
|
+
margin: 0 0 0 15px;
|
|
239
|
+
padding: 0;
|
|
240
|
+
}
|
|
241
|
+
.sidebar li > p {
|
|
242
|
+
font-weight: 700;
|
|
243
|
+
margin: 0;
|
|
244
|
+
}
|
|
245
|
+
.sidebar ul,
|
|
246
|
+
.sidebar ul li {
|
|
247
|
+
list-style: none;
|
|
248
|
+
}
|
|
249
|
+
.sidebar ul li a {
|
|
250
|
+
border-bottom: none;
|
|
251
|
+
display: block;
|
|
252
|
+
}
|
|
253
|
+
.sidebar ul li ul {
|
|
254
|
+
padding-left: 20px;
|
|
255
|
+
}
|
|
256
|
+
.sidebar::-webkit-scrollbar {
|
|
257
|
+
width: 4px;
|
|
258
|
+
}
|
|
259
|
+
.sidebar::-webkit-scrollbar-thumb {
|
|
260
|
+
background: transparent;
|
|
261
|
+
border-radius: 4px;
|
|
262
|
+
}
|
|
263
|
+
.sidebar:hover::-webkit-scrollbar-thumb {
|
|
264
|
+
background: rgba(136,136,136,0.4);
|
|
265
|
+
}
|
|
266
|
+
.sidebar:hover::-webkit-scrollbar-track {
|
|
267
|
+
background: rgba(136,136,136,0.1);
|
|
268
|
+
}
|
|
269
|
+
.sidebar-toggle {
|
|
270
|
+
background-color: transparent;
|
|
271
|
+
background-color: rgba(255,255,255,0.8);
|
|
272
|
+
border: 0;
|
|
273
|
+
outline: none;
|
|
274
|
+
padding: 10px;
|
|
275
|
+
position: absolute;
|
|
276
|
+
bottom: 0;
|
|
277
|
+
left: 0;
|
|
278
|
+
text-align: center;
|
|
279
|
+
transition: opacity 0.3s;
|
|
280
|
+
width: 284px;
|
|
281
|
+
z-index: 30;
|
|
282
|
+
cursor: pointer;
|
|
283
|
+
}
|
|
284
|
+
.sidebar-toggle:hover .sidebar-toggle-button {
|
|
285
|
+
opacity: 0.4;
|
|
286
|
+
}
|
|
287
|
+
.sidebar-toggle span {
|
|
288
|
+
background-color: var(--theme-color, #42b983);
|
|
289
|
+
display: block;
|
|
290
|
+
margin-bottom: 4px;
|
|
291
|
+
width: 16px;
|
|
292
|
+
height: 2px;
|
|
293
|
+
}
|
|
294
|
+
body.sticky .sidebar,
|
|
295
|
+
body.sticky .sidebar-toggle {
|
|
296
|
+
position: fixed;
|
|
297
|
+
}
|
|
298
|
+
.content {
|
|
299
|
+
padding-top: 60px;
|
|
300
|
+
position: absolute;
|
|
301
|
+
top: 0;
|
|
302
|
+
right: 0;
|
|
303
|
+
bottom: 0;
|
|
304
|
+
left: 300px;
|
|
305
|
+
transition: left 250ms ease;
|
|
306
|
+
}
|
|
307
|
+
.markdown-section {
|
|
308
|
+
margin: 0 auto;
|
|
309
|
+
max-width: 80%;
|
|
310
|
+
padding: 30px 15px 40px 15px;
|
|
311
|
+
position: relative;
|
|
312
|
+
}
|
|
313
|
+
.markdown-section > * {
|
|
314
|
+
box-sizing: border-box;
|
|
315
|
+
font-size: inherit;
|
|
316
|
+
}
|
|
317
|
+
.markdown-section > :first-child {
|
|
318
|
+
margin-top: 0 !important;
|
|
319
|
+
}
|
|
320
|
+
.markdown-section hr {
|
|
321
|
+
border: none;
|
|
322
|
+
border-bottom: 1px solid #eee;
|
|
323
|
+
margin: 2em 0;
|
|
324
|
+
}
|
|
325
|
+
.markdown-section iframe {
|
|
326
|
+
border: 1px solid #eee;
|
|
327
|
+
/* fix horizontal overflow on iOS Safari */
|
|
328
|
+
width: 1px;
|
|
329
|
+
min-width: 100%;
|
|
330
|
+
}
|
|
331
|
+
.markdown-section table {
|
|
332
|
+
border-collapse: collapse;
|
|
333
|
+
border-spacing: 0;
|
|
334
|
+
display: block;
|
|
335
|
+
margin-bottom: 1rem;
|
|
336
|
+
overflow: auto;
|
|
337
|
+
width: 100%;
|
|
338
|
+
}
|
|
339
|
+
.markdown-section th {
|
|
340
|
+
border: 1px solid #ddd;
|
|
341
|
+
font-weight: bold;
|
|
342
|
+
padding: 6px 13px;
|
|
343
|
+
}
|
|
344
|
+
.markdown-section td {
|
|
345
|
+
border: 1px solid #ddd;
|
|
346
|
+
padding: 6px 13px;
|
|
347
|
+
}
|
|
348
|
+
.markdown-section tr {
|
|
349
|
+
border-top: 1px solid #ccc;
|
|
350
|
+
}
|
|
351
|
+
.markdown-section tr:nth-child(2n) {
|
|
352
|
+
background-color: #f8f8f8;
|
|
353
|
+
}
|
|
354
|
+
.markdown-section p.tip {
|
|
355
|
+
background-color: #f8f8f8;
|
|
356
|
+
border-bottom-right-radius: 2px;
|
|
357
|
+
border-left: 4px solid #f66;
|
|
358
|
+
border-top-right-radius: 2px;
|
|
359
|
+
margin: 2em 0;
|
|
360
|
+
padding: 12px 24px 12px 30px;
|
|
361
|
+
position: relative;
|
|
362
|
+
}
|
|
363
|
+
.markdown-section p.tip:before {
|
|
364
|
+
background-color: #f66;
|
|
365
|
+
border-radius: 100%;
|
|
366
|
+
color: #fff;
|
|
367
|
+
content: '!';
|
|
368
|
+
font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
|
|
369
|
+
font-size: 14px;
|
|
370
|
+
font-weight: bold;
|
|
371
|
+
left: -12px;
|
|
372
|
+
line-height: 20px;
|
|
373
|
+
position: absolute;
|
|
374
|
+
height: 20px;
|
|
375
|
+
width: 20px;
|
|
376
|
+
text-align: center;
|
|
377
|
+
top: 14px;
|
|
378
|
+
}
|
|
379
|
+
.markdown-section p.tip code {
|
|
380
|
+
background-color: #efefef;
|
|
381
|
+
}
|
|
382
|
+
.markdown-section p.tip em {
|
|
383
|
+
color: #34495e;
|
|
384
|
+
}
|
|
385
|
+
.markdown-section p.warn {
|
|
386
|
+
background: rgba(66,185,131,0.1);
|
|
387
|
+
border-radius: 2px;
|
|
388
|
+
padding: 1rem;
|
|
389
|
+
}
|
|
390
|
+
.markdown-section ul.task-list > li {
|
|
391
|
+
list-style-type: none;
|
|
392
|
+
}
|
|
393
|
+
body.close .sidebar {
|
|
394
|
+
transform: translateX(-300px);
|
|
395
|
+
}
|
|
396
|
+
body.close .sidebar-toggle {
|
|
397
|
+
width: auto;
|
|
398
|
+
}
|
|
399
|
+
body.close .content {
|
|
400
|
+
left: 0;
|
|
401
|
+
}
|
|
402
|
+
@media print {
|
|
403
|
+
.github-corner,
|
|
404
|
+
.sidebar-toggle,
|
|
405
|
+
.sidebar,
|
|
406
|
+
.app-nav {
|
|
407
|
+
display: none;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
@media screen and (max-width: 768px) {
|
|
411
|
+
.github-corner,
|
|
412
|
+
.sidebar-toggle,
|
|
413
|
+
.sidebar {
|
|
414
|
+
position: fixed;
|
|
415
|
+
}
|
|
416
|
+
.app-nav {
|
|
417
|
+
margin-top: 16px;
|
|
418
|
+
}
|
|
419
|
+
.app-nav li ul {
|
|
420
|
+
top: 30px;
|
|
421
|
+
}
|
|
422
|
+
main {
|
|
423
|
+
height: auto;
|
|
424
|
+
min-height: 100vh;
|
|
425
|
+
overflow-x: hidden;
|
|
426
|
+
}
|
|
427
|
+
.sidebar {
|
|
428
|
+
left: -300px;
|
|
429
|
+
transition: transform 250ms ease-out;
|
|
430
|
+
}
|
|
431
|
+
.content {
|
|
432
|
+
left: 0;
|
|
433
|
+
max-width: 100vw;
|
|
434
|
+
position: static;
|
|
435
|
+
padding-top: 20px;
|
|
436
|
+
transition: transform 250ms ease;
|
|
437
|
+
}
|
|
438
|
+
.app-nav,
|
|
439
|
+
.github-corner {
|
|
440
|
+
transition: transform 250ms ease-out;
|
|
441
|
+
}
|
|
442
|
+
.sidebar-toggle {
|
|
443
|
+
background-color: transparent;
|
|
444
|
+
width: auto;
|
|
445
|
+
padding: 30px 30px 10px 10px;
|
|
446
|
+
}
|
|
447
|
+
body.close .sidebar {
|
|
448
|
+
transform: translateX(300px);
|
|
449
|
+
}
|
|
450
|
+
body.close .sidebar-toggle {
|
|
451
|
+
background-color: rgba(255,255,255,0.8);
|
|
452
|
+
transition: 1s background-color;
|
|
453
|
+
width: 284px;
|
|
454
|
+
padding: 10px;
|
|
455
|
+
}
|
|
456
|
+
body.close .content {
|
|
457
|
+
transform: translateX(300px);
|
|
458
|
+
}
|
|
459
|
+
body.close .app-nav,
|
|
460
|
+
body.close .github-corner {
|
|
461
|
+
display: none;
|
|
462
|
+
}
|
|
463
|
+
.github-corner:hover .octo-arm {
|
|
464
|
+
-webkit-animation: none;
|
|
465
|
+
animation: none;
|
|
466
|
+
}
|
|
467
|
+
.github-corner .octo-arm {
|
|
468
|
+
-webkit-animation: octocat-wave 560ms ease-in-out;
|
|
469
|
+
animation: octocat-wave 560ms ease-in-out;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
@-webkit-keyframes octocat-wave {
|
|
473
|
+
0%, 100% {
|
|
474
|
+
transform: rotate(0);
|
|
475
|
+
}
|
|
476
|
+
20%, 60% {
|
|
477
|
+
transform: rotate(-25deg);
|
|
478
|
+
}
|
|
479
|
+
40%, 80% {
|
|
480
|
+
transform: rotate(10deg);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
@keyframes octocat-wave {
|
|
484
|
+
0%, 100% {
|
|
485
|
+
transform: rotate(0);
|
|
486
|
+
}
|
|
487
|
+
20%, 60% {
|
|
488
|
+
transform: rotate(-25deg);
|
|
489
|
+
}
|
|
490
|
+
40%, 80% {
|
|
491
|
+
transform: rotate(10deg);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
section.cover {
|
|
495
|
+
align-items: center;
|
|
496
|
+
background-position: center center;
|
|
497
|
+
background-repeat: no-repeat;
|
|
498
|
+
background-size: cover;
|
|
499
|
+
height: 100vh;
|
|
500
|
+
width: 100vw;
|
|
501
|
+
display: none;
|
|
502
|
+
}
|
|
503
|
+
section.cover.show {
|
|
504
|
+
display: flex;
|
|
505
|
+
}
|
|
506
|
+
section.cover.has-mask .mask {
|
|
507
|
+
background-color: #fff;
|
|
508
|
+
opacity: 0.8;
|
|
509
|
+
position: absolute;
|
|
510
|
+
top: 0;
|
|
511
|
+
height: 100%;
|
|
512
|
+
width: 100%;
|
|
513
|
+
}
|
|
514
|
+
section.cover .cover-main {
|
|
515
|
+
flex: 1;
|
|
516
|
+
margin: -20px 16px 0;
|
|
517
|
+
text-align: center;
|
|
518
|
+
position: relative;
|
|
519
|
+
}
|
|
520
|
+
section.cover a {
|
|
521
|
+
color: inherit;
|
|
522
|
+
text-decoration: none;
|
|
523
|
+
}
|
|
524
|
+
section.cover a:hover {
|
|
525
|
+
text-decoration: none;
|
|
526
|
+
}
|
|
527
|
+
section.cover p {
|
|
528
|
+
line-height: 1.5rem;
|
|
529
|
+
margin: 1em 0;
|
|
530
|
+
}
|
|
531
|
+
section.cover h1 {
|
|
532
|
+
color: inherit;
|
|
533
|
+
font-size: 2.5rem;
|
|
534
|
+
font-weight: 300;
|
|
535
|
+
margin: 0.625rem 0 2.5rem;
|
|
536
|
+
position: relative;
|
|
537
|
+
text-align: center;
|
|
538
|
+
}
|
|
539
|
+
section.cover h1 a {
|
|
540
|
+
display: block;
|
|
541
|
+
}
|
|
542
|
+
section.cover h1 small {
|
|
543
|
+
bottom: -0.4375rem;
|
|
544
|
+
font-size: 1rem;
|
|
545
|
+
position: absolute;
|
|
546
|
+
}
|
|
547
|
+
section.cover blockquote {
|
|
548
|
+
font-size: 1.5rem;
|
|
549
|
+
text-align: center;
|
|
550
|
+
}
|
|
551
|
+
section.cover ul {
|
|
552
|
+
line-height: 1.8;
|
|
553
|
+
list-style-type: none;
|
|
554
|
+
margin: 1em auto;
|
|
555
|
+
max-width: 500px;
|
|
556
|
+
padding: 0;
|
|
557
|
+
}
|
|
558
|
+
section.cover .cover-main > p:last-child a {
|
|
559
|
+
border-color: var(--theme-color, #42b983);
|
|
560
|
+
border-radius: 2rem;
|
|
561
|
+
border-style: solid;
|
|
562
|
+
border-width: 1px;
|
|
563
|
+
box-sizing: border-box;
|
|
564
|
+
color: var(--theme-color, #42b983);
|
|
565
|
+
display: inline-block;
|
|
566
|
+
font-size: 1.05rem;
|
|
567
|
+
letter-spacing: 0.1rem;
|
|
568
|
+
margin: 0.5rem 1rem;
|
|
569
|
+
padding: 0.75em 2rem;
|
|
570
|
+
text-decoration: none;
|
|
571
|
+
transition: all 0.15s ease;
|
|
572
|
+
}
|
|
573
|
+
section.cover .cover-main > p:last-child a:last-child {
|
|
574
|
+
background-color: var(--theme-color, #42b983);
|
|
575
|
+
color: #fff;
|
|
576
|
+
}
|
|
577
|
+
section.cover .cover-main > p:last-child a:last-child:hover {
|
|
578
|
+
color: inherit;
|
|
579
|
+
opacity: 0.8;
|
|
580
|
+
}
|
|
581
|
+
section.cover .cover-main > p:last-child a:hover {
|
|
582
|
+
color: inherit;
|
|
583
|
+
}
|
|
584
|
+
section.cover blockquote > p > a {
|
|
585
|
+
border-bottom: 2px solid var(--theme-color, #42b983);
|
|
586
|
+
transition: color 0.3s;
|
|
587
|
+
}
|
|
588
|
+
section.cover blockquote > p > a:hover {
|
|
589
|
+
color: var(--theme-color, #42b983);
|
|
590
|
+
}
|
|
591
|
+
body {
|
|
592
|
+
background-color: #fff;
|
|
593
|
+
}
|
|
594
|
+
/* sidebar */
|
|
595
|
+
.sidebar {
|
|
596
|
+
background-color: #fff;
|
|
597
|
+
color: #364149;
|
|
598
|
+
}
|
|
599
|
+
.sidebar li {
|
|
600
|
+
margin: 6px 0 6px 0;
|
|
601
|
+
}
|
|
602
|
+
.sidebar ul li a {
|
|
603
|
+
color: #505d6b;
|
|
604
|
+
font-size: 14px;
|
|
605
|
+
font-weight: normal;
|
|
606
|
+
overflow: hidden;
|
|
607
|
+
text-decoration: none;
|
|
608
|
+
text-overflow: ellipsis;
|
|
609
|
+
white-space: nowrap;
|
|
610
|
+
}
|
|
611
|
+
.sidebar ul li a:hover {
|
|
612
|
+
text-decoration: underline;
|
|
613
|
+
}
|
|
614
|
+
.sidebar ul li ul {
|
|
615
|
+
padding: 0;
|
|
616
|
+
}
|
|
617
|
+
.sidebar ul li.active > a {
|
|
618
|
+
border-right: 2px solid;
|
|
619
|
+
color: var(--theme-color, #42b983);
|
|
620
|
+
font-weight: 600;
|
|
621
|
+
}
|
|
622
|
+
.app-sub-sidebar li::before {
|
|
623
|
+
content: '-';
|
|
624
|
+
padding-right: 4px;
|
|
625
|
+
float: left;
|
|
626
|
+
}
|
|
627
|
+
/* markdown content found on pages */
|
|
628
|
+
.markdown-section h1,
|
|
629
|
+
.markdown-section h2,
|
|
630
|
+
.markdown-section h3,
|
|
631
|
+
.markdown-section h4,
|
|
632
|
+
.markdown-section strong {
|
|
633
|
+
color: #2c3e50;
|
|
634
|
+
font-weight: 600;
|
|
635
|
+
}
|
|
636
|
+
.markdown-section a {
|
|
637
|
+
color: var(--theme-color, #42b983);
|
|
638
|
+
font-weight: 600;
|
|
639
|
+
}
|
|
640
|
+
.markdown-section h1 {
|
|
641
|
+
font-size: 2rem;
|
|
642
|
+
margin: 0 0 1rem;
|
|
643
|
+
}
|
|
644
|
+
.markdown-section h2 {
|
|
645
|
+
font-size: 1.75rem;
|
|
646
|
+
margin: 45px 0 0.8rem;
|
|
647
|
+
}
|
|
648
|
+
.markdown-section h3 {
|
|
649
|
+
font-size: 1.5rem;
|
|
650
|
+
margin: 40px 0 0.6rem;
|
|
651
|
+
}
|
|
652
|
+
.markdown-section h4 {
|
|
653
|
+
font-size: 1.25rem;
|
|
654
|
+
}
|
|
655
|
+
.markdown-section h5 {
|
|
656
|
+
font-size: 1rem;
|
|
657
|
+
}
|
|
658
|
+
.markdown-section h6 {
|
|
659
|
+
color: #777;
|
|
660
|
+
font-size: 1rem;
|
|
661
|
+
}
|
|
662
|
+
.markdown-section figure,
|
|
663
|
+
.markdown-section p {
|
|
664
|
+
margin: 1.2em 0;
|
|
665
|
+
}
|
|
666
|
+
.markdown-section p,
|
|
667
|
+
.markdown-section ul,
|
|
668
|
+
.markdown-section ol {
|
|
669
|
+
line-height: 1.6rem;
|
|
670
|
+
word-spacing: 0.05rem;
|
|
671
|
+
}
|
|
672
|
+
.markdown-section ul,
|
|
673
|
+
.markdown-section ol {
|
|
674
|
+
padding-left: 1.5rem;
|
|
675
|
+
}
|
|
676
|
+
.markdown-section blockquote {
|
|
677
|
+
border-left: 4px solid var(--theme-color, #42b983);
|
|
678
|
+
color: #858585;
|
|
679
|
+
margin: 2em 0;
|
|
680
|
+
padding-left: 20px;
|
|
681
|
+
}
|
|
682
|
+
.markdown-section blockquote p {
|
|
683
|
+
font-weight: 600;
|
|
684
|
+
margin-left: 0;
|
|
685
|
+
}
|
|
686
|
+
.markdown-section iframe {
|
|
687
|
+
margin: 1em 0;
|
|
688
|
+
}
|
|
689
|
+
.markdown-section em {
|
|
690
|
+
color: #7f8c8d;
|
|
691
|
+
}
|
|
692
|
+
.markdown-section code,
|
|
693
|
+
.markdown-section pre,
|
|
694
|
+
.markdown-section output::after {
|
|
695
|
+
font-family: 'Roboto Mono', Monaco, courier, monospace;
|
|
696
|
+
}
|
|
697
|
+
.markdown-section code,
|
|
698
|
+
.markdown-section pre {
|
|
699
|
+
background-color: #f8f8f8;
|
|
700
|
+
}
|
|
701
|
+
.markdown-section pre,
|
|
702
|
+
.markdown-section output {
|
|
703
|
+
margin: 1.2em 0;
|
|
704
|
+
position: relative;
|
|
705
|
+
}
|
|
706
|
+
.markdown-section pre > code,
|
|
707
|
+
.markdown-section output {
|
|
708
|
+
border-radius: 2px;
|
|
709
|
+
display: block;
|
|
710
|
+
}
|
|
711
|
+
.markdown-section pre > code,
|
|
712
|
+
.markdown-section output::after {
|
|
713
|
+
-moz-osx-font-smoothing: initial;
|
|
714
|
+
-webkit-font-smoothing: initial;
|
|
715
|
+
}
|
|
716
|
+
.markdown-section code {
|
|
717
|
+
border-radius: 2px;
|
|
718
|
+
color: #e96900;
|
|
719
|
+
margin: 0 2px;
|
|
720
|
+
padding: 3px 5px;
|
|
721
|
+
white-space: pre-wrap;
|
|
722
|
+
}
|
|
723
|
+
.markdown-section > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) code {
|
|
724
|
+
font-size: 0.8rem;
|
|
725
|
+
}
|
|
726
|
+
.markdown-section pre {
|
|
727
|
+
padding: 0 1.4rem;
|
|
728
|
+
line-height: 1.5rem;
|
|
729
|
+
overflow: auto;
|
|
730
|
+
word-wrap: normal;
|
|
731
|
+
}
|
|
732
|
+
.markdown-section pre > code {
|
|
733
|
+
color: #525252;
|
|
734
|
+
font-size: 0.8rem;
|
|
735
|
+
padding: 2.2em 5px;
|
|
736
|
+
line-height: inherit;
|
|
737
|
+
margin: 0 2px;
|
|
738
|
+
max-width: inherit;
|
|
739
|
+
overflow: inherit;
|
|
740
|
+
white-space: inherit;
|
|
741
|
+
}
|
|
742
|
+
.markdown-section output {
|
|
743
|
+
padding: 1.7rem 1.4rem;
|
|
744
|
+
border: 1px dotted #ccc;
|
|
745
|
+
}
|
|
746
|
+
.markdown-section output > :first-child {
|
|
747
|
+
margin-top: 0;
|
|
748
|
+
}
|
|
749
|
+
.markdown-section output > :last-child {
|
|
750
|
+
margin-bottom: 0;
|
|
751
|
+
}
|
|
752
|
+
.markdown-section code::after,
|
|
753
|
+
.markdown-section code::before,
|
|
754
|
+
.markdown-section output::after,
|
|
755
|
+
.markdown-section output::before {
|
|
756
|
+
letter-spacing: 0.05rem;
|
|
757
|
+
}
|
|
758
|
+
.markdown-section pre::after,
|
|
759
|
+
.markdown-section output::after {
|
|
760
|
+
color: #ccc;
|
|
761
|
+
font-size: 0.6rem;
|
|
762
|
+
font-weight: 600;
|
|
763
|
+
height: 15px;
|
|
764
|
+
line-height: 15px;
|
|
765
|
+
padding: 5px 10px 0;
|
|
766
|
+
position: absolute;
|
|
767
|
+
right: 0;
|
|
768
|
+
text-align: right;
|
|
769
|
+
top: 0;
|
|
770
|
+
}
|
|
771
|
+
.markdown-section pre::after,
|
|
772
|
+
.markdown-section output::after {
|
|
773
|
+
content: attr(data-lang);
|
|
774
|
+
}
|
|
775
|
+
/* code highlight */
|
|
776
|
+
.token.comment,
|
|
777
|
+
.token.prolog,
|
|
778
|
+
.token.doctype,
|
|
779
|
+
.token.cdata {
|
|
780
|
+
color: #8e908c;
|
|
781
|
+
}
|
|
782
|
+
.token.namespace {
|
|
783
|
+
opacity: 0.7;
|
|
784
|
+
}
|
|
785
|
+
.token.boolean,
|
|
786
|
+
.token.number {
|
|
787
|
+
color: #c76b29;
|
|
788
|
+
}
|
|
789
|
+
.token.punctuation {
|
|
790
|
+
color: #525252;
|
|
791
|
+
}
|
|
792
|
+
.token.property {
|
|
793
|
+
color: #c08b30;
|
|
794
|
+
}
|
|
795
|
+
.token.tag {
|
|
796
|
+
color: #2973b7;
|
|
797
|
+
}
|
|
798
|
+
.token.string {
|
|
799
|
+
color: var(--theme-color, #42b983);
|
|
800
|
+
}
|
|
801
|
+
.token.selector {
|
|
802
|
+
color: #6679cc;
|
|
803
|
+
}
|
|
804
|
+
.token.attr-name {
|
|
805
|
+
color: #2973b7;
|
|
806
|
+
}
|
|
807
|
+
.token.entity,
|
|
808
|
+
.token.url,
|
|
809
|
+
.language-css .token.string,
|
|
810
|
+
.style .token.string {
|
|
811
|
+
color: #22a2c9;
|
|
812
|
+
}
|
|
813
|
+
.token.attr-value,
|
|
814
|
+
.token.control,
|
|
815
|
+
.token.directive,
|
|
816
|
+
.token.unit {
|
|
817
|
+
color: var(--theme-color, #42b983);
|
|
818
|
+
}
|
|
819
|
+
.token.keyword,
|
|
820
|
+
.token.function {
|
|
821
|
+
color: #e96900;
|
|
822
|
+
}
|
|
823
|
+
.token.statement,
|
|
824
|
+
.token.regex,
|
|
825
|
+
.token.atrule {
|
|
826
|
+
color: #22a2c9;
|
|
827
|
+
}
|
|
828
|
+
.token.placeholder,
|
|
829
|
+
.token.variable {
|
|
830
|
+
color: #3d8fd1;
|
|
831
|
+
}
|
|
832
|
+
.token.deleted {
|
|
833
|
+
text-decoration: line-through;
|
|
834
|
+
}
|
|
835
|
+
.token.inserted {
|
|
836
|
+
border-bottom: 1px dotted #202746;
|
|
837
|
+
text-decoration: none;
|
|
838
|
+
}
|
|
839
|
+
.token.italic {
|
|
840
|
+
font-style: italic;
|
|
841
|
+
}
|
|
842
|
+
.token.important,
|
|
843
|
+
.token.bold {
|
|
844
|
+
font-weight: bold;
|
|
845
|
+
}
|
|
846
|
+
.token.important {
|
|
847
|
+
color: #c94922;
|
|
848
|
+
}
|
|
849
|
+
.token.entity {
|
|
850
|
+
cursor: help;
|
|
851
|
+
}
|
|
852
|
+
code .token {
|
|
853
|
+
-moz-osx-font-smoothing: initial;
|
|
854
|
+
-webkit-font-smoothing: initial;
|
|
855
|
+
min-height: 1.5rem;
|
|
856
|
+
position: relative;
|
|
857
|
+
left: auto;
|
|
858
|
+
}
|