diff --git a/apps/common/mobile/resources/less/common-ios.less b/apps/common/mobile/resources/less/common-ios.less index 2e5b4784a..9550df5c4 100644 --- a/apps/common/mobile/resources/less/common-ios.less +++ b/apps/common/mobile/resources/less/common-ios.less @@ -41,6 +41,10 @@ --f7-toggle-inactive-color: @background-menu-divider; --f7-actions-button-border-color: @background-menu-divider; --f7-popover-bg-color: @background-primary; + --f7-dialog-bg-color-rgb: @background-secondary; + --f7-dialog-title-text-color: @text-normal; + --f7-dialog-text-color: @text-normal; + --f7-dialog-border-divider-color: @background-menu-divider; // Main Toolbar #editor-navbar.navbar .right a + a, @@ -378,12 +382,12 @@ .button-fill { color: @brandColor; - background-color: @fill-white; + background-color: @background-primary; } .button-red { color: @text-error; - background-color: @fill-white; + background-color: @background-primary; } .buttons-list { @@ -427,7 +431,8 @@ } .dialog { - background-color: rgba(var(--f7-dialog-bg-color-rgb), 1); + // background-color: rgba(var(--f7-dialog-bg-color-rgb), 1); + background-color: var(--f7-dialog-bg-color-rgb); } #color-picker { @@ -586,7 +591,7 @@ height: 57px; line-height: 57px; font-size: 20px; - color: @brandColor; + color: @text-normal; white-space: normal; text-overflow: ellipsis; } diff --git a/apps/common/mobile/resources/less/common-material.less b/apps/common/mobile/resources/less/common-material.less index 9c58b27f6..674595847 100644 --- a/apps/common/mobile/resources/less/common-material.less +++ b/apps/common/mobile/resources/less/common-material.less @@ -7,7 +7,6 @@ @darkGrey: #757575; @text-normal: var(--text-normal); @brand-text-on-brand: var(--brand-text-on-brand); - @touchColor: rgba(255,255,255,0.1); --f7-navbar-shadow-image: none; @@ -19,7 +18,7 @@ --f7-navbar-height: 56px; --f7-subnavbar-bg-color: @toolbar-background; - --f7-subnavbar-link-color: @fill-white; + --f7-subnavbar-link-color: @toolbar-icons; --f7-subnavbar-text-color: @fill-white; --f7-subnavbar-height: 56px; @@ -32,6 +31,13 @@ --f7-link-highlight-color: transparent; --f7-link-touch-ripple-color: @touchColor; + --f7-actions-bg-color: @background-secondary; + --f7-popover-bg-color: @background-secondary; + + --f7-dialog-bg-color: @background-secondary; + --f7-dialog-text-color: @text-secondary; + --f7-dialog-title-text-color: @text-normal; + .button { --f7-touch-ripple-color: transparent; } @@ -79,6 +85,8 @@ --f7-list-item-border-color: @background-menu-divider; --f7-list-chevron-icon-color: @text-tertiary; --f7-toggle-inactive-color: @background-menu-divider; + --f7-actions-button-text-color: @text-normal; + --f7-input-text-color: @text-normal; } .add-popup { @@ -146,7 +154,6 @@ .button-fill { color: @brand-text-on-brand; - // background-color: @brandColor; background-color: transparent; } @@ -226,12 +233,11 @@ color: @fill-white; i.icon { opacity: 1; - background-color: @fill-white; + // background-color: @fill-white; } } } .tab-link-highlight { - // --f7-tabbar-link-active-border-color: rgba(255,255,255,0.5); --f7-tabbar-link-active-border-color: @toolbar-icons; position: absolute; left: 0; @@ -302,7 +308,6 @@ &.active { color: @fill-white; background-color: @brandColor; - // background-color: fade(@brandColor, 20%); i.icon { background-color: @fill-white; } @@ -538,7 +543,9 @@ cursor: pointer; line-height: 48px; font-size: 16px; - color: rgba(0,0,0,.87); + // color: rgba(0,0,0,.87); + color: @text-normal; + // color: var(--f7-actions-button-text-color, ); } @media (min-width: 496px) { diff --git a/apps/common/mobile/resources/less/icons.less b/apps/common/mobile/resources/less/icons.less index 9fa830713..ac7a718c2 100644 --- a/apps/common/mobile/resources/less/icons.less +++ b/apps/common/mobile/resources/less/icons.less @@ -5,17 +5,17 @@ i.icon { &.icon-paste { width: 24px; height: 24px; - .encoded-svg-uncolored-mask(''); + .encoded-svg-mask('', @text-normal); } &.icon-copy { width: 24px; height: 24px; - .encoded-svg-uncolored-mask(''); + .encoded-svg-mask('', @text-normal); } &.icon-cut { width: 24px; height: 24px; - .encoded-svg-uncolored-mask(''); + .encoded-svg-mask('', @text-normal); } &.icon-prev:after, &.icon-next:after { content: none; diff --git a/apps/common/mobile/resources/less/ios/comments.less b/apps/common/mobile/resources/less/ios/comments.less index 9bcca5565..cde7c1f88 100644 --- a/apps/common/mobile/resources/less/ios/comments.less +++ b/apps/common/mobile/resources/less/ios/comments.less @@ -2,6 +2,9 @@ .wrap-comment { height: calc(100% - 60px); background-color: @background-tertiary; + .comment-date { + color: @text-secondary; + } } .add-comment-popup, .add-reply-popup, .add-comment-dialog, .add-reply-dialog { .wrap-textarea { diff --git a/apps/common/mobile/resources/less/material/comments.less b/apps/common/mobile/resources/less/material/comments.less index aff51e2f5..98bd8ec3a 100644 --- a/apps/common/mobile/resources/less/material/comments.less +++ b/apps/common/mobile/resources/less/material/comments.less @@ -2,6 +2,9 @@ .wrap-comment { height: calc(100% - 72px); background-color: @background-tertiary; + .comment-date { + color: @text-secondary; + } } .add-comment-popup, .add-reply-popup, .add-comment-dialog, .add-reply-dialog { .wrap-textarea { diff --git a/apps/common/mobile/resources/less/material/contextmenu.less b/apps/common/mobile/resources/less/material/contextmenu.less index 95476f42a..a1a6a9daa 100644 --- a/apps/common/mobile/resources/less/material/contextmenu.less +++ b/apps/common/mobile/resources/less/material/contextmenu.less @@ -19,7 +19,7 @@ } .list-button { - color: #212121; + color: @text-normal; } //.item-link { diff --git a/apps/common/mobile/resources/less/material/icons.less b/apps/common/mobile/resources/less/material/icons.less index b5fe07c8b..6768ae033 100644 --- a/apps/common/mobile/resources/less/material/icons.less +++ b/apps/common/mobile/resources/less/material/icons.less @@ -3,7 +3,7 @@ .device-android { i.icon { &.icon_mask { - background-color: black; + background-color: @text-normal; } &.icon-logo { width: 100px; diff --git a/apps/presentationeditor/mobile/src/view/add/AddLink.jsx b/apps/presentationeditor/mobile/src/view/add/AddLink.jsx index dfdbd0e32..d00f01ace 100644 --- a/apps/presentationeditor/mobile/src/view/add/AddLink.jsx +++ b/apps/presentationeditor/mobile/src/view/add/AddLink.jsx @@ -144,7 +144,7 @@ const PageLink = props => { { props.onInsertLink(typeLink, (typeLink === 1 ? {url: link, display: stateDisplay, tip: screenTip, displayDisabled: displayDisabled } :