web-apps/apps/documenteditor/mobile/src/less/app.less

242 lines
6.2 KiB
Plaintext
Raw Normal View History

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-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';
@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';
@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';
@import './icons-common.less';
2020-08-31 17:31:05 +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;
}
}
2021-10-11 14:16:52 +00:00
.swiper-container {
height: 100%;
.swiper-pagination-bullet-active{
background: @black;
}
2021-11-10 12:28:00 +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-02-18 13:11:14 +00:00
// Picker
.row-picker {
.col-50 {
color: @text-secondary;
}
}
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
}
.calendar-day-weekend .calendar-day-number {
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-02 17:33:03 +00:00
}