Skip to content

Commit

Permalink
v4.2.5 fix(deps): update dependency babel-plugin-transform-remove-imp…
Browse files Browse the repository at this point in the history
…orts to ~1.8.0 (#469)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> b3a1e9d
  • Loading branch information
github-actions[bot] committed Jun 24, 2024
0 parents commit ab2ac04
Show file tree
Hide file tree
Showing 16 changed files with 2,633 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
14 changes: 14 additions & 0 deletions CONTRIBUTORS.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions css/copy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
markdown-style pre > .copied,
markdown-style [class*='language-'] .copied {
display: flex;
position: absolute;
cursor: pointer;
color: #a5afbb;
top: 6px;
right: 6px;
border-radius: 5px;
background: #82828226;
padding: 6px;
font-size: 12px;
transition: all 0.3s;
z-index: 10;
}
markdown-style pre > .copied:not(.active),
markdown-style [class*='language-'] .copied:not(.active) {
visibility: hidden;
}
markdown-style pre:hover > .copied,
markdown-style [class*='language-']:hover .copied {
visibility: visible;
}
markdown-style pre:hover > .copied:hover,
markdown-style [class*='language-']:hover .copied:hover {
background: #4caf50;
color: #fff;
}
markdown-style [class*='language-']:hover .copied:active,
markdown-style pre > .copied.active {
background: #2e9b33;
color: #fff;
}
markdown-style pre > .copied .octicon-copy,
markdown-style [class*='language-'] .copied .octicon-copy {
display: block;
}
markdown-style pre > .copied .octicon-check,
markdown-style [class*='language-'] .copied .octicon-check {
display: none;
}
markdown-style pre > .active .octicon-copy,
markdown-style [class*='language-'] .active .octicon-copy {
display: none;
}
markdown-style pre > .active .octicon-check,
markdown-style [class*='language-'] .active .octicon-check {
display: block;
}
62 changes: 62 additions & 0 deletions css/demo-preview.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
.idoc-demo-warpper {
overflow: hidden;
min-height: 60px;
margin-bottom: 16px;
}

div.idoc-demo-warpper {
position: relative;
background-color: var(--color-canvas-subtle);
border-radius: 6px;
}

div.idoc-demo-warpper > pre {
padding: 16px;
overflow: auto;
display: block;
margin-bottom: 0 !important;
height: 100%;
}

div.idoc-demo-previw {
padding: 10px;
font-size: initial;
line-height: initial;
line-height: initial;
font-family: initial;
overflow: auto;
}
.idoc-demo-previw {
border: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background-color: var(--color-canvas-subtle);
border: 1px solid var(--color-border-default);
border-radius: 6px;
z-index: 9;
transition: left 0.3s cubic-bezier(1, 0, 1, 0);
}

.idoc-demo-previw.ishiden {
left: -100%;
}
button.idoc-toggle-previw {
user-select: none;
position: absolute;
z-index: 10;
border: transparent;
background-color: var(--color-border-default);
cursor: pointer;
font-size: 12px;
padding: 2px 5px;
border-radius: 3px;
bottom: 5px;
right: 5px;
}
button.idoc-toggle-previw:hover {
color: var(--color-theme-text);
}
Loading

0 comments on commit ab2ac04

Please sign in to comment.