File size: 1,891 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
@import "@automattic/typography/styles/variables";
@import "@wordpress/base-styles/breakpoints";
@import "@automattic/typography/styles/fonts";
@import "@wordpress/base-styles/mixins";
@import "@wordpress/base-styles/colors";

.domains-table-header {
	font-size: $font-body-small;
	font-weight: 500;
	color: var(--color-neutral-60);
	border-bottom: 1px solid var(--color-border-secondary);

	position: sticky;
	top: var(--masterbar-height);
	background: var(--color-surface-backdrop);
	z-index: 1;

	th {
		padding: 16px 0;
		color: var(--studio-gray-60);
		display: flex;
		align-items: center;
		font-size: $font-body-small;
		font-style: normal;
		font-weight: 500;
		line-height: 20px;
	}

	.button-plain {
		text-align: left;
		line-height: 20px;
		letter-spacing: -0.15px;

		&:focus {
			outline: thin dotted;
		}
	}

	.list__header-column {
		color: var(--studio-gray-80);
		font-size: rem(11px);
		font-style: normal;
		font-weight: 500;
		line-height: 20px;
		text-transform: uppercase;
		display: flex;
		align-items: center;
		&.is-sortable {
			cursor: pointer;
		}
	}

	&.domains-table-header__mobile {
		display: flex;
		padding: 16px;
		.select-dropdown {
			width: 100%;
			.select-dropdown__container {
				width: 100%;
			}
		}
	}

	&.domains-table-header__mobile.hide-when-one-domains {
		display: none;
	}

	@include break-large {
		&.domains-table-header__mobile {
			display: none;
		}
	}

	.list-status-cell__bubble {
		display: flex;
		width: 28px;
		background: var(--studio-red-40);
		border-radius: 16px; /* stylelint-disable-line scales/radii */
		justify-content: center;
		align-items: center;
		color: #fff;
		font-size: $font-body-extra-small;
		height: 18px;
		margin: 0 4px;
		line-height: 20px;
	}
}

.domains-table-header-loading-placeholder {
	th {
		width: 77px;

		&.domains-table-header-loading-placeholder-checkbox-column {
			width: 20px;
		}
	}
}