blob: 650465f266c69a5fb23808e8d37d0b3c6edbfac0 [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 }
83 .certificate__buttons-cell {
84 @include mediaQuery(small) {
85 width: 10%;
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020086 padding-top: 0.5em;
beccabroek309b5da2018-11-07 12:22:31 -060087 }
88 width: 100%;
89 text-align: right;
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020090 padding: 0 1.5em 0 0;
beccabroek309b5da2018-11-07 12:22:31 -060091 }
92 .certificate__title-inline {
93 @include mediaQuery(small) {
94 display: none;
95 }
96 width: 30%;
97 display: block;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050098 padding: 0.8em 0.8em 0.8em 1.5em;
beccabroek309b5da2018-11-07 12:22:31 -060099 }
100 .upload__certificate {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500101 border-top: 1px solid $border-color-01;
beccabroek309b5da2018-11-07 12:22:31 -0600102 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500103 background: $background-02;
104 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -0600105 }
106}
107.certificate__upload-chooser {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500108 background: $background-02;
beccabroek309b5da2018-11-07 12:22:31 -0600109}
110
miramurali235e8785d2019-06-10 15:09:27 -0500111
112.certificate__close-modal {
113 float: right;
114 position: relative;
115 bottom: 1rem;
116 left: 2rem;
117}
118
beccabroek309b5da2018-11-07 12:22:31 -0600119.add__certificate__modal {
120 select {
121 margin-bottom: 0;
122 }
123 .file__upload {
124 margin-bottom: 2em;
125 }
126 .select__new-label {
127 margin-bottom: 1em;
128 }
129 .select__new-button {
130 font-size: 1.2em;
131 }
132 .file__name {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500133 background-color: $background-02;
134 padding: 0.5em;
beccabroek309b5da2018-11-07 12:22:31 -0600135 }
136}
miramurali235e8785d2019-06-10 15:09:27 -0500137
138.add-certificate__section {
139 padding-left: 0;
140}
141
142// Combinator needed to match specificity
143// of default modal settings
144.modal.add-csr__modal {
145 width: 100%;
146 max-height: 100vh;
147 overflow-y: auto;
148 z-index: 1001;
149}
150
151.add-csr__section:first-of-type {
152 padding-left: 0;
153}
154
155.add-csr__section:last-of-type {
156 margin-top: 2rem;
157 padding-right: 0;
158
159 @media (min-width: 640px) {
160 margin-top: 0;
161 }
162}
163
164.add-csr__section-title {
165 margin-bottom: 1rem;
166 font-weight: 700;
167}
168
169.add-csr__section--border {
170 @media (min-width: 640px) {
171 padding-left: 2rem;
172 border-left: 1px solid $base-02--04;
173 }
174}
175
176.add-csr__label {
177 white-space: nowrap;
178 display: inline-block;
179}
180
181.add-csr__text-helper {
182 color: $base-02--02;
183 font-weight: 400;
184 font-size: 14px;
185 line-height: 1.2;
186 margin-bottom: .5em;
187}
188
189input.add-csr__input,
190select.add-csr__select {
191 width: 100%;
192 margin-bottom: 0;
193 max-height: none;
194 height: auto;
195}
196
197.select.add-csr__select {
198 line-height: 1.15;
199}
200
201input.add-csr__input-no-validation {
202 margin-bottom: 1.7rem;
203}
204
205.add-csr__additional-alt-names {
206 display: flex;
207}
208
209.add-csr__alt-name-add-btn {
210 padding: 0;
211 @media (min-width: 640px) {
212 margin: 1.9rem 0;
213 }
214}
215
216.add-csr__alt-name-delete-btn {
217 width: 20px;
218 height: 30px;
219 padding: 0;
220
221 icon {
222 margin-right: 0;
223 }
224}
225
226.add-csr-code__header {
227 margin-top: 1em;
228}
229
230.add-csr__container-csr-code {
231 white-space: pre-wrap;
232}
233
234.add-csr__text-download {
235 color: $base-02--08;
236}
237
238select.add-csr__multiselect {
239 height: 14rem;
240}