Correct styles and fonts

This commit is contained in:
ShimaginAndrey 2021-11-15 10:55:21 +03:00
parent f24d9c2ff4
commit 8acc06d03e
13 changed files with 42 additions and 13 deletions

View file

@ -3,6 +3,7 @@
@url: `encodeURIComponent(@{svg})`;
background-color: @color;
-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,@{url}");
-webkit-mask-size: contain;
}
.encoded-svg-uncolored-mask(@svg) {

View file

@ -41,4 +41,10 @@
height: 55px;
background: ~"url(@{common-image-about-path}/logo_s.svg) no-repeat center";
}
.theme-type-dark {
.about .logo {
background: ~"url(@{common-image-about-path}/logo-white_s.svg) no-repeat center";
}
}
}

View file

@ -29,5 +29,8 @@
--toolbar-tab-normal: #757575;
--component-disabled-opacity: .4;
--button-active-opacity: fade(#446995, 20%);
--image-border-types-filter: invert(100%) brightness(4);
}
}

View file

@ -27,6 +27,9 @@
--toolbar-tab-normal:fade(#FFF, 50%);
--component-disabled-opacity: .4;
--button-active-opacity: fade(#446995, 30%);
--image-border-types-filter: none;
}
@brand-word: var(--brand-word);

View file

@ -9,6 +9,7 @@
.name {
font-weight: 600;
font-size: 16px;
color: @text-normal;
}
.wrap-textarea {
margin-top: 6px;
@ -20,6 +21,7 @@
margin-top: 0;
height: 100%;
padding: 5px 0;
color: @text-normal;
}
}
}
@ -36,7 +38,7 @@
}
.wrap-textarea {
textarea {
color: @black;
color: @text-normal;
width: 100%;
}
}

View file

@ -289,6 +289,9 @@
display: flex;
align-items: center;
justify-content: center;
&.active {
background-color: var(--button-active-opacity);
}
}
}
}

View file

@ -19,7 +19,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;
@ -151,7 +151,7 @@
}
.button-fill {
color: @white;
color: @brand-text-on-brand;
// background-color: @brandColor;
background-color: transparent;
}
@ -161,7 +161,7 @@
}
.button-red {
color: @white;
color: @brand-text-on-brand;
background-color:@text-error;
}
@ -303,7 +303,7 @@
}
&.active {
// color: @white;
background-color: var(--button-active);
background-color: var(--button-active-opacity);
// i.icon {
// background-color: @white;
// }
@ -320,6 +320,7 @@
border-radius: 4px;
margin-top: -3px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset;
background: @fill-white;
&.auto {
background-color: @autoColor;
}

View file

@ -92,6 +92,10 @@
max-height: initial;
-webkit-line-clamp: initial;
}
.font-item img {
filter: var(--image-border-types-filter, none);
}
}
.shapes {

View file

@ -1,6 +1,10 @@
.device-ios {
.wrap-comment {
height: calc(100% - 60px);
background: @background-tertiary;
.comment-date {
color: @text-secondary;
}
}
.add-comment-popup, .add-reply-popup, .add-comment-dialog, .add-reply-dialog {
.wrap-textarea {

View file

@ -1,6 +1,10 @@
.device-android {
.wrap-comment {
height: calc(100% - 72px);
background: @background-tertiary;
.comment-date {
color: @text-secondary;
}
}
.add-comment-popup, .add-reply-popup, .add-comment-dialog, .add-reply-dialog {
.wrap-textarea {

View file

@ -12,11 +12,9 @@
.device-android {
--toolbar-background: var(--brand-word, #446995);
--button-active: fade(#446995, 30%);
.theme-type-dark {
--toolbar-icons: var(--brand-word, #446995);
--button-active: fade(#446995, 20%);
}
}

View file

@ -495,7 +495,7 @@
&.icon-resolve-comment.check {
width: 30px;
height: 30px;
.encoded-svg-background('<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><path d="M0 0H30V30H0V0Z" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.6195 20.8555C11.8237 21.0673 12.1658 21.0577 12.358 20.8349L22.516 9.05783C22.7843 8.74676 22.7528 8.27781 22.4453 8.00545V8.00545C22.1315 7.72756 21.651 7.7604 21.3779 8.07839L12.3546 18.587C12.1638 18.8092 11.8238 18.8206 11.6186 18.6117L8.10643 15.0366C7.81575 14.7407 7.34084 14.7345 7.04258 15.0228V15.0228C6.74283 15.3125 6.73444 15.7903 7.02383 16.0904L11.6195 20.8555Z" fill="#40865C" fill-opacity="0.6"/></svg>');
.encoded-svg-background('<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><path d="M0 0H30V30H0V0Z" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.6195 20.8555C11.8237 21.0673 12.1658 21.0577 12.358 20.8349L22.516 9.05783C22.7843 8.74676 22.7528 8.27781 22.4453 8.00545V8.00545C22.1315 7.72756 21.651 7.7604 21.3779 8.07839L12.3546 18.587C12.1638 18.8092 11.8238 18.8206 11.6186 18.6117L8.10643 15.0366C7.81575 14.7407 7.34084 14.7345 7.04258 15.0228V15.0228C6.74283 15.3125 6.73444 15.7903 7.02383 16.0904L11.6195 20.8555Z" fill="@{green}" /></svg>');
}
&.icon-insert-comment {
width: 24px;

View file

@ -78,7 +78,7 @@
&.icon-expand-down {
width: 17px;
height: 17px;
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 22 22" fill="@{black}"><g><polygon points="10.9,16.9 2,8.1 4.1,6 11.1,12.8 17.9,6 20,8.1 11.2,16.9 11.1,17 "/></g></svg>');
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 22 22" fill="@{fill-white}"><g><polygon points="10.9,16.9 2,8.1 4.1,6 11.1,12.8 17.9,6 20,8.1 11.2,16.9 11.1,17 "/></g></svg>', @fill-white);
}
&.icon-expand-up {
width: 17px;
@ -443,17 +443,17 @@
&.icon-menu-comment {
width: 24px;
height: 24px;
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.6047 16.5848C17.0078 16.1793 17.4729 15.9766 18 15.9766C18.5271 15.9766 18.9922 16.1793 19.3953 16.5848C19.7984 16.9903 20 17.4581 20 17.9883C20 18.5185 19.7984 18.9864 19.3953 19.3918C18.9922 19.7973 18.5271 20 18 20C17.4729 20 17.0078 19.7973 16.6047 19.3918C16.2016 18.9864 16 18.5185 16 17.9883C16 17.4581 16.2016 16.9903 16.6047 16.5848ZM16.6047 10.5965C17.0078 10.191 17.4729 9.9883 18 9.9883C18.5271 9.9883 18.9922 10.191 19.3953 10.5965C19.7984 11.0019 20 11.4698 20 12C20 12.5302 19.7984 12.9981 19.3953 13.4035C18.9922 13.809 18.5271 14.0117 18 14.0117C17.4729 14.0117 17.0078 13.809 16.6047 13.4035C16.2016 12.9981 16 12.5302 16 12C16 11.4698 16.2016 11.0019 16.6047 10.5965ZM19.3953 7.4152C18.9922 7.82066 18.5271 8.02339 18 8.02339C17.4729 8.02339 17.0078 7.82066 16.6047 7.4152C16.2016 7.00975 16 6.54191 16 6.0117C16 5.48148 16.2016 5.01365 16.6047 4.60819C17.0078 4.20273 17.4729 4 18 4C18.5271 4 18.9922 4.20273 19.3953 4.60819C19.7984 5.01365 20 5.48148 20 6.0117C20 6.54191 19.7984 7.00975 19.3953 7.4152Z" fill="black" fill-opacity="0.6"/></svg>');
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.6047 16.5848C17.0078 16.1793 17.4729 15.9766 18 15.9766C18.5271 15.9766 18.9922 16.1793 19.3953 16.5848C19.7984 16.9903 20 17.4581 20 17.9883C20 18.5185 19.7984 18.9864 19.3953 19.3918C18.9922 19.7973 18.5271 20 18 20C17.4729 20 17.0078 19.7973 16.6047 19.3918C16.2016 18.9864 16 18.5185 16 17.9883C16 17.4581 16.2016 16.9903 16.6047 16.5848ZM16.6047 10.5965C17.0078 10.191 17.4729 9.9883 18 9.9883C18.5271 9.9883 18.9922 10.191 19.3953 10.5965C19.7984 11.0019 20 11.4698 20 12C20 12.5302 19.7984 12.9981 19.3953 13.4035C18.9922 13.809 18.5271 14.0117 18 14.0117C17.4729 14.0117 17.0078 13.809 16.6047 13.4035C16.2016 12.9981 16 12.5302 16 12C16 11.4698 16.2016 11.0019 16.6047 10.5965ZM19.3953 7.4152C18.9922 7.82066 18.5271 8.02339 18 8.02339C17.4729 8.02339 17.0078 7.82066 16.6047 7.4152C16.2016 7.00975 16 6.54191 16 6.0117C16 5.48148 16.2016 5.01365 16.6047 4.60819C17.0078 4.20273 17.4729 4 18 4C18.5271 4 18.9922 4.20273 19.3953 4.60819C19.7984 5.01365 20 5.48148 20 6.0117C20 6.54191 19.7984 7.00975 19.3953 7.4152Z" fill="@{brandColor}" fill-opacity="0.6"/></svg>');
}
&.icon-resolve-comment {
width: 24px;
height: 24px;
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="black" fill-opacity="0.6"/></svg>');
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="@{brandColor}"/></svg>');
}
&.icon-resolve-comment.check {
width: 24px;
height: 24px;
.encoded-svg-background('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="#40865C" fill-opacity="0.6"/></svg>');
.encoded-svg-background('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="@{green}"/></svg>');
}
&.icon-done-comment {
width: 24px;
@ -468,7 +468,7 @@
&.icon-done-comment-white {
width: 24px;
height: 24px;
.encoded-svg-background('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="#FFFFFF"/></svg>');
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="@{fill-white}" /></svg>', @fill-white);
}
}
}