browser/components/loop/standalone/content/legal/styles/main.scss
author Rémy HUBSCHER <rhubscher@mozilla.com>
Tue, 26 Aug 2014 12:58:00 -0500
changeset 226633 a6733cf963700c265adb6f9e61c83444099dbe7f
permissions -rw-r--r--
Bug 1044411 - Generate Loop ToS static content, r=abr,dmose; rs=ted for .hgignore changes Bug 1044411 - Generate Loop ToS static content, priv-policy bits removed

@font-face { font-family: 'Clear Sans'; font-style: normal; font-weight: 400; src: local(Clear Sans), local(ClearSans), url(/legal/fonts/latin/clearsans-regular.eot?#iefix) format(embedded-opentype), url(/legal/fonts/latin/clearsans-regular.woff) format(woff), url(/legal/fonts/latin/clearsans-regular.ttf) format(truetype), url(/legal/fonts/latin/clearsans-regular.svg#clearsans-regular) format(svg); }

@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; src: local(Fira Sans), local(FiraSans-Regular), url(/legal/fonts/latin/firasans-regular.eot?#iefix) format(embedded-opentype), url(/legal/fonts/latin/firasans-regular.woff) format(woff), url(/legal/fonts/latin/firasans-regular.ttf) format(truetype), url(/legal/fonts/latin/firasans-regular.svg#firasans-regular) format(svg); }

@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 300; src: local(Fira Sans Light), local(FiraSans-Light), url(/legal/fonts/latin/firasans-light.eot?#iefix) format(embedded-opentype), url(/legal/fonts/latin/firasans-light.woff) format(woff), url(/legal/fonts/latin/firasans-light.ttf) format(truetype), url(/legal/fonts/latin/firasans-light.svg#firasans-light) format(svg); }

@media (min-width: 321px) and (max-width: 480px) {
	#about-mozilla {
		display: none;
	}

	#main-content {
		-webkit-box-shadow: rgb(138, 155, 168) 0px 1px 5px;
		border-radius: 2px 2px;
		box-shadow: rgb(138, 155, 168) 0px 1px 5px;
		margin-top: 0px;
		max-width: 360px;
		min-height: 300px;
		min-width: 300px;
		padding-bottom: 10px;
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 45px;
		position: relative;
		top: -28px;
		width: 94%;
	}

	.static {
		-webkit-background-size: 48px 51px;
		background-position-x: 50%;
		background-position-y: 0%;
		background-repeat: no-repeat;
		background-size: 48px 51px;
		height: 51px;
		margin-top: 10px;
		top: 0px;
		width: 100%;
	}

	body {
		padding-bottom: 20px;
	}

	h1 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	html {
		background-color: rgb(242, 242, 242);
	}

}

@media (min-width: 481px) {
	#main-content {
		-webkit-box-shadow: rgb(138, 155, 168) 0px 1px 5px;
		border-radius: 4px 4px;
		box-shadow: rgb(138, 155, 168) 0px 1px 5px;
		margin-top: -5px;
		min-height: 450px;
		padding-bottom: 40px;
		padding-left: 40px;
		padding-right: 40px;
		padding-top: 60px;
		width: 420px;
	}

	.static {
		-webkit-background-size: 80px 85px;
		background-size: 80px 85px;
		height: 85px;
		margin-top: 0px;
		top: 40px;
		width: 80px;
	}

	body {
		padding-bottom: 20px;
	}

	h1 {
		font-size: 24px;
		margin-bottom: 32px;
	}

	html {
		background-color: rgb(242, 242, 242);
	}

}

@media (max-width: 319px) {
	#about-mozilla {
		display: none;
	}

	#main-content {
		-webkit-box-shadow: none;
		background-position-x: 0px;
		background-position-y: 0px;
		border-radius: 2px 2px;
		box-shadow: none;
		margin-top: 10px;
		max-width: 360px;
		min-height: 0px;
		min-width: 250px;
		padding: 0px;
		position: relative;
		top: 0px;
		width: 250px;
	}

	.static {
		-webkit-background-size: 48px 51px;
		background-position-x: 50%;
		background-position-y: 0%;
		background-repeat: no-repeat;
		background-size: 48px 51px;
		display: none;
		height: 51px;
		margin-top: 10px;
		top: 0px;
		width: 100%;
	}

	body {
		margin: 0px;
		padding: 0px;
	}

	h1 {
		font-size: 18px;
		margin-bottom: 10px;
	}

	html {
		background-color: rgb(255, 255, 255);
	}

}

#about-mozilla {
	-webkit-background-size: 69px 19px;
	-webkit-transition-duration: 150ms;
	-webkit-transition-property: opacity;
	background-image: url(/legal/images/mozilla.png);
	background-size: 69px 19px;
	height: 19px;
	opacity: 0.5;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 69px;
}

#main-content {
	background-color: rgb(255, 255, 255);
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

* {
	box-sizing: border-box;
}

.static {
	background-image: url(/legal/images/firefox.png);
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	opacity: 1;
	background-size: 102px 96px;
	height: 102px;
	width: 96px;
	position: relative;
	position: relative;
	z-index: 999;
}

a {
	color: rgb(0, 149, 221);
	cursor: pointer;
}

article {
	text-align: left;
}

body {
	color: rgb(66, 79, 89);
	font-family: 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 14px;
}

h1, h2 {
	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
	font-weight: 200;
	line-height: 1em;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
}

h3 {
	font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1em;
	margin: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 5px;
}

html {
	height: 100%;
}

ol {
	margin-left: 0px;
	padding-left: 20px;
}

p {
	font-size: 14px;
}

ul {
	margin-left: 0px;
	padding-left: 20px;
}