Revert "Revert "Mobile: change all media queries to:""
This reverts commit 55d067bfee
.
Change-Id: I2077276e70e16324031b393a58bf802c3efdcb4f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88921
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
This commit is contained in:
parent
373128a5b3
commit
1999f12b35
12 changed files with 15 additions and 21 deletions
|
@ -19,7 +19,7 @@
|
|||
text-align: center;
|
||||
padding: 3px 5px;
|
||||
}
|
||||
@media (max-width: 767px), (max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
#editor-btn{
|
||||
max-width: 160px;
|
||||
}
|
||||
|
|
|
@ -839,8 +839,7 @@ input.clipboard {
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px),(max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
.loleaflet-ruler {
|
||||
height: 0px;
|
||||
display: none;
|
||||
|
|
|
@ -212,7 +212,7 @@ body {
|
|||
.w2ui-tag .w2ui-tag-top{display:none !important;}
|
||||
}
|
||||
|
||||
@media (max-width: 767px),(max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
/* Show slidesorter beyond 768px only */
|
||||
#presentation-controls-wrapper {
|
||||
top: initial;
|
||||
|
@ -287,8 +287,7 @@ body {
|
|||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) and (orientation: portrait),(max-device-height: 767px) and (orientation: portrait) {
|
||||
@media screen (max-width: 900px) and (orientation: portrait) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (orientation: portrait) and (any-pointer: coarse) and (hover: none){
|
||||
#presentation-controls-wrapper {
|
||||
top: initial;
|
||||
left: initial;
|
||||
|
@ -319,8 +318,7 @@ body {
|
|||
bottom: 33px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) and (orientation: landscape),(max-device-height: 767px) and (orientation: landscape) {
|
||||
@media screen (max-width: 900px) and (orientation: landscape) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (orientation: landscape) and (any-pointer: coarse) and (hover: none){
|
||||
#document-container.parts-preview-document {
|
||||
left: 66px !important;
|
||||
bottom: 33px;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@media (max-width: 767px), (max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
.logo {
|
||||
background-size: 100px;
|
||||
max-width: 24px;
|
||||
|
|
|
@ -256,7 +256,7 @@
|
|||
background-position: bottom;
|
||||
}
|
||||
|
||||
@media (max-width: 767px),(max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
.document-logo {
|
||||
width: 35px;
|
||||
height: 38px;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@media (max-width: 767px), (max-device-height: 767px){
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
span.menu-entry-icon img {
|
||||
width: 24px !important;
|
||||
margin: 4px !important;
|
||||
|
|
|
@ -32,8 +32,7 @@
|
|||
border: 2px solid #dfdfdf;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) and (orientation: potrait),(max-device-height: 767px) and (orientation: portrait) {
|
||||
@media screen (max-width: 900px) and (orientation: potrait) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (orientation: portrait) and (any-pointer: coarse) and (hover: none){
|
||||
#slide-sorter {
|
||||
max-height: 60px;
|
||||
}
|
||||
|
@ -50,8 +49,7 @@
|
|||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) and (orientation: landscape),(max-device-height: 767px) and (orientation: landscape) {
|
||||
@media screen (max-width: 900px) and (orientation: landscape) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (orientation: landscape) and (any-pointer: coarse) and (hover: none){
|
||||
#slide-sorter {
|
||||
max-width: 120px;
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
width: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
@media (max-width: 767px), (max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
.mCSB_scrollTools_vertical{
|
||||
width: 38px !important;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#tb_formulabar_item_formula .inputbar_selection_handles{
|
||||
/*display: none;*/
|
||||
}
|
||||
@media (max-width: 767px), (max-device-height: 767px) and (pointer: coarse) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
#tb_formulabar_item_formula, #tb_formulabar_item_address {
|
||||
height: 54px !important;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
@media (max-width: 767px), (max-device-height: 767px) {
|
||||
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
@-moz-document url-prefix() {
|
||||
#spreadsheet-row-column-frame.readonly {
|
||||
top: 36px !important;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
top:-1px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px), (max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
.insertshape-grid {
|
||||
box-sizing: content-box;
|
||||
position: absolute;
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
}
|
||||
|
||||
/*mobile*/
|
||||
@media (max-width: 767px), (max-device-height: 767px) {
|
||||
@media screen (max-width: 900px) and (any-pointer: coarse) and (hover: none), (max-height: 900px) and (any-pointer: coarse) and (hover: none){
|
||||
.vex-open .loleaflet-user-idle {
|
||||
background: rgba(0, 0, 0, 0)!important;
|
||||
font-size: xx-large!important;
|
||||
|
|
Loading…
Reference in a new issue