Dixsie Wolmers | c15f66b | 2019-09-11 15:26:38 -0500 | [diff] [blame] | 1 | // TODO: replace cert table with table component |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 2 | .certificate__table { |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 3 | border-left: 1px solid $border-color-01; |
4 | border-right: 1px solid $border-color-01; | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 5 | .table__row-header { |
6 | width: 100%; | ||||
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 7 | border-bottom: 1px solid $border-color-01; |
8 | background-color: $primary-dark; | ||||
9 | color: $primary-light; | ||||
10 | font-weight: 700; | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 11 | } |
12 | .table__row-value { | ||||
13 | width: 100%; | ||||
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 14 | border-bottom: 1px solid $border-color-01; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 15 | } |
16 | .certificate__type-header { | ||||
17 | @include mediaQuery(small) { | ||||
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 18 | width: 18%; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 19 | background: transparent; |
20 | } | ||||
21 | width: 100%; | ||||
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 22 | padding: 0.8em; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 23 | padding-left: 1.5em; |
24 | } | ||||
Zbigniew Kurzynski | c81cdd4 | 2019-07-25 11:52:15 +0200 | [diff] [blame] | 25 | .certificate__issue-header { |
26 | display: none; | ||||
27 | padding: 0.8em; | ||||
28 | @include mediaQuery(small) { | ||||
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 29 | width: 18%; |
Zbigniew Kurzynski | c81cdd4 | 2019-07-25 11:52:15 +0200 | [diff] [blame] | 30 | display: block; |
31 | } | ||||
32 | } | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 33 | .certificate__date-header { |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 34 | padding: 0.8em; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 35 | @include mediaQuery(small) { |
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 36 | width: 11%; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 37 | display: block; |
38 | } | ||||
39 | display: none; | ||||
40 | } | ||||
41 | .certificate__status-header { | ||||
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 42 | padding: 0.8em; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 43 | @include mediaQuery(small) { |
44 | width: 5%; | ||||
45 | display: block; | ||||
46 | } | ||||
47 | display: none; | ||||
48 | } | ||||
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 49 | .certificate__actions-header { |
50 | padding: 0.8em; | ||||
51 | @include mediaQuery(small) { | ||||
52 | width: auto; | ||||
53 | padding-left: 30px; | ||||
54 | display: block; | ||||
55 | } | ||||
56 | display: none; | ||||
57 | } | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 58 | .certificate__type-cell { |
59 | width: 100%; | ||||
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 60 | padding: 0.8em 0.8em 0.8em 1.5em; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 61 | word-wrap: break-word; |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 62 | background: $background-02; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 63 | @include mediaQuery(small) { |
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 64 | width: 18%; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 65 | background: transparent; |
66 | } | ||||
67 | } | ||||
Zbigniew Kurzynski | c81cdd4 | 2019-07-25 11:52:15 +0200 | [diff] [blame] | 68 | .certificate__issue-cell { |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 69 | padding: 0.8em; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 70 | word-wrap: break-word; |
71 | @include mediaQuery(small) { | ||||
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 72 | width: 18%; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 73 | } |
74 | width: 70%; | ||||
75 | } | ||||
Zbigniew Kurzynski | c81cdd4 | 2019-07-25 11:52:15 +0200 | [diff] [blame] | 76 | .certificate__date-cell { |
77 | width: 70%; | ||||
78 | padding: 0.8em; | ||||
79 | word-wrap: break-word; | ||||
80 | @include mediaQuery(small) { | ||||
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 81 | width: 11%; |
Zbigniew Kurzynski | c81cdd4 | 2019-07-25 11:52:15 +0200 | [diff] [blame] | 82 | } |
83 | } | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 84 | .certificate__status-cell { |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 85 | padding: 0.8em; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 86 | @include mediaQuery(small) { |
87 | display: block; | ||||
88 | width: 5%; | ||||
89 | } | ||||
90 | display: none; | ||||
91 | } | ||||
Dixsie Wolmers | 1a2bd74 | 2019-09-09 14:42:27 -0500 | [diff] [blame] | 92 | .certificate__status-icon { |
93 | width: 1.2em; | ||||
94 | svg { | ||||
95 | margin-bottom: .2em; | ||||
96 | } | ||||
97 | } | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 98 | .certificate__buttons-cell { |
99 | @include mediaQuery(small) { | ||||
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 100 | padding: 0.2em 0 0 2em; |
101 | .btn { | ||||
102 | padding-left: 40px; | ||||
103 | padding-right: 5px; | ||||
104 | } | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 105 | } |
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 106 | display: block; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 107 | text-align: right; |
Zbigniew Kurzynski | f70f425 | 2019-10-23 14:05:58 +0200 | [diff] [blame] | 108 | padding: 0.3em 0.8em 0.8em 1.0em; |
109 | .btn { | ||||
110 | padding-left: 5px; | ||||
111 | padding-right: 5px; | ||||
112 | } | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 113 | } |
114 | .certificate__title-inline { | ||||
115 | @include mediaQuery(small) { | ||||
116 | display: none; | ||||
117 | } | ||||
118 | width: 30%; | ||||
119 | display: block; | ||||
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 120 | padding: 0.8em 0.8em 0.8em 1.5em; |
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 121 | } |
122 | .upload__certificate { | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 123 | width: 100%; |
Yoshie Muranaka | 6f7ec80 | 2019-06-24 14:35:41 -0500 | [diff] [blame] | 124 | background: $background-02; |
Dixsie Wolmers | c15f66b | 2019-09-11 15:26:38 -0500 | [diff] [blame] | 125 | padding: 0.8em 1.8em 0.8em 0.8em; |
126 | height: 4rem; | ||||
127 | display: flex; | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 128 | } |
Dixsie Wolmers | c15f66b | 2019-09-11 15:26:38 -0500 | [diff] [blame] | 129 | .replace-btn { |
130 | margin-left: auto; | ||||
beccabroek | 309b5da | 2018-11-07 12:22:31 -0600 | [diff] [blame] | 131 | } |
132 | } | ||||
miramurali23 | 5e8785d | 2019-06-10 15:09:27 -0500 | [diff] [blame] | 133 | |
Dixsie Wolmers | c15f66b | 2019-09-11 15:26:38 -0500 | [diff] [blame] | 134 | .cert-dropdown{ |
135 | margin-bottom: 0; | ||||
miramurali23 | 5e8785d | 2019-06-10 15:09:27 -0500 | [diff] [blame] | 136 | } |
137 | |||||
Dixsie Wolmers | c15f66b | 2019-09-11 15:26:38 -0500 | [diff] [blame] | 138 | // TODO: Update CSR modal with global form-field styles |
miramurali23 | 5e8785d | 2019-06-10 15:09:27 -0500 | [diff] [blame] | 139 | .add-csr__section:first-of-type { |
140 | padding-left: 0; | ||||
141 | } | ||||
142 | |||||
143 | .add-csr__section:last-of-type { | ||||
144 | margin-top: 2rem; | ||||
145 | padding-right: 0; | ||||
146 | |||||
147 | @media (min-width: 640px) { | ||||
148 | margin-top: 0; | ||||
149 | } | ||||
150 | } | ||||
151 | |||||
miramurali23 | 5e8785d | 2019-06-10 15:09:27 -0500 | [diff] [blame] | 152 | .add-csr__section--border { |
153 | @media (min-width: 640px) { | ||||
154 | padding-left: 2rem; | ||||
155 | border-left: 1px solid $base-02--04; | ||||
156 | } | ||||
157 | } | ||||
158 | |||||
miramurali23 | 5e8785d | 2019-06-10 15:09:27 -0500 | [diff] [blame] | 159 | .add-csr__text-helper { |
160 | color: $base-02--02; | ||||
161 | font-weight: 400; | ||||
162 | font-size: 14px; | ||||
163 | line-height: 1.2; | ||||
164 | margin-bottom: .5em; | ||||
165 | } | ||||
166 | |||||
167 | input.add-csr__input, | ||||
168 | select.add-csr__select { | ||||
169 | width: 100%; | ||||
170 | margin-bottom: 0; | ||||
171 | max-height: none; | ||||
172 | height: auto; | ||||
173 | } | ||||
174 | |||||
175 | .select.add-csr__select { | ||||
176 | line-height: 1.15; | ||||
177 | } | ||||
178 | |||||
179 | input.add-csr__input-no-validation { | ||||
180 | margin-bottom: 1.7rem; | ||||
181 | } | ||||
182 | |||||
183 | .add-csr__additional-alt-names { | ||||
184 | display: flex; | ||||
185 | } | ||||
186 | |||||
187 | .add-csr__alt-name-add-btn { | ||||
188 | padding: 0; | ||||
189 | @media (min-width: 640px) { | ||||
190 | margin: 1.9rem 0; | ||||
191 | } | ||||
192 | } | ||||
193 | |||||
194 | .add-csr__alt-name-delete-btn { | ||||
Dixsie Wolmers | c15f66b | 2019-09-11 15:26:38 -0500 | [diff] [blame] | 195 | height: 34px; |
196 | padding: 0 0 0 1rem; | ||||
miramurali23 | 5e8785d | 2019-06-10 15:09:27 -0500 | [diff] [blame] | 197 | icon { |
198 | margin-right: 0; | ||||
199 | } | ||||
200 | } | ||||
201 | |||||
202 | .add-csr-code__header { | ||||
203 | margin-top: 1em; | ||||
204 | } | ||||
205 | |||||
206 | .add-csr__container-csr-code { | ||||
207 | white-space: pre-wrap; | ||||
208 | } | ||||
209 | |||||
210 | .add-csr__text-download { | ||||
211 | color: $base-02--08; | ||||
212 | } | ||||
213 | |||||
214 | select.add-csr__multiselect { | ||||
215 | height: 14rem; | ||||
216 | } |