File size: 2,063 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.security-2fa-backup-codes-list {
	@include clear-fix;
}

.security-2fa-backup-codes-list__print-agreement {
	display: block;
	margin-bottom: 1.5em;

	.form-label {
		font-weight: normal;
		display: inline-block;
	}
}

@include breakpoint-deprecated( "<480px" ) {
	.security-2fa-backup-codes-list__btn-group .button {
		display: inline-block;
	}
}

.security-2fa-backup-codes-list__generate {
	margin-top: 20px;
}

button.security-2fa-backups-codes-list__generate-button {
	margin-left: 0;
}

.security-2fa-backup-codes-list__codes {
	background: var(--color-neutral-0);
	list-style-type: none;
	padding: 20px;
	margin-left: 0;
	overflow: hidden;
}

.security-2fa-backup-codes-list__codes li {
	color: var(--color-neutral-70);
	float: left;
	font-size: $font-title-small;
	font-weight: 600;
	line-height: 28px;
	width: 50%;

	&.is-placeholder span {
		color: transparent;
		background-color: var(--color-neutral-0);
		animation: loading-fade 1.6s ease-in-out infinite;

		&::before {
			content: " ";
			display: inline-block;
			width: 5em;
		}
	}

	&::before {
		color: var(--color-neutral-10);
		display: inline-block;
		font-weight: normal;
		margin-right: 10px;
		text-align: right;
		width: 25px;
	}

	&:first-child::before {
		content: "1.";
	}

	&:nth-of-type(2)::before {
		content: "6.";
	}

	&:nth-of-type(3)::before {
		content: "2.";
	}

	&:nth-of-type(4)::before {
		content: "7.";
	}

	&:nth-of-type(5)::before {
		content: "3.";
	}

	&:nth-of-type(6)::before {
		content: "8.";
	}

	&:nth-of-type(7)::before {
		content: "4.";
	}

	&:nth-of-type(8)::before {
		content: "9.";
	}

	&:nth-of-type(9)::before {
		content: "5.";
	}

	&:nth-of-type(10)::before {
		content: "10.";
	}
}

.security-2fa-backup-codes-list__warning {
	font-size: 75%;

	.gridicon {
		fill: var(--color-error);
		margin-right: 8px;
		vertical-align: middle;

		&::before {
			position: relative;
			top: 1px;
		}
	}
}

.security-2fa-backup-codes-list__buttons {
	display: flex;
	justify-content: flex-end;

	.security-2fa-backup-codes-list__next {
		margin-left: 10px;
	}
}