Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI Enhancement] Restyle tree lines #489

Merged
merged 3 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
position: relative;
margin: 0 !important;
padding: 5px 0 5px 0 !important;
border-left: thin solid var(--ifm-color-gray-500) !important;
border-left: thin solid var(--openapi-tree-line-color) !important;
}

@media screen and (max-width: 500px) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.openapi-markdown__details {
margin: unset !important;
max-width: 600px;
background-color: transparent;
color: var(--ifm-font-color-base);
padding: unset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
margin: 0 0 0 1rem !important;
position: relative;
padding-left: 1rem;
border-left: thin solid var(--ifm-color-gray-500) !important;
border-left: thin solid var(--openapi-tree-line-color) !important;
margin-top: unset !important;

// Horizonal line styling for param attributes
Expand All @@ -15,7 +15,7 @@
height: 0.5rem;
/* vertical position of line */
vertical-align: top;
border-bottom: thin solid var(--ifm-color-gray-500);
border-bottom: thin solid var(--openapi-tree-line-color);
content: "";
display: inline-block;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
position: relative;
margin: 0 !important;
padding: 5px 0 5px 1rem;
border-left: thin solid var(--ifm-color-gray-500) !important;
border-left: thin solid var(--openapi-tree-line-color) !important;

// Horizontal line styling for schema properties
&::before {
Expand All @@ -15,7 +15,7 @@
height: 0.5rem;
/* vertical position of line */
vertical-align: top;
border-bottom: thin solid var(--ifm-color-gray-500);
border-bottom: thin solid var(--openapi-tree-line-color);
content: "";
display: inline-block;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
--openapi-card-border-radius: var(--ifm-pre-border-radius);
--openapi-input-border: var(--ifm-color-primary);
--openapi-input-background: var(--openapi-card-background-color);
--openapi-tree-line-color: var(--ifm-toc-border-color);
}

[data-theme="dark"] {
Expand Down