-
+
<%= scope.textCustomColor %>
<% if (phone) { %>
<% } %>
diff --git a/apps/documenteditor/mobile/app/view/edit/EditShape.js b/apps/documenteditor/mobile/app/view/edit/EditShape.js
index 9ffbab093..2e54952ff 100644
--- a/apps/documenteditor/mobile/app/view/edit/EditShape.js
+++ b/apps/documenteditor/mobile/app/view/edit/EditShape.js
@@ -233,6 +233,7 @@ define([
});
me.customColorPicker.on('addcustomcolor', function (colorPicker, color) {
me.paletteFillColor.addNewDynamicColor(colorPicker, color);
+ DE.getController('EditContainer').rootView.router.back();
});
me.fireEvent('page:show', [me, selector]);
@@ -249,6 +250,9 @@ define([
});
me.customBorderColorPicker.on('addcustomcolor', function (colorPicker, color) {
me.paletteBorderColor.addNewDynamicColor(colorPicker, color);
+ me.paletteFillColor.updateDynamicColors();
+ me.paletteFillColor.select(me.paletteFillColor.currentColor);
+ DE.getController('EditContainer').rootView.router.back();
});
me.fireEvent('page:show', [me, selector]);
diff --git a/apps/documenteditor/mobile/resources/css/app-ios.css b/apps/documenteditor/mobile/resources/css/app-ios.css
index 5171ba1ab..d094f347b 100644
--- a/apps/documenteditor/mobile/resources/css/app-ios.css
+++ b/apps/documenteditor/mobile/resources/css/app-ios.css
@@ -6222,9 +6222,52 @@ html.pixel-ratio-3 .document-menu .list-block li:last-child li .item-inner:after
.color-palette .dynamic-colors .item-inner {
overflow: visible;
}
+.custom-colors {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin: 15px;
+}
+.custom-colors.phone {
+ max-width: 300px;
+ margin: 0 auto;
+ margin-top: 4px;
+}
+.custom-colors.phone .button-round {
+ margin-top: 20px;
+}
+.custom-colors .right-block {
+ margin-left: 20px;
+}
+.custom-colors .button-round {
+ height: 72px;
+ width: 72px;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 100px;
+ background-color: #ffffff;
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
+ border-color: transparent;
+ margin-top: 25px;
+}
+.custom-colors .button-round.active-state {
+ background-color: rgba(0, 0, 0, 0.1);
+}
.custom-colors .color-hsb-preview {
- width: 75px;
- border: 1px solid rgba(0, 0, 0, 0.3);
+ width: 72px;
+ height: 72px;
+ border-radius: 100px;
+ overflow: hidden;
+}
+.custom-colors .new-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .current-color-hsb-preview {
+ width: 100%;
+ height: 36px;
}
.custom-colors .list-block ul:before,
.custom-colors .list-block ul:after {
@@ -6239,11 +6282,6 @@ html.pixel-ratio-3 .document-menu .list-block li:last-child li .item-inner:after
max-width: 100%;
height: auto;
font-size: 0;
- margin-left: auto;
- margin-right: auto;
-}
-.custom-colors .color-picker-wheel.phone {
- width: 210px;
}
.custom-colors .color-picker-wheel svg {
width: 100%;
diff --git a/apps/documenteditor/mobile/resources/css/app-material.css b/apps/documenteditor/mobile/resources/css/app-material.css
index c6d20d0f1..2f040a533 100644
--- a/apps/documenteditor/mobile/resources/css/app-material.css
+++ b/apps/documenteditor/mobile/resources/css/app-material.css
@@ -5816,8 +5816,58 @@ html.phone .document-menu .list-block .item-link {
.color-palette.list-block:last-child li:last-child a {
border-radius: 0;
}
+.custom-colors {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin: 15px;
+}
+.custom-colors.phone {
+ max-width: 300px;
+ margin: 0 auto;
+ margin-top: 4px;
+}
+.custom-colors.phone .button-round {
+ margin-top: 20px;
+}
+.custom-colors .right-block {
+ margin-left: 20px;
+}
+.custom-colors .button-round {
+ height: 72px;
+ width: 72px;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 100px;
+ background-color: #446995;
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
+ border-color: transparent;
+ margin-top: 25px;
+}
+.custom-colors .button-round.active-state {
+ background-color: rgba(0, 0, 0, 0.1);
+}
.custom-colors .color-hsb-preview {
- width: 75px;
+ width: 72px;
+ height: 72px;
+ border-radius: 100px;
+ overflow: hidden;
+}
+.custom-colors .new-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .current-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .list-block ul:before,
+.custom-colors .list-block ul:after {
+ content: none;
+}
+.custom-colors .list-block ul li {
border: 1px solid rgba(0, 0, 0, 0.3);
}
.custom-colors .color-picker-wheel {
@@ -5826,11 +5876,6 @@ html.phone .document-menu .list-block .item-link {
max-width: 100%;
height: auto;
font-size: 0;
- margin-left: auto;
- margin-right: auto;
-}
-.custom-colors .color-picker-wheel.phone {
- width: 210px;
}
.custom-colors .color-picker-wheel svg {
width: 100%;
diff --git a/apps/presentationeditor/mobile/resources/css/app-ios.css b/apps/presentationeditor/mobile/resources/css/app-ios.css
index 7e405ca8f..d2e85d0d2 100644
--- a/apps/presentationeditor/mobile/resources/css/app-ios.css
+++ b/apps/presentationeditor/mobile/resources/css/app-ios.css
@@ -6222,9 +6222,52 @@ html.pixel-ratio-3 .document-menu .list-block li:last-child li .item-inner:after
.color-palette .dynamic-colors .item-inner {
overflow: visible;
}
+.custom-colors {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin: 15px;
+}
+.custom-colors.phone {
+ max-width: 300px;
+ margin: 0 auto;
+ margin-top: 4px;
+}
+.custom-colors.phone .button-round {
+ margin-top: 20px;
+}
+.custom-colors .right-block {
+ margin-left: 20px;
+}
+.custom-colors .button-round {
+ height: 72px;
+ width: 72px;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 100px;
+ background-color: #ffffff;
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
+ border-color: transparent;
+ margin-top: 25px;
+}
+.custom-colors .button-round.active-state {
+ background-color: rgba(0, 0, 0, 0.1);
+}
.custom-colors .color-hsb-preview {
- width: 75px;
- border: 1px solid rgba(0, 0, 0, 0.3);
+ width: 72px;
+ height: 72px;
+ border-radius: 100px;
+ overflow: hidden;
+}
+.custom-colors .new-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .current-color-hsb-preview {
+ width: 100%;
+ height: 36px;
}
.custom-colors .list-block ul:before,
.custom-colors .list-block ul:after {
@@ -6239,11 +6282,6 @@ html.pixel-ratio-3 .document-menu .list-block li:last-child li .item-inner:after
max-width: 100%;
height: auto;
font-size: 0;
- margin-left: auto;
- margin-right: auto;
-}
-.custom-colors .color-picker-wheel.phone {
- width: 210px;
}
.custom-colors .color-picker-wheel svg {
width: 100%;
diff --git a/apps/presentationeditor/mobile/resources/css/app-material.css b/apps/presentationeditor/mobile/resources/css/app-material.css
index 4624594da..8293d97da 100644
--- a/apps/presentationeditor/mobile/resources/css/app-material.css
+++ b/apps/presentationeditor/mobile/resources/css/app-material.css
@@ -5816,8 +5816,58 @@ html.phone .document-menu .list-block .item-link {
.color-palette.list-block:last-child li:last-child a {
border-radius: 0;
}
+.custom-colors {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin: 15px;
+}
+.custom-colors.phone {
+ max-width: 300px;
+ margin: 0 auto;
+ margin-top: 4px;
+}
+.custom-colors.phone .button-round {
+ margin-top: 20px;
+}
+.custom-colors .right-block {
+ margin-left: 20px;
+}
+.custom-colors .button-round {
+ height: 72px;
+ width: 72px;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 100px;
+ background-color: #aa5252;
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
+ border-color: transparent;
+ margin-top: 25px;
+}
+.custom-colors .button-round.active-state {
+ background-color: rgba(0, 0, 0, 0.1);
+}
.custom-colors .color-hsb-preview {
- width: 75px;
+ width: 72px;
+ height: 72px;
+ border-radius: 100px;
+ overflow: hidden;
+}
+.custom-colors .new-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .current-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .list-block ul:before,
+.custom-colors .list-block ul:after {
+ content: none;
+}
+.custom-colors .list-block ul li {
border: 1px solid rgba(0, 0, 0, 0.3);
}
.custom-colors .color-picker-wheel {
@@ -5826,11 +5876,6 @@ html.phone .document-menu .list-block .item-link {
max-width: 100%;
height: auto;
font-size: 0;
- margin-left: auto;
- margin-right: auto;
-}
-.custom-colors .color-picker-wheel.phone {
- width: 210px;
}
.custom-colors .color-picker-wheel svg {
width: 100%;
diff --git a/apps/spreadsheeteditor/mobile/resources/css/app-ios.css b/apps/spreadsheeteditor/mobile/resources/css/app-ios.css
index 5d9144e18..f6cdb073f 100644
--- a/apps/spreadsheeteditor/mobile/resources/css/app-ios.css
+++ b/apps/spreadsheeteditor/mobile/resources/css/app-ios.css
@@ -6222,9 +6222,52 @@ html.pixel-ratio-3 .document-menu .list-block li:last-child li .item-inner:after
.color-palette .dynamic-colors .item-inner {
overflow: visible;
}
+.custom-colors {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin: 15px;
+}
+.custom-colors.phone {
+ max-width: 300px;
+ margin: 0 auto;
+ margin-top: 4px;
+}
+.custom-colors.phone .button-round {
+ margin-top: 20px;
+}
+.custom-colors .right-block {
+ margin-left: 20px;
+}
+.custom-colors .button-round {
+ height: 72px;
+ width: 72px;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 100px;
+ background-color: #ffffff;
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
+ border-color: transparent;
+ margin-top: 25px;
+}
+.custom-colors .button-round.active-state {
+ background-color: rgba(0, 0, 0, 0.1);
+}
.custom-colors .color-hsb-preview {
- width: 75px;
- border: 1px solid rgba(0, 0, 0, 0.3);
+ width: 72px;
+ height: 72px;
+ border-radius: 100px;
+ overflow: hidden;
+}
+.custom-colors .new-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .current-color-hsb-preview {
+ width: 100%;
+ height: 36px;
}
.custom-colors .list-block ul:before,
.custom-colors .list-block ul:after {
@@ -6239,11 +6282,6 @@ html.pixel-ratio-3 .document-menu .list-block li:last-child li .item-inner:after
max-width: 100%;
height: auto;
font-size: 0;
- margin-left: auto;
- margin-right: auto;
-}
-.custom-colors .color-picker-wheel.phone {
- width: 210px;
}
.custom-colors .color-picker-wheel svg {
width: 100%;
diff --git a/apps/spreadsheeteditor/mobile/resources/css/app-material.css b/apps/spreadsheeteditor/mobile/resources/css/app-material.css
index e0f3fa264..954150958 100644
--- a/apps/spreadsheeteditor/mobile/resources/css/app-material.css
+++ b/apps/spreadsheeteditor/mobile/resources/css/app-material.css
@@ -5826,8 +5826,58 @@ html.phone .document-menu .list-block .item-link {
.color-palette.list-block:last-child li:last-child a {
border-radius: 0;
}
+.custom-colors {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin: 15px;
+}
+.custom-colors.phone {
+ max-width: 300px;
+ margin: 0 auto;
+ margin-top: 4px;
+}
+.custom-colors.phone .button-round {
+ margin-top: 20px;
+}
+.custom-colors .right-block {
+ margin-left: 20px;
+}
+.custom-colors .button-round {
+ height: 72px;
+ width: 72px;
+ padding: 0;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-radius: 100px;
+ background-color: #40865c;
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
+ border-color: transparent;
+ margin-top: 25px;
+}
+.custom-colors .button-round.active-state {
+ background-color: rgba(0, 0, 0, 0.1);
+}
.custom-colors .color-hsb-preview {
- width: 75px;
+ width: 72px;
+ height: 72px;
+ border-radius: 100px;
+ overflow: hidden;
+}
+.custom-colors .new-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .current-color-hsb-preview {
+ width: 100%;
+ height: 36px;
+}
+.custom-colors .list-block ul:before,
+.custom-colors .list-block ul:after {
+ content: none;
+}
+.custom-colors .list-block ul li {
border: 1px solid rgba(0, 0, 0, 0.3);
}
.custom-colors .color-picker-wheel {
@@ -5836,11 +5886,6 @@ html.phone .document-menu .list-block .item-link {
max-width: 100%;
height: auto;
font-size: 0;
- margin-left: auto;
- margin-right: auto;
-}
-.custom-colors .color-picker-wheel.phone {
- width: 210px;
}
.custom-colors .color-picker-wheel svg {
width: 100%;