blob: a7c57f2eb1318200d9bd2fa036d0aa62031e23a3 [file] [log] [blame]
beccabroek309b5da2018-11-07 12:22:31 -06001.certificate__table {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -05002 border-left: 1px solid $border-color-01;
3 border-right: 1px solid $border-color-01;
4 margin-top: 0.5em;
beccabroek309b5da2018-11-07 12:22:31 -06005 .table__row-header {
6 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -05007 border-bottom: 1px solid $border-color-01;
8 background-color: $primary-dark;
9 color: $primary-light;
10 font-weight: 700;
beccabroek309b5da2018-11-07 12:22:31 -060011 }
12 .table__row-value {
13 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050014 border-bottom: 1px solid $border-color-01;
beccabroek309b5da2018-11-07 12:22:31 -060015 }
16 .certificate__type-header {
17 @include mediaQuery(small) {
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020018 width: 20%;
beccabroek309b5da2018-11-07 12:22:31 -060019 background: transparent;
20 }
21 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050022 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -060023 padding-left: 1.5em;
24 }
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020025 .certificate__issue-header {
26 display: none;
27 padding: 0.8em;
28 @include mediaQuery(small) {
29 width: 20%;
30 display: block;
31 }
32 }
beccabroek309b5da2018-11-07 12:22:31 -060033 .certificate__date-header {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050034 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -060035 @include mediaQuery(small) {
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020036 width: 12%;
beccabroek309b5da2018-11-07 12:22:31 -060037 display: block;
38 }
39 display: none;
40 }
41 .certificate__status-header {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050042 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -060043 @include mediaQuery(small) {
44 width: 5%;
45 display: block;
46 }
47 display: none;
48 }
49 .certificate__type-cell {
50 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050051 padding: 0.8em 0.8em 0.8em 1.5em;
beccabroek309b5da2018-11-07 12:22:31 -060052 word-wrap: break-word;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050053 background: $background-02;
beccabroek309b5da2018-11-07 12:22:31 -060054 @include mediaQuery(small) {
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020055 width: 20%;
beccabroek309b5da2018-11-07 12:22:31 -060056 background: transparent;
57 }
58 }
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020059 .certificate__issue-cell {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050060 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -060061 word-wrap: break-word;
62 @include mediaQuery(small) {
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020063 width: 20%;
beccabroek309b5da2018-11-07 12:22:31 -060064 }
65 width: 70%;
66 }
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020067 .certificate__date-cell {
68 width: 70%;
69 padding: 0.8em;
70 word-wrap: break-word;
71 @include mediaQuery(small) {
72 width: 12%;
73 }
74 }
beccabroek309b5da2018-11-07 12:22:31 -060075 .certificate__status-cell {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050076 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -060077 @include mediaQuery(small) {
78 display: block;
79 width: 5%;
80 }
81 display: none;
82 }
Dixsie Wolmers1a2bd742019-09-09 14:42:27 -050083 .certificate__status-icon {
84 width: 1.2em;
85 svg {
86 margin-bottom: .2em;
87 }
88 }
beccabroek309b5da2018-11-07 12:22:31 -060089 .certificate__buttons-cell {
90 @include mediaQuery(small) {
91 width: 10%;
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020092 padding-top: 0.5em;
beccabroek309b5da2018-11-07 12:22:31 -060093 }
94 width: 100%;
95 text-align: right;
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020096 padding: 0 1.5em 0 0;
beccabroek309b5da2018-11-07 12:22:31 -060097 }
98 .certificate__title-inline {
99 @include mediaQuery(small) {
100 display: none;
101 }
102 width: 30%;
103 display: block;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500104 padding: 0.8em 0.8em 0.8em 1.5em;
beccabroek309b5da2018-11-07 12:22:31 -0600105 }
106 .upload__certificate {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500107 border-top: 1px solid $border-color-01;
beccabroek309b5da2018-11-07 12:22:31 -0600108 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500109 background: $background-02;
110 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -0600111 }
112}
113.certificate__upload-chooser {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500114 background: $background-02;
beccabroek309b5da2018-11-07 12:22:31 -0600115}
116
miramurali235e8785d2019-06-10 15:09:27 -0500117
118.certificate__close-modal {
119 float: right;
120 position: relative;
121 bottom: 1rem;
122 left: 2rem;
123}
miramurali23219738d2019-08-15 16:22:06 -0400124.certificate__table__icon {
125 margin-left: 1.5em;
126 margin-bottom: .4em;
127}
miramurali235e8785d2019-06-10 15:09:27 -0500128
beccabroek309b5da2018-11-07 12:22:31 -0600129.add__certificate__modal {
130 select {
131 margin-bottom: 0;
132 }
133 .file__upload {
134 margin-bottom: 2em;
135 }
136 .select__new-label {
137 margin-bottom: 1em;
138 }
139 .select__new-button {
140 font-size: 1.2em;
141 }
142 .file__name {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500143 background-color: $background-02;
144 padding: 0.5em;
beccabroek309b5da2018-11-07 12:22:31 -0600145 }
146}
miramurali235e8785d2019-06-10 15:09:27 -0500147
148.add-certificate__section {
149 padding-left: 0;
150}
151
152// Combinator needed to match specificity
153// of default modal settings
154.modal.add-csr__modal {
155 width: 100%;
156 max-height: 100vh;
157 overflow-y: auto;
158 z-index: 1001;
159}
160
161.add-csr__section:first-of-type {
162 padding-left: 0;
163}
164
165.add-csr__section:last-of-type {
166 margin-top: 2rem;
167 padding-right: 0;
168
169 @media (min-width: 640px) {
170 margin-top: 0;
171 }
172}
173
174.add-csr__section-title {
175 margin-bottom: 1rem;
176 font-weight: 700;
177}
178
179.add-csr__section--border {
180 @media (min-width: 640px) {
181 padding-left: 2rem;
182 border-left: 1px solid $base-02--04;
183 }
184}
185
186.add-csr__label {
187 white-space: nowrap;
188 display: inline-block;
189}
190
191.add-csr__text-helper {
192 color: $base-02--02;
193 font-weight: 400;
194 font-size: 14px;
195 line-height: 1.2;
196 margin-bottom: .5em;
197}
198
199input.add-csr__input,
200select.add-csr__select {
201 width: 100%;
202 margin-bottom: 0;
203 max-height: none;
204 height: auto;
205}
206
207.select.add-csr__select {
208 line-height: 1.15;
209}
210
211input.add-csr__input-no-validation {
212 margin-bottom: 1.7rem;
213}
214
215.add-csr__additional-alt-names {
216 display: flex;
217}
218
219.add-csr__alt-name-add-btn {
220 padding: 0;
221 @media (min-width: 640px) {
222 margin: 1.9rem 0;
223 }
224}
225
226.add-csr__alt-name-delete-btn {
227 width: 20px;
228 height: 30px;
229 padding: 0;
230
231 icon {
232 margin-right: 0;
233 }
234}
235
236.add-csr-code__header {
237 margin-top: 1em;
238}
239
240.add-csr__container-csr-code {
241 white-space: pre-wrap;
242}
243
244.add-csr__text-download {
245 color: $base-02--08;
246}
247
248select.add-csr__multiselect {
249 height: 14rem;
250}