Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
fd76552
std: use an event flag based thread parker on SOLID
joboet May 18, 2022
3b6ae15
std: fix deadlock in `Parker`
joboet May 19, 2022
b9660de
std: solve priority issue for Parker
joboet Jun 4, 2022
ab3a2a0
Unify copying data from enclave to userspace
raoulstrackx Mar 29, 2022
531752f
Mitigate MMIO stale data vulnerabilities
raoulstrackx Mar 28, 2022
6f7d193
Ensure userspace allocation is 8-byte aligned
raoulstrackx Mar 23, 2022
caff723
std: relax memory orderings in `Parker`
joboet Jun 7, 2022
a27aace
Test `copy_to_userspace` function
raoulstrackx Mar 22, 2022
edb6c4b
Add a test for issue #33172
rylev May 16, 2022
f30c76a
Turn off cdb test for now, link to issue
rylev Jun 20, 2022
3ea686f
Turn CDB test back on and all clarifying test
rylev Jun 20, 2022
e5402e4
Fix linux tests
rylev Jun 21, 2022
a0eba66
[RFC 2011] Optimize non-consuming operators
c410-f3r Jun 21, 2022
1a25ac9
Add comment about issue caused with multiple statics
rylev Jun 21, 2022
6ac6866
Reverse folder hierarchy
eggyal Jun 20, 2022
75203ee
Remove unecessary references to TypeFolder::Error
eggyal Jun 21, 2022
6a6910e
Address reviewer comments
raoulstrackx Jun 22, 2022
aa91716
add new rval, pull deref early
ouz-a Jun 13, 2022
2a31419
Support setting file accessed/modified timestamps
joshtriplett Jun 19, 2022
f4532d9
Add alias `File::set_modified` as shorthand
joshtriplett Jun 20, 2022
cc4f804
Move help popup into a pocket menu as well
GuillaumeGomez Jun 20, 2022
3eb9e1a
Add/update GUI tests for help pocket menu
GuillaumeGomez Jun 20, 2022
e4b2b41
Merge all popover hide functions into one
GuillaumeGomez Jun 22, 2022
23d325e
Update FIXME comment
rylev Jun 23, 2022
ada2acc
Set relocation_model to Pic on emscripten target
hoodmane Jun 15, 2022
ebdc0e3
Rollup merge of #97085 - rylev:test-issue-33172, r=wesleywiser
Dylan-DPC Jun 24, 2022
2dd59b3
Rollup merge of #97140 - joboet:solid_parker, r=m-ou-se
Dylan-DPC Jun 24, 2022
12883f5
Rollup merge of #98126 - fortanix:raoul/mitigate_stale_data_vulnerabi…
Dylan-DPC Jun 24, 2022
84c2c51
Rollup merge of #98145 - ouz-a:some_branch, r=oli-obk
Dylan-DPC Jun 24, 2022
9437b85
Rollup merge of #98149 - hoodmane:emscripten-pic, r=petrochenkov
Dylan-DPC Jun 24, 2022
be1186d
Rollup merge of #98246 - joshtriplett:times, r=m-ou-se
Dylan-DPC Jun 24, 2022
841ff76
Rollup merge of #98297 - GuillaumeGomez:help-pocket-menu, r=notriddle
Dylan-DPC Jun 24, 2022
6611ace
Rollup merge of #98311 - eggyal:reverse-folder-hierarchy, r=jackh726
Dylan-DPC Jun 24, 2022
68c94cd
Rollup merge of #98337 - c410-f3r:assert-compiler, r=oli-obk
Dylan-DPC Jun 24, 2022
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
Prev Previous commit
Next Next commit
Move help popup into a pocket menu as well
  • Loading branch information
GuillaumeGomez committed Jun 22, 2022
commit cc4f804829ae56753acd2ef9c0f4bb741f5b3bae
74 changes: 41 additions & 33 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -979,60 +979,69 @@ table,
font-weight: normal;
}

body.blur > :not(#help) {
filter: blur(8px);
-webkit-filter: blur(8px);
opacity: .7;
.popover {
font-size: 1rem;
position: absolute;
right: 0;
z-index: 2;
display: block;
margin-top: 7px;
border-radius: 3px;
border: 1px solid;
font-size: 1rem;
}

#help {
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
/* This rule is to draw the little arrow connecting the settings menu to the gear icon. */
.popover::before {
content: '';
position: absolute;
right: 11px;
border: solid;
border-width: 1px 1px 0 0;
display: inline-block;
padding: 4px;
transform: rotate(-45deg);
top: -5px;
}
#help > div {
flex: 0 0 auto;
box-shadow: 0 0 6px rgba(0,0,0,.2);
width: 550px;
height: auto;
border: 1px solid;

#help-button .popover {
max-width: 600px;
}
#help dt {

#help-button .popover::before {
right: 48px;
}

#help-button dt {
float: left;
clear: left;
display: block;
margin-right: 0.5rem;
}
#help span.top, #help span.bottom {
#help-button span.top, #help-button span.bottom {
text-align: center;
display: block;
font-size: 1.125rem;

}
#help span.top {
#help-button span.top {
text-align: center;
display: block;
margin: 10px 0;
border-bottom: 1px solid;
padding-bottom: 4px;
margin-bottom: 6px;
}
#help span.bottom {
#help-button span.bottom {
clear: both;
border-top: 1px solid;
}
#help dd { margin: 5px 35px; }
#help .infos { padding-left: 0; }
#help h1, #help h2 { margin-top: 0; }
#help > div div {
.side-by-side {
text-align: initial;
}
.side-by-side > div {
width: 50%;
float: left;
padding: 0 20px 20px 17px;;
padding: 0 20px 20px 17px;
}

.item-info .stab {
Expand Down Expand Up @@ -1387,7 +1396,7 @@ pre.rust {
#copy-path {
height: 34px;
}
#settings-menu > a, #help-button, #copy-path {
#settings-menu > a, #help-button > button, #copy-path {
padding: 5px;
width: 33px;
border: 1px solid;
Expand All @@ -1397,9 +1406,8 @@ pre.rust {
#settings-menu {
padding: 0;
}
#settings-menu > a {
#settings-menu > a, #help-button > button {
padding: 5px;
width: 100%;
height: 100%;
display: block;
}
Expand All @@ -1416,7 +1424,7 @@ pre.rust {
animation: rotating 2s linear infinite;
}

#help-button {
#help-button > button {
font-family: "Fira Sans", Arial, sans-serif;
text-align: center;
/* Rare exception to specifying font sizes in rem. Since this is acting
Expand Down
21 changes: 0 additions & 21 deletions src/librustdoc/html/static/css/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,27 +86,6 @@ input:checked + .slider:before {
display: block;
}

div#settings {
position: absolute;
right: 0;
z-index: 1;
display: block;
margin-top: 7px;
border-radius: 3px;
border: 1px solid;
}
#settings .setting-line {
margin: 1.2em 0.6em;
}
/* This rule is to draw the little arrow connecting the settings menu to the gear icon. */
div#settings::before {
content: '';
position: absolute;
right: 11px;
border: solid;
border-width: 1px 1px 0 0;
display: inline-block;
padding: 4px;
transform: rotate(-45deg);
top: -5px;
}
9 changes: 5 additions & 4 deletions src/librustdoc/html/static/css/themes/ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Original by Dempfi (https://github.com/dempfi/ayu)

/* General structure and fonts */

body, #settings-menu #settings, #settings-menu #settings::before {
body, .popover, .popover::before {
background-color: #0f1419;
color: #c5c5c5;
}
Expand Down Expand Up @@ -567,7 +567,7 @@ kbd {
box-shadow: inset 0 -1px 0 #5c6773;
}

#settings-menu > a, #help-button {
#settings-menu > a, #help-button > button {
border-color: #5c6773;
background-color: #0f1419;
color: #fff;
Expand All @@ -577,7 +577,8 @@ kbd {
filter: invert(100);
}

#settings-menu #settings, #settings-menu #settings::before {
.popover, .popover::before,
#help-button span.top, #help-button span.bottom {
border-color: #5c6773;
}

Expand All @@ -592,7 +593,7 @@ kbd {
}

#settings-menu > a:hover, #settings-menu > a:focus,
#help-button:hover, #help-button:focus {
#help-button > button:hover, #help-button > button:focus {
border-color: #e0e0e0;
}

Expand Down
9 changes: 5 additions & 4 deletions src/librustdoc/html/static/css/themes/dark.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
body, #settings-menu #settings, #settings-menu #settings::before {
body, .popover, .popover::before {
background-color: #353535;
color: #ddd;
}
Expand Down Expand Up @@ -442,18 +442,19 @@ kbd {
box-shadow: inset 0 -1px 0 #c6cbd1;
}

#settings-menu > a, #help-button {
#settings-menu > a, #help-button > button {
border-color: #e0e0e0;
background: #f0f0f0;
color: #000;
}

#settings-menu > a:hover, #settings-menu > a:focus,
#help-button:hover, #help-button:focus {
#help-button > button:hover, #help-button > button:focus {
border-color: #ffb900;
}

#settings-menu #settings, #settings-menu #settings::before {
.popover, .popover::before,
#help-button span.top, #help-button span.bottom {
border-color: #d2d2d2;
}

Expand Down
9 changes: 5 additions & 4 deletions src/librustdoc/html/static/css/themes/light.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* General structure and fonts */

body, #settings-menu #settings, #settings-menu #settings::before {
body, .popover, .popover::before {
background-color: white;
color: black;
}
Expand Down Expand Up @@ -427,17 +427,18 @@ kbd {
box-shadow: inset 0 -1px 0 #c6cbd1;
}

#settings-menu > a, #help-button {
#settings-menu > a, #help-button > button {
border-color: #e0e0e0;
background-color: #fff;
}

#settings-menu > a:hover, #settings-menu > a:focus,
#help-button:hover, #help-button:focus {
#help-button > button:hover, #help-button > button:focus {
border-color: #717171;
}

#settings-menu #settings, #settings-menu #settings::before {
.popover, .popover::before,
#help-button span.top, #help-button span.bottom {
border-color: #DDDDDD;
}

Expand Down
Loading