File size: 2,326 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
131
132
133
134
135
136
137
138
/**
 * New components style
 	- it's mostly style overrides
 */

// ActionCard component
.card.action-card {
	box-shadow: 0 1px 0 var(--studio-gray-5);

	&.is-compact {
		display: flex;
		padding: 12px 0;
	}

	&:last-child {
		box-shadow: none;
	}

	.action-card__heading {
		margin: 0 0 2px;
		/* stylelint-disable-next-line declaration-property-unit-allowed-list */
		line-height: 1.2em;
		color: 0 1px 0 var(--studio-gray-100);
	}

	.action-card__main p {
		color: var(--studio-gray-40);
		font-size: 0.875em;
		margin-bottom: 0;
	}

	.action-card__button-container {
		text-align: right;
		margin-bottom: 0;
	}

	.action-card__button-container a,
	.action-card__button-container button {
		text-align: right;
		padding-right: 0;
		border: none;
	}

	.action-card__button-container a svg,
	.action-card__button-container button svg {
		fill: var(--studio-gray-30);
	}
}

// Modal component
.components-modal__frame.components-modal-new__frame {
	border-radius: 4px;

	p {
		font-size: 1rem;
		color: var(--studio-gray-70);
		margin-bottom: 1em;

		@include break-small {
			font-size: 1.125rem; /* stylelint-disable-line scales/font-sizes */
			/* stylelint-disable-next-line declaration-property-unit-allowed-list */
			line-height: 1.4444em;
		}
	}

	strong {
		font-weight: 500;
	}

	.components-modal__content {
		display: block;
		margin-top: 0;
		padding: 40px;
		overflow: auto;

		&::before {
			margin: 0;
		}
	}

	.components-modal__header {
		position: static;
		display: block;
		height: auto;
		border: none;
		margin-top: 0;
		padding: 0;

		button {
			position: absolute;
			top: 10px;
			right: 10px;
			left: auto;
			padding: 0;

			svg {
				width: 34px;
				height: 34px;
			}
		}

		.components-modal__header-heading-container {
			display: block;
		}

		.components-modal__header-heading {
			font-size: 2rem;
			font-weight: normal;
			/* stylelint-disable-next-line declaration-property-unit-allowed-list */
			line-height: 1.25em;
			margin-bottom: 0.75em;
		}

	}

	.components-modal__button-actions {
		text-align: right;
		margin-top: 2.5rem;

		& > button:not(:last-child) {
			margin-right: 1rem;
		}

		button {
			border-radius: 4px;
			font-weight: 500;
		}

		.action-buttons__cancel {
			color: var(--studio-gray-100);
		}

		.action-buttons__next.is-primary {
			border: none;
		}
	}
}