auth.scss 2.09 KB
Newer Older
Pham Huy committed
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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
body {
	background: #f1f1f1;
	box-shadow: none;
	margin: 100px auto 24px;
	padding: 0;
}

#wc-logo {
	border: 0;
	margin: 0 0 24px;
	padding: 0;
	text-align: center;

	img {
		max-width: 50%;
	}
}

.wc-auth-content {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
	overflow: hidden;
	padding: 24px 24px 0;
	zoom: 1;

	h1, h2, h3, table {
		border: 0;
		clear: none;
		color: #666;
		margin: 0 0 24px;
		padding: 0;
	}

	p, ul {
		color: #666;
		font-size: 1em;
		line-height: 1.75em;
		margin: 0 0 24px;
	}

	p {
		padding: 0;
	}

	a {
		color: #a16696;
		&:hover, &:focus {
			color: #111;
		}
	}

	.wc-auth-login {
		label {
			color: #999;
			display: block;
			margin-bottom: 0.5em;
		}

		input {
			box-sizing: border-box;
			font-size: 1.3em;
			padding: 0.5em;
			width: 100%;
		}

		.wc-auth-actions {
			padding: 0;

			.wc-auth-login-button {
				float: none;
				width: 100%;
			}
		}
	}
}
.wc-auth-permissions {
	list-style: disc inside;
	padding: 0;

	li {
		font-size: 1em;
	}
}
.wc-auth-logged-in-as {
	background: #f5f5f5;
	border-bottom: 2px solid #eee;
	line-height: 70px;
	margin: 0 0 24px;
	padding: 0 1em 0 0;

	p {
		margin: 0;
		line-height: 70px;
	}

	img {
		float: left;
		height: 70px;
		margin: 0 1em 0 0;
	}

	.wc-auth-logout {
		float: right;
	}
}
.wc-auth .wc-auth-actions {
	overflow: hidden;
	padding-left: 24px;

	.button {
		background: #f7f7f7;
		border-bottom-width: 2px;
		border: 1px solid #d7d7d7;
		box-sizing: border-box;
		color: #777;
		float: right;
		font-size: 1.25em;
		height: auto;
		line-height: 1em;
		padding: 1em 2em;
		text-align: center;
		width: 50%;

		&:hover, &:focus {
			background: #fcfcfc;
		}
	}
	.button-primary {
		background: #ad6ea1;
		border-color: #a16696;
		box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
		color: #fff;
		float: right;
		opacity: 1;
		text-shadow: 0 -1px 1px #8a4f7f, 1px 0 1px #8a4f7f, 0 1px 1px #8a4f7f, -1px 0 1px #8a4f7f;

		&:hover, &:focus {
			background: #b472a8;
			color: #fff;
		}
	}
	.wc-auth-approve {
		float: right;
	}
	.wc-auth-deny {
		float: left;
		margin-left: -24px;
	}
}