Skip to content
Snippets Groups Projects
base.less 61.5 KiB
Newer Older
		}
		&.status-busy {
			.thumb:after {
			}
		}
	}
	.options {
		position: fixed;
		top: @header-min-height;
		left: 0;
		padding-top: 15px;
		width: @rooms-box-width;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		direction: rtl;
		.calc(height, ~'100% - ' @header-min-height + @footer-min-height);
		.transition(transform .3s cubic-bezier(.5, 0, .1, 1));
		&.animated-hidden {
			.transform(translateY(-100%) translateY(-50px));
			padding-left: 38px;
			position: relative;
			&:after {
				content: " ";
				display: block;
				width: 13px;
				height: 13px;
				border: 1px solid;
				left: 18px;
				.calc(top,
				~"50% - 8px");
			}
			&.offline {
				&:after {
				}
			}
			&.online {
				&:after {
				}
			}
			&.away {
				&:after {
				}
			}
			&.busy {
				&:after {
				}
			}
		}
		span.soon {
			// content: "em breve";
			width: 100px;
			position: absolute;
			right: -30px;
			font-size: 10px;
			top: 17px;
		}
		i {
			width: 26px;
			display: inline-block;
			text-align: center;
			margin-left: 0 -1px 0 1px;
		}
		a {
			position: relative;
			display: table;
			width: 100%;
			height: 20px;
			padding: 15px 12px;
			line-height: 1;
			text-decoration: none;
			border-bottom: 1px solid;
		.icon-logout {
			&:before {
				margin-right: 0px;
			}
		}
		.icon-camera {
			&:before {
				margin-left: 1px;
			}
		}
Gabriel Engel's avatar
Gabriel Engel committed
	.info:hover {
Gabriel Engel's avatar
Gabriel Engel committed
	.hover & {
		.info h4 {
.flex-nav {
Rafael Caferati's avatar
Rafael Caferati committed
	position: fixed;
Gabriel Engel's avatar
Gabriel Engel committed
	top: 0;
Rafael Caferati's avatar
Rafael Caferati committed
	left: 0;
Gabriel Engel's avatar
Gabriel Engel committed
	height: 100%;
Rafael Caferati's avatar
Rafael Caferati committed
	z-index: 1000;
	overflow-y: auto;
	overflow-x: hidden;
Rafael Caferati's avatar
Rafael Caferati committed
	width: @rooms-box-width;
	.transition(transform .3s cubic-bezier(.5, 0, .1, 1));
	&.animated-hidden {
Rafael Caferati's avatar
Rafael Caferati committed
		.transform(translateX(-100%));
			.transform(translateX(-100%));
		}
	}
		.transition(transform .425s cubic-bezier(0,
		.8,
		.05,
		1));
		&:extend(.fill-all);
	header {
		display: table;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 110;
Diego Sampaio's avatar
Diego Sampaio committed
		cursor: pointer;
		min-height: @header-min-height;
		height: @header-min-height;
		padding-left: 15px;
		.transition-delay(.05s);
Gabriel Engel's avatar
Gabriel Engel committed
		> div {
			display: table-cell;
			vertical-align: middle;
			text-align: left;
			line-height: 24px;
			font-size: 20px;
			margin-top: 2px;
Rafael Caferati's avatar
Rafael Caferati committed
			font-weight: 300;
			overflow: hidden;
			text-overflow: ellipsis;
			position: relative;
		}
Rafael Caferati's avatar
Rafael Caferati committed
			line-height: 18px;
			margin-top: 4px;
			font-weight: 400;
			font-size: 13px;
		}
	}
Gabriel Engel's avatar
Gabriel Engel committed
	footer {
		display: table;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 0 10px;
		z-index: 120;
		text-align: left;
Diego Sampaio's avatar
Diego Sampaio committed
		height: @footer-min-height;
		.transition-delay(.22s);
Gabriel Engel's avatar
Gabriel Engel committed
		> div {
			display: table-cell;
			vertical-align: middle;
			text-align: left;
	.content {
		direction: rtl;
		position: absolute;
		top: @header-min-height;
		.calc(height,
		~"100% - " @header-min-height + @footer-min-height);
		width: 100%;
		overflow-x: hidden;
		display: block;
		-webkit-overflow-scrolling: touch;
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
		padding: 35px 10px;
		.transition-delay(.135s);
Gabriel Engel's avatar
Gabriel Engel committed
		&.no-shadow {
			box-shadow: 0 0 0;
		}
Gabriel Engel's avatar
Gabriel Engel committed
		> .wrapper {
Gabriel Engel's avatar
Gabriel Engel committed
		h4 {
			margin-bottom: 30px;
			font-weight: 400;
			text-transform: uppercase;
			font-size: 13px;
		}
	.input-line {
Rafael Caferati's avatar
Rafael Caferati committed
		margin-bottom: 25px;
		&:nth-last-child(1) {
		label {
Rafael Caferati's avatar
Rafael Caferati committed
			text-transform: uppercase;
			font-weight: 400;
			margin-bottom: 0;
		}
Gabriel Engel's avatar
Gabriel Engel committed
		input[type='text'],
		input[type='password'],
Gabriel Engel's avatar
Gabriel Engel committed
		select {
Rafael Caferati's avatar
Rafael Caferati committed
			border-width: 0 0 1px 0;
			padding: 0 8px;
			box-shadow: 0 0 0;
			border-radius: 0;
			-webkit-appearance: none;
			-webkit-border-radius: 0px;
	.input-submit {
Rafael Caferati's avatar
Rafael Caferati committed
		margin: 35px 0 0 -4px;
	}
	.selected-users {
Rafael Caferati's avatar
Rafael Caferati committed
		padding: 20px 0 0;
Rafael Caferati's avatar
Rafael Caferati committed
			display: inline-block;
			padding: 5px;
			margin-right: 2px;
			margin-bottom: 2px;
		}
			cursor: pointer;
		}
.side-nav {
	position: fixed;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	width: @rooms-box-width;
	height: auto;
	overflow: visible;
	z-index: 100;
	padding: 12px 0 0 0;
	.transition(transform .3s ease-out);
	&:before {
		content: " ";
		height: 1px;
		width: 189px;
		left: 8px;
		position: absolute;
		top: 59px;
	}
	.rooms-list {
		direction: rtl;
		position: absolute;
		top: @header-min-height;
		.calc(height,
		~"100% - " @header-min-height + @footer-min-height);
		display: block;
		-webkit-overflow-scrolling: touch;
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
		> .wrapper {
			direction: ltr;
			padding-left: 8px;
Gabriel Engel's avatar
Gabriel Engel committed
	.more {
		display: block;
		font-size: 11px;
		padding: 4px 0 4px 10px;
		margin-top: 2px;
		&:hover {
	.input-error {
		text-align: center;
		font-size: 12px;
		padding: 0;
		text-align: left;
		margin-bottom: -20px;
		margin-top: -12px;
		strong {
			display: block;
			margin-bottom: 2px;
		}
	}
	.empty {
		font-size: 11px;
Rafael Caferati's avatar
Rafael Caferati committed
		cursor: pointer;
Gabriel Engel's avatar
Gabriel Engel committed
	> .arrow {
		position: absolute;
		top: 18px;
		right: 8px;
		z-index: 1000;
		cursor: pointer;
		&.hover,
		&:hover {
			&:before,
			&:after {
	.footer {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 10px 15px 0px 15px;
		min-height: @footer-min-height;
		height: @footer-min-height;
			margin-top: -1px;
			&:hover {
				text-decoration: none;
			}
		}
		small {
			font-size: 11px;
			width: 100%;
			display: block;
			text-transform: lowercase;
Rafael Caferati's avatar
Rafael Caferati committed
			margin-bottom: 0;
			font-weight: 400;
Rafael Caferati's avatar
Rafael Caferati committed
			padding-right: 4px;
			margin-top: 2px;
			max-width: 222px;
			max-height: 43px;
			margin-bottom: -10px;
		}
	}
	.search-form {
		.search {
			padding-left: 25px;
		}
		> div {
			position: relative;
		}
		margin-right: 20px;
	}
	h3 {
		&:extend(.small-title);
		cursor: pointer;
		position: relative;
		text-transform: uppercase;
		font-weight: 500;
Rafael Caferati's avatar
Rafael Caferati committed
		margin: 25px 0 0 0;
		line-height: 28px;
Rafael Caferati's avatar
Rafael Caferati committed
		padding-left: 10px;
Rafael Caferati's avatar
Rafael Caferati committed
		&.add-room {
			&:hover {
Gabriel Engel's avatar
Gabriel Engel committed
				i {
					&:before {
Rafael Caferati's avatar
Rafael Caferati committed
						.transform(rotate(180deg));
					}
Gabriel Engel's avatar
Gabriel Engel committed
					&:after {
Rafael Caferati's avatar
Rafael Caferati committed
						.transform(rotate(-90deg));
					}
				}
Rafael Caferati's avatar
Rafael Caferati committed
				position: absolute;
Rafael Caferati's avatar
Rafael Caferati committed
				top: 1px;
	}
	.unread {
		min-width: 15px;
		padding: 0 2px;
		border-radius: 2px;
		text-align: center;
		position: absolute;
		right: 6px;
		font-size: 11px;
		top: 6px;
		line-height: 16px;
		font-weight: 800;
	}
	ul {
		position: relative;
Rafael Caferati's avatar
Rafael Caferati committed
		//left: 1px;
		li {
			white-space: nowrap;
			max-width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			vertical-align: middle;
				position: absolute;
				display: block;
				right: -18px;
				top: 2px;
				opacity: 0;
				.transform(translateX(-10px));
				.transition(opacity .15s ease .35s,
				transform .12s ease-out .35s);
			}
			&:hover {
				.opt {
					opacity: 1;
					.transform(translateX(0));
				}
			}
			&.active {
				a {
				}
				.opt {
				}
			}
			&.has-unread {
				.opt {
					opacity: 0;
				}
			}
			&.has-alert {
				.name {
					font-weight: bold;
				}
			}
Diego Sampaio's avatar
Diego Sampaio committed
			padding: 6px 25px 7px 6px;
			font-size: 15px;
			position: relative;
			line-height: 16px;
			white-space: nowrap;
			max-width: 100%;
			overflow: hidden;
			text-overflow: ellipsis;
			vertical-align: middle;
			text-decoration: none;
			text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
			&:hover {
				text-decoration: none;
			}
		}
		.opt {
			position: absolute;
			right: 0;
			width: 50px;
			padding-right: 10px;
Rafael Caferati's avatar
Rafael Caferati committed
			top: 7px;
			.transition(opacity .12s ease .25s,
			transform .15s ease-out .25s);
			.icon-cancel-circled:before {
				margin-left: 1px;
			}
Gabriel Engel's avatar
Gabriel Engel committed
			font-size: 14px;
Rafael Caferati's avatar
Rafael Caferati committed
			width: 16px;
			display: inline-block;
	.unread-rooms {
		background-color: #068FE4;
		position: absolute;
		z-index: 1000;
		width: 100%;
		text-align: center;
		line-height: 24px;
		color: white;
		text-transform: uppercase;
		font-weight: bold;
		display: -webkit-flex;
		display: flex;
		align-items: center;
		-webkit-align-items: center;
		justify-content: center;
		-webkit-justify-content: center;

		&.top-unread-rooms {
			top: 60px;
		}
		&.bottom-unread-rooms {
			bottom: 70px;
		}

		i {
			margin-left: 5px;
			font-size: 12px;
		}
	}
.new-room-highlight a {
	-webkit-animation: highlight 2s infinite;
	-moz-animation: highlight 2s infinite;
	-o-animation: highlight 2s infinite;
	animation: highlight 2s infinite;
}

.page-container {
	&:extend(.fill-all);
	overflow-y: hidden;
	.content {
		&:extend(.fill-all);
		overflow-y: scroll;
		margin-top: 60px;
		-webkit-overflow-scrolling: touch;
		.calc(height,
		~'100% - 60px');
	.flex-center;
	flex-flow: row nowrap;
	padding: 0 10px 0 20px;
	border-bottom: 1px solid;
Gabriel Engel's avatar
Gabriel Engel committed
	width: 100%;
Gabriel Engel's avatar
Gabriel Engel committed
	&.visible {
		h2 {
	h2 {
		max-width: 90%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-size: 22px;
		font-weight: 500;
		line-height: 29px;
		.icon-at,
		.icon-hash,
		.icon-lock {
Rafael Caferati's avatar
Rafael Caferati committed
			margin-right: -7px;
		}
Gabriel Engel's avatar
Gabriel Engel committed
		.icon-star,
		.icon-star-empty {
			margin-right: -4px;
		}
	.animated-hidden {
Rafael Caferati's avatar
Rafael Caferati committed
		visibility: hidden;
		display: none;
	}
Gabriel Engel's avatar
Gabriel Engel committed
	input[type='text'] {
		.calc(width,
		~'100% - 100px');
		vertical-align: top;
		margin-top: -4px;
		margin-left: -3px;
		font-size: 20px;
	}
Gabriel Engel's avatar
Gabriel Engel committed
	.icon-pencil {
		vertical-align: text-top;
		margin-top: -7px;
		display: inline-block;
		font-size: 16px;
	}
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
.cms-page {
	max-width: 800px;
	margin: 40px auto;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 1px 1px 4px rgba(0,0,0,.3);
}

.spotlight {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	padding: 0 40px;

	> .spotlight-input {
		width: 100%;
		max-width: 600px;
		font-size: 24px;
		margin-top: 6%;

		> input {
			box-shadow: 0px 10px 20px rgba(0,0,0,.5);
			border-width: 0px;
			line-height: 46px;
			height: 46px;
			padding: 18px;
			padding-left: 46px;
		}

		> i {
			position: absolute;
			z-index: 10;
			line-height: 46px;
			width: 46px;
			text-align: center;
			font-weight: 100;
		}
	}
}

.mobile-message-menu {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	justify-content: center;
	padding: 0 40px;

	> .buttons {
		font-size: 24px;
		position: absolute;
		bottom: 0;
		left: 10%;
		right: 10%;
// MAIN CONTENT + MAIN PAGES //
.main-content {
	position: fixed;
	top: 0;
	bottom: 0;
	left: @rooms-box-width;
	right: 0;
	width: auto;
	height: auto;
Aaron's avatar
Aaron committed
	margin-right: 40px;
	.transition(width .25s cubic-bezier(.5, 0, .1, 1));
		right: @flex-tab-width;
Aaron's avatar
Aaron committed
			right: 40px;
	&.layout1 {
		right: @flex-tab-webrtc-width;
		.flex-tab {
			max-width: @flex-tab-webrtc-width;
			.transform(translateX(0));
		}
	}
	&.layout2 {
		right: @flex-tab-webrtc-2-width;
		.flex-tab {
			max-width: @flex-tab-webrtc-2-width;
			.transform(translateX(0));
		}
	}
	.container-fluid {
		padding-top: 0;
	}
	.history-date {
		margin-bottom: 20px;
	}
}

.page-settings {
	.rocket-form {
		max-width: none;
Aaron's avatar
Aaron committed
		width: 100%;
Gabriel Engel's avatar
Gabriel Engel committed
.page-static {
Gabriel Engel's avatar
Gabriel Engel committed
	.content {
		> div {
			margin-bottom: 25px;
Gabriel Engel's avatar
Gabriel Engel committed
			&:nth-last-child(1) {
				margin-bottom: 0;
			}
		}
		p {
			margin-bottom: 12px;
Gabriel Engel's avatar
Gabriel Engel committed
			&:nth-last-child(1) {
				margin-bottom: 0;
			}
		}
		.section {
			h1 {
				font-size: 20px;
				margin-top: 40px;
				padding: 0 0 0 10px;
				font-weight: 500;
			}
Gabriel Engel's avatar
Gabriel Engel committed

Gabriel Engel's avatar
Gabriel Engel committed

				border: 1px solid;
				padding: 20px;
				border-radius: 5px;

				.section-helper {
					padding: 20px 20px 40px;

					pre {
						display: inline;
						background-color: #eee;
					}
				}
		h1,
		h2,
		h3,
		h4 {
			font-weight: 300;
			text-transform: uppercase;
			margin-bottom: 12px;
		}
Gabriel Engel's avatar
Gabriel Engel committed
.page-home {
Gabriel Engel's avatar
Gabriel Engel committed
	.fixed-title {
		h2 {
			overflow: visible;
		}
	}
Gabriel Engel's avatar
Gabriel Engel committed
	.logo {
Gabriel Engel's avatar
Gabriel Engel committed
		display: block;
Gabriel Engel's avatar
Gabriel Engel committed
		margin: 10px 0;
		max-width: 325px;
Gabriel Engel's avatar
Gabriel Engel committed
	.info {
Gabriel Engel's avatar
Gabriel Engel committed
		p {}
Gabriel Engel's avatar
Gabriel Engel committed
	.social {
		h4 {
Gabriel Engel's avatar
Gabriel Engel committed
		nav {
			margin-left: -4px;
		}
	}
}

.page-list {
	.search {
		margin-bottom: 12px;
	}
	.results {
		padding: 10px 0;
		border-bottom: 1px solid;
		margin-bottom: 10px;
		font-weight: 300;
		p {
			font-size: 12px;
			text-transform: uppercase;
		}
	}
Gabriel Engel's avatar
Gabriel Engel committed

		a {
			display: block;
			padding: 3px;
			margin-bottom: 5px;
			.info {
				h3 {
					margin-bottom: 5px;
				}
				ul {
					margin-left: 3px;
				}
			}
		}
		.user-image {
			float: right;
			margin-left: 12px;
		table {
			width: 100%;
			tbody {
				td {
					vertical-align: middle;
					padding: 0 2px;
				}
				tr {
					cursor: pointer;
.image-to-download {
	border-radius: 6px;
	border: 1px dashed;
	padding: 20px 15px;
	margin-bottom: 5px;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	height: 200px;
	display: flex;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-direction: column;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
	width: 200px;
.room-not-found {
	display: flex;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-direction: column;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
	font-size: 30px;

	div {
		line-height: 40px;
		text-align: center;
	}

	i {
		font-size: 100px;
		padding-bottom: 30px;
	}
}

Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
.unread-bar {
	position: absolute;
	top: 60px;
	width: 100%;
	z-index: 11;
	font-weight: bold;
	background-color: #E6F4FD;
	line-height: 30px;
	font-size: 12px;
	padding: 0 10px;
	box-shadow: 0px 1px 2px rgba(0,0,0,.2);
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
	color: #068FE4;
	text-transform: uppercase;
	text-align: center;

	> a {
		float: right;

		&:hover {
			cursor: pointer;
		}
	}
}

.upload-progress {
	position: absolute;
	top: 60px;
	width: 100%;
	z-index: 11;
	font-weight: bold;
	text-shadow: 1px 1px 0px rgba(0,0,0,.2);

	.upload-progress-item {
		position: relative;
		line-height: 24px;
		padding: 0 10px;
		border-bottom: 1px solid;

		&:first-child {
			border-top: 1px solid;
		.upload-progress-progress {
			position: absolute;
			left: 0px;
			height: 100%;
			width: 0%;
			z-index: -1;
			.transition(width, 1s, ease-out);
		}

		> a {
			float: right;
			text-transform: uppercase;

			&:hover {
				cursor: pointer;
			}
		}
	}
}

.messages-container {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;