Remove theme picker button

This commit is contained in:
Guillaume Gomez
2022-05-11 23:11:18 +02:00
parent 5e01ba36c9
commit e8762757c3
10 changed files with 12 additions and 199 deletions

View File

@@ -1379,25 +1379,15 @@ pre.rust {
margin-bottom: 6px;
}
.theme-picker {
position: absolute;
left: -38px;
top: 4px;
}
.theme-picker button {
outline: none;
}
#settings-menu, #help-button {
margin-left: 4px;
outline: none;
}
#theme-picker, #copy-path {
#copy-path {
height: 34px;
}
#theme-picker, #settings-menu, #help-button, #copy-path {
#settings-menu > a, #help-button, #copy-path {
padding: 5px;
width: 33px;
border: 1px solid;
@@ -1422,7 +1412,7 @@ pre.rust {
transform: rotate(360deg);
}
}
#settings-menu.rotate img {
#settings-menu.rotate > a img {
animation: rotating 2s linear infinite;
}
#settings-menu #settings {
@@ -1871,12 +1861,6 @@ details.rustdoc-toggle[open] > summary.hideme::after {
margin-left: 32px;
}
/* Space is at a premium on mobile, so remove the theme-picker icon. */
#theme-picker {
display: none;
width: 0;
}
.content {
margin-left: 0px;
}