View file public/assets/standart/css/primary.css

File size: 16.7Kb
html, body {
	touch-action: manipulation;
}

img {
	object-fit: cover;
}

a {
	text-decoration: none;
	color: #7336fe;
}

/*
	Мессенджер
*/
.Messenger {
	display: flex;
	
	width: 100vw;
	height: 100vh;
	background: #fff;
}

.Messenger div {
	position: relative;
}

.Messenger > .Start {
    display: flex;
    flex-direction: column;
	
	min-width: 350px;
	max-width: 350px;
	height: 100%;
}

.Messenger > .End {
    display: flex;
    flex-direction: column;
	
	flex-grow: 1;
	height: 100%;
	background: #f4f5f7;
}

.Messenger > .Start > .Header {
	display: flex;
}

.Messenger > .Start > .Header > .Start {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.Messenger > .Start > .Header > .Start,
.Messenger > .Start > .Header > .Start > .Brand {
	width: auto;
	height: 100%;
}

.Messenger > .Start > .Header > .Start > .Brand > img {
	width: 82px;
	height: auto;
}

.Messenger > .Start > .Header > .End {
	margin-left: auto;
}

.Messenger > .Start > .Header > .End > button {
	padding: 0;
	border: 0;
	outline: 0;
	background: 0;
}

.Messenger > .Start > .Header,
.Messenger > .End > .Header {
	display: flex;
    justify-content: start;
    align-items: center;
	
	width: 100%;
	min-height: 60px;
	max-height: 60px;
	background: #fff;
	
	padding: 10px 10px;
}

.Messenger > .End > .Header > .Dialog {
	padding: 0 15%;
	width: 100%;
	display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
}

.Messenger > .End > .Header > .Dialog > .peerInfo {
	display: flex;
    justify-content: center;
    align-items: center;
	
	margin-left: 0;
	flex-direction: row;
	
	width: 100%;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > div {
	margin-right: 8px;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > .Image {
	width: auto;
	height: 100%;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > .Image > img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > .Menu {
	margin: 0;
	margin-left: auto;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > .Menu > button {
	padding: 0;
	border: 0;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > .Menu > ul.dropdown-menu {
	transform: translate(0px, 48px) !important;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > .Menu > ul.dropdown-menu .dropdown-item {
	transition: .3s;
	cursor: pointer;
}

.Messenger > .End > .Header > .Dialog > .peerInfo > .Menu > ul.dropdown-menu .dropdown-item:active,
.Messenger > .End > .Header > .Dialog > .peerInfo > .Menu > ul.dropdown-menu .dropdown-item:focus {
	background: #00000017;
	color: #000;
}

.Messenger > .Start > .Body {
    overflow: hidden;
	box-shadow: 4px 0px 0px 0px #f3f3f3;
	flex-grow: 1;
}

.Messenger > .End > .Header {
	box-shadow: 0 4px 0px 0px #f3f3f3;
}

.Messenger > .End > .Body {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	
    overflow: hidden;
	flex-grow: 1;
}

.Messenger > .End > .Body > p {
	font-size: 14px;
	margin: 0;
}

.Messenger > .End > .Footer {
	display: flex;
	align-items: center;
	height: auto;
	padding: 0 15% 40px;
}

.Messenger > .End > .Footer input[type='text'] {
	border-radius: 40px;
	border: 1px solid #e7e7e7;
	height: 50px;
	font-size: 14px;
	padding-left: 20px;
	padding-right: 90px;
}

.Messenger > .End > .Footer input[type='text']:active,
.Messenger > .End > .Footer input[type='text']:focus {
	outline: none;
	box-shadow: none;
}

.Messenger > .End > .Footer > #SendMessage {
	flex: 1;
}

.Messenger > .End > .Footer .Voice {
	font-size: 20px;
	margin-left: auto;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
}

.Messenger.firstMessage #Messages {
	justify-content: center;
	align-items: center;
	color: #888;
}

/*
	Диалоги
*/
#Dialogs {
	width: 100%;
	height: calc(100% - 60px);
	overflow: auto;
}

#Dialogs div {
	position: relative;
}

#Dialogs > .Dialog {
	display: flex;
	flex-direction: row;
	
	height: 60px;
	padding: 8px 12px;
	transition: .3s;
	cursor: pointer;
}

#Dialogs > .Dialog:hover,
#Dialogs > .Dialog.Active {
	background: #f7f6fb;
}

#Dialogs > .Dialog > .Image {
	margin-right: 14px;
}

#Dialogs > .Dialog > .Image > img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

#Dialogs > .Dialog > .Info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#Dialogs > .Dialog > .Info > .Name {
	display: flex;
	align-items: center;
	font-weight: 600;
	font-size: 14px;
}

#Dialogs > .Dialog > .Info > .Name > span.Online {
	width: 8px;
	height: 8px;
	background: #53f63c;
	border-radius: 50%;
	margin-left: 4px;
}

#Dialogs > .Dialog > .Info > .Message {
	font-size: 12px;
}

#Dialogs > .Dialog > .Info > .Name,
#Dialogs > .Dialog > .Info > .Message {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 200px;
}

#Dialogs > .Dialog > .End {
    display: flex;
    justify-content: start;
    align-items: end;
    flex-direction: column;
	
	margin-left: auto;
	font-size: 13px;
	text-align: end;
}

#Dialogs > .Dialog > .End > .NotReady {
    background-color: #c0a5ff;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
	Сообщения
*/
#Messages {
    display: flex;
	justify-content: end;
	flex-direction: column-reverse;
    row-gap: 16px;
	
	width: 100%;
	height: 100%;
	overflow: auto;
	padding: 14px 15%;
}

#Messages > .Message {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	gap: 14px;
}

#Messages > .Message.My {
	flex-direction: row-reverse
}

#Messages > .Message > .Date > span.Trash {
	opacity: 0;
	margin-right: 10px;
	cursor: pointer;
	transition: .3s;
}

#Messages > .Message:hover > .Date > span.Trash {
	opacity: 1;
}

#Messages > .Message > .Image > img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

#Messages > .Message > .Content {
	max-width: 60%;
	
	color: #fff;
	background: #a5a8ed;
	border-radius: 12px;
    padding: 8px 12px;
}

#Messages > .Message.My > .Content {
	color: #000;
	background: #fff;
}

#Messages > .Message > a > img,
#Messages > .Message > video {
	border-radius: 8px;
	width: auto;
	max-height: 250px;
	max-width: 100%;
}

#Messages > .Message > .Content > p {
	margin: 0;
}

.NoDialog {
	display: flex;
    justify-content: center;
    align-items: center;
	
	height: 100%;
	text-align: center;
	margin: 0;
}

#Messages > .Message > .Date {
	display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 12px;
    color: #818181;
}

/*
	Поисковик
*/
#searchPeople2 > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople2,
#searchPeople > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople {
	position: relative;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople2 > input[name='q'],
#searchPeople > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople > input[name='q'] {
	margin-bottom: 1rem;
	padding-right: 30px;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople2 > button,
#searchPeople > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople > button {
	position: absolute;
    top: 6px;
    right: 10px;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople2 > button,
#searchPeople > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople > button {
	transition: .4s;
	border: 0;
	padding: 0;
	background: transparent;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople2 > button:hover,
#searchPeople > .modal-dialog > .modal-content > .modal-body > form#formSearchPeople > button:hover {
	transform: scale(1.1);
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > #searchResult2,
#searchPeople > .modal-dialog > .modal-content > .modal-body > #searchResult {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > #searchResult2 > .Item,
#searchPeople > .modal-dialog > .modal-content > .modal-body > #searchResult > .Item {
	display: flex;
	padding: 4px;
	border-radius: 8px;
	color: #000;
	
	width: 100%;
	margin-bottom: 14px;
	transition: .4s;
	text-decoration: none;
	
	cursor: pointer;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > #searchResult2 > .Item:hover,
#searchPeople > .modal-dialog > .modal-content > .modal-body > #searchResult > .Item:hover {
	background-color: #ececee;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > #searchResult2 > .Item:last-child,
#searchPeople > .modal-dialog > .modal-content > .modal-body > #searchResult > .Item:last-child {
	margin-bottom: 0;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > #searchResult2 > .Item > .Image,
#searchPeople > .modal-dialog > .modal-content > .modal-body > #searchResult > .Item > .Image {
	margin-right: 12px;
}

#searchPeople2 > .modal-dialog > .modal-content > .modal-body > #searchResult2 > .Item > .Image > img,
#searchPeople > .modal-dialog > .modal-content > .modal-body > #searchResult > .Item > .Image > img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

/*
	Paperclip
*/
#SendMessage {
	position: relative;
}

#SendMessage > button#paperclip {
	position: absolute;
	right: 60px;
	top: 10px;
	
	font-size: 20px;
	font-weight: 600;
	
	background: transparent;
	filter: brightness(0%) contrast(1%);
	cursor: pointer;
	padding: 0;
	border: 0;
	margin: 0;
}

#sendPaper input {
	display: none;
}

#linkBack {
	display: none;
	background: transparent;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 4px 8px;
	color: #a5a8ed;
}

#SendMessage > button[type='submit'] {
    border-radius: 50%;
    position: absolute;
    top: -2px;
    right: 2px;
    width: 54px;
    height: 54px;
    font-size: 20px;
    font-weight: 900;
    background: #7336fe;
    color: #fff;
    border: 1px solid #f4f5f7;
}

/*
	Приложение
*/
.Message > a.Clippaper {
	display: flex;
	
	text-decoration: none;
	padding: 8px 12px;
	color: #3c3c3c;
	border-radius: 12px;
	font-weight: 600;
}

.Message > a.Clippaper > i {
	margin-right: 8px;
}

.Message > a.Clippaper > span.Name {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	
	max-width: 200px;
	margin-right: 8px;
}

.Message > a.Clippaper > span.Size {
	display: flex;
	justify-content: center;
	align-items: center;
    font-size: 11px;
    color: #8c8c8c;
}

/*
	Микро-профиль
*/
.Micro-Profile {
	height: calc(100% - 60px);
	padding: 8px 12px;
}

.Micro-Profile .Blocks {
	margin-top: 30px;
	position: relative;
	
	background: #f4f5f7;
	border-radius: 12px;
	
	height: 150px;
}

.Micro-Profile .Blocks > .Avatar {
	border-radius: 50%;
	box-shadow: 0px 0px 0 1px #f4f5f7;
	position: absolute;
	top: -30px;
	right: calc(50% - 30px);
	left: calc(50% - 30px);
	overflow: hidden;
}

.Micro-Profile .Blocks > .Avatar > img {
	width: 60px;
	height: 60px;
}

.Micro-Profile .Blocks > .Info {
	padding: 40px 10px 0 10px;
}

.Micro-Profile .Blocks > .Info > .Name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	
	text-align: center;
	font-weight: 600;
}

.Micro-Profile .Blocks > .Info > .Online {
	display: flex;
	justify-content: center;
	align-items: center;
	
	margin-top: 14px;
}

.Micro-Profile .Blocks > .Info > .Online > .Border {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	padding: 4px 20px;
	border-radius: 20px;
	box-shadow: 0px 0px 0 1px #c1c1c1;
}

.Micro-Profile .Blocks > .Info > .Online > .Border.Yes {
	box-shadow: 0px 0px 0 1px #1f9a1b;
	color: #1f9a1b;
}

.Micro-Profile .Blocks > .Info > .Online > .Border.No {
	box-shadow: 0px 0px 0 1px #ff7c7c;
	color: #ff7c7c;
}

/*
	Микро-панель
*/
.Micro-Panel {
	position: absolute !important;
	bottom: 0;
	left: 0;
	font-size: 20px;
	
	display: flex;
	align-items: center;
	justify-content: space-around;
	
	width: 100%;
	height: 60px;
	
	padding: 8px 12px;
}

.Micro-Panel a {
	text-decoration: none;
	color: #000;
}

.Micro-Panel button {
	outline: 0;
	border: 0;
	background: transparent;
	padding: 0;
}

/*
	Настройки
*/
.Messenger.Settings > .End > .Body {
	justify-content: start;
	height: auto;
	overflow: auto;
}

.Block {
	width: calc(100% - 40px);
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	margin-top: 20px;
}

.Block:last-child {
	margin-bottom: 20px;
}

.Block > .Header {
	font-size: 14px;
	color: #6d6d6d;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.Block > .Body .Buttons {
	display: flex;
	margin-top: 14px;
}

.Block > .Body .Buttons > input.End,
.Block > .Body .Buttons > button.End {
	margin-left: auto;
}

.Button {
	border: 0;
	outline: 0;
	background: 0;
    padding: 15px 50px;
    border-radius: 40px;
}

.Button.Other {
	color: #000;
	font-size: 16px;
	font-weight: 600;
    padding: 15px 30px;
	border: 1px solid #eee;
	text-decoration: none;
}

.Button.Save {
	background: #7336fe;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}

button.mobileSearchPeople {
	display: none;
	padding: 0;
	border-radius: 50%;
	
	position: absolute;
    bottom: 90px;
    right: 30px;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    outline: 0;
    border: 0;
    background: #7336fe;
    color: #fff;
}

.Messenger.Error > .End > .Header > .Dialog,
.Messenger.Settings > .End > .Header > .Dialog {
	display: none;
}

/*
	Основной дизайн для других функций и страниц
*/
.Core > .Header {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    min-height: 60px;
    max-height: 60px;
    background: #fff;
    padding: 10px;
}

.Core > .Header > .Start {
	height: 100%;
}

.Core > .Header > .End {
	margin-left: auto;
}

.Core > .Header > .Start > .Brand > img {
	width: auto;
	height: 40px;
}

.Core ul {
	display: flex;
	padding: 0;
	margin: 0;
}

.Core ul > li {
	list-style-type: none;
	margin-right: 12px;
}

.Core ul > li:last-child {
	margin-right: 0;
}

.Core a:hover {
	color: #4f16d1;
}

.Core > .Footer {
	text-align: center;
	font-size: 12px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.Core .Block {
	width: 100%;
	background-color: #f0f0f0;
}

.Core.Guides .accordion-body img {
	width: 100%;
	border-radius: 8px;
}

.Core.Guides .Place {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: 0px 0px 1px 2px #e7e7e7;
}

.Core.Guides .Place > .Text {
	z-index: 1;
	pointer-events: none;
	
    font-size: 48px;
    text-transform: uppercase;
    color: #7336fe;
	
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.Core.Guides .Place > img {
    width: 100%;
    height: 250px;
    object-fit: cover;
	filter: opacity(0.5);
}

.Core ul > li > a.Alternative {
    background: #4f16d1;
    padding: 4px 8px;
    border-radius: 8px;
    color: #fff;
}

/*
	Список получателей для Массовой рассылки
*/
#massMailing form > .Recipients > .Header {
	display: flex;
	width: 100%;
}

#massMailing form > .Recipients > .Header > .List {
    display: flex;
    flex-direction: row;
    align-items: center;
	flex-wrap: wrap;
	
	width: calc(100% - 50px);
	background: #eee;
	border-radius: 8px;
	overflow: auto;
	
	padding: 4px 12px;
}

#massMailing form > .Recipients > .Header > .List > .Item {
	flex-grow: 1;
	margin: 0 5px;
}

#massMailing form > .Recipients > .Header > .List > .Item > span {
	white-space: nowrap;
}

#massMailing form > .Recipients > .Header > .List > .Item > button {
	border: 0;
	padding: 0;
	background: transparent;
}

#massMailing form > .Recipients > .Header > button {
	margin-left: auto;
}

.Core.Guides > .Header > .Start {
	display: flex;
	justify-content: start;
	align-items: center;
}

.Core.Guides #linkBack {
	display: flex;
	margin-right: 14px;
}