Skip to content

Commit

Permalink
update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Aug 9, 2021
1 parent 44dfd5f commit 0691687
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 4 deletions.
24 changes: 22 additions & 2 deletions public/assets/css/style-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ body.wz-dark-theme {
.wz-dark-theme .markdown-body table {
background: #4e4e4e;
}
.wz-dark-theme .markdown-body .table-hover tbody tr:hover {
background-color: #fafafae0;
}
.wz-dark-theme .markdown-body .editormd-toc-menu > .markdown-toc > ul {
background: #4e4e4e;
color: #ffffff;
Expand Down Expand Up @@ -182,6 +185,9 @@ body.wz-dark-theme {
.wz-dark-theme .card:not(.card-white) .media .border-bottom {
border-bottom: 1px solid #848484 !important;
}
.wz-dark-theme .card:not(.card-white) .media .border-bottom.wz-comment-box {
border-bottom: 1px solid #212529 !important;
}
.wz-dark-theme .card:not(.card-white) .card-footer {
background-color: #333333;
}
Expand Down Expand Up @@ -320,7 +326,7 @@ body.wz-dark-theme {
color: #ff0057;
}
.wz-dark-theme .wz-project-main .editormd-html-preview a {
color: #75d4ff;
color: #03a9f4;
text-decoration: none;
}
.wz-dark-theme .wz-project-main .editormd-html-preview a:hover {
Expand Down Expand Up @@ -380,6 +386,14 @@ body.wz-dark-theme {
}
.wz-dark-theme .swagger-ui {
background: #4e4e4e;
border-radius: 5px;
padding: 5px;
}
.wz-dark-theme .swagger-ui .wz-white-panel .card a {
color: #c7c7c7;
}
.wz-dark-theme .swagger-ui .wz-white-panel .card a:hover {
color: #ffffff;
}
.wz-dark-theme .swagger-ui img,
.wz-dark-theme .swagger-ui svg {
Expand Down Expand Up @@ -472,4 +486,10 @@ body.wz-dark-theme {
.wz-dark-theme .wz-new-project-btn:hover {
background: #000000;
}
/*# sourceMappingURL=style-dark.css.map */
.wz-dark-theme .wz-markdown-comment pre {
background-color: #2b2b2b;
border: 1px solid #000;
}
.wz-dark-theme .wz-markdown-comment pre code {
background: none;
}
35 changes: 33 additions & 2 deletions public/assets/css/style-dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ body.wz-dark-theme {
table {
background: #4e4e4e;
}
.table-hover {
tbody {
tr:hover {
background-color: #fafafae0;
}
}
}
.editormd-toc-menu {
&>.markdown-toc > ul {
background: #4e4e4e;
Expand Down Expand Up @@ -269,6 +276,9 @@ body.wz-dark-theme {
.border-bottom {
border-bottom: 1px solid #848484 !important;
}
.border-bottom.wz-comment-box {
border-bottom: 1px solid #212529 !important;
}
}

.card-footer {
Expand Down Expand Up @@ -443,7 +453,7 @@ body.wz-dark-theme {
color: #ff0057;
}
a {
color: #75d4ff;
color: #03a9f4;
text-decoration: none;
&:hover {
text-decoration: underline;
Expand Down Expand Up @@ -507,6 +517,16 @@ body.wz-dark-theme {

.swagger-ui {
background: #4e4e4e;
border-radius: 5px;
padding: 5px;
.wz-white-panel {
.card a {
color: #c7c7c7;
}
.card a:hover {
color: #ffffff;
}
}

img, svg {
background: none;
Expand Down Expand Up @@ -615,4 +635,15 @@ body.wz-dark-theme {
background: #000000;
}
}
}

.wz-markdown-comment {
pre {
background-color: #2b2b2b;
border: 1px solid #000;

code {
background: none;
}
}
}
}

0 comments on commit 0691687

Please sign in to comment.