Skip to content
Snippets Groups Projects
base.less 69.2 KiB
Newer Older
		padding: 4px 20px 4px 70px;
		.body {
			margin-top: 0;
Gabriel Engel's avatar
Gabriel Engel committed

.compact {
	.message {
		min-height: 26px;
		padding: 5px 15px 0 37px;
		&:not(.system) .message-cog-container {
			display: inline-block;
		}

Gabriel Engel's avatar
Gabriel Engel committed
		.body {
			display: inline;
Gabriel Engel's avatar
Gabriel Engel committed
			.inline-image img {
				max-height: 100px;
			}
Gabriel Engel's avatar
Gabriel Engel committed
			.inline-video {
				max-height: 150px;
			}
			.attachment {
				.attachment-title > a {
					font-size: 0.9em;
				}
Gabriel Engel's avatar
Gabriel Engel committed
				.attachment-author img {
					border-radius: 2px;
				}
			}
Gabriel Engel's avatar
Gabriel Engel committed
			blockquote iframe {
				height: 150px;
				width: 266px;
			}
		}
Gabriel Engel's avatar
Gabriel Engel committed
		.info {
			.avatar-image {
				border-radius: 2px;
			}
Gabriel Engel's avatar
Gabriel Engel committed
			.role-tag {
Gabriel Engel's avatar
Gabriel Engel committed
		.thumb {
			height: 20px;
			width: 20px;
			left: 10px;

			.avatar {
				width: 20px;
				height: 20px;
			}
Gabriel Engel's avatar
Gabriel Engel committed
		&.sequential {
			.thumb:not(.thumb-small),.user {

				/* stylelint-disable-line */
Gabriel Engel's avatar
Gabriel Engel committed
				display: inline-block;
			}
Gabriel Engel's avatar
Gabriel Engel committed
			.info {
				position: relative;
				text-align: right;
				left: 0;
Gabriel Engel's avatar
Gabriel Engel committed
				.time,
				.edited {
// FLEX-TAB and FLEX-TAB views
Karl Prieb's avatar
Karl Prieb committed
.main-content-flex {
	display: flex;
	height: 100%;
Karl Prieb's avatar
Karl Prieb committed
}

.flex-tab-container {
	display: flex;
	z-index: 2;
	border-width: 0 0 0 1px;
	.flex-tab {
		position: relative;
		display: none;
Karl Prieb's avatar
Karl Prieb committed
		width: @flex-tab-width;
		overflow-x: visible;
		.control {
			.header {
				text-align: center;
				padding: 5px 30px 20px;
				margin: 5px 0 15px;
				h2 {
					font-size: 20px;
					line-height: 25px;
					font-weight: 300;
				}
			.button {
				min-height: 36px;
				margin: 0 1px;
				left: 0;
				top: 0;
				height: 60px;
				width: 30px;
				border-width: 0 0 1px;
				cursor: pointer;
				.transform(translateX(-27px));
				transition: transform 0.25s ease-out 0.475s, background 0.075s ease-out 0.5s;

				i {
					.transform-origin(50%, 50%, 0);
					transition: transform 0.3s ease-out;
					height: 12.5px;
					vertical-align: top;
					margin-top: 1px;
				}
			.search-form {
				width: 100%;
				.icon-plus {
					position: absolute;
					top: 11px;
					left: 8px;
					font-size: 13px;
				}
			}

			.info-tabs {
				position: absolute;
				top: 0;
				text-align: right;
				a {
					float: left;
					display: inline-block;
					padding: 0 15px;
					height: 60px;
					line-height: 60px;
					vertical-align: middle;
					border-width: 0 0 0 1px;

					&:last-child {
						border-width: 0 1px 0 0;
					}
		.content {
			&:extend(.fill-all);
			overflow-x: hidden;
			overflow-y: auto;
			top: auto;
			-webkit-overflow-scrolling: touch;
				transition: transform 0.45s cubic-bezier(0.5, 0, 0, 1), opacity 0.125s ease-out 0.1s;
			> .animated-hidden {
				.transform(translateX(100%));
				opacity: 0;
			}

			> .animated {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
			}

			> .title {
				height: @header-min-height;

				h2 {
					padding: 0 20px;
					font-size: 20px;
					line-height: @header-min-height;
					font-weight: 300;
				}
			}
			padding: 9px 15px 0;
			z-index: 100;
			text-align: right;
			height: @footer-min-height;
		.social {
			text-align: center;
				position: absolute;
				width: 100%;
				top: -12px;
				left: 0;
				font-size: 13px;
			.share {
				border-radius: 50%;
				min-height: 40px;
				line-height: 20px;
				&::before {
					border-radius: 50%;
				}
	.flex-tab-bar {
		min-width: 40px;
Karl Prieb's avatar
Karl Prieb committed
		z-index: 1;
		.tab-button {
			position: relative;
			cursor: pointer;
			text-align: center;

			button {
				height: 38px;
			}

			.counter {
				position: absolute;
				font-size: 9px;
				width: 13px;
				height: 13px;
				border-radius: 50%;
				line-height: 13px;
				font-weight: bold;
				right: 4px;
				top: 4px;
				text-align: center;
Diego Sampaio's avatar
Diego Sampaio committed
				border-width: 0 3px 0 0;

				button {
					margin-left: 3px;
				}

				.counter {
					margin-right: -3px;
				}
Karl Prieb's avatar
Karl Prieb committed

	&.opened {
		.flex-tab {
			display: block;
		}
	}
	-webkit-overflow-scrolling: touch;
	overflow-y: auto;
	overflow-x: hidden;
Gabriel Engel's avatar
Gabriel Engel committed
	padding: 20px;
		display: flex;
		flex-flow: column nowrap;
Gabriel Engel's avatar
Gabriel Engel committed
		.message {
			padding: 8px 0 4px 50px;
Gabriel Engel's avatar
Gabriel Engel committed
	> .title {
		margin: 0 0 20px;
			border-width: 0;
			text-decoration: underline;
			cursor: pointer;
			&:hover {
				text-decoration: none;
			}
	.show-more-users {
		margin: 1em auto 0;
		display: block;
	&.uploaded-files-list {
		a {
			&.file-name {
				color: #008ce3;
				padding: 10px 5px;
				border-bottom: 1px solid #eaeaea;
				display: block;
				border-width: 0 0 1px;
					color: #006db0;
					text-decoration: underline;
				p {
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
				}
		i {
			float: left;
			margin-right: 10px;
			&.file-delete {
				float: right;
				padding-top: 10px;
			}
				float: right;
				padding-top: 11px;
	z-index: 15;
	overflow-y: auto;
	overflow-x: hidden;
Gabriel Engel's avatar
Gabriel Engel committed
		height: 350px;
		padding: 20px;
Rafael Caferati's avatar
Rafael Caferati committed
	nav {
		padding: 0 20px;
		.back {
Rafael Caferati's avatar
Rafael Caferati committed
			float: right;
		}
	}
		padding: 0 20px;
			-webkit-user-select: text;
			-moz-user-select: text;
			-ms-user-select: text;
			user-select: text;
			margin: 8px 0;
			line-height: 27px;
			text-overflow: ellipsis;
			width: 100%;
			overflow: hidden;
			white-space: nowrap;
			i::after {
				content: " ";
				display: inline-block;
				width: 8px;
				height: 8px;
				border-radius: 4px;
				vertical-align: middle;
			}
			-webkit-user-select: text;
			-moz-user-select: text;
			-ms-user-select: text;
			user-select: text;
		.role-tag {
			padding: 1px 4px;
			border-radius: 2px;
		}
	.stats {
		li {
			margin-bottom: 3px;
			display: inline-block;
			padding: 4px 6px;
			border-right: 2px;
			border-radius: 2px;
		}
	}
	.box {
		position: relative;
		margin-bottom: 25px;
		font-size: 13px;
		&::after {
			content: " ";
			height: 1px;
			width: 100%;
			bottom: -10px;
			left: 0;
			position: absolute;
		}
	}
	.tags {
		li {
			display: inline-block;
			padding: 4px;
			border-right: 2px;
		}
	}
		a {
			white-space: nowrap;
			max-width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			display: block;
			border-radius: 2px;
			padding: 0 5px;
			line-height: 22px;
			position: relative;
			transition: background 0.18s ease, color 0.18s ease;
			&::before {
				content: attr(data-stats);
				position: absolute;
				right: 5px;
				top: 0;
				font-size: 11px;
				opacity: 0;
			}
			&:hover {
				padding-right: 34px;
				text-decoration: none;
				&::before {
	.contact-code {
		margin: -5px 0 10px 0;
		font-size: 12px;
	}
	.channels {
		h3 {
			font-size: 24px;
			margin-bottom: 8px;
			line-height: 22px;
		}
		p {
			line-height: 18px;
			font-size: 12px;
			font-weight: 300;
		}
		a {
			white-space: nowrap;
			max-width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			display: block;
			border-radius: 2px;
			padding: 0 5px;
			line-height: 22px;
			position: relative;
			transition: background 0.18s ease, color 0.18s ease;
			&::before {
				content: attr(data-stats);
				position: absolute;
				right: 5px;
				top: 0;
				font-size: 11px;
				opacity: 0;
			}
		padding: 20px 20px 0;
		h3 {
			font-size: 24px;
			margin-bottom: 8px;
			line-height: 22px;
		}
		p {
			line-height: 18px;
			font-size: 12px;
			font-weight: 300;
		}
		> .input-line {
			margin-top: 20px;
		nav {
			padding: 0;
Diego Sampaio's avatar
Diego Sampaio committed
			&.buttons {
				margin-top: 2em;
			}
		}
Diego Sampaio's avatar
Diego Sampaio committed
		.form-divisor {
			text-align: center;
			margin: 2em 0;
			height: 9px;
Diego Sampaio's avatar
Diego Sampaio committed
			> span {
				padding: 0 1em;
			}
	.room-info-content > div {
		margin: 0 0 20px;
@user-image-square: 20px;
	height: @user-image-square;
	width: @user-image-square;
	cursor: pointer;
	font-size: 12px;
	position: relative;
	display: inline-table;
Gabriel Engel's avatar
Gabriel Engel committed
		.avatar {
			&::after {
				.transform(scaleX(1))
		overflow: visible;
		&::before {
			font-size: 10px;
		}

		&::after {
Gabriel Engel's avatar
Gabriel Engel committed
			height: 6px;
			width: 6px;
			position: absolute;
			z-index: 1;
Gabriel Engel's avatar
Gabriel Engel committed
			left: -12px;
			top: 8px;
			border-radius: 3px;
		.avatar-initials {
			line-height: @user-image-square;
Gabriel Engel's avatar
Gabriel Engel committed
	p {
Gabriel Engel's avatar
Gabriel Engel committed
	.lines & {
		margin: 0;
		&::after {
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
		button {
Gabriel Engel's avatar
Gabriel Engel committed
			.clearfix;
			padding: 5px 0;
			height: 30px;
			display: block;
Gabriel Engel's avatar
Gabriel Engel committed
			> div {
				width: @user-image-square;
				height: @user-image-square;
Gabriel Engel's avatar
Gabriel Engel committed
		p {
			float: left;
			display: block;
			line-height: @user-image-square;
			font-size: 15px;
			font-weight: 400;
			overflow: hidden;
			text-overflow: ellipsis;
			position: relative;
			padding-left: 10px;
			.calc(width, ~"100% - 45px");
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
	button {
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
		width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	visibility: hidden;
				.calc(height, ~'100% - 112px');
	&.opened {
		.animation(fadeIn .1s ease-out forwards);
Gabriel Engel's avatar
Gabriel Engel committed
			.animation(modalEnter .35s cubic-bezier(.5, 0, .1, 1) forwards .1s);
	&.closed {
		.animation(fadeOut .2s ease-out forwards);
Gabriel Engel's avatar
Gabriel Engel committed
			.animation(modalExit .25s cubic-bezier(.5, 0, .1, 1) forwards);
	.wrapper {
		display: table;
		height: 100%;
		width: 100%;
		position: relative;
	}
	.window {
		display: table-cell;
		vertical-align: middle;
		text-align: center;
		width: 100%;
		height: 100%;
		position: relative;
	}
	legend {
		z-index: 2;
		display: block;
		margin-bottom: 18px;
		position: relative;
		text-transform: uppercase;
		font-size: 13px;
		&::before {
			content: " ";
			width: 100%;
			height: 1px;
			position: absolute;
			top: 19px;
			left: 0;
			z-index: 1;
		}
	}
		display: block;
		max-width: 800px;
		margin: 0 auto;
		width: 90%;
		position: relative;
		overflow: hidden;
		text-align: left;
		border-radius: 4px;
		box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
		header {
			height: 55px;
			position: absolute;
			top: 0;
			width: 100%;
			z-index: 1;
			font-size: 14px;
			text-align-last: right;
			padding: 0 25px;
			box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
			h3 {
				display: inline-block;
				margin: 0;
				text-align: left;
				font-size: 18px;
rcaferati's avatar
rcaferati committed
				font-weight: 600;
				line-height: 55px;
				text-overflow: ellipsis;
				overflow: hidden;
			}
			.close {
				position: absolute;
				width: 20px;
				height: 26px;
				right: 20px;
				top: 16px;
				opacity: 1;
		main {
			display: block;
			width: 100%;
			height: 100%;
			overflow-y: auto;
			overflow-x: hidden;
			padding: 20px 25px;
		}
		footer {
			height: 55px;
			position: absolute;
			bottom: 0;
			width: 100%;
			z-index: 1;
			padding: 11px 25px 0;
			text-align: right;
			box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
		}
	}
}

.avatarPrompt {
	header {
		p {
			font-size: 14px;
			line-height: 22px;
			font-weight: 300;
		}
	}
.select-arrow {
	position: absolute;
	bottom: 11px;
	right: 4px;
	color: #a9a9a9;
}

	width: 100%;
	padding: 20px;
	margin: 20px auto;
	box-shadow:
		0 1px 1px 0 rgba(0, 0, 0, 0.2),
		0 2px 10px 0 rgba(0, 0, 0, 0.16);
Karl Prieb's avatar
Karl Prieb committed
	border-radius: 4px;
Rafael Caferati's avatar
Rafael Caferati committed
	position: relative;
	z-index: 1;
Gabriel Engel's avatar
Gabriel Engel committed
	header {
		padding: 18px 0 23px;
Gabriel Engel's avatar
Gabriel Engel committed
		p {
			margin: 8px 0 0;
			font-size: 14px;
			line-height: 22px;
			font-weight: 300;
		}
	}
		line-height: 24px;
		margin: 0;
Gabriel Engel's avatar
Gabriel Engel committed
	a {
Rafael Caferati's avatar
Rafael Caferati committed
		margin: 4px 0;
		display: inline-block;
	}
Karl Prieb's avatar
Karl Prieb committed
	.submit,
	.register,