File size: 2,175 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
@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";

.advanced-credentials {
	.step-progress {
		margin-top: 16px;
		margin-bottom: 16px;

		font-style: bold;

		.step-progress__element-number-complete {
			background-color: var(--studio-jetpack-green-50);
			color: var(--studio-white);
		}
		.step-progress__element-number-current {
			background-color: var(--studio-white);
			border: 3px solid var(--color-neutral-70);
			color: var(--color-neutral-7);
		}
		.step-progress__element-number {
			background-color: var(--color-neutral-10);
		}
	}

	// remove the margin for everything at smaller widths
	margin-left: -16px;
	margin-right: -16px;

	@include break-medium {
		margin-left: auto;
		margin-right: auto;
	}
}

.advanced-credentials__server-connection-status {
	margin-bottom: 0;
}

.advanced-credentials__server-connection-status-content {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.advanced-credentials__server-connection-status-content h3 {
	font-size: $font-body;
}

.advanced-credentials__connected {
	display: flex;
	align-items: center;
	text-align: left;
	font-weight: normal;

	.gridicon {
		flex-shrink: 0;
	}
}

.connection-status__failed,
.connection-status__connected,
.connection-status__connecting,
.connection-status__disconnected,
.connection-status__loading {
	display: flex;
	*:not(:first-child) {
		margin-left: 8px;
	}
	svg {
		height: 16px;
		width: 16px;
	}
	align-items: center;
}

.connection-status__failed,
.connection-status__disconnected {
	color: var(--color-error);
	fill: var(--color-error);
}

.connection-status__connecting {
	color: var(--color-warning);
	fill: var(--color-warning);
}

.connection-status__connected {
	color: var(--studio-jetpack-green-50);
	fill: var(--studio-jetpack-green-50);
}

.connection-status__loading {
	circle {
		@include placeholder();
		fill: var(--color-neutral-5);
	}
	span {
		color: var(--color-neutral-5);
	}
}

.advanced-credentials.alternate .credentials-form__buttons-flex {
	justify-content: flex-start;
}

.advanced-credentials.alternate .credentials-form__buttons-flex .button:not(:first-child) {
	margin-left: 8px;
}