blob: cf3ab37422a0467c7197da81398442db820279f7 [file] [log] [blame]
Dixsie Wolmersc15f66b2019-09-11 15:26:38 -05001// TODO: replace cert table with table component
beccabroek309b5da2018-11-07 12:22:31 -06002.certificate__table {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -05003 border-left: 1px solid $border-color-01;
4 border-right: 1px solid $border-color-01;
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 Kurzynskif70f4252019-10-23 14:05:58 +020018 width: 18%;
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) {
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +020029 width: 18%;
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020030 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 Kurzynskif70f4252019-10-23 14:05:58 +020036 width: 11%;
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 }
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +020049 .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 }
beccabroek309b5da2018-11-07 12:22:31 -060058 .certificate__type-cell {
59 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050060 padding: 0.8em 0.8em 0.8em 1.5em;
beccabroek309b5da2018-11-07 12:22:31 -060061 word-wrap: break-word;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050062 background: $background-02;
beccabroek309b5da2018-11-07 12:22:31 -060063 @include mediaQuery(small) {
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +020064 width: 18%;
beccabroek309b5da2018-11-07 12:22:31 -060065 background: transparent;
66 }
67 }
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020068 .certificate__issue-cell {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050069 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -060070 word-wrap: break-word;
71 @include mediaQuery(small) {
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +020072 width: 18%;
beccabroek309b5da2018-11-07 12:22:31 -060073 }
74 width: 70%;
75 }
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020076 .certificate__date-cell {
77 width: 70%;
78 padding: 0.8em;
79 word-wrap: break-word;
80 @include mediaQuery(small) {
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +020081 width: 11%;
Zbigniew Kurzynskic81cdd42019-07-25 11:52:15 +020082 }
83 }
beccabroek309b5da2018-11-07 12:22:31 -060084 .certificate__status-cell {
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -050085 padding: 0.8em;
beccabroek309b5da2018-11-07 12:22:31 -060086 @include mediaQuery(small) {
87 display: block;
88 width: 5%;
89 }
90 display: none;
91 }
Dixsie Wolmers1a2bd742019-09-09 14:42:27 -050092 .certificate__status-icon {
93 width: 1.2em;
94 svg {
95 margin-bottom: .2em;
96 }
97 }
beccabroek309b5da2018-11-07 12:22:31 -060098 .certificate__buttons-cell {
99 @include mediaQuery(small) {
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +0200100 padding: 0.2em 0 0 2em;
101 .btn {
102 padding-left: 40px;
103 padding-right: 5px;
104 }
beccabroek309b5da2018-11-07 12:22:31 -0600105 }
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +0200106 display: block;
beccabroek309b5da2018-11-07 12:22:31 -0600107 text-align: right;
Zbigniew Kurzynskif70f4252019-10-23 14:05:58 +0200108 padding: 0.3em 0.8em 0.8em 1.0em;
109 .btn {
110 padding-left: 5px;
111 padding-right: 5px;
112 }
beccabroek309b5da2018-11-07 12:22:31 -0600113 }
114 .certificate__title-inline {
115 @include mediaQuery(small) {
116 display: none;
117 }
118 width: 30%;
119 display: block;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500120 padding: 0.8em 0.8em 0.8em 1.5em;
beccabroek309b5da2018-11-07 12:22:31 -0600121 }
122 .upload__certificate {
beccabroek309b5da2018-11-07 12:22:31 -0600123 width: 100%;
Yoshie Muranaka6f7ec802019-06-24 14:35:41 -0500124 background: $background-02;
Dixsie Wolmersc15f66b2019-09-11 15:26:38 -0500125 padding: 0.8em 1.8em 0.8em 0.8em;
126 height: 4rem;
127 display: flex;
beccabroek309b5da2018-11-07 12:22:31 -0600128 }
Dixsie Wolmersc15f66b2019-09-11 15:26:38 -0500129 .replace-btn {
130 margin-left: auto;
beccabroek309b5da2018-11-07 12:22:31 -0600131 }
132}
miramurali235e8785d2019-06-10 15:09:27 -0500133
Dixsie Wolmersc15f66b2019-09-11 15:26:38 -0500134.cert-dropdown{
135 margin-bottom: 0;
miramurali235e8785d2019-06-10 15:09:27 -0500136}
137
Dixsie Wolmersc15f66b2019-09-11 15:26:38 -0500138// TODO: Update CSR modal with global form-field styles
miramurali235e8785d2019-06-10 15:09:27 -0500139.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
miramurali235e8785d2019-06-10 15:09:27 -0500152.add-csr__section--border {
153 @media (min-width: 640px) {
154 padding-left: 2rem;
155 border-left: 1px solid $base-02--04;
156 }
157}
158
miramurali235e8785d2019-06-10 15:09:27 -0500159.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
167input.add-csr__input,
168select.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
179input.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 Wolmersc15f66b2019-09-11 15:26:38 -0500195 height: 34px;
196 padding: 0 0 0 1rem;
miramurali235e8785d2019-06-10 15:09:27 -0500197 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
214select.add-csr__multiselect {
215 height: 14rem;
216}