f7cloud_client/themes/forbion/css/pages/app-mail/_app-mail.css
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

829 lines
26 KiB
CSS

/* app-mail */
@import url("icons/_icons.css");
@import url("forms/_modals.css");
header.header-new {
box-shadow: unset !important;
}
body {
--color-primary-element: #70B62B !important;
--color-primary-element-hover: #6faf2e !important;
--color-primary-element-light-hover: rgba(128, 128, 128, 0.1) !important;
--color-primary-element-light-text: #808080 !important;
--color-primary-light: #F5F5F5 !important;
--color-background-hover: rgba(128, 128, 128, 0.1) !important;
--sidebar-pad: 0px;
--vs-border-width: 1px solid #E6E6E6;
--color-main-text: #000 !important;
& #content-vue.app-mail .app-navigation-entry.active,
#content-vue.app-mail .list-item__wrapper--active .list-item,
#content-vue.app-mail .list-item__wrapper.active .list-item {
background-color: #70B62B !important;
}
& .action-checkbox__label::before {
border-radius: 4px !important;
color: #000000 !important;
}
}
body #content-vue.app-mail {
& .button-vue--vue-secondary {
padding: 3px 17px 3px 6px;
background: #70B62B;
color: #ffffff;
font-family: 'Raleway';
font-weight: 500 !important;
font-size: 14px;
position: relative;
transition: opacity .3s;
}
/*
& .app-navigation.mail-navigation.app-navigation--close {
width: 296px !important;
}*/
& .app-navigation.mail-navigation {
background-color: transparent !important;
/*width: 256px !important;*/
& .app-navigation-toggle-wrapper {
&>button {
display: flex !important;
}
& .material-design-icon>svg {
display: none;
}
& .material-design-icon::before {
background-image: url("/themes/forbion/images/mail/close-sidebar-gray.svg") !important;
content: '';
width: 20px;
height: 36px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
& .material-design-icon.menu-icon::before {
transform: scale(1.1) rotateY(-180deg);
}
& .material-design-icon.menu-icon>svg path {
color: #808080;
}
}
& nav#app-navigation-vue {
& .outbox__border {
background-color: #fff;
& .material-design-icon.inbox-arrow-up-icon.outbox-opacity-icon svg path {
color: #808080;
}
& .active .material-design-icon.inbox-arrow-up-icon.outbox-opacity-icon svg path {
color: #ffffff;
}
}
& .app-navigation__search {
& .header.mail-navigation__new-message-button {
padding: 0;
margin-bottom: var(--main-margin-panels);
gap: var(--main-margin-panels) !important;
& button.button-vue[button-id="mail_new_message"] {
& .button-vue__wrapper {
justify-content: start;
& .button-vue__icon {}
& .button-vue__text {
margin-bottom: 0;
font-weight: 500;
}
}
}
& .button-vue--vue-secondary:before {
content: '';
position: absolute;
top: 50%;
right: 12px;
transform: translateY(-50%);
width: 16px;
height: 16px;
background-image: url("/themes/forbion/images/close-fat.svg");
background-repeat: no-repeat;
pointer-events: none;
}
& .button-vue--vue-secondary::after {
content: '';
position: absolute;
top: 0;
right: 37px;
width: 2px;
height: 100%;
background: #ffffff;
pointer-events: none;
}
& .button-vue--vue-secondary:hover {
opacity: .75;
}
& .button-vue--vue-secondary {
padding-bottom: 3px;
& .material-design-icon.plus-icon>svg {
display: none;
}
& .material-design-icon.plus-icon {
position: relative;
display: flex;
align-content: center;
justify-content: center;
}
& .material-design-icon.plus-icon::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 18px;
height: 18px;
background-image: url('/themes/forbion/images/mail/main-icon-white.svg');
background-repeat: no-repeat;
}
}
& button.refresh__button {
background: #ffffff;
width: 40px;
min-width: 32px;
height: 40px;
min-height: 40px;
transition: opacity .3s;
& .refresh-icon {
position: relative;
width: 16px;
height: 16px;
right: 2px;
}
& .refresh-icon svg {
display: none;
}
& .refresh-icon::before {
background-image: url('/themes/forbion/images/refresh-icon.svg');
content: '';
position: absolute;
width: 16px;
height: 16px;
left: 2px;
top: 2px;
background-repeat: no-repeat;
}
}
& .refresh__button:hover {
opacity: .75;
}
}
}
& .app-navigation-list.app-navigation__list {
background-color: #fff;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
padding-block: 0;
padding-inline: 0;
& .app-navigation-caption {
position: relative;
margin-top: 8px;
padding-bottom: 7px;
padding-top: 2px;
margin-bottom: 10px !important;
& .app-navigation-caption__actions {
margin-top: -8px;
& .material-design-icon.dots-horizontal-icon>svg {
display: block;
& path {
color: #000000;
}
}
}
& .material-design-icon.dots-horizontal-icon {
opacity: .45;
}
& .app-navigation-caption__name {
padding-left: 30px;
margin-top: -3px;
position: relative;
display: flex;
align-items: center;
line-height: 1;
}
& .app-navigation-caption__name:before {
content: '';
position: absolute;
left: 5%;
margin-top: -1px;
top: 50%;
transform: translateY(-50%);
border-radius: 50%;
width: 16px;
height: 16px;
background: #70B62B;
}
}
& .app-navigation-caption::before {
content: '';
position: absolute;
bottom: 0;
left: -20px;
width: calc(100% + 40px);
height: 2px;
background: #E6E6E6;
}
& .app-navigation-entry {
& .app-navigation-entry__name {
transition: .3s;
font-size: 13px;
font-weight: 500;
text-overflow: clip;
}
& .app-navigation-entry-link[title="Свернуть папки"],
.app-navigation-entry-link[title="Показать все папки"] {
& .app-navigation-entry-icon {
position: relative;
}
}
& .app-navigation-entry-link[title="Показать все папки"]::before {
content: '';
width: 16px;
height: 16px;
background-image: url('/themes/forbion/images/mail/down-icon-gray.svg');
background-repeat: no-repeat;
background-size: cover;
position: absolute;
top: 8px;
left: 8px;
}
& .app-navigation-entry-link[title="Свернуть папки"]::before {
content: '';
width: 16px;
height: 16px;
background-image: url('/themes/forbion/images/mail/up-icon-gray.svg');
background-repeat: no-repeat;
background-size: cover;
position: absolute;
top: 8px;
left: 8px;
}
}
& .app-navigation-entry.active {
& .app-navigation-entry__name {
color: #ffffff;
}
& .material-design-icon.dots-horizontal-icon:before {
background-image: url("/themes/forbion/images/dots-horizontal-icon-white.svg");
}
& .material-design-icon.chevron-down-icon:before {
background-image: url("/themes/forbion/images/chevron-down-icon-active.svg");
}
& .material-design-icon.chevron-up-icon:before {
background-image: url("/themes/forbion/images/chevron-up-icon-active.svg");
}
}
}
& .mail-settings {
background: #ffffff;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
& .material-design-icon.cog-outline-icon>svg>path {
color: #808080;
}
& .app-navigation-entry__name {
font-size: 14px;
font-weight: 500;
}
}
}
}
& main#app-content-vue {
& .app-content-wrapper {
& .splitpanes__splitter {
background-color: transparent;
width: var(--main-margin-panels);
}
& .splitpanes__pane.splitpanes__pane-list {
margin: 0 !important;
& .sticky-header {
& .search-messages {
border-bottom: 0;
& .search-messages--input {
border: 1px solid #E6E6E6;
background: #F5F5F5;
border-radius: 8px;
cursor: text;
padding-right: 45px;
height: 36px;
}
& .filter-buttons {
display: none;
}
& .filter-changed {
background: #70B62B;
}
& .button-vue.search-messages--filter.button-vue--icon-only {
position: absolute;
right: 13px;
top: 9px;
margin-left: 10px;
}
& .search-messages--close {
position: absolute;
right: 55px;
margin-top: 2px;
transform: scale(1.1);
}
}
}
& .app-content-list.envelope-list {
overflow-y: auto !important;
height: auto !important;
top: 45px !important;
& .empty-content {
margin-top: 0 !important;
}
& .section-title {
& .app-content-list-item {
height: 30px;
padding-block: 0;
& h2 {
margin-top: 0 !important;
}
}
}
& li.list-item__wrapper.list-item-style.envelope.list-item__wrapper--active.seen,
li.list-item__wrapper.list-item-style.envelope.list-item__wrapper--active {
& .list-item-content__name {
color: #ffffff;
}
& .list-item-content__inner__details__details {
color: #ffffff;
}
}
& li.list-item__wrapper {
& .hovering-status>span {}
& .list-item-content__name {
font-size: 12px;
font-weight: 400;
line-height: 20px;
color: #808080;
}
& .envelope__subtitle {
font-size: 14px;
font-weight: 500;
line-height: 20px;
color: #000000;
}
& .list-item-content__inner {
& .envelope__preview-text {
display: none;
}
& .list-item-content__inner__details__details {
font-size: 12px;
font-weight: 400;
line-height: 20px;
color: #808080;
}
}
}
& li.list-item__wrapper>div {
position: relative;
padding-bottom: 5px;
}
& li.list-item__wrapper>div::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 1px;
background-color: #E6E6E6;
}
}
}
& .app-content-list:has(.list-item__wrapper.outbox-message) {
padding-top: 40px;
& .list-item__wrapper.outbox-message {
& .list-item__anchor {
width: 100%;
}
& .list-item-details__details {
font-size: 14px;
}
}
}
& .splitpanes__pane.splitpanes__pane-details {
&>.app-content-details.app-content.no-message-selected {
background-image: none !important;
align-items: center;
& .no-message-selected__text {
display: none;
}
& .no-message-selected__heading {
position: relative;
font-size: 1.25rem;
text-align: center;
padding-top: 88px;
color: #fff;
}
& .no-message-selected__heading::before {
content: "";
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 77px;
height: 77px;
background-image: url("/themes/forbion/images/mail/mail-icon-color.svg") !important;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
& .no-message-selected__heading::after {
content: "Добро пожаловать в Forbion F7 Mail";
display: block;
top: 70%;
left: -50%;
font-size: 24px;
font-weight: 500;
color: #000;
position: absolute;
width: 500px;
}
& .no-message-selected__heading>* {
display: none;
}
}
& #mail-message {
& #mail-thread-header {
& #mail-thread-header-fields {
padding-inline-start: 16px;
}
}
& .envelope.envelope--expanded {
margin-inline: 16px;
border: none !important;
& .envelope__header {
padding-inline: 0;
}
& .mail-message-body.mail-message-body-html {
border: 1px solid #D7D7D7;
border-radius: 8px;
padding: 4px;
}
}
}
}
}
& form#account-form {
padding-bottom: 0;
& .material-design-icon.eye-icon>svg,
.material-design-icon.eye-off-icon>svg {
display: none;
}
& .material-design-icon.eye-icon::before {
content: '';
background-image: url("/themes/forbion/images/pass-visible.svg");
width: 16px;
height: 16px;
background-repeat: no-repeat;
background-position: center;
}
& .material-design-icon.eye-off-icon::before {
content: '';
background-image: url("/themes/forbion/images/pass-visible.svg");
width: 16px;
height: 16px;
background-repeat: no-repeat;
background-position: center;
}
& .input-field__icon {
display: block;
position: absolute;
right: 8px;
left: unset;
top: 6px;
opacity: 1;
background: transparent;
}
& .input-field__icon::before {
content: '';
position: absolute;
width: 16px;
height: 16px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-repeat: no-repeat;
background-position: center;
background-image: url("/themes/forbion/images/pencil-icon-black.svg");
}
}
& .empty-content {
margin-top: 7vw;
}
& .setup {
& .setup__form-content__svg-wrapper>svg {
display: none;
}
& .setup__form-content__svg-wrapper::before {
background-image: url("/themes/forbion/images/mail/mail-main-icon-color.svg") !important;
content: '';
width: 120px;
height: 120px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
display: block;
}
& .empty-content.setup__form-content {
background-color: transparent;
border: none;
box-shadow: none;
}
}
}
& #account-form {
& input#auto-password {
& .input-field__icon.input-field__icon--leading {
display: none !important;
}
& .input-field__icon.input-field__icon--leading::before {
display: none !important;
}
& button.input-field__trailing-button {}
}
& input {
border: 1px solid #E6E6E6;
padding: 12px 50px 12px 12px;
height: auto !important;
font-size: 14px;
line-height: 20px;
box-shadow: none;
}
& input:active {}
& .input-field__main-wrapper {
height: auto !important;
position: relative;
}
& .input-field__input:not(:focus)+.input-field__label {
top: 50%;
transform: translateY(-50%);
transition: .3s;
}
& .input-field__input:not(:placeholder-shown)+.input-field__label,
.input-field__input:focus+.input-field__label {
top: -10px;
transform: unset;
}
& .tabs-component .tabs-component-tabs {
margin-bottom: 20px;
}
& .input-field--trailing-icon .input-field__trailing-button {
top: 1px;
right: 10px;
height: 44px;
background: transparent;
z-index: 1;
}
& .account-form--feedback {
margin-top: 15px;
}
& .account-form__submit-button {
margin-top: 14px;
color: #FFFFFF;
}
& .account-form__submit-button {
transition: opacity .3s;
height: 40px;
padding: 0 25px 0 12px;
}
& .account-form__submit-button:not(:disabled):hover {
opacity: .75;
}
& .account-form__submit-button .material-design-icon {
transform: scale(1.5);
}
& .account-form__submit-button .button-vue__text {
padding-left: 3px;
}
& h3 {
font-size: 16px;
line-height: 20px;
margin-top: 32px;
margin-bottom: 4px;
}
& h4 {
font-size: 16px;
line-height: 20px;
margin-top: 32px;
margin-bottom: 8px;
}
& .checkbox-radio-switch-radio {
border: unset;
border-radius: 8px;
}
& .checkbox-radio-switch-radio:not(:last-child) {
margin-right: 4px;
}
& .checkbox-radio-switch-radio .checkbox-radio-switch__content {
padding: 6px 12px;
transition: opacity .3s;
}
& .checkbox-radio-switch-radio .checkbox-radio-switch__text {
font-size: 14px;
line-height: 1;
}
& .checkbox-radio-switch--checked.checkbox-radio-switch-radio .checkbox-radio-switch__text {
color: #FFFFFF;
margin-top: 4px;
}
& .checkbox-radio-switch.checkbox-radio-switch-radio .checkbox-radio-switch__text {
margin-top: 4px;
}
& .checkbox-radio-switch-radio:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__content {
background-color: rgb(238, 244, 233);
}
& .checkbox-radio-switch-radio:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__content:hover {
opacity: .75;
}
& .checkbox-radio-switch-radio.checkbox-radio-switch--checked .checkbox-radio-switch__content {
background-color: #70B62B;
}
& div.flex-row {
display: flex;
justify-content: space-between;
margin-bottom: 24px;
}
& .input-field {
margin: 14px 0;
}
}
}
@media only screen and (max-width: 400px) {
#content-vue.app-mail #account-form div.flex-row {
flex-direction: column;
max-width: 100%;
}
#content-vue.app-mail #account-form .checkbox-radio-switch-radio {
width: 100%;
}
#content-vue.app-mail #account-form .checkbox-radio-switch-radio .checkbox-radio-switch__content {
width: 100%;
max-width: 100%;
}
#content-vue.app-mail #account-form .checkbox-radio-switch-radio:not(:last-child) {
margin-right: 0;
margin-bottom: 4px;
}
}