mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-07 13:21:46 +00:00
Update expansion panel design (#521)
This commit is contained in:
parent
97aa1e7bad
commit
8918b93f98
@ -666,30 +666,7 @@ html[data-theme="light"] .icon {
|
|||||||
left: calc(50% - 10px);
|
left: calc(50% - 10px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* md heading style */
|
||||||
/* light mode */
|
|
||||||
html[data-theme="light"] .cml-expansion-panel[open] {
|
|
||||||
border-left-color: var(--ifm-color-primary);
|
|
||||||
}
|
|
||||||
html[data-theme="light"] .cml-expansion-panel,
|
|
||||||
html[data-theme="light"] .cml-expansion-panel-summary:before {
|
|
||||||
background-color: #f2f2f2;
|
|
||||||
}
|
|
||||||
html[data-theme="light"] .cml-expansion-panel-summary {
|
|
||||||
color: #5a668d;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* opened expansion */
|
|
||||||
.cml-expansion-panel[open] {
|
|
||||||
border-left-color: var(--ifm-color-primary-dark);
|
|
||||||
}
|
|
||||||
.cml-expansion-panel[open] .cml-expansion-panel-summary:after {
|
|
||||||
transform: rotate(-180deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* md headding style */
|
|
||||||
|
|
||||||
/* <h3> */
|
/* <h3> */
|
||||||
.markdown h3 {
|
.markdown h3 {
|
||||||
@ -838,8 +815,21 @@ html[data-theme="dark"] .panel.configuration {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: var(--ifm-global-radius);
|
||||||
color: var(--ifm-font-color-base);
|
color: var(--ifm-font-color-base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] .panel-title:hover {
|
||||||
|
background-color: var(--ifm-hover-overlay);
|
||||||
|
}
|
||||||
|
html[data-theme="dark"] .panel-title:hover {
|
||||||
|
background-color: var(--ifm-hover-overlay);
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel-open .panel-title {
|
||||||
|
border-radius: var(--ifm-global-radius) var(--ifm-global-radius) 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
.panel-title:after {
|
.panel-title:after {
|
||||||
content:"";
|
content:"";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user