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

File size: 18.47Kb
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;
	
    gap: 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 > .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 > .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;
}

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

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

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

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

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

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

#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;
}

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

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

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

#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;
	border: 1px solid #eee;
}

.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: #f9f9f9;
}

.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 > .Alternative {
    background: #4f16d1;
    padding: 4px 8px;
    border-radius: 8px;
    color: #fff;
}

.Core ul.Nav-Left {
	flex-direction: column;
}

.Core ul.Nav-Left li {
	display: flex;
	max-width: 100%;
	margin-bottom: 8px;
}

.Core ul.Nav-Left li:last-child {
	margin-bottom: 0;
}

.Core ul.Nav-Left li:hover .bi {
	transform: rotateZ(20deg);
}

.Core ul.Nav-Left li .bi {
	margin-right: 12px;
	color: #ababab;
	transition: 1s;
}

.Core ul.Nav-Left li a {
	flex: 1;
	
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	
	transition: 1s;
}

/*
	Формы в Админ-Центре
*/
.Core input,
.Core textarea,
.Core select {
	border: 1px solid #eee;
	background-color: #f0f0f0;
	transition: .3s;
}

.Core input:focus,
.Core textarea:focus,
.Core select:focus {
	outline: none !important;
	box-shadow: none !important;
	background-color: #dddddd;
	border-color: #bebebe;
}

.Core .Block .Divider {
	display: block;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.Core .Block label {
	font-size: 13px;
}

.Core .Block a {
	color: #000;
}

.Core .Block a:hover {
	color: #ababab;
}

.Core .Block .Buttons {
    display: flex;
    justify-content: end;
	margin-top: 24px;
}

.Core > .Header {
	margin-bottom: 20px;
}

.Core .People .Block.profileCard {
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	display: block;
	color: #4a4a4a;
}

.Core .People .Block.profileCard > .Header > img {
	width: 100%;
	height: 120px;
	
	object-fit: cover;
	object-position: center;
}

.Core .People .Block.profileCard > .Data {
	margin: 12px;
	flex-direction: column
}

.Core .People .Block.profileCard > .Data > li {
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.Core .People .Block.profileCard > .Data > li:nth-child(1) {
	text-align: center;
}

.Core .People .Block.profileCard:before,
.Core .People .Block.profileCard:after {
	content: '';
	opacity: 0;
	transition: opacity .8s ease;
}

.Core .People .Block.profileCard:not(:hover):before,
.Core .People .Block.profileCard:not(:hover):after {
	opacity: 0;
}

.Core .People .Block.profileCard:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 30%);
}

.Core .People .Block.profileCard:hover:before {
	opacity: 1;
}

.Core .People .Block.profileCard:after {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	font-family: 'bootstrap-icons';
	content: '\F1C5';
	font-size: 24px;
	color: #fff;
	font-weight: 600;
}

.Core .People .Block.profileCard:hover:after {
	opacity: 1;
}

.Core .People .Buttons {
	display: flex;
	align-items: center;
}

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

.Core .People a.Button.Other {
	background: #fff;
	font-size: 14px;
	padding: 12px 18px;
	margin-right: 8px;
}

.Core .People .Button.Primary {
	background: #d1d1d1;
	color: #000;
	font-size: 14px;
	padding: 12px 18px;
}

.Core .People a.Button.Other:hover {
	color: #000;
}

.Core .Stats {
	display: flex;
	align-items: center;
	justify-content: space-around;
}

.Core .Stats > .Hr {
	border-right: 0.2px dashed #b7b7b7;
    border-width: thin;
    height: 32px;
}

.Core .Stats > .Title {
	max-width: 120px;
    font-size: 11px;
    text-transform: uppercase;
    line-height: normal;
    color: #3c3c3c;
	
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;  
	overflow: hidden;
	word-wrap: break-word;
	text-overflow: ellipsis;
	
	text-align: center;
}

.Core.Files ul.Table {
	overflow: hidden;
	
	background: #fff;
	border-radius: 12px;
	border: 1px solid #eee;
	
	display: flex;
	flex-direction: column;
}

.Core.Files ul.Table > .Header {
	display: block;
	padding: 20px;
	font-weight: 600;
	font-size: 16px;
}

.Core.Files ul.Table > .Separator {
	display: flex;
	padding: 0 20px;
	background: #f9f9f9;
	border: 1px solid #eee;
	margin: 0;
}

.Core.Files ul.Table > .Separator > div {
	display: flex;
	justify-content: start;
	
	flex: 1;
	text-align: center;
	padding: 10px 0;
	min-width: 100px;
	overflow-wrap: break-word;
	word-break: break-all;
}

.Core.Files ul.Table > .Item {
	display: flex;
	padding: 0 20px;
	margin: 0;
	font-size: 13px;
}

.Core.Files ul.Table > .Item > div {
	display: flex;
	justify-content: start;
	
	flex: 1;
	padding: 10px 0;
	word-wrap: break-word;
	white-space: pre-wrap;
	min-width: 100px;
	overflow-wrap: break-word;
}

ul.Nav-Horizontal {
	gap: 24px;
	margin: 20px 0;
}

ul.Nav-Horizontal > li {
	margin: 0;
}

ul.Nav-Horizontal > li,
ul.Nav-Horizontal > li > a {
	color: #6a6a6a;
	transition: .5s;
}


ul.Nav-Horizontal > li:hover,
ul.Nav-Horizontal > li > a:hover {
	color: #000;
}