web-apps/apps/common/mobile/resources/less/common-ios.less

655 lines
16 KiB
Plaintext
Raw Normal View History

2020-10-14 09:00:05 +00:00
2021-11-09 09:44:27 +00:00
.device-ios .app-layout {
2020-11-23 11:40:52 +00:00
@blockTitleColor: #6d6d72;
@item-border-color: #c8c7cc;
@darkGreen: #40865c;
2021-11-11 16:22:42 +00:00
@text-normal: var(--text-normal);
2020-11-23 11:40:52 +00:00
2021-11-04 21:11:52 +00:00
--f7-navbar-link-color: @brandColor;
--f7-subnavbar-link-color: @brandColor;
2021-11-11 16:22:42 +00:00
--f7-navbar-text-color: @text-normal;
2020-11-20 14:39:53 +00:00
--f7-navbar-title-line-height: 44px;
--f7-navbar-link-line-height: 44px;
--f7-navbar-title-font-size: 17px;
2021-11-11 16:22:42 +00:00
--f7-list-bg-color: @background-primary;
2021-11-09 09:44:27 +00:00
--f7-navbar-bg-color: @toolbar-background;
2020-11-20 14:39:53 +00:00
2021-11-11 16:22:42 +00:00
--f7-tabbar-link-inactive-color: @toolbar-segment;
2020-11-26 16:38:10 +00:00
2021-11-04 21:11:52 +00:00
--f7-radio-active-color: @brandColor;
--f7-toggle-active-color: @brandColor;
--f7-range-bar-active-bg-color: @brandColor;
2020-11-23 11:40:52 +00:00
2021-11-04 21:11:52 +00:00
--f7-list-button-text-color: @brandColor;
2020-11-23 11:40:52 +00:00
2021-11-11 16:22:42 +00:00
--f7-list-item-border-color: @background-menu-divider;
--f7-page-bg-color: @background-tertiary;
--f7-list-item-title-text-color: @text-normal;
--f7-list-item-text-text-color: @text-normal;
2021-11-22 13:08:18 +00:00
--f7-list-item-subtitle-text-color: @text-secondary;
2021-11-11 16:22:42 +00:00
--f7-label-text-color: @text-normal;
--f7-list-item-after-text-color: @text-normal;
--f7-input-text-color: @text-normal;
--f7-block-title-text-color: @text-secondary;
--f7-input-placeholder-color: @text-secondary;
--f7-list-chevron-icon-color: @text-tertiary;
2021-11-19 19:33:38 +00:00
--f7-searchbar-search-icon-color: @text-tertiary;
--f7-searchbar-input-clear-button-color: @text-tertiary;
2021-11-11 16:22:42 +00:00
--f7-toggle-inactive-color: @background-menu-divider;
2021-11-18 21:09:53 +00:00
--f7-toggle-border-color: @background-menu-divider;
2021-11-11 16:22:42 +00:00
--f7-actions-button-border-color: @background-menu-divider;
--f7-popover-bg-color: @background-primary;
2021-11-17 21:58:22 +00:00
--f7-dialog-bg-color-rgb: @background-secondary;
--f7-dialog-title-text-color: @text-normal;
--f7-dialog-text-color: @text-normal;
2021-11-19 19:33:38 +00:00
--f7-dialog-button-text-color: @brandColor;
2021-11-17 21:58:22 +00:00
--f7-dialog-border-divider-color: @background-menu-divider;
2021-11-11 16:22:42 +00:00
2021-11-18 21:09:53 +00:00
--f7-subnavbar-border-color: @background-menu-divider;
--f7-list-border-color: @background-menu-divider;
2020-11-20 14:39:53 +00:00
// Main Toolbar
#editor-navbar.navbar .right a + a,
#editor-navbar.navbar .left a + a {
margin-left: 0;
}
2021-11-11 16:22:42 +00:00
.navbar, .navbar-bg, .subnavbar {
2021-03-30 20:11:49 +00:00
a.btn-doc-back {
width: 22px;
}
2020-11-20 14:39:53 +00:00
background-color: var(--f7-navbar-bg-color);
.title {
font-weight: 600;
2021-11-11 16:22:42 +00:00
color: @text-normal;
2020-11-20 14:39:53 +00:00
}
.navbar-inner, .subnavbar-inner {
2020-11-23 11:40:52 +00:00
z-index: auto;
}
.sheet-close {
width: 44px;
height: 44px;
display: flex;
justify-content: center;
}
2020-11-20 14:39:53 +00:00
}
2021-11-12 22:05:39 +00:00
.subnavbar {
.icon-back {
color: @brandColor;
}
}
.popover__titled {
2020-11-20 14:39:53 +00:00
.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;
}
2021-01-22 21:20:31 +00:00
li:first-child, li:last-child {
> label {
border-radius: 0;
}
}
2020-11-20 14:39:53 +00:00
}
}
.popover-inner {
//border-radius: var(--f7-popover-border-radius);
2020-10-14 09:00:05 +00:00
> .view {
border-radius: var(--f7-popover-border-radius);
}
}
.navbar-bg {
//-webkit-backdrop-filter: none;
backdrop-filter: none;
}
.list:first-child {
li:first-child {
a {
border-radius: 0;
}
}
}
.list:last-child {
li:last-child {
a {
//border-radius: 0;
}
&:after {
content: '';
position: absolute;
background-color: var(--f7-navbar-border-color, var(--f7-bars-border-color));
display: block;
//z-index: 15;
top: auto;
right: auto;
bottom: 0;
left: 0;
height: 1px;
width: 100%;
transform-origin: 50% 100%;
transform: scaleY(calc(1 / var(--f7-device-pixel-ratio)));
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
}
}
}
2020-10-26 12:31:34 +00:00
2021-06-02 15:33:27 +00:00
// Bullets, numbers and multilevels
2020-10-26 12:31:34 +00:00
.bullets,
2021-06-02 15:33:27 +00:00
.numbers,
.multilevels {
2021-06-08 12:20:50 +00:00
.list{
margin: 5px;
2021-06-10 12:28:21 +00:00
ul {
&:before, &:after {
display: none;
}
display: flex;
justify-content: space-around;
width: 100%;
margin-top: 10px;
padding: 0 5px;
2021-11-10 06:39:21 +00:00
background: none;
2021-06-10 12:28:21 +00:00
}
&:first-child li:first-child, &:last-child li:last-child {
border-radius: 0;
}
&:last-child li:last-child:after {
display: none;
}
2021-06-07 15:06:55 +00:00
}
2021-06-10 12:28:21 +00:00
2021-06-07 15:06:55 +00:00
.list .item-content {
padding-left: 0;
2021-06-08 12:20:50 +00:00
min-height: 68px;
2021-06-07 15:06:55 +00:00
.item-inner{
padding: 0;
2021-06-10 12:28:21 +00:00
&:after {
display: none;
}
2021-06-07 15:06:55 +00:00
}
}
2020-10-26 12:31:34 +00:00
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%;
2021-11-11 16:22:42 +00:00
background-color: @fill-white;
2020-10-26 12:31:34 +00:00
background-size: cover;
label {
width: 100%;
text-align: center;
position: absolute;
top: 34%;
}
}
}
}
2021-01-27 13:37:00 +00:00
.popover {
li:last-child {
.segmented a {
&:first-child {
border-radius: var(--f7-button-border-radius) 0 0 var(--f7-button-border-radius);
}
&:last-child {
border-radius: 0 var(--f7-button-border-radius) var(--f7-button-border-radius) 0;
}
}
2021-01-27 13:37:00 +00:00
}
2021-01-27 13:37:00 +00:00
.page-content {
> .list {
&:last-child {
margin-bottom: 30px;
}
}
}
}
2020-11-23 11:40:52 +00:00
.list {
2021-11-11 16:22:42 +00:00
li {
color: @text-normal;
}
.item-content {
.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, .15) inset;
&.auto {
background-color: @autoColor;
}
}
.item-after {
.color-preview {
width: 75px;
height: 30px;
margin-top: -3px;
}
}
}
2020-11-23 11:40:52 +00:00
li.no-indicator {
.item-link {
.item-inner {
padding-right: 15px;
&:before {
content: none;
}
2020-11-23 11:40:52 +00:00
}
}
}
.item-inner {
2021-11-10 06:39:21 +00:00
color: @text-normal;
2020-11-23 11:40:52 +00:00
padding-top: 7px;
2021-11-11 16:22:42 +00:00
color: @text-normal;
2020-11-23 11:40:52 +00:00
.item-after {
2021-11-11 16:22:42 +00:00
color: @text-normal;
2020-11-23 11:40:52 +00:00
.after-start {
margin: 0 5px;
}
.segmented {
min-width: 90px;
margin-left: 10px;
}
}
}
.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;
2021-11-15 07:55:21 +00:00
&.active {
2021-11-18 14:45:51 +00:00
color: @brandColor;
2021-11-22 13:08:18 +00:00
// background-color: var(--button-active-opacity);
background-color: @button-active-opacity;
2021-11-15 07:55:21 +00:00
}
2020-11-23 11:40:52 +00:00
}
}
}
}
.list-input-right input {
text-align: right;
}
2020-11-23 11:40:52 +00:00
}
.tab-buttons {
width: 100%;
display: flex;
flex-wrap: nowrap;
align-self: center;
.tab-link {
display: block;
width: 100%;
line-height: 26px;
position: relative;
overflow: hidden;
-webkit-box-flex: 1;
2021-11-10 06:39:21 +00:00
border: 1px solid @toolbar-segment;
2020-11-23 11:40:52 +00:00
text-decoration: none;
text-align: center;
margin: 0;
padding: 0 1px;
height: 29px;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
font-family: inherit;
cursor: pointer;
outline: 0;
font-weight: 600;
2021-11-12 22:05:39 +00:00
color: @brandColor;
2020-11-23 11:40:52 +00:00
&:first-child {
border-radius: 5px 0 0 5px;
border-left-width: 1px;
border-left-style: solid;
}
&:last-child {
border-radius: 0 5px 5px 0;
}
&.tab-link-active {
2021-11-12 07:37:06 +00:00
// background: @brandColor;
// color: @fill-white;
background: @toolbar-segment;
2021-11-12 22:05:39 +00:00
color: @brand-text-on-brand;
2021-11-10 06:39:21 +00:00
i.icon {
background-color: @brand-text-on-brand;
}
2020-11-23 11:40:52 +00:00
}
}
}
.button {
2021-11-04 21:11:52 +00:00
border: 1px solid @brandColor;
color: @brandColor;
2020-11-23 11:40:52 +00:00
text-decoration: none;
text-align: center;
display: block;
2021-11-11 16:22:42 +00:00
// border-radius: 5px;
2020-11-23 11:40:52 +00:00
line-height: 27px;
box-sizing: border-box;
background: 0 0;
padding: 0 10px;
margin: 0;
height: 29px;
white-space: nowrap;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
font-size: 14px;
font-family: inherit;
cursor: pointer;
outline: 0;
&.active {
2021-11-04 21:11:52 +00:00
background: @brandColor;
2021-11-11 16:22:42 +00:00
color: @fill-white;
2020-11-23 11:40:52 +00:00
i.icon {
2021-11-11 16:22:42 +00:00
background-color: @fill-white;
2020-11-23 11:40:52 +00:00
}
}
}
2021-01-20 14:30:52 +00:00
.button-fill {
2021-11-04 21:11:52 +00:00
color: @brandColor;
2021-11-17 21:58:22 +00:00
background-color: @background-primary;
2021-01-20 14:30:52 +00:00
}
.button-red {
2021-11-11 16:22:42 +00:00
color: @text-error;
2021-11-17 21:58:22 +00:00
background-color: @background-primary;
2021-01-20 14:30:52 +00:00
}
.buttons-list {
li {
border: 0;
border-radius: 0;
height: 43px;
min-height: 43px;
font-size: 17px;
text-transform: initial;
padding: 0;
box-shadow: none;
}
}
2020-11-26 16:38:10 +00:00
.button-red .list-button {
2021-11-11 16:22:42 +00:00
color: @text-error;
2020-11-23 11:40:52 +00:00
}
2021-05-30 13:34:15 +00:00
.list-button {
position: initial;
}
2020-11-23 11:40:52 +00:00
.block-title {
position: relative;
overflow: hidden;
margin: 0;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 14px;
text-transform: uppercase;
line-height: 1;
color: @blockTitleColor;
margin: 35px 15px 10px;
}
.shapes {
.page-content {
2021-11-11 16:22:42 +00:00
background: @fill-white;
2020-11-23 11:40:52 +00:00
}
}
.dialog {
2021-11-17 21:58:22 +00:00
background-color: var(--f7-dialog-bg-color-rgb);
}
#color-picker {
.right-block {
.button-round {
.icon {
height: 30px;
width: 30px;
}
}
}
}
2020-12-27 10:20:30 +00:00
.about {
.logo {
margin-top: 20px;
}
}
2021-03-17 15:44:35 +00:00
.content-block {
color: @blockTitleColor;
}
.dataview, #add-table, #add-shape, #add-slide, #add-chart {
&.page-content, .page-content {
2021-11-11 16:22:42 +00:00
background-color: @background-tertiary;
}
}
// input[type="number"]
2021-02-19 21:04:12 +00:00
input[type="number"] {
&::placeholder,
&::-webkit-input-placeholder,
&::-moz-placeholder,
&:-moz-placeholder,
&:-ms-input-placeholder
{
color: @darkGreen;
}
}
2021-02-25 17:42:07 +00:00
// Regional Settings
.regional-settings {
.item-title-row {
display: flex;
justify-content: flex-start;
align-items: center;
.item-title {
margin-left: 20px;
white-space: normal;
}
}
}
2021-03-11 17:21:05 +00:00
// Find and Replace
.navbar {
.searchbar {
background: var(--f7-navbar-bg-color);
}
.searchbar-input-wrap {
margin-right: 10px;
height: 28px;
}
2021-03-09 19:42:29 +00:00
.buttons-row-replace a {
2021-11-04 21:11:52 +00:00
color: @brandColor;
2021-03-09 19:42:29 +00:00
}
}
.searchbar input[type=search] {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
border: none;
appearance: none;
border-radius: 5px;
font-family: inherit;
2021-11-19 19:33:38 +00:00
color: @text-normal;
font-size: 14px;
font-weight: 400;
padding: 0 8px;
2021-11-19 19:33:38 +00:00
background-color: @background-button;
padding: 0 28px;
2021-11-19 19:33:38 +00:00
&::placeholder {
color: @text-tertiary;
}
}
2021-03-09 19:42:29 +00:00
.searchbar-inner {
&__left {
margin-right: 10px;
justify-content: center;
}
2021-03-09 19:42:29 +00:00
&__right {
.buttons-row a.next {
margin-left: 15px;
}
}
}
.searchbar-expandable.searchbar-enabled {
&.replace {
.searchbar-inner {
&__right {
width: 28%;
}
}
}
}
@media(max-width: 550px) {
.navbar {
.searchbar-input-wrap {
margin-right: 0;
}
}
.searchbar-expandable.searchbar-enabled {
2021-03-09 19:42:29 +00:00
top: 0;
.searchbar-inner {
&__center {
flex-direction: column;
}
&__right {
flex-direction: column-reverse;
margin-left: 10px;
}
}
&.replace {
height: 88px;
.searchbar-inner {
2021-03-11 17:21:05 +00:00
height: 100%;
&__center {
.searchbar-input-wrap {
margin: 8px 0;
}
}
&__right {
width: auto;
height: 100%;
justify-content: space-between;
.buttons-row-replace {
height: 50%;
}
}
}
}
}
}
.actions-button {
2021-11-11 16:22:42 +00:00
background: @background-secondary;
2021-11-12 07:37:06 +00:00
--f7-actions-button-border-color: @background-menu-divider;
}
.actions-button-text {
height: 57px;
line-height: 57px;
font-size: 20px;
2021-11-17 21:58:22 +00:00
color: @text-normal;
white-space: normal;
text-overflow: ellipsis;
}
2021-06-03 13:25:52 +00:00
input.modal-text-input {
box-sizing: border-box;
height: 26px;
2022-02-07 10:06:41 +00:00
background: @background-primary;
2021-06-03 13:25:52 +00:00
margin: 0;
margin-top: 15px;
padding: 0 5px;
2022-02-07 10:06:41 +00:00
border: 1px solid @text-tertiary;
2021-06-03 13:25:52 +00:00
border-radius: 0;
width: 100%;
font-size: 14px;
font-family: inherit;
display: block;
box-shadow: 0 0 0 transparent;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
}
2021-08-10 15:00:50 +00:00
// Fonts List
.font-item {
.item-content {
padding-left: 0;
}
}
2021-11-18 21:09:53 +00:00
// Toggle Icon
.toggle-icon {
background: transparent;
}
2020-10-14 09:00:05 +00:00
}
2021-06-03 13:25:52 +00:00