Merge pull request #1641 from ONLYOFFICE/feature/correct-less-styles

Feature/correct less styles
This commit is contained in:
maxkadushkin 2022-03-23 15:42:32 +03:00 committed by GitHub
commit 2799aea94f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 118 additions and 2296 deletions

View file

@ -6,6 +6,10 @@
.wrap-comment {
padding: 16px 24px 0 16px;
background-color: @background-tertiary;
.comment-date {
color: @text-secondary;
}
.name {
font-weight: 600;
font-size: 16px;

View file

@ -89,15 +89,6 @@
.popover__titled {
.list {
ul {
background-color: var(--f7-list-bg-color);
li:first-child, li:last-child {
border-radius: 0;
a {
border-radius: 0;
}
}
}
&:first-child, &:last-child {
ul {
border-radius: 0;
@ -137,10 +128,6 @@
.list:last-child {
li:last-child {
a {
//border-radius: 0;
}
&:after {
content: '';
position: absolute;
@ -163,70 +150,6 @@
}
}
// Bullets, numbers and multilevels
.bullets,
.numbers,
.multilevels {
.list{
margin: 5px;
ul {
&:before, &:after {
display: none;
}
display: flex;
justify-content: space-around;
width: 100%;
margin-top: 10px;
padding: 0 5px;
background: none;
}
&:first-child li:first-child, &:last-child li:last-child {
border-radius: 0;
}
&:last-child li:last-child:after {
display: none;
}
}
.list .item-content {
padding-left: 0;
min-height: 68px;
.item-inner{
padding: 0;
&:after {
display: none;
}
}
}
li {
width: 70px;
height: 70px;
border: 1px solid #c4c4c4;
html.pixel-ratio-2 & {
border: 0.5px solid #c4c4c4;
}
html.pixel-ratio-3 & {
border: 0.33px solid #c4c4c4;
}
.thumb {
width: 100%;
height: 100%;
background-color: @fill-white;
background-size: cover;
label {
width: 100%;
text-align: center;
position: absolute;
top: 34%;
color: @fill-black;
}
}
}
}
.popover {
li:last-child {
.segmented a {
@ -250,9 +173,6 @@
}
.list {
li {
color: @text-normal;
}
.item-content {
.color-preview {
width: 22px;
@ -261,9 +181,6 @@
margin-top: 21px;
box-sizing: border-box;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset;
&.auto {
background-color: @autoColor;
}
}
.item-after {
.color-preview {
@ -273,22 +190,9 @@
}
}
}
li.no-indicator {
.item-link {
.item-inner {
padding-right: 15px;
&:before {
content: none;
}
}
}
}
.item-inner {
color: @text-normal;
padding-top: 7px;
color: @text-normal;
.item-after {
color: @text-normal;
.after-start {
margin: 0 5px;
}
@ -315,11 +219,6 @@
display: flex;
align-items: center;
justify-content: center;
&.active {
color: @brandColor;
// background-color: var(--button-active-opacity);
background-color: @button-active-opacity;
}
}
}
}
@ -396,13 +295,6 @@
font-family: inherit;
cursor: pointer;
outline: 0;
&.active {
background: @brandColor;
color: @fill-white;
i.icon {
background-color: @fill-white;
}
}
}
.button-fill {

View file

@ -263,29 +263,6 @@
}
// List
.list {
li {
color: @text-normal;
}
.item-inner {
color: @text-normal;
}
li.no-indicator {
.item-link {
.item-inner{
padding-right: 15px;
&:before {
content: none;
}
}
}
}
.item-link {
.item-inner {
.item-after {
color: @text-normal;
}
}
}
&.inputs-list {
.item-input, .item-link {
.item-inner {
@ -324,14 +301,6 @@
&:first-child {
margin-left: 0;
}
&.active {
color: @brandColor;
// background-color: var(--button-active-opacity);
background-color: @button-active-opacity;
// i.icon {
// background-color: @white;
// }
}
}
}
}
@ -345,82 +314,6 @@
margin-top: -3px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .15) inset;
background: @fill-white;
&.auto {
background-color: @autoColor;
}
}
}
}
// Bullets, numbers and multilevels
.bullets,
.numbers,
.multilevels {
.list{
margin: 5px;
ul {
background: none;
&:before, &:after {
display: none;
}
display: flex;
justify-content: space-around;
width: 100%;
margin-top: 10px;
padding: 0 5px;
}
&:first-child li:first-child, &:last-child li:last-child {
border-radius: 0;
}
}
.list .item-content {
padding-left: 0;
min-height: 68px;
.item-inner{
padding: 0;
&:after {
display: none;
}
}
}
li {
width: 70px;
height: 70px;
border: 1px solid @gray;
html.pixel-ratio-2 & {
border: 0.5px solid @gray;
}
html.pixel-ratio-3 & {
border: 0.33px solid @gray;
}
.thumb {
width: 100%;
height: 100%;
background-color: @fill-white;
background-size: cover;
label {
width: 100%;
text-align: center;
position: absolute;
top: 34%;
color: @fill-black;
}
}
}
}
.popover__titled {
.list {
ul {
background-color: var(--f7-list-bg-color);
li:first-child, li:last-child {
border-radius: 0;
a {
border-radius: 0;
}
}
}
}
}
@ -517,12 +410,11 @@
background-size: 24px 24px;
transition-duration: .3s;
.encoded-svg-background('<svg xmlns="http://www.w3.org/2000/svg" fill="@{white}" height="24" viewBox="0 0 24 24" width="24"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
&::placeholder {
color: @fill-white;
}
}
.searchbar input::placeholder {
color: @fill-white;
}
.navbar {
.searchbar-expandable.searchbar-enabled {
top: 0;

View file

@ -68,8 +68,13 @@
margin-top: 0;
}
.inner-range-title {
color: @text-normal;
padding: 15px 0 0 15px;
}
.range-number {
color: @text-normal;
}
}
.page-content {
&.no-padding-top {
@ -88,6 +93,16 @@
}
.list {
li.no-indicator {
.item-link {
.item-inner{
padding-right: 15px;
&:before {
content: none;
}
}
}
}
.item-text {
text-overflow: initial;
white-space: normal;
@ -98,6 +113,86 @@
.font-item img {
filter: var(--image-border-types-filter, none)
}
.buttons {
.button.active {
background-color: @button-active-opacity;
}
}
.item-content {
.color-preview.auto {
background-color: @autoColor;
}
}
}
// Bullets, numbers and multilevels
.bullets,
.numbers,
.multilevels {
.list{
margin: 5px;
ul {
background: none;
&:before, &:after {
display: none;
}
display: flex;
justify-content: space-around;
width: 100%;
margin-top: 10px;
padding: 0 5px;
li {
width: 70px;
height: 70px;
border: 1px solid @gray;
html.pixel-ratio-2 & {
border: 0.5px solid @gray;
}
html.pixel-ratio-3 & {
border: 0.33px solid @gray;
}
.thumb {
width: 100%;
height: 100%;
background-color: @fill-white;
background-size: cover;
label {
width: 100%;
text-align: center;
position: absolute;
top: 34%;
color: @fill-black;
}
}
}
}
}
.row.list .item-content {
padding-left: 0;
min-height: 68px;
.item-inner{
padding: 0;
&:after {
display: none;
}
}
}
}
.popover__titled .popover-inner{
.list {
ul {
background-color: var(--f7-list-bg-color);
li:first-child, li:last-child {
a {
border-radius: 0;
}
}
}
}
}
.shapes {

View file

@ -1,38 +0,0 @@
// About
.about {
.page-content {
text-align: center;
}
.content-block:first-child {
margin: 15px 0;
}
.content-block {
margin: 0 auto 15px;
a {
color: #000;
}
}
h3 {
font-weight: normal;
margin: 0;
&.vendor {
color: #000;
font-weight: bold;
margin-top: 15px;
}
}
p > label {
margin-right: 5px;
}
.logo {
background: url('../../../../common/mobile/resources/img/about/logo.svg') no-repeat center;
margin-top: 20px;
}
}

View file

@ -1,8 +0,0 @@
// Active button icon color
.button {
&.active {
i.icon {
background-color: #fff;
}
}
}

View file

@ -1,460 +0,0 @@
.page-change {
background-color: @fill-white;
.block-description {
background-color: @fill-white;
padding-top: 15px;
padding-bottom: 15px;
margin: 0;
max-width: 100%;
word-wrap: break-word;
}
#user-name {
font-size: 17px;
line-height: 22px;
color: @fill-black;
margin: 0;
}
#date-change {
font-size: 14px;
line-height: 18px;
color: @text-tertiary;
margin: 0;
margin-top: 3px;
}
#text-change {
color: @fill-black;
font-size: 15px;
line-height: 20px;
margin: 0;
margin-top: 10px;
}
.block-btn, .content-block.block-btn:first-child {
position: absolute;
bottom: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 0;
width: 100%;
height: 44px;
align-items: center;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
#btn-reject-change {
margin-left: 20px;
}
#btn-goto-change {
margin-left: 10px;
}
.change-buttons, .accept-reject {
display: flex;
}
.next-prev {
display: flex;
.link {
width: 44px;
}
}
.link {
position: relative;
display: flex;
justify-content: center;
align-items: center;
font-size: 17px;
height: 44px;
min-width: 44px;
}
}
#no-changes {
padding: 16px;
}
}
.navbar .center-collaboration {
display: flex;
justify-content: space-around;
}
.container-collaboration {
.navbar .right.close-collaboration {
position: absolute;
right: 10px;
}
.page-content .list-block:first-child {
margin-top: -1px;
}
}
//Display mode
.page-display-mode[data-page="display-mode-view"] {
.list-block {
li.media-item {
.item-title {
font-weight: normal;
}
.item-subtitle {
font-size: 14px;
color: @gray;
}
}
}
}
//Edit users
@initialEditUser: #373737;
#user-list {
.item-content {
padding-left: 0;
}
.item-inner {
justify-content: flex-start;
padding-left: 15px;
}
.length {
margin-left: 4px;
}
.color {
min-width: 40px;
min-height: 40px;
margin-right: 20px;
text-align: center;
border-radius: 50px;
line-height: 40px;
color: @initialEditUser;
font-weight: 500;
}
ul:before {
content: none;
}
}
//Comments
.page-comments, .add-comment, .page-view-comments, .container-edit-comment, .container-add-reply, .page-edit-comment, .page-add-reply, .page-edit-reply {
.header-comment {
display: flex;
justify-content: space-between;
padding-right: 16px;
.comment-right {
display: flex;
justify-content: space-between;
width: 70px;
}
}
.list-block .item-inner {
display: block;
padding: 16px 0;
word-wrap: break-word;
}
.list-reply {
padding-left: 26px;
}
.reply-textarea, .comment-textarea, .edit-reply-textarea {
resize: vertical;
}
.user-name {
font-size: 17px;
line-height: 22px;
color: @fill-black;
margin: 0;
font-weight: bold;
}
.comment-date, .reply-date {
font-size: 13px;
line-height: 18px;
color: @text-secondary;
margin: 0;
margin-top: 0px;
}
.comment-text, .reply-text {
color: @fill-black;
font-size: 15px;
line-height: 25px;
margin: 0;
max-width: 100%;
padding-right: 15px;
pre {
white-space: pre-wrap;
}
}
.reply-item {
margin-top: 15px;
padding-right: 16px;
padding-top: 13px;
.header-reply {
display: flex;
justify-content: space-between;
}
.user-name {
padding-top: 3px;
}
&:before {
content: '';
position: absolute;
left: auto;
bottom: 0;
right: auto;
top: 0;
height: 1px;
width: 100%;
background-color: @listBlockBorderColor;
display: block;
z-index: 15;
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
}
.comment-quote {
color: @text-secondary;
border-left: 1px solid @text-secondary;
padding-left: 10px;
padding-right: 16px;
margin: 5px 0;
font-size: 15px;
}
.wrap-comment, .wrap-reply {
padding: 16px 24px 0 16px;
}
.comment-textarea, .reply-textarea, .edit-reply-textarea {
margin-top: 10px;
background:transparent;
outline:none;
width: 100%;
font-size: 17px;
border: none;
border-radius: 3px;
min-height: 100px;
}
}
.settings.popup .list-block ul.list-reply:last-child:after, .settings.popover .list-block ul.list-reply:last-child:after {
display: none;
}
.container-edit-comment {
.page {
background-color: @fill-white;
}
}
//view comment
.container-view-comment {
position: fixed;
-webkit-transition: height 100ms;
transition: height 120ms;
background-color: #FFFFFF;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
height: 50%;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12);
.pages {
background-color: #FFFFFF;
}
.page-view-comments {
background-color: #FFFFFF;
.list-block {
margin-bottom: 100px;
ul:before, ul:after {
content: none;
}
.item-inner {
padding: 0;
}
}
}
.toolbar {
position: fixed;
background-color: #FFFFFF;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14);
&:before {
content: none;
}
.toolbar-inner {
display: flex;
justify-content: space-between;
padding: 0 16px;
.button-left {
min-width: 80px;
}
.button-right {
min-width: 62px;
display: flex;
justify-content: space-between;
a {
padding: 0 12px;
}
}
}
}
.swipe-container {
display: flex;
justify-content: center;
height: 40px;
.icon-swipe {
margin-top: 8px;
width: 40px;
height: 4px;
background: rgba(0, 0, 0, 0.12);
border-radius: 2px;
}
}
.list-block {
margin-top: 0;
}
&.popover {
position: absolute;
border-radius: 4px;
min-height: 170px;
height: 400px;
max-height: 600px;
.toolbar {
position: absolute;
border-radius: 0 0 4px 4px;
.toolbar-inner {
padding-right: 0;
}
}
.pages {
position: absolute;
.page {
border-radius: 13px;
.page-content {
padding: 16px;
padding-bottom: 80px;
.list-block {
margin-bottom: 0px;
.item-content {
padding-left: 0;
.header-comment, .reply-item {
padding-right: 0;
}
}
}
.block-reply {
margin-top: 10px;
.reply-textarea {
min-height: 70px;
width: 278px;
border: 1px solid #c4c4c4;
border-radius: 6px;
padding: 5px;
}
}
.edit-reply-textarea {
min-height: 60px;
width: 100%;
border: 1px solid #c4c4c4;
border-radius: 6px;
padding: 5px;
height: 60px;
margin-top: 10px;
}
.comment-text {
padding-right: 0;
.comment-textarea {
border: 1px solid #c4c4c4;
border-radius: 6px;
padding: 8px;
min-height: 80px;
height: 80px;
}
}
}
}
}
}
}
#done-comment {
color: @brandColor;
}
.page-add-comment {
background-color: @fill-white;
.wrap-comment, .wrap-reply {
padding: 16px 24px 0 16px;
.header-comment {
justify-content: flex-start;
}
.user-name {
font-weight: bold;
font-size: 17px;
padding-left: 5px;
}
.comment-date {
font-size: 13px;
color: @text-secondary;
padding-left: 5px;
}
.wrap-textarea {
margin-top: 16px;
padding-right: 6px;
.comment-textarea {
font-size: 17px;
border: none;
margin-top: 0;
min-height: 100px;
border-radius: 4px;
width: 100%;
padding-left: 5px;
&::placeholder {
color: @gray;
font-size: 17px;
}
}
}
}
}
.container-add-reply {
height: 100%;
.navbar {
a.link i + span {
margin-left: 0;
}
}
.page {
background-color: #FFFFFF;
}
}
.actions-modal-button.color-red {
color: @red;
}
.page-edit-comment, .page-add-reply, .page-edit-reply {
background-color: #FFFFFF;
.header-comment {
justify-content: flex-start;
}
.navbar {
.right {
height: 100%;
#add-reply, #edit-comment, #edit-reply {
display: flex;
align-items: center;
padding-left: 16px;
padding-right: 16px;
height: 100%;
}
}
}
}
.container-edit-comment {
position: fixed;
}

View file

@ -1,171 +0,0 @@
// Color palette
.color-palette {
a {
flex-grow: 1;
position: relative;
min-width: 10px;
min-height: 26px;
margin: 1px 1px 0 0;
box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
&.active {
&:after {
content:' ';
position: absolute;
width: 100%;
height: 100%;
box-shadow: 0 0 0 1px white, 0 0 0 4px @brandColor;
z-index: 1;
border-radius: 1px;
}
}
&.transparent {
background-repeat: no-repeat;
background-size: 100% 100%;
.encoded-svg-background("<svg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 22 22' xml:space='preserve'><line stroke='#ff0000' stroke-linecap='undefined' stroke-linejoin='undefined' id='svg_1' y2='0' x2='22' y1='22' x1='0' stroke-width='2' fill='none'/></svg>");
}
}
.theme-colors {
.item-inner {
display: inline-block;
overflow: visible;
}
}
.standart-colors, .dynamic-colors {
.item-inner {
overflow: visible;
}
}
}
.custom-colors {
display: flex;
justify-content: space-around;
align-items: center;
margin: 15px;
&.phone {
max-width: 300px;
margin: 0 auto;
margin-top: 4px;
.button-round {
margin-top: 20px;
}
}
.right-block {
margin-left: 20px;
}
.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;
&.active-state {
background-color: rgba(0, 0, 0, 0.1);
}
}
.color-hsb-preview {
width: 72px;
height: 72px;
border-radius: 100px;
overflow: hidden;
border: 1px solid #c4c4c4;
}
.new-color-hsb-preview {
width: 100%;
height: 36px;
}
.current-color-hsb-preview {
width: 100%;
height: 36px;
}
.list-block ul:before, .list-block ul:after {
content: none;
}
.list-block ul li {
border: 1px solid rgba(0, 0, 0, 0.3);
}
.color-picker-wheel {
position: relative;
width: 290px;
max-width: 100%;
height: auto;
font-size: 0;
svg {
width: 100%;
height: auto;
}
.color-picker-wheel-handle {
width: calc(100% / 6);
height: calc(100% / 6);
position: absolute;
box-sizing: border-box;
border: 2px solid #fff;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
background: red;
border-radius: 50%;
left: 0;
top: 0;
}
.color-picker-sb-spectrum {
background-color: #000;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 100%), linear-gradient(to left, rgba(255, 255, 255, 0) 0%, #fff 100%);
position: relative;
width: 45%;
height: 45%;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
position: absolute;
}
.color-picker-sb-spectrum-handle {
width: 4px;
height: 4px;
position: absolute;
left: -2px;
top: -2px;
z-index: 1;
&:after {
background-color: inherit;
content: '';
position: absolute;
width: 16px;
height: 16px;
border: 1px solid #fff;
border-radius: 50%;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
box-sizing: border-box;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transition: 150ms;
transition-property: transform;
transform-origin: center;
}
&.color-picker-sb-spectrum-handle-pressed:after {
transform: scale(1.5) translate(-33.333%, -33.333%);
}
}
}
}
#font-color-auto.active .color-auto {
box-shadow: 0 0 0 1px white, 0 0 0 4px @brandColor;
border-radius: 1px;
}

View file

@ -1,21 +0,0 @@
.color-schemes-menu {
cursor: pointer;
display: block;
background-color: #fff;
.item-inner {
justify-content: flex-start;
}
.color-schema-block {
display: flex;
}
.color {
min-width: 26px;
min-height: 26px;
margin: 0 2px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset;
}
.text {
margin-left: 20px;
color: #212121;
}
}

View file

@ -1,117 +0,0 @@
// Container
.phone.ios {
.container-edit,
.container-collaboration,
.container-filter {
.navbar {
.hairline(top, @toolbarBorderColor);
}
.page-content {
.list-block:first-child {
margin-top: -1px;
}
}
}
}
.container-edit,
.container-add,
.container-settings,
.container-collaboration,
.container-filter {
&.popover {
width: 360px;
}
}
.settings {
&.popup,
&.popover {
.list-block {
ul {
border-radius: 0 !important;
background: #fff;
&:last-child {
.hairline(bottom, @listBlockBorderColor);
}
}
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 30px;
}
li:first-child a,
li:last-child a {
border-radius: 0 !important;
}
}
&,
.popover-inner {
> .content-block {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
color: #000;
}
}
.popover-view {
border-radius: 13px;
> .pages {
border-radius: 13px;
}
}
.content-block:first-child {
margin-top: 0;
.content-block-inner {
&:before {
height: 0;
}
}
}
}
.categories {
width: 100%;
> .buttons-row {
width: 100%;
.button {
padding: 0 1px;
}
}
}
.popover-inner {
height: 400px;
}
}
.container-add {
.categories {
> .buttons-row {
.button {
&.active {
i.icon {
background-color: transparent;
}
}
display: flex;
justify-content: center;
align-items: center;
}
}
}
}

View file

@ -1,95 +0,0 @@
// Context menu
.document-menu {
@contextMenuBg: rgba(0,0,0,0.9);
@modalHairlineColor: rgba(230,230,230,0.9);
@modalButtonColor : rgba(200,200,200,0.9);
background-color: @contextMenuBg;
width: auto;
border-radius: 8px;
z-index: 12500;
.popover-angle {
&:after {
background: @contextMenuBg;
}
}
.list-block {
font-size: 14px;
white-space: pre;
&:first-child {
ul {
.hairline-remove(left);
border-radius: 7px 0 0 7px;
}
li:first-child a{
border-radius: 7px 0 0 7px;
}
}
&:last-child {
ul {
.hairline-remove(right);
border-radius: 0 7px 7px 0;
}
li:last-child a{
border-radius: 0 7px 7px 0;
}
}
&:first-child:last-child {
li:first-child:last-child a, ul:first-child:last-child {
border-radius: 7px;
}
}
.item-link {
display: inline-block;
html:not(.watch-active-state) &:active, &.active-state {
//.transition(0ms);
background-color: #d9d9d9;
.item-inner {
.hairline-color(right, transparent);
}
}
html.phone & {
padding: 0 10px;
}
&.list-button {
color: @white;
.hairline(right, @modalHairlineColor);
line-height: 36px;
}
}
// List items
li {
display: inline-block;
}
// Last-childs
li {
&:last-child {
.list-button {
.hairline-remove(right);
}
}
&:last-child, &:last-child li:last-child {
.item-inner {
.hairline-remove(right);
}
}
li:last-child, &:last-child li {
.item-inner {
.hairline(right, @modalHairlineColor);
}
}
}
.no-hairlines();
.no-hairlines-between()
}
}

View file

@ -1,35 +0,0 @@
// Data view
.dataview {
&.page-content {
background: @white;
}
.row {
justify-content: space-around;
}
ul {
padding: 0 10px;
list-style: none;
li {
display: inline-block;
}
}
.active {
position: relative;
z-index: 1;
&::after {
content: '';
position: absolute;
width: 22px;
height: 22px;
right: -5px;
bottom: -5px;
.encoded-svg-background('<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="@{brandColor}"><g><circle fill="#fff" cx="11" cy="11" r="11"/><path d="M11,21A10,10,0,1,1,21,11,10,10,0,0,1,11,21h0ZM17.4,7.32L17.06,7a0.48,0.48,0,0,0-.67,0l-7,6.84L6.95,11.24a0.51,0.51,0,0,0-.59.08L6,11.66a0.58,0.58,0,0,0,0,.65l3.19,3.35a0.38,0.38,0,0,0,.39,0L17.4,8a0.48,0.48,0,0,0,0-.67h0Z"/></g></svg>');
}
}
}

View file

@ -1,93 +0,0 @@
// List extend
.item-content {
.item-after {
&.splitter {
color: #000;
label {
margin: 0 5px;
}
.buttons-row {
min-width: 90px;
margin-left: 10px;
}
}
&.value {
display: block;
min-width: 60px;
color: @black;
margin-left: 10px;
text-align: right;
}
input.field {
color: @brandColor;
&.placeholder-color::-webkit-input-placeholder {
color: @brandColor;
}
&.right {
text-align: right;
}
}
}
&.buttons {
.item-inner {
padding-top: 0;
padding-bottom: 0;
align-items: stretch;
> .row {
width: 100%;
align-items: stretch;
.button {
flex: 1;
border: none;
height: inherit;
border-radius: 0;
font-size: 17px;
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
.item-after .color-preview {
width: 75px;
height: 30px;
margin-top: -3px;
box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
}
i .color-preview {
width: 22px;
height: 8px;
display: inline-block;
margin-top: 21px;
box-sizing: border-box;
box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
}
}
.item-link {
&.no-indicator {
.item-inner {
background-image: none;
padding-right: 15px;
}
}
}
.list-block {
.item-link.list-button {
color: @brandColor;
}
}

View file

@ -1,10 +1,6 @@
.device-ios {
.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 {

View file

@ -1,38 +0,0 @@
// About
.about {
.page-content {
text-align: center;
}
.content-block:first-child {
margin: 15px 0;
}
.content-block {
margin: 0 auto 15px;
a {
color: #000;
}
}
h3 {
font-weight: normal;
margin: 0;
&.vendor {
color: #000;
font-weight: bold;
margin-top: 15px;
}
}
p > label {
margin-right: 5px;
}
.logo {
background: url('../../../../common/mobile/resources/img/about/logo.svg') no-repeat center;
}
}

View file

@ -1,9 +0,0 @@
// Active button icon color
.button {
&.active {
i.icon {
background-color: #fff;
}
}
}

View file

@ -1,507 +0,0 @@
.page-change {
.block-description {
background-color: @fill-white;
padding-top: 15px;
padding-bottom: 15px;
margin: 0;
max-width: 100%;
word-wrap: break-word;
}
#user-name {
font-size: 16px;
line-height: 22px;
color: @fill-black;
margin: 0;
}
#date-change {
font-size: 14px;
line-height: 18px;
color: @text-tertiary;
margin: 0;
margin-top: 3px;
}
#text-change {
color: @fill-black;
font-size: 15px;
line-height: 20px;
margin: 0;
margin-top: 10px;
}
.block-btn {
position: absolute;
bottom: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 0;
width: 100%;
height: 56px;
align-items: center;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
#btn-reject-change {
margin-left: 15px;
}
.change-buttons, .accept-reject, .next-prev {
display: flex;
}
.link {
position: relative;
display: flex;
justify-content: center;
align-items: center;
font-size: 14px;
text-transform: uppercase;
font-weight: 500;
height: 56px;
min-width: 48px;
}
}
.header-change {
display: flex;
justify-content: flex-start;
padding-right: 16px;
.initials-change {
height: 40px;
width: 40px;
border-radius: 50px;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin-right: 16px;
font-size: 18px;
}
}
#no-changes {
padding: 16px;
}
}
.container-collaboration {
.navbar .right.close-collaboration {
position: absolute;
right: 5px;
}
.page-content .list-block:first-child {
margin-top: -1px;
}
}
//Display mode
.page-display-mode {
.list-block {
.item-subtitle {
font-size: 14px;
color: @gray;
}
}
}
//Edit users
@initialEditUser: #373737;
#user-list {
.item-content {
padding-left: 0;
}
.item-inner {
justify-content: flex-start;
padding-left: 15px;
}
.length {
margin-left: 4px;
}
.color {
min-width: 40px;
min-height: 40px;
margin-right: 20px;
text-align: center;
border-radius: 50px;
line-height: 40px;
color: @initialEditUser;
font-weight: 400;
}
ul:before {
content: none;
}
}
//Comments
.page-comments, .page-add-comment, .page-view-comments, .container-edit-comment, .container-add-reply, .page-edit-comment, .page-add-reply, .page-edit-reply {
.list-block {
ul {
&:before, &:after {
content: none;
}
}
.item-inner {
display: block;
padding: 16px 0;
word-wrap: break-word;
&:after {
content: none;
}
}
}
.list-reply {
padding-left: 26px;
}
.reply-textarea, .comment-textarea, .edit-reply-textarea {
resize: vertical;
}
.user-name {
font-size: 16px;
line-height: 22px;
color: @fill-black;
margin: 0;
}
.comment-date, .reply-date {
font-size: 12px;
line-height: 18px;
color: @text-secondary;
margin: 0;
margin-top: 0px;
}
.comment-text, .reply-text {
color: @fill-black;
font-size: 15px;
line-height: 25px;
margin: 0;
max-width: 100%;
padding-right: 15px;
pre {
white-space: pre-wrap;
}
}
.reply-item {
padding-right: 16px;
padding-top: 13px;
.header-reply {
display: flex;
justify-content: space-between;
}
.user-name {
padding-top: 3px;
}
}
.comment-quote {
color: @text-secondary;
border-left: 1px solid @text-secondary;
padding-left: 10px;
padding-right: 16px;
margin: 5px 0;
font-size: 15px;
}
.wrap-comment, .wrap-reply {
padding: 16px 24px 0 16px;
}
.comment-textarea, .reply-textarea, .edit-reply-textarea {
margin-top: 10px;
background:transparent;
outline:none;
width: 100%;
font-size: 15px;
border: none;
border-radius: 3px;
min-height: 100px;
}
.header-comment {
display: flex;
justify-content: space-between;
padding-right: 16px;
.comment-right {
display: flex;
justify-content: space-between;
width: 70px;
}
.comment-left {
display: flex;
justify-content: space-between;
}
.initials-comment {
height: 40px;
width: 40px;
border-radius: 50px;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin-right: 16px;
font-size: 18px;
}
}
.header-reply {
.reply-left {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.initials-reply {
width: 24px;
height: 24px;
color: #FFFFFF;
font-size: 11px;
display: flex;
justify-content: center;
align-items: center;
margin-right: 16px;
border-radius: 50px;
margin-top: 5px;
}
}
}
.settings.popup .list-block ul.list-reply:last-child:after, .settings.popover .list-block ul.list-reply:last-child:after {
display: none;
}
//view comment
.container-view-comment {
position: fixed;
-webkit-transition: height 100ms;
transition: height 100ms;
background-color: #FFFFFF;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
height: 50%;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14);
.page-view-comments {
background-color: #FFFFFF;
.list-block {
margin-bottom: 120px;
ul:before, ul:after {
content: none;
}
.item-inner {
padding: 0;
}
}
}
.toolbar {
position: fixed;
background-color: #FFFFFF;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14);
&.toolbar-bottom {
top: auto;
}
&:before {
content: none;
}
a {
&.link {
color: @brandColor;
font-size: 16px;
}
}
.toolbar-inner {
display: flex;
justify-content: space-between;
padding: 0 16px;
.button-left {
min-width: 80px;
}
.button-right {
min-width: 62px;
display: flex;
justify-content: space-between;
a {
padding: 0 8px;
}
}
}
}
.swipe-container {
display: flex;
justify-content: center;
height: 40px;
background-color: @background-primary;
.icon-swipe {
margin-top: 8px;
width: 40px;
height: 4px;
background: rgba(0, 0, 0, 0.12);
border-radius: 2px;
}
}
.list-block {
margin-top: 0;
}
&.popover {
position: absolute;
border-radius: 4px;
min-height: 170px;
height: 400px;
max-height: 600px;
.toolbar {
position: absolute;
border-radius: 0 0 4px 4px;
.toolbar-inner {
padding-right: 0;
}
}
.pages {
position: absolute;
.page {
border-radius: 13px;
.page-content {
padding: 16px;
padding-bottom: 80px;
.list-block {
margin-bottom: 0px;
.item-content {
padding-left: 0;
.header-comment, .reply-item {
padding-right: 0;
}
}
}
.block-reply {
margin-top: 10px;
.reply-textarea {
min-height: 70px;
width: 278px;
border: 1px solid #c4c4c4;
border-radius: 6px;
padding: 5px;
}
}
.edit-reply-textarea {
min-height: 60px;
width: 100%;
border: 1px solid #c4c4c4;
border-radius: 6px;
padding: 5px;
height: 60px;
margin-top: 10px;
}
.comment-text {
padding-right: 0;
.comment-textarea {
border: 1px solid #c4c4c4;
border-radius: 6px;
padding: 8px;
min-height: 80px;
height: 80px;
}
}
}
}
}
}
}
#done-comment {
padding: 0 16px;
}
.page-add-comment {
.wrap-comment, .wrap-reply {
padding: 16px 24px 0 16px;
.header-comment {
justify-content: flex-start;
}
.user-name {
font-size: 17px;
font-weight: bold;
}
.comment-date {
font-size: 13px;
color: @text-secondary;
}
.wrap-textarea {
margin-top: 16px;
padding-right: 6px;
.comment-textarea {
font-size: 17px;
border: none;
margin-top: 0;
min-height: 100px;
border-radius: 4px;
&::placeholder {
color: @gray;
font-size: 17px;
}
}
}
}
}
.container-edit-comment, .container-add-reply {
height: 100%;
.navbar {
&:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
right: auto;
top: auto;
height: 1px;
width: 100%;
background-color: #c4c4c4;
display: block;
z-index: 15;
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.navbar-inner {
justify-content: space-between;
}
a.link i + span {
margin-left: 0;
}
.center {
font-size: 18px;
}
.right {
margin-left: 0;
}
}
.page-add-comment {
background-color: @fill-white;
}
.header-comment {
justify-content: flex-start;
}
}
.actions-modal-button.color-red {
color: @red;
}
.page-edit-comment, .page-add-reply, .page-edit-reply {
background-color: @fill-white;
.header-comment {
justify-content: flex-start;
}
.navbar {
.right {
height: 100%;
#add-new-reply, #edit-comment, #edit-reply {
display: flex;
align-items: center;
padding-left: 16px;
padding-right: 16px;
height: 100%;
}
}
}
}
.container-edit-comment {
position: fixed;
}

View file

@ -1,175 +0,0 @@
// Color palette
.color-palette {
a {
flex-grow: 1;
position: relative;
min-width: 10px;
min-height: 26px;
margin: 1px 1px 0 0;
box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
&.active {
&:after {
content:' ';
position: absolute;
width: 100%;
height: 100%;
box-shadow: 0 0 0 1px white, 0 0 0 4px @brandColor;
z-index: 1;
border-radius: 1px;
}
}
&.transparent {
background-repeat: no-repeat;
background-size: 100% 100%;
.encoded-svg-background("<svg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 22 22' xml:space='preserve'><line stroke='#ff0000' stroke-linecap='undefined' stroke-linejoin='undefined' id='svg_1' y2='0' x2='22' y1='22' x1='0' stroke-width='2' fill='none'/></svg>");
}
}
.theme-colors {
.item-inner {
display: inline-block;
overflow: visible;
}
}
.standart-colors, .dynamic-colors {
.item-inner {
overflow: visible;
}
}
&.list-block:last-child li:last-child a {
border-radius: 0;
}
}
.custom-colors {
display: flex;
justify-content: space-around;
align-items: center;
margin: 15px;
&.phone {
max-width: 300px;
margin: 0 auto;
margin-top: 4px;
.button-round {
margin-top: 20px;
}
}
.right-block {
margin-left: 20px;
}
.button-round {
height: 72px;
width: 72px;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
border-radius: 100px;
background-color: @brandColor;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border-color: transparent;
margin-top: 25px;
&.active-state {
background-color: rgba(0, 0, 0, 0.1);
}
}
.color-hsb-preview {
width: 72px;
height: 72px;
border-radius: 100px;
overflow: hidden;
border: 1px solid #ededed;
}
.new-color-hsb-preview {
width: 100%;
height: 36px;
}
.current-color-hsb-preview {
width: 100%;
height: 36px;
}
.list-block ul:before, .list-block ul:after {
content: none;
}
.list-block ul li {
border: 1px solid rgba(0, 0, 0, 0.3);
}
.color-picker-wheel {
position: relative;
width: 290px;
max-width: 100%;
height: auto;
font-size: 0;
svg {
width: 100%;
height: auto;
}
.color-picker-wheel-handle {
width: calc(100% / 6);
height: calc(100% / 6);
position: absolute;
box-sizing: border-box;
border: 2px solid #fff;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
background: red;
border-radius: 50%;
left: 0;
top: 0;
}
.color-picker-sb-spectrum {
background-color: #000;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 100%), linear-gradient(to left, rgba(255, 255, 255, 0) 0%, #fff 100%);
position: relative;
width: 45%;
height: 45%;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
position: absolute;
}
.color-picker-sb-spectrum-handle {
width: 4px;
height: 4px;
position: absolute;
left: -2px;
top: -2px;
z-index: 1;
&:after {
background-color: inherit;
content: '';
position: absolute;
width: 16px;
height: 16px;
border: 1px solid #fff;
border-radius: 50%;
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
box-sizing: border-box;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
transition: 150ms;
transition-property: transform;
transform-origin: center;
}
&.color-picker-sb-spectrum-handle-pressed:after {
transform: scale(1.5) translate(-33.333%, -33.333%);
}
}
}
}
#font-color-auto.active .color-auto {
box-shadow: 0 0 0 1px white, 0 0 0 4px @brandColor;
border-radius: 1px;
}

View file

@ -1,21 +0,0 @@
.color-schemes-menu {
cursor: pointer;
display: block;
background-color: #fff;
.item-inner {
justify-content: flex-start;
}
.color-schema-block {
display: flex;
}
.color {
min-width: 26px;
min-height: 26px;
margin: 0 2px 0 0;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset;
}
.text {
margin-left: 20px;
color: #212121;
}
}

View file

@ -1,77 +0,0 @@
// Container
.phone.android {
.container-edit,
.container-collaboration,
.container-filter {
.page-content {
.list-block:first-child {
margin-top: -1px;
}
}
}
}
.container-edit,
.container-add,
.container-settings,
.container-collaboration,
.container-filter {
&.popover {
width: 360px;
}
}
.settings {
&.popup,
&.popover {
.list-block {
ul {
border-radius: 0;
background: #fff;
}
&:first-child {
margin-top: 0;
li:first-child a {
border-radius: 0;
}
}
}
&,
.popover-inner {
> .content-block {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
}
.popover-view {
border-radius: 2px;
> .pages {
border-radius: 2px;
}
}
}
.categories {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
> .toolbar {
top: 0;
height: 100%;
}
}
.popover-inner {
height: 400px;
}
}

View file

@ -1,29 +0,0 @@
// Context menu
.document-menu {
width: auto;
line-height: 1 !important;
z-index: 12500;
.popover-inner {
overflow: hidden;
}
.list-block {
white-space: pre;
ul {
height: 48px;
}
li {
display: inline-block;
}
.item-link {
html.phone & {
padding: 0 10px;
}
}
}
}

View file

@ -1,32 +0,0 @@
// Data view
.dataview {
.row {
justify-content: space-around;
}
ul {
padding: 0 10px;
list-style: none;
justify-content: space-around;
li {
display: inline-block;
}
}
.active {
position: relative;
z-index: 1;
&::after {
content: '';
position: absolute;
width: 22px;
height: 22px;
right: -5px;
bottom: -5px;
.encoded-svg-background('<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="@{brandColor}"><g><circle fill="#fff" cx="11" cy="11" r="11"/><path d="M11,21A10,10,0,1,1,21,11,10,10,0,0,1,11,21h0ZM17.4,7.32L17.06,7a0.48,0.48,0,0,0-.67,0l-7,6.84L6.95,11.24a0.51,0.51,0,0,0-.59.08L6,11.66a0.58,0.58,0,0,0,0,.65l3.19,3.35a0.38,0.38,0,0,0,.39,0L17.4,8a0.48,0.48,0,0,0,0-.67h0Z"/></g></svg>');
}
}
}

View file

@ -1,73 +0,0 @@
// List extend
.item-content{
.item-after {
&.splitter {
label {
color: #000;
margin:0 5px;
line-height: 36px;
}
.button {
min-width: 40px;
margin-left: 0;
}
}
&.value {
display: block;
min-width: 50px;
color: @black;
margin-left: 10px;
text-align: right;
}
}
&.buttons {
.item-inner {
padding-top: 0;
padding-bottom: 0;
> .row {
width: 100%;
.button {
flex: 1;
font-size: 17px;
margin-left: 5px;
&:first-child {
margin-left: 0;
}
&.active {
color: #fff;
background-color: @brandColor;
}
}
}
}
}
.color-preview {
width: 30px;
height: 30px;
border-radius: 16px;
margin-top: -3px;
box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
}
}
.item-link {
&.no-indicator {
.item-inner {
background-image: none;
padding-right: 16px;
}
}
}
.popover .list-block:last-child li:last-child .buttons a {
border-radius: 3px;
}

View file

@ -1,10 +1,6 @@
.device-android {
.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 {

View file

@ -40,27 +40,3 @@
}
}
// Color Schemes
.color-schemes-menu {
cursor: pointer;
display: block;
// background-color: #fff;
.item-inner {
justify-content: flex-start;
}
.color-schema-block {
display: flex;
}
.color {
min-width: 26px;
min-height: 26px;
margin: 0 2px 0 0;
box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset;
}
.item-title {
margin-left: 20px;
// color: #212121;
}
}

View file

@ -86,28 +86,4 @@
}
}
}
}
// Color Schemes
.color-schemes-menu {
cursor: pointer;
display: block;
// background-color: #fff;
.item-inner {
justify-content: flex-start;
}
.color-schema-block {
display: flex;
}
.color {
min-width: 26px;
min-height: 26px;
margin: 0 2px 0 0;
box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset;
}
.item-title {
margin-left: 20px;
// color: #212121;
}
}

View file

@ -151,7 +151,7 @@
.table-styles .row div:not(:first-child) {
margin: 2px auto 0px;
}
.table-styles li, .table-styles .row div {
.table-styles .skeleton-list li, .table-styles .row div {
padding: 0;
}
.table-styles .row .skeleton-list{

View file

@ -205,7 +205,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}}
></Range>
</div>
<div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)}
</div>
</ListItem>
@ -229,7 +229,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onOpacity(value)}}
></Range>
</div>
<div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateOpacity + ' %'}
</div>
</ListItem>

View file

@ -123,7 +123,7 @@
.table-styles .row div:not(:first-child) {
margin: 2px auto 0px;
}
.table-styles li, .table-styles .row div {
.table-styles .skeleton-list li, .table-styles .row div {
padding: 0;
}
.table-styles .row .skeleton-list{

View file

@ -162,7 +162,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}}
></Range>
</div>
<div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)}
</div>
</ListItem>
@ -186,7 +186,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onOpacity(value)}}
></Range>
</div>
<div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateOpacity + ' %'}
</div>
</ListItem>

View file

@ -37,8 +37,7 @@ const PageApplicationSettings = props => {
onChange={() => changeMeasureSettings(2)}></ListItem>
</List>
<List>
<ListItem>
<span>{_t.textSpellcheck}</span>
<ListItem title={_t.textSpellcheck}>
<Toggle checked={isSpellChecking}
onToggleChange={() => {
store.changeSpellCheck(!isSpellChecking);

View file

@ -156,7 +156,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}}
></Range>
</div>
<div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)}
</div>
</ListItem>
@ -180,7 +180,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onOpacity(value)}}
></Range>
</div>
<div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateOpacity + ' %'}
</div>
</ListItem>

View file

@ -65,8 +65,7 @@ const PageApplicationSettings = props => {
}
<BlockTitle>{_t.textCommentingDisplay}</BlockTitle>
<List>
<ListItem>
<span>{_t.textComments}</span>
<ListItem title={_t.textComments}>
<Toggle checked={isComments}
onToggleChange={() => {
storeApplicationSettings.changeDisplayComments(!isComments);
@ -74,8 +73,7 @@ const PageApplicationSettings = props => {
}}
/>
</ListItem>
<ListItem>
<span>{_t.textResolvedComments}</span>
<ListItem title={_t.textResolvedComments}>
<Toggle checked={isResolvedComments} disabled={!isComments}
onToggleChange={() => {
storeApplicationSettings.changeDisplayResolved(!isResolvedComments);
@ -85,8 +83,7 @@ const PageApplicationSettings = props => {
</ListItem>
</List>
<List>
<ListItem>
<span>{_t.textR1C1Style}</span>
<ListItem title={_t.textR1C1Style}>
<Toggle checked={isRefStyle}
onToggleChange={() => {
storeApplicationSettings.changeRefStyle(!isRefStyle);

View file

@ -238,16 +238,14 @@ const PageSpreadsheetSettings = props => {
onPageMarginsChange: props.onPageMarginsChange
}}></ListItem>
</List>
<List simpleList>
<ListItem>
<span>{_t.textHideHeadings}</span>
<List>
<ListItem title={_t.textHideHeadings}>
<Toggle checked={isHideHeadings} onToggleChange={() => {
storeSpreadsheetSettings.changeHideHeadings(!isHideHeadings);
props.clickCheckboxHideHeadings(!isHideHeadings)
}} />
</ListItem>
<ListItem>
<span>{_t.textHideGridlines}</span>
<ListItem title={_t.textHideGridlines}>
<Toggle checked={isHideGridlines} onToggleChange={() => {
storeSpreadsheetSettings.changeHideGridlines(!isHideGridlines);
props.clickCheckboxHideGridlines(!isHideGridlines)