-
-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📺 Pop out Live Docs tab into window-in-window
- Loading branch information
Showing
2 changed files
with
63 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2459,6 +2459,10 @@ button.helpbox-tab-key { | |
/* overflow: hidden; */ | ||
} | ||
|
||
button.helpbox-tab-key.helpbox-process { | ||
margin-right: auto; | ||
} | ||
|
||
button.helpbox-process.busy { | ||
outline: 6px solid var(--process-busy); | ||
} | ||
|
@@ -2485,18 +2489,17 @@ button.active.helpbox-tab-key { | |
animation: none; | ||
} | ||
|
||
pluto-helpbox > header > button.helpbox-close { | ||
pluto-helpbox > header > button:is(.helpbox-close, .helpbox-popout) { | ||
border: none; | ||
background: none; | ||
cursor: pointer; | ||
|
||
/* for bigger hitbox */ | ||
margin: -15px; | ||
border: 15px solid transparent; | ||
margin-left: auto; | ||
} | ||
|
||
pluto-helpbox > header > button.helpbox-close > span { | ||
pluto-helpbox > header > button:is(.helpbox-close, .helpbox-popout) > span { | ||
display: block; | ||
content: " " !important; | ||
background-size: 1em 1em; | ||
|
@@ -2505,6 +2508,9 @@ pluto-helpbox > header > button.helpbox-close > span { | |
background-image: url("https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/chevron-down-outline.svg"); | ||
filter: var(--image-filters); | ||
} | ||
pluto-helpbox > header > button.helpbox-popout > span { | ||
background-image: url("https://cdn.jsdelivr.net/gh/ionic-team/[email protected]/src/svg/open-outline.svg"); | ||
} | ||
pluto-helpbox.hidden { | ||
height: initial; | ||
width: auto; | ||
|
@@ -2513,6 +2519,16 @@ pluto-helpbox.hidden > section { | |
display: none; | ||
} | ||
|
||
/* pop out */ | ||
body > pluto-helpbox { | ||
position: static; | ||
width: auto; | ||
height: auto; | ||
} | ||
body > pluto-helpbox > header > button.helpbox-popout { | ||
display: none; | ||
} | ||
|
||
/* NOTE */ | ||
/* We try to match the visual style of Documenter.jl, so we have copied over some rules from */ | ||
/* https://docs.julialang.org/en/v1/assets/themes/documenter-light.css */ | ||
|