summaryrefslogtreecommitdiff
blob: 95a3d663857eedad6740cb6d32d435506853dbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// ==========================================================================
// Jetpack Connection Landing Page ('Please connect jetpack')
//===========================================================================

// ==========================================================================
// Jetpack NUX Page(s) (main jetpack admin page + jumpstart)
//===========================================================================

// Needs to be cleaned. Let's remove those important tags and unneeded classes that we can utilize from core. Properly nest elements. migrate into _main.scss
// Once everything is tested, I'll remove all the comments below as well. - @jeffgolenski

// wrapping these common element names temporarily until I can audit - jeff
.jp-content {
	.hide {
		display: none;
	}

	.landing {
		margin: 0 auto;
		z-index: 2;
		position: relative;
	}

	h1 {
		font-weight: 400;
		line-height: 1.75em;
		position: relative;
		z-index: 3;
		width: 100%;
		text-align: center;

		&.success {
			color: $green;
		}
	}
	.footer {
		padding-top: 0;
		margin-top: 0;
		background-image: none;

		&:before {
			height: inherit;
		}
	}

	.more-info:before {
		content: none;
	}
} //.jp-content

.landing {
	.wpcom-connect {
		min-height: 400px;
	}
}

.wpcom-connect {
	.j-col {
		padding: 0;
	}
}

// Breakpoints
@include breakpoint(large-desktop) {
	.jp-content {
		.landing {
			padding: 0 2em;
		}

		.footer {
			padding-top: 1.5em;
		}
	}
} // large-desktop

@include breakpoint(large-phone) {
	.jp-content {
		.landing {
			padding: 0 .5em;
		}
	}
} // large-phone