Skip to content
Snippets Groups Projects
base.less 73.1 KiB
Newer Older
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 0px 4px 50px;
		}
Gabriel Engel's avatar
Gabriel Engel committed
	> .title {
		margin: 0 0 20px;
		h2 {
			font-size: 20px;
			line-height: 25px;
			font-weight: 300;
		}
		p {
			font-size: 12px;
			margin-top: 4px;
		}
		b {
			font-weight: 600;
		}
		.see-all {
			float: right;
			border: none;
			text-decoration: underline;
			cursor: pointer;
			&:hover {
				text-decoration: none;
			}
	}
	.show-more-users {
		margin: 1em auto 0 auto;
		display: block;
	&.uploaded-files-list {
		a {
			&.file-name {
				color: #008ce3;
				padding: 10px 5px;
				border-bottom: 1px solid #eaeaea;
				display: block;
				&:hover {
					color: #006db0;
					text-decoration: underline;
			}
		}
		i {
			float: left;
			color: #444;
			margin-right: 10px;
			&.file-delete {
				float: right;
				padding-top: 10px;
				&:hover {
					color: red;
					cursor: pointer;
				}
			}
				float: right;
				padding-top: 11px;
				&:hover {
					color: #006db0;
					cursor: pointer;
	z-index: 15;
	overflow-y: auto;
	overflow-x: hidden;
		width: 100%;
		height: 200px;

		.transition(height .4s ease);

		cursor: zoom-in;
		cursor: -moz-zoom-in;
		cursor: -webkit-zoom-in;

		&.bigger {
			height: 350px;
			cursor: zoom-out;
			cursor: -moz-zoom-out;
			cursor: -webkit-zoom-out;
		}

		.avatar {
			border-radius: 0;

			.avatar-image {
				border-radius: 0;
			}
		}
Rafael Caferati's avatar
Rafael Caferati committed
	nav {
		margin-left: -4px;
		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;
			}
			i.status-offline {
				&:after {}
			}
			i.status-online {
				&:after {}
			}
			i.status-away {
				&:after {}
			}
			i.status-busy {
				&:after {}
			-webkit-user-select: text;
			-moz-user-select: text;
			-ms-user-select: text;
			user-select: text;
			line-height: 18px;
			font-size: 12px;
			font-weight: 300;
		}
	}
	.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;
		h4 {
			&:extend(.small-title);
			margin-bottom: 6px;
		}
		&:after {
			content: " ";
			height: 1px;
			width: 100%;
			bottom: -10px;
			left: 0;
			position: absolute;
		}
	}
	.tags {
		li {
			display: inline-block;
			padding: 4px;
			border-right: 2px;
		}
	}
	.links {
		i {
			margin-right: 5px;
			font-size: 13px;
		}
		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 .18s ease, colo .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 {
					opacity: 1;
				}
			}
			span {
				font-weight: 300;
			}
		}
	}
	.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 .18s ease, colo .18s ease);
			&:before {
				content: attr(data-stats);
				position: absolute;
				right: 5px;
				top: 0;
				font-size: 11px;
				opacity: 0;
			}
			span {
				font-weight: 300;
			}
		}
	}
		padding: 20px 20px 0 20px;
		white-space: normal;
		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;
		}
	.room-info-content > div {
		margin: 0 0 20px 0;
	}
Gabriel Engel's avatar
Gabriel Engel committed
.user-image-status(@color) {
Gabriel Engel's avatar
Gabriel Engel committed
	.avatar {
		&:after {}
@user-image-square: 20px;
	height: @user-image-square;
	width: @user-image-square;
	cursor: pointer;
	font-size: 12px;
	position: relative;
	display: inline-table;
	.avatar {
		&:before {
			font-size: 10px;
		}
	}
Gabriel Engel's avatar
Gabriel Engel committed
		.avatar {
			&:after {
				.transform(scaleX(1))
			.status-offline {
				&:after {}
				&:after {}
				&:after {}
				&:after {}
		overflow: visible;
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;
Gabriel Engel's avatar
Gabriel Engel committed
		&: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%;
	}
}

.user-profile {
	white-space: normal;
	overflow: hidden;
	.thumb {
		float: left;
		width: 75px;
		img {
			width: 60px;
			height: 60px;
		}
	}
	.info {
		display: block;
		margin-left: 75px;
		h3 {
			font-size: 14px;
			margin-bottom: 8px;
			font-weight: 600;
		}
		p {
			font-size: 12px;
			margin-bottom: 6px;
		}
		a {
			&:hover {
				text-decoration: none;
			}
		}
	}
}

.profile-buttons {
	margin-top: 1em;
}

	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	visibility: hidden;
	&.fluid {
			height: 100%;
			main {
				position: absolute;
				overflow-y: scroll;
				.calc(height, ~'100% - 112px');
			.animation(modalEnter .35s cubic-bezier(.5,
			0,
			.1,
			1) forwards .1s);
		}
	}
	&.closed {
		.animation(fadeOut .2s ease-out forwards);
			.animation(modalExit .25s cubic-bezier(.5,
			0,
			.1,
			1) forwards);
			overflow: visible;
			main {
				overflow: visible;
				position: relative;
			}
		}
	}
	.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;
	}
	fieldset {
		margin-bottom: 8px;
	}
	legend {
		position: relative;
		z-index: 2;
		display: block;
		margin-bottom: 18px;
		position: relative;
		text-transform: uppercase;
		font-size: 13px;
		i {
			margin-right: 4px;
		}
		&: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, .15);
		padding: 56px 0;
		opacity: 0;
		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;
				i {
					font-size: 24px;
				}
				&:hover {
				}
			}
		}
		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;
		}
	}
	img {
		width: 200px;
	}
}

	width: 100%;
	padding: 20px;
	margin: 20px auto;
	box-shadow: 0 0 6px 10px rgba(0, 0, 0, 0.1);
	border-radius: 2px;
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 {
			//font-family: "Muli";
			margin: 8px 0 0;
			font-size: 14px;
			line-height: 22px;
			font-weight: 300;
		}
	}
		line-height: 24px;
		margin: 0;
		&.error {}
		&.error {}
Gabriel Engel's avatar
Gabriel Engel committed
	a {
Rafael Caferati's avatar
Rafael Caferati committed
		margin: 4px 0;
		display: inline-block;
		&:active {}
		&:hover {}
	.options {
		display: none;
		width: 100%;
		font-size: 10px;
	}
	.submit {
		margin: 12px 0;
	}
	.remember {
		float: left;
	}
	.remember input {
		margin-right: 4px;
	}
	.forgot {
		float: right;
		line-height: 20px;
	}
	.input-text {
		margin: 0 0 14px 0;
		position: relative;
		&:before {
			content: " ";
			width: 100%;
			height: 40px;
			position: absolute;
			top: 7px;
			left: 0;
			cursor: text;
		}
		&.active {
			&:before {
				visibility: hidden;
			}
		}
		input {
			box-shadow: 0 0 0;
			border-width: 0;
			position: relative;
			padding: 4px 8px;
			font-size: 18px;
			border-bottom: 1px solid;
			border-radius: 0px;
			&.error {
				border-bottom: 1px solid;
				&::-webkit-input-placeholder {}
				&:-moz-placeholder {}
Gabriel Engel's avatar
Gabriel Engel committed
				/* Firefox 18- */
				&::-moz-placeholder {}
Gabriel Engel's avatar
Gabriel Engel committed
				/* Firefox 19+ */
				&:-ms-input-placeholder {}
		input:-webkit-autofill {}
		input:-webkit-autofill {
			-webkit-box-shadow: 0 0 0px 1000px #f4f4f4 inset;
		}
	}
}

Rafael Caferati's avatar
Rafael Caferati committed
	position: relative;
	z-index: 1;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	margin-bottom: 20px;
	h3 {
		&:extend(.rocket-h3);
		margin-top: 0;
		margin-bottom: 12px;
	}
	.button {
		border-radius: 2px;
		min-height: 40px;
		line-height: 20px;
		font-size: 18px;
		margin: 2px;
		padding: 0;
		-webkit-flex-grow: 1;
		flex-grow: 1;
	}
.full-page {
	.flex-center;
	flex-flow: row nowrap;
	margin: auto;
Rafael Caferati's avatar
Rafael Caferati committed
	width: 100%;
	min-height: 100%;
	z-index: 101;
	.wrapper {
		text-align: center;
		z-index: 10;
		position: relative;
		padding: 20px;
	.logo {
		display: block;
		> img {
			display: inline-block;
			position: relative;
			top: 0;
			right: 0;
			z-index: 20;
Gabriel Engel's avatar
Gabriel Engel committed
			width: 520px;
			padding: 10px;
			max-width: 100%;
		}
	}
	a {
		font-weight: 300;
	}
	.cell {
		display: table-cell;
		vertical-align: middle;
		text-align: center;
	}
	header {
		display: block;
Rafael Caferati's avatar
Rafael Caferati committed
		position: relative;
		z-index: 1;
	}
	.text {
		font-weight: 300;
		margin-bottom: 25px;
		margin: 0 auto 25px;
		max-width: 580px;
Rafael Caferati's avatar
Rafael Caferati committed
		position: relative;
		z-index: 1;
		.button {
			font-weight: 400;
			padding: 16px 20px;
			margin-top: 20px;
		}
		h1 {
rcaferati's avatar
rcaferati committed
			font-weight: 600;
			text-transform: uppercase;
			font-size: 24px;
			letter-spacing: -0.5px;
			margin-bottom: 20px;
			display: none;
		}
		h2 {
			&:extend(.rocket-h2);
		}
		h3 {
			&:extend(.rocket-h3);
		}
		p {
			margin: 18px 0;
			font-size: 16px;
			line-height: 24px;
			font-weight: 400;
		}
	}
	footer {
		padding: 20px 0 0;
Rafael Caferati's avatar
Rafael Caferati committed
		position: relative;
		z-index: 1;
		h4 {
			text-transform: uppercase;
			margin-bottom: 8px;
			font-size: 12px;
Rafael Caferati's avatar
Rafael Caferati committed
			font-weight: 300;
	}
	a.meteor {
		position: fixed;
		right: 30px;
		bottom: 20px;
		width: 100px;
		height: 50px;
		background: url(images/meteor.png) no-repeat center center;
		background-size: 100% auto;
		text-indent: -9999em;
	}
	.share {
		border-radius: 50%;
		min-height: 40px;
		line-height: 20px;
Gabriel Engel's avatar
Gabriel Engel committed
		&:before {
#particles-js {
	&:extend(.fill-all);
	position: fixed;
}

.mention-link {
	&.mention-link-me, &.mention-link-all {
		background-color: #008ce3;
		border-radius: 4px;
		padding: 0px 4px 2px 4px;
		font-weight: bold;
		color: white;
		&:hover {
			color: white;
		}

		&.mention-link-all {
			background-color: #9C27B0;
		}
Johann's avatar
Johann committed
.highlight-text {
	background: #ADD6FF;
Fahad Alduraibi's avatar
Fahad Alduraibi committed
	border-radius: 4px;
	padding: 2px;
.avatar-suggestions {
	display: flex;
	flex-flow: column nowrap;
}

.avatar-suggestion-item {
	margin: 5px 0px;
	text-align: left;
	.flex-center;
	flex-flow: row nowrap;
	width: 100%;
	padding: 12px;
	border: 1px solid;
	.transition(background-color .15s ease-out, border-color .15s ease-out);
	&:first-child {
		margin-top: 10px;
	}
	.avatar {
		height: 55px;
		max-height: 55px;
		min-height: 55px;
		max-width: 55px;
		min-width: 55px;
		background-size: cover;
		font-size: 40px;
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
		text-align: center;
		position: relative;
	}
Gabriel Engel's avatar
Gabriel Engel committed
	.question-mark {
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
			margin: 0;
			line-height: 55px;
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
		}
Gabriel Engel's avatar
Gabriel Engel committed
	.action {
		text-align: right;
		padding-left: 20px;
	}
		min-width: 120px;
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
	input[type=file] {
		position: absolute !important;
		width: 100%;
		top: 0;
		left: 0;
		height: 100%;
		opacity: 0;
		z-index: 10000;
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
		* {
			cursor: pointer;
		}
	}
.statistics-table {
	margin-bottom: 30px;
	border: 2px solid #F5F5F5;
	width: 100%;
		background-color: #FFFFFF;
			background-color: #F5F5F5;
		text-align: left;
		text-align: right;
		width: 30%;
Gabriel Engel's avatar
Gabriel Engel committed
.rocket-team {
	display: block;
Gabriel Engel's avatar
Gabriel Engel committed
	li {
		display: inline-block;
	}
		display: inline-block;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		background-size: 100%;
		background-position: 50% 50%;
		margin-right: 5px;
	}
}

#fullscreendiv:-webkit-full-screen {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	background: none;
}

@media all and(max-width: 1100px) {
	#rocket-chat {
		.flex-opened {
		}
	}
}

@media all and(max-width: 780px) {
	#rocket-chat {
		.burger {
			visibility: visible;
			display: inline-block;
		}
		.side-nav {
			// .transform(translateX(-100%));
			.transition(transform .3s ease-out);
		}
		.main-content {
			&.notransition {
				.transition(transform .0s);
			}
		.main-content,