2021-01-20 16:18:48 +00:00
|
|
|
@import '../../../../../vendor/framework7-react/node_modules/framework7/less/mixins.less';
|
2020-11-19 17:28:28 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/_mixins.less';
|
2021-05-28 14:07:19 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/colors-table.less';
|
|
|
|
@import '../../../../common/mobile/resources/less/colors-table-dark.less';
|
2022-04-15 15:48:15 +00:00
|
|
|
@import './app.rtl.less';
|
2022-02-18 13:11:14 +00:00
|
|
|
|
2021-11-06 10:11:18 +00:00
|
|
|
@brandColor: var(--brand-word);
|
2021-11-10 06:39:21 +00:00
|
|
|
|
|
|
|
.device-ios {
|
|
|
|
--toolbar-background: var(--background-primary, #FFF);
|
2021-11-22 13:08:18 +00:00
|
|
|
--toolbar-segment: var(--brand-word, #446995);
|
|
|
|
--toolbar-icons: var(--brand-word, #446995);
|
2022-03-09 20:32:42 +00:00
|
|
|
--f7-toolbar-border-color: var(--background-menu-divider);
|
|
|
|
--f7-bars-border-color: var(--background-menu-divider);
|
|
|
|
--f7-calendar-row-border-color: var(--background-menu-divider);
|
2021-11-10 06:39:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.device-android {
|
|
|
|
--toolbar-background: var(--brand-word, #446995);
|
|
|
|
|
|
|
|
.theme-type-dark {
|
|
|
|
--toolbar-icons: var(--brand-word, #446995);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@toolbar-background: var(--toolbar-background);
|
2021-11-22 13:08:18 +00:00
|
|
|
@toolbar-segment: var(--toolbar-segment);
|
|
|
|
@button-active-opacity: var(--active-opacity-word);
|
2021-11-10 06:39:21 +00:00
|
|
|
|
2020-08-31 17:31:05 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/collaboration.less';
|
2020-10-26 07:59:18 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/common.less';
|
2020-10-14 09:00:05 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/common-ios.less';
|
|
|
|
@import '../../../../common/mobile/resources/less/common-material.less';
|
2021-02-09 21:01:42 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/icons.less';
|
2021-01-17 16:31:49 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/dataview.less';
|
2021-01-20 16:18:48 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/search.less';
|
2021-02-09 21:01:42 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/contextmenu.less';
|
2021-02-18 15:40:54 +00:00
|
|
|
@import '../../../../common/mobile/resources/less/comments.less';
|
2020-10-14 09:00:05 +00:00
|
|
|
@import './app-material.less';
|
|
|
|
@import './app-ios.less';
|
2020-11-19 17:28:28 +00:00
|
|
|
@import './icons-ios.less';
|
|
|
|
@import './icons-material.less';
|
2022-01-14 12:22:06 +00:00
|
|
|
@import './icons-common.less';
|
2020-08-31 17:31:05 +00:00
|
|
|
|
2020-10-13 14:00:59 +00:00
|
|
|
:root {
|
|
|
|
--f7-popover-width: 360px;
|
|
|
|
}
|
2020-12-04 16:26:47 +00:00
|
|
|
|
2021-05-14 16:42:40 +00:00
|
|
|
// Skeleton of document
|
|
|
|
|
|
|
|
.doc-placeholder {
|
|
|
|
position: relative;
|
|
|
|
background: #fbfbfb;
|
|
|
|
padding-top: calc(var(--f7-page-navbar-offset, 0px) + var(--f7-page-subnavbar-offset, 0px));
|
|
|
|
overflow: hidden;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
> .line {
|
|
|
|
height: 15px;
|
|
|
|
margin: 30px;
|
|
|
|
background: #e2e2e2;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
-webkit-animation: flickerAnimation 2s infinite ease-in-out;
|
|
|
|
-moz-animation: flickerAnimation 2s infinite ease-in-out;
|
|
|
|
-o-animation: flickerAnimation 2s infinite ease-in-out;
|
|
|
|
animation: flickerAnimation 2s infinite ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-11 23:34:01 +00:00
|
|
|
// Review
|
|
|
|
.page-review {
|
2021-11-06 10:11:18 +00:00
|
|
|
--f7-toolbar-link-color: @brandColor;
|
2021-02-11 23:34:01 +00:00
|
|
|
.toolbar {
|
2021-11-18 14:45:51 +00:00
|
|
|
background-color: @background-secondary;
|
2021-02-11 23:34:01 +00:00
|
|
|
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
|
|
|
|
position: absolute;
|
|
|
|
#btn-reject-change {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
#btn-goto-change {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.next-prev {
|
|
|
|
.link {
|
|
|
|
width: 44px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.page-content {
|
2021-11-12 07:37:06 +00:00
|
|
|
// background-color: @white;
|
2021-02-12 17:33:38 +00:00
|
|
|
.no-changes {
|
|
|
|
padding: 15px;
|
2021-11-12 07:37:06 +00:00
|
|
|
color: @text-normal;
|
2021-02-12 17:33:38 +00:00
|
|
|
}
|
|
|
|
.block-description {
|
|
|
|
padding: 15px;
|
|
|
|
.user-name {
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 22px;
|
2021-11-18 14:45:51 +00:00
|
|
|
color: @text-normal;
|
2021-02-12 17:33:38 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.date-change {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2021-11-18 14:45:51 +00:00
|
|
|
color: @text-secondary;
|
2021-02-12 17:33:38 +00:00
|
|
|
margin: 0;
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
.text {
|
2021-11-18 14:45:51 +00:00
|
|
|
color: @text-normal;
|
2021-02-12 17:33:38 +00:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2021-02-11 23:34:01 +00:00
|
|
|
}
|
|
|
|
}
|
2020-12-04 16:26:47 +00:00
|
|
|
|
2021-06-10 12:28:21 +00:00
|
|
|
.item-content {
|
|
|
|
.preview{
|
|
|
|
color: @gray;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-02 15:33:27 +00:00
|
|
|
.phone, .tablet {
|
|
|
|
.swiper-container{
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-16 13:22:20 +00:00
|
|
|
// Swiper
|
2021-10-11 14:16:52 +00:00
|
|
|
.swiper-container {
|
2022-08-19 12:27:42 +00:00
|
|
|
// height: 100%;
|
2021-10-11 14:16:52 +00:00
|
|
|
.swiper-pagination-bullet-active{
|
|
|
|
background: @black;
|
|
|
|
}
|
2022-05-17 11:26:50 +00:00
|
|
|
// .multilevels {
|
|
|
|
// li:not(:first-child){
|
|
|
|
// border:none;
|
|
|
|
// .item-content {
|
|
|
|
// min-height: 70px;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
2021-06-08 12:20:50 +00:00
|
|
|
}
|
2021-06-02 15:33:27 +00:00
|
|
|
|
2021-10-18 12:39:32 +00:00
|
|
|
// Skeleton table
|
2021-06-09 14:26:36 +00:00
|
|
|
|
2021-10-18 12:39:32 +00:00
|
|
|
.table-styles .row div:not(:first-child) {
|
|
|
|
margin: 2px auto 0px;
|
|
|
|
}
|
2022-03-21 12:07:43 +00:00
|
|
|
.table-styles .skeleton-list li, .table-styles .row div {
|
2021-10-18 12:39:32 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.table-styles .row .skeleton-list{
|
|
|
|
display: block;
|
|
|
|
width: 70px;
|
|
|
|
height: 50px;
|
|
|
|
}
|
2021-06-10 12:28:21 +00:00
|
|
|
|
2022-03-05 10:05:49 +00:00
|
|
|
// Table of Contents
|
2022-01-21 17:51:34 +00:00
|
|
|
|
|
|
|
.item-contents {
|
|
|
|
padding: 0 16px;
|
|
|
|
}
|
|
|
|
|
2022-02-08 20:32:59 +00:00
|
|
|
.style-toc {
|
|
|
|
&__image {
|
|
|
|
margin: 0 15px;
|
2022-02-11 18:07:30 +00:00
|
|
|
max-height: 150px;
|
2022-02-08 20:32:59 +00:00
|
|
|
overflow: hidden;
|
|
|
|
&_active {
|
|
|
|
border: 1.5px solid @brandColor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.block > .block-title:first-child, .list > .block-title:first-child {
|
|
|
|
margin-top: var(--f7-block-margin-vertical);
|
|
|
|
margin-left: calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));
|
|
|
|
margin-right: calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right));
|
|
|
|
}
|
|
|
|
|
2022-01-29 13:57:41 +00:00
|
|
|
// Navigation
|
|
|
|
|
|
|
|
.empty-screens {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
&__icon {
|
|
|
|
margin-bottom: 48px;
|
|
|
|
}
|
|
|
|
&__text {
|
|
|
|
margin: 0 32px;
|
|
|
|
text-align: center;
|
2022-06-30 07:17:28 +00:00
|
|
|
color: @text-normal;
|
2022-01-29 13:57:41 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 18:07:30 +00:00
|
|
|
.swipe-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
height: 40px;
|
|
|
|
background-color: @background-primary;
|
|
|
|
.icon-swipe {
|
2022-02-15 11:55:06 +00:00
|
|
|
margin-top: 8px;
|
|
|
|
width: 40px;
|
|
|
|
height: 4px;
|
|
|
|
background: @background-menu-divider;
|
|
|
|
border-radius: 2px;
|
2022-02-11 18:07:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-29 15:10:40 +00:00
|
|
|
.sheet-modal.navigation-sheet {
|
2022-02-15 11:55:06 +00:00
|
|
|
box-shadow: 0px -2px 20px rgba(0, 0, 0, 0.2);
|
|
|
|
overflow: hidden;
|
|
|
|
.sheet-modal-inner {
|
|
|
|
background: @background-tertiary;
|
2022-08-03 12:24:27 +00:00
|
|
|
overflow: hidden;
|
2022-02-15 11:55:06 +00:00
|
|
|
}
|
|
|
|
&.sheet-modal-bottom:before, &.sheet-modal:not(.sheet-modal-top):before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-list {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-03-05 10:05:49 +00:00
|
|
|
// Picker
|
2022-02-18 13:11:14 +00:00
|
|
|
|
|
|
|
.row-picker {
|
|
|
|
.col-50 {
|
|
|
|
color: @text-secondary;
|
|
|
|
}
|
|
|
|
}
|
2021-10-11 14:16:52 +00:00
|
|
|
|
2022-03-02 17:33:03 +00:00
|
|
|
// Calendar
|
|
|
|
|
|
|
|
.calendar {
|
|
|
|
background-color: @background-secondary;
|
|
|
|
.toolbar {
|
|
|
|
background-color: @background-secondary;
|
|
|
|
i.icon.icon-next, i.icon.icon-prev {
|
|
|
|
background-color: @text-normal;
|
|
|
|
}
|
2022-03-09 20:32:42 +00:00
|
|
|
&:after {
|
|
|
|
background-color: @background-menu-divider;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.calendar-row {
|
|
|
|
padding: 0 16px;
|
|
|
|
&:before {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-03-02 17:33:03 +00:00
|
|
|
}
|
|
|
|
.current-year-value, .current-month-value {
|
|
|
|
color: @text-normal;
|
2022-03-09 20:32:42 +00:00
|
|
|
font-size: 16px;
|
2022-03-02 17:33:03 +00:00
|
|
|
}
|
|
|
|
.calendar-day-selected .calendar-day-number {
|
2022-03-09 20:32:42 +00:00
|
|
|
border: 1px solid transparent;
|
|
|
|
background-color: @brandColor;
|
|
|
|
color: @fill-white;
|
|
|
|
}
|
|
|
|
.calendar-day-today .calendar-day-number {
|
2022-03-02 17:33:03 +00:00
|
|
|
border: 1px solid @brandColor;
|
2022-03-09 20:32:42 +00:00
|
|
|
background-color: transparent;
|
2022-03-02 17:33:03 +00:00
|
|
|
}
|
2022-03-10 08:20:01 +00:00
|
|
|
.calendar-day-weekend .calendar-day-number {
|
2022-03-11 08:32:26 +00:00
|
|
|
color: #D25252;
|
2022-03-01 09:35:50 +00:00
|
|
|
}
|
2022-03-02 17:33:03 +00:00
|
|
|
.calendar-day-number {
|
|
|
|
color: @text-normal;
|
2022-03-09 20:32:42 +00:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
width: 47px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 16px;
|
2022-03-02 17:33:03 +00:00
|
|
|
}
|
|
|
|
.calendar-week-header {
|
2022-03-09 20:32:42 +00:00
|
|
|
margin: 25px 16px 10px 16px;
|
2022-03-02 17:33:03 +00:00
|
|
|
background-color: @background-secondary;
|
|
|
|
color: @text-normal;
|
2022-03-09 20:32:42 +00:00
|
|
|
border-bottom: 1px solid @background-menu-divider;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
height: auto;
|
2022-03-02 17:33:03 +00:00
|
|
|
.calendar-week-day {
|
2022-03-09 20:32:42 +00:00
|
|
|
color: @text-normal;
|
|
|
|
font-size: 12px;
|
2022-03-02 17:33:03 +00:00
|
|
|
}
|
|
|
|
}
|
2022-03-09 20:32:42 +00:00
|
|
|
.calendar-months {
|
|
|
|
margin-bottom: 12px;
|
2022-03-02 17:33:03 +00:00
|
|
|
}
|
2022-03-09 20:47:50 +00:00
|
|
|
.calendar-month-picker-item, .calendar-year-picker-item {
|
|
|
|
color: @text-normal;
|
|
|
|
&:before, &:after {
|
|
|
|
background-color: @background-menu-divider;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.calendar-month-picker, .calendar-year-picker {
|
|
|
|
background: @background-secondary;
|
|
|
|
}
|
|
|
|
.calendar-month-picker-item-current, .calendar-year-picker-item-current {
|
|
|
|
color: @brandColor;
|
2022-03-01 09:35:50 +00:00
|
|
|
}
|
|
|
|
}
|
2022-03-29 15:26:42 +00:00
|
|
|
|
|
|
|
.calendar-sheet {
|
|
|
|
.calendar-month-picker, .calendar-year-picker {
|
|
|
|
border-top: 1px solid var(--background-menu-divider);
|
|
|
|
}
|
|
|
|
}
|
2022-05-18 16:21:46 +00:00
|
|
|
|
|
|
|
.create-style-link {
|
|
|
|
.item-link .item-inner:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.item-title {
|
|
|
|
color: @brandColor;
|
|
|
|
}
|
|
|
|
}
|
2022-06-29 15:10:40 +00:00
|
|
|
|
2022-08-25 13:17:10 +00:00
|
|
|
// Snackbar animation
|
|
|
|
.snackbar-enter {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.snackbar-enter-active {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 300ms;
|
|
|
|
}
|
|
|
|
.snackbar-exit {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.snackbar-exit-active {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 300ms;
|
|
|
|
}
|
|
|
|
|
2022-09-01 11:17:56 +00:00
|
|
|
// FAB
|
|
|
|
.fab a {
|
|
|
|
background-color: @background-primary;
|
|
|
|
&:focus, &:focus-within, &:active, &.active-state {
|
|
|
|
background-color: @background-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|