Fix layout of main toolbar
Before this commit there were two main issues: - In small windows, the zoom controls visually floated above the page number (e.g. 733px). - In small windows, the (transparent) zoom container covered the go-to-page input box, which prevented one from using the input field to quickly navigate to a different page.
This commit is contained in:
parent
da1c944929
commit
d45d622354
@ -104,24 +104,28 @@ select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* outer/inner center provides horizontal center */
|
/* outer/inner center provides horizontal center */
|
||||||
|
.outerCenter {
|
||||||
|
pointer-events: none;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
html[dir='ltr'] .outerCenter {
|
html[dir='ltr'] .outerCenter {
|
||||||
float: right;
|
float: right;
|
||||||
position: relative;
|
|
||||||
right: 50%;
|
right: 50%;
|
||||||
}
|
}
|
||||||
html[dir='rtl'] .outerCenter {
|
html[dir='rtl'] .outerCenter {
|
||||||
float: left;
|
float: left;
|
||||||
position: relative;
|
|
||||||
left: 50%;
|
left: 50%;
|
||||||
}
|
}
|
||||||
|
.innerCenter {
|
||||||
|
pointer-events: auto;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
html[dir='ltr'] .innerCenter {
|
html[dir='ltr'] .innerCenter {
|
||||||
float: right;
|
float: right;
|
||||||
position: relative;
|
|
||||||
right: -50%;
|
right: -50%;
|
||||||
}
|
}
|
||||||
html[dir='rtl'] .innerCenter {
|
html[dir='rtl'] .innerCenter {
|
||||||
float: left;
|
float: left;
|
||||||
position: relative;
|
|
||||||
left: -50%;
|
left: -50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1430,12 +1434,12 @@ canvas {
|
|||||||
html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
|
html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
|
||||||
html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter {
|
html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter {
|
||||||
float: left;
|
float: left;
|
||||||
left: 185px;
|
left: 205px;
|
||||||
}
|
}
|
||||||
html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
|
html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
|
||||||
html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter {
|
html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter {
|
||||||
float: right;
|
float: right;
|
||||||
right: 185px;
|
right: 205px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1479,11 +1483,11 @@ canvas {
|
|||||||
|
|
||||||
html[dir='ltr'] .outerCenter {
|
html[dir='ltr'] .outerCenter {
|
||||||
float: left;
|
float: left;
|
||||||
left: 185px;
|
left: 205px;
|
||||||
}
|
}
|
||||||
html[dir='rtl'] .outerCenter {
|
html[dir='rtl'] .outerCenter {
|
||||||
float: right;
|
float: right;
|
||||||
right: 185px;
|
right: 205px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#outerContainer .hiddenLargeView,
|
#outerContainer .hiddenLargeView,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user