Edit and add styles v.2
This commit is contained in:
parent
6fdca27961
commit
70754ae4a5
|
@ -12,14 +12,13 @@
|
|||
--text-tertiary: fade(#FFF, 40%);
|
||||
--text-link: #1976D2;
|
||||
--text-error: #FF453A;
|
||||
--text-on-brand: #000;
|
||||
|
||||
--fill-black: #000;
|
||||
--fill-white: #FFF;
|
||||
|
||||
--brand-word: #208BFF;
|
||||
--brand-cell: #34C759;
|
||||
--brand-slide: #FF4A31;
|
||||
--brand-slide: #FE8C33;
|
||||
--brand-primary: #3E9CF0;
|
||||
--brand-secondary: #FFAF49;
|
||||
--brand-text-on-brand: #000;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
--text-tertiary: fade(#000, 40%);
|
||||
--text-link: #007AFF;
|
||||
--text-error: #FF3B30;
|
||||
--text-on-brand: #fff;
|
||||
|
||||
--fill-black: #000;
|
||||
--fill-white: #FFF;
|
||||
|
|
|
@ -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: @fill-black;
|
||||
color: @text-normal;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,6 +68,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.subnavbar {
|
||||
.icon-back {
|
||||
color: @brandColor;
|
||||
}
|
||||
}
|
||||
|
||||
.popover__titled {
|
||||
.list {
|
||||
ul {
|
||||
|
@ -324,6 +330,7 @@
|
|||
cursor: pointer;
|
||||
outline: 0;
|
||||
font-weight: 600;
|
||||
color: @brandColor;
|
||||
&:first-child {
|
||||
border-radius: 5px 0 0 5px;
|
||||
border-left-width: 1px;
|
||||
|
@ -334,7 +341,7 @@
|
|||
}
|
||||
&.tab-link-active {
|
||||
background: @brandColor;
|
||||
color: @fill-white;
|
||||
color: @brand-text-on-brand;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
@darkGreen: #40865c;
|
||||
@darkGrey: #757575;
|
||||
@text-normal: var(--text-normal);
|
||||
@text-on-brand: var(--text-on-brand);
|
||||
@brand-text-on-brand: var(--brand-text-on-brand);
|
||||
|
||||
@touchColor: rgba(255,255,255,0.1);
|
||||
|
||||
|
@ -145,7 +145,7 @@
|
|||
}
|
||||
|
||||
.button-fill {
|
||||
color: @text-on-brand;
|
||||
color: @brand-text-on-brand;
|
||||
// background-color: @brandColor;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
@ -155,7 +155,7 @@
|
|||
}
|
||||
|
||||
.button-red {
|
||||
color: @text-on-brand;
|
||||
color: @brand-text-on-brand;
|
||||
background-color: @text-error;
|
||||
}
|
||||
|
||||
|
@ -184,7 +184,7 @@
|
|||
}
|
||||
.button-fill .list-button {
|
||||
background-color: @brandColor;
|
||||
color: @text-on-brand;
|
||||
color: @brand-text-on-brand;
|
||||
height: 36px;
|
||||
text-align: center;
|
||||
line-height: 36px;
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
.subnavbar-inner {
|
||||
padding: 0;
|
||||
}
|
||||
.icon-back {
|
||||
color: @toolbar-icons;
|
||||
}
|
||||
}
|
||||
|
||||
.page.page-with-subnavbar {
|
||||
|
@ -169,7 +172,6 @@
|
|||
.color-schemes-menu {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
background-color: @background-tertiary;
|
||||
.item-inner {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
.device-ios {
|
||||
.wrap-comment {
|
||||
height: calc(100% - 60px);
|
||||
background-color: @background-tertiary;
|
||||
}
|
||||
.add-comment-popup, .add-reply-popup, .add-comment-dialog, .add-reply-dialog {
|
||||
.wrap-textarea {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
.device-android {
|
||||
.wrap-comment {
|
||||
height: calc(100% - 72px);
|
||||
background-color: @background-tertiary;
|
||||
}
|
||||
.add-comment-popup, .add-reply-popup, .add-comment-dialog, .add-reply-dialog {
|
||||
.wrap-textarea {
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
.device-ios {
|
||||
--toolbar-background: var(--background-primary, #fff);
|
||||
// --toolbar-background: var(--background-tertiary, #f7f7f8);
|
||||
--toolbar-icons: var(--brand-slide, #aa5252);
|
||||
}
|
||||
.device-android {
|
||||
|
|
|
@ -442,7 +442,7 @@
|
|||
&.icon-format-otp {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="33" height="33" viewBox="0 0 33 33"><defs><clipPath id="clip-otp"><rect width="33" height="33"/></clipPath><style>.cls-1{fill:@{brandColor};}</style></defs><g id="otp" clip-path="url(#clip-otp)"><rect id="Rectangle_20" data-name="Rectangle 20" width="33" height="33" fill="none"/><path id="Path_33" data-name="Path 33" d="M125.173,121h0c-.046-.03-.093-.059-.141-.088a6.133,6.133,0,0,0-2.467-.869,6.014,6.014,0,0,0-4.309,1.188,6.223,6.223,0,0,0-2.892-1.147,5.965,5.965,0,0,0-4.039,1l-.036.024a.176.176,0,0,0-.049.125.145.145,0,0,0,.126.158l.019,0a.019.019,0,0,0,.009,0,5.781,5.781,0,0,1,2.005-.111,6.41,6.41,0,0,1,4.782,2.669c.06.081.115.076.178,0a6.288,6.288,0,0,1,6.194-2.735c.136.017.27.038.4.064.047.009.119.024.161.03.08.011.123-.071.123-.159A.155.155,0,0,0,125.173,121Z" transform="translate(-94.24 -116)" class="cls-1"/><path id="Path_34" data-name="Path 34" d="M126.894,125.978a.175.175,0,0,0-.022-.011,11.686,11.686,0,0,0-4.905-1.082,11.924,11.924,0,0,0-7.444,2.647,11.725,11.725,0,0,0-5.251-1.245,11.884,11.884,0,0,0-7.176,2.441.229.229,0,0,0-.022.016.217.217,0,0,0-.073.167.2.2,0,0,0,.191.211.167.167,0,0,0,.037,0,.118.118,0,0,0,.023-.008,11.679,11.679,0,0,1,3.71-.608c3.429,0,6.486.9,8.787,3.315a.093.093,0,0,1,.016.016.172.172,0,0,0,.123.052.18.18,0,0,0,.147-.078s.075-.115.111-.171a12.1,12.1,0,0,1,10.479-5.315c.306,0,.611.014.912.037l.273.022a.2.2,0,0,0,.191-.211A.211.211,0,0,0,126.894,125.978Z" transform="translate(-100 -115.885)" class="cls-1"/><g id="Group_5" data-name="Group 5" transform="translate(16 16)"><path id="Path_44" data-name="Path 44" d="M1.011,0H13.989A1.011,1.011,0,0,1,15,1.011V13.989A1.011,1.011,0,0,1,13.989,15H1.011A1.011,1.011,0,0,1,0,13.989V1.011A1.011,1.011,0,0,1,1.011,0Z" class="cls-1"/><path id="Path_39" data-name="Path 39" d="M5.794,13.25V3.911H9.258V2.25h-9V3.911H3.729V13.25Z" transform="translate(2.742 -0.25)" fill="#fff"/></g></g></svg>');
|
||||
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="33" height="33" viewBox="0 0 33 33"><defs><clipPath id="clip-otp"><rect width="33" height="33"/></clipPath><style>.cls-1{fill:@{brandColor};}</style></defs><g id="otp" clip-path="url(#clip-otp)"><rect id="Rectangle_20" data-name="Rectangle 20" width="33" height="33" fill="none" /><path id="Path_33" data-name="Path 33" d="M125.173,121h0c-.046-.03-.093-.059-.141-.088a6.133,6.133,0,0,0-2.467-.869,6.014,6.014,0,0,0-4.309,1.188,6.223,6.223,0,0,0-2.892-1.147,5.965,5.965,0,0,0-4.039,1l-.036.024a.176.176,0,0,0-.049.125.145.145,0,0,0,.126.158l.019,0a.019.019,0,0,0,.009,0,5.781,5.781,0,0,1,2.005-.111,6.41,6.41,0,0,1,4.782,2.669c.06.081.115.076.178,0a6.288,6.288,0,0,1,6.194-2.735c.136.017.27.038.4.064.047.009.119.024.161.03.08.011.123-.071.123-.159A.155.155,0,0,0,125.173,121Z" transform="translate(-94.24 -116)" class="cls-1"/><path id="Path_34" data-name="Path 34" d="M126.894,125.978a.175.175,0,0,0-.022-.011,11.686,11.686,0,0,0-4.905-1.082,11.924,11.924,0,0,0-7.444,2.647,11.725,11.725,0,0,0-5.251-1.245,11.884,11.884,0,0,0-7.176,2.441.229.229,0,0,0-.022.016.217.217,0,0,0-.073.167.2.2,0,0,0,.191.211.167.167,0,0,0,.037,0,.118.118,0,0,0,.023-.008,11.679,11.679,0,0,1,3.71-.608c3.429,0,6.486.9,8.787,3.315a.093.093,0,0,1,.016.016.172.172,0,0,0,.123.052.18.18,0,0,0,.147-.078s.075-.115.111-.171a12.1,12.1,0,0,1,10.479-5.315c.306,0,.611.014.912.037l.273.022a.2.2,0,0,0,.191-.211A.211.211,0,0,0,126.894,125.978Z" transform="translate(-100 -115.885)" class="cls-1"/><g id="Group_5" data-name="Group 5" transform="translate(16 16)"><path id="Path_44" data-name="Path 44" d="M1.011,0H13.989A1.011,1.011,0,0,1,15,1.011V13.989A1.011,1.011,0,0,1,13.989,15H1.011A1.011,1.011,0,0,1,0,13.989V1.011A1.011,1.011,0,0,1,1.011,0Z" class="cls-1"/><path id="Path_39" data-name="Path 39" d="M5.794,13.25V3.911H9.258V2.25h-9V3.911H3.729V13.25Z" transform="translate(2.742 -0.25)" fill="#fff"/></g></g></svg>');
|
||||
}
|
||||
|
||||
// Collaboration
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
&.icon-expand-up {
|
||||
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" x="0px" y="0px" viewBox="0 0 22 22" fill="@{brandColor}"><g><polygon points="10.9,5.1 2,13.9 4.1,16 11.1,9.2 17.9,16 20,13.9 11.2,5.1 11.1,5 "/></g></svg>');
|
||||
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 22 22" fill="@{fill-white}"><g><polygon points="10.9,5.1 2,13.9 4.1,16 11.1,9.2 17.9,16 20,13.9 11.2,5.1 11.1,5 "/></g></svg>');
|
||||
}
|
||||
|
||||
&.icon-expand-down {
|
||||
|
@ -433,19 +433,19 @@
|
|||
&.icon-menu-comment {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" 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" fill="none" 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-mask('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" 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 {
|
||||
|
@ -463,7 +463,7 @@
|
|||
&.icon-done-comment-white {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" 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);
|
||||
}
|
||||
|
||||
&.icon-add-table {
|
||||
|
@ -547,14 +547,10 @@
|
|||
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 22 22" fill="@{toolbar-icons}"><g><polygon points="16.9,10.9 8.1,2 6,4.1 12.8,11.1 6,17.9 8.1,20 16.9,11.2 17,11.1 "/></g></svg>', @toolbar-icons);
|
||||
}
|
||||
|
||||
&.icon-back {
|
||||
color: @toolbar-icons;
|
||||
}
|
||||
|
||||
&.icon-expand-down {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 22 22" fill="@{toolbar-icons}"><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>', @toolbar-icons);
|
||||
.encoded-svg-mask('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" 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-add-slide {
|
||||
|
|
Loading…
Reference in a new issue