[Libreoffice-commits] online.git: loleaflet/css
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 1 06:53:40 UTC 2020
loleaflet/css/device-mobile.css | 13 +++++++++
loleaflet/css/menubar-mobile.css | 52 ---------------------------------------
2 files changed, 13 insertions(+), 52 deletions(-)
New commits:
commit af8669b9d4134f797079de11cccf62c7aa4c6ee1
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Tue Mar 31 23:10:37 2020 +0200
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Wed Apr 1 08:53:22 2020 +0200
mobile: Kill most of the menu styling.
I believe this is not relevant any more, since we are using the
mobile-wizard for menus on the phones these days.
Change-Id: Ia6b16fcde1b1e4278a8d40c58968c44492248b69
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91443
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 43df49dbe..4414fd4c5 100644
--- a/loleaflet/css/device-mobile.css
+++ b/loleaflet/css/device-mobile.css
@@ -41,3 +41,16 @@ div#w2ui-overlay-actionbar.w2ui-overlay{
#toolbar-hamburger.menuwizard-opened .main-menu-btn {
padding-top: 10px;
}
+
+.logo {
+ background-size: 100px;
+ max-width: 24px;
+ max-height: 31px;
+ top: 0;
+}
+#toolbar-logo {
+ width: 0px !important;
+}
+#document-header{
+ display: none !important;
+}
diff --git a/loleaflet/css/menubar-mobile.css b/loleaflet/css/menubar-mobile.css
index cccb63eda..af0ccb615 100644
--- a/loleaflet/css/menubar-mobile.css
+++ b/loleaflet/css/menubar-mobile.css
@@ -1,56 +1,4 @@
@media (max-device-width: 767px) {
- .logo {
- background-size: 100px;
- max-width: 24px;
- max-height: 31px;
- top: 0;
- }
-
- #toolbar-logo {
- width: 0px !important;
- }
- #main-menu{
- width: 98%;
- }
- #main-menu > li{
- min-height: 56px;
- border: none;
- }
- #main-menu > li > a{
- font-size: 18px !important;
- border: none;
- }
- .lo-menu ul{
- border: none !important;
- background-color: #f7f7f7 !important;
- }
- .lo-menu ul > li{
- height: auto;
-
- }
- .lo-menu ul > li > ul > li > a{
- height: 56px;
- display: flex;
- flex-direction: row;
- align-items: center;
- }
-
- .lo-menu ul >li > .separator{
- display: none;
- }
- .lo-menu ul > li > a{
- width: 100%;
- height: 56px;
- display: flex;
- flex-direction: row;
- align-items: center;
- font-size: 14px;
- font-weight: bold;
- color: #404040;
- }
- #document-header{
- display: none !important;
- }
@media (orientation: landscape) {
#mobile-wizard.menuwizard #mobile-wizard-content.with-slide-sorter-above {
overflow-y: auto !important;
More information about the Libreoffice-commits
mailing list