userChrome: fix convergence usage case
Only apply rules from userChrome.css if the screen width is 700px or less.
This commit is contained in:
parent
a863f41268
commit
94f48b2c87
4 changed files with 124 additions and 114 deletions
|
@ -1,45 +1,48 @@
|
|||
/* Copyright 2020 Oliver Smith
|
||||
SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
|
||||
.subviewbutton,
|
||||
.toolbaritem-combined-buttons {
|
||||
font-size: 8pt;
|
||||
}
|
||||
@media (max-width: 700px) {
|
||||
.subviewbutton,
|
||||
.toolbaritem-combined-buttons {
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
#appMenu-protection-report-button,
|
||||
#appMenuRestoreLastSession,
|
||||
#appMenu-customize-button,
|
||||
#appMenu-open-file-button,
|
||||
#appMenu-more-button,
|
||||
#appMenu-developer-button,
|
||||
#appMenu-whatsnew-button,
|
||||
#appMenu-help-button,
|
||||
#appMenu-quit-button {
|
||||
display: none;
|
||||
}
|
||||
#appMenu-protection-report-button,
|
||||
#appMenuRestoreLastSession,
|
||||
#appMenu-customize-button,
|
||||
#appMenu-open-file-button,
|
||||
#appMenu-more-button,
|
||||
#appMenu-developer-button,
|
||||
#appMenu-whatsnew-button,
|
||||
#appMenu-help-button,
|
||||
#appMenu-quit-button {
|
||||
display: none;
|
||||
}
|
||||
|
||||
toolbarseparator {
|
||||
display: none;
|
||||
}
|
||||
toolbarseparator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Zoom/edit: move controls to the left (so they are visible), hide label (it's obvious what they do) and spacer */
|
||||
#appMenu-zoom-controls spacer,
|
||||
#appMenu-zoom-controls label,
|
||||
#appMenu-edit-controls spacer,
|
||||
#appMenu-edit-controls label {
|
||||
display: none;
|
||||
}
|
||||
/* Zoom/edit: move controls to the left (so they are visible), hide
|
||||
* label (it's obvious what they do) and spacer */
|
||||
#appMenu-zoom-controls spacer,
|
||||
#appMenu-zoom-controls label,
|
||||
#appMenu-edit-controls spacer,
|
||||
#appMenu-edit-controls label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Zoom/edit: center the controls somewhat */
|
||||
#appMenu-zoom-controls {
|
||||
padding-left: 20px;
|
||||
}
|
||||
#appMenu-edit-controls {
|
||||
padding-left: 15px;
|
||||
}
|
||||
/* Zoom/edit: center the controls somewhat */
|
||||
#appMenu-zoom-controls {
|
||||
padding-left: 20px;
|
||||
}
|
||||
#appMenu-edit-controls {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
/* Zoom: hide fullscreen button (not possible to exit fullscreen without keyboard) */
|
||||
#appMenu-fullscreen-button {
|
||||
display: none;
|
||||
/* Zoom: hide fullscreen button (not possible to exit fullscreen
|
||||
* without keyboard) */
|
||||
#appMenu-fullscreen-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue