[Libreoffice-commits] online.git: loleaflet/css

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 6 08:37:14 UTC 2020


 loleaflet/css/device-mobile.css |    5 +++++
 loleaflet/css/device-tablet.css |    4 ++++
 loleaflet/css/loleaflet.css     |    4 ----
 3 files changed, 9 insertions(+), 4 deletions(-)

New commits:
commit 351b231d224fa22cc853897a953fcfd7ecf3345c
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Fri Apr 3 14:00:04 2020 +0200
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Mon Apr 6 10:36:56 2020 +0200

    mobile, tablet: Disable tooltips when on touch devices.
    
    Change-Id: Ic5cebdcb8c3244643f09131c079a19d8ffd4e701
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91628
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/css/device-mobile.css b/loleaflet/css/device-mobile.css
index b29bc0ed7..d9d27bac0 100644
--- a/loleaflet/css/device-mobile.css
+++ b/loleaflet/css/device-mobile.css
@@ -711,3 +711,8 @@ td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button div.w2ui-icon, td[id
 #mobile-wizard.menuwizard.portrait #mobile-wizard-content.with-slide-sorter-above.portrait {
 	overflow-y: hidden !important;
 }
+
+/* Disable tooltips when on touch devices */
+.w2ui-tag .w2ui-tag-top {
+	display:none !important;
+}
diff --git a/loleaflet/css/device-tablet.css b/loleaflet/css/device-tablet.css
index 0dcdee9b4..7fcc0fd36 100644
--- a/loleaflet/css/device-tablet.css
+++ b/loleaflet/css/device-tablet.css
@@ -1,2 +1,6 @@
 /* CSS specific for tablets. */
 
+/* Disable tooltips when on touch devices */
+.w2ui-tag .w2ui-tag-top {
+	display:none !important;
+}
diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 3b4d4f439..96f9b7933 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -216,10 +216,6 @@ body {
 		display: none;
 	}
 }
-/* any-hover: none is a "clever" trick to detect touch-only devices */
- at media (any-hover: none) {
-	.w2ui-tag .w2ui-tag-top{display:none !important;}
-}
 
 .loleaflet-font {
 	font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif !important;


More information about the Libreoffice-commits mailing list