diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css index 52dd43fbbe..cd3e581996 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.css @@ -1,5 +1,4 @@ -.line-highlight { - margin-top: 1.5em !important; - background: rgb(176 199 52 / 20%) !important; - padding: 1px !important; -} \ No newline at end of file +.code-toolbar .line-highlight { + margin-top: 1.5em !important; + background: rgba(233, 237, 241, 0.34) !important; + padding: 1px !important; } diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.min.css b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.min.css new file mode 100644 index 0000000000..20ff809dd8 --- /dev/null +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.min.css @@ -0,0 +1 @@ +.code-toolbar .line-highlight{margin-top:1.5em !important;background:rgba(233,237,241,.34) !important;padding:1px !important;} \ No newline at end of file diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.scss b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.scss new file mode 100644 index 0000000000..2b2a8bb520 --- /dev/null +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/index.scss @@ -0,0 +1,7 @@ +.code-toolbar { + .line-highlight { + margin-top: 1.5em !important; + background: rgba(233, 237, 241, 0.34) !important; + padding: 1px !important; + } +} diff --git a/modules/docs/src/Volo.Docs.Web/compilerconfig.json b/modules/docs/src/Volo.Docs.Web/compilerconfig.json index 3645b5a8f5..9b210b9e49 100644 --- a/modules/docs/src/Volo.Docs.Web/compilerconfig.json +++ b/modules/docs/src/Volo.Docs.Web/compilerconfig.json @@ -6,5 +6,9 @@ { "outputFile": "Pages/Documents/Project/index.css", "inputFile": "Pages/Documents/Project/index.less" + }, + { + "outputFile": "Pages/Documents/Project/index.css", + "inputFile": "Pages/Documents/Project/index.scss" } ] \ No newline at end of file