styles.module.scss
123 lines
| 1 | @import '../colors'; |
| 2 | |
| 3 | .overlay { |
| 4 | position: fixed; |
| 5 | top: 0; |
| 6 | left: 0; |
| 7 | width: 100%; |
| 8 | height: 100%; |
| 9 | z-index: 99999; |
| 10 | } |
| 11 | |
| 12 | .container { |
| 13 | display: block; |
| 14 | width: 100%; |
| 15 | height: 100%; |
| 16 | background-color: rgba(0, 0, 0, 0.7); |
| 17 | pointer-events: none; |
| 18 | } |
| 19 | |
| 20 | .modal { |
| 21 | display: block; |
| 22 | max-width: 600px; |
| 23 | width: 100%; |
| 24 | position: absolute; |
| 25 | top: 50%; |
| 26 | left: 50%; |
| 27 | transform: translate(-50%, -50%); |
| 28 | background-color: #fff; |
| 29 | border-top: 10px solid $info; |
| 30 | pointer-events: auto; |
| 31 | box-shadow: 0 3px 6px rgba(68, 68, 68, 0.8), 0 3px 6px rgba(68, 68, 68, 0.8); |
| 32 | } |
| 33 | |
| 34 | .content { |
| 35 | font-size: 16px; |
| 36 | padding: 20px; |
| 37 | position: relative; |
| 38 | } |
| 39 | |
| 40 | .innerContent { |
| 41 | padding: 20px 0; |
| 42 | } |
| 43 | |
| 44 | .textLeft { |
| 45 | text-align: left; |
| 46 | } |
| 47 | |
| 48 | .textRight { |
| 49 | text-align: right; |
| 50 | } |
| 51 | |
| 52 | .textCenter { |
| 53 | text-align: center; |
| 54 | } |
| 55 | |
| 56 | .title { |
| 57 | display: flex; |
| 58 | align-items: center; |
| 59 | width: 100%; |
| 60 | font-size: 18px; |
| 61 | font-weight: 600; |
| 62 | padding-bottom: 20px; |
| 63 | border-bottom: 1px solid #ddd; |
| 64 | margin-bottom: 20px; |
| 65 | } |
| 66 | |
| 67 | .closeIconContainer { |
| 68 | position: absolute; |
| 69 | right: 20px; |
| 70 | top: 15px; |
| 71 | } |
| 72 | |
| 73 | .close { |
| 74 | cursor: pointer; |
| 75 | span { |
| 76 | font-size: 30px; |
| 77 | color: #d3d3d3; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | .section { |
| 82 | margin-bottom: 25px; |
| 83 | |
| 84 | strong { |
| 85 | font-weight: 600; |
| 86 | display: block; |
| 87 | margin-bottom: 10px; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | .errorDetailsContainer { |
| 92 | background-color: #f1f1f1; |
| 93 | border-radius: 10px; |
| 94 | padding: 10px 20px; |
| 95 | height: auto; |
| 96 | min-height: 40px; |
| 97 | max-height: 240px; |
| 98 | overflow-x: auto; |
| 99 | font-size: 15px; |
| 100 | |
| 101 | span { |
| 102 | font-weight: 600; |
| 103 | margin-right: 10px; |
| 104 | margin-bottom: 10px; |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | .error { |
| 109 | border-top-color: $error; |
| 110 | } |
| 111 | |
| 112 | .warning { |
| 113 | border-top-color: $warning; |
| 114 | } |
| 115 | |
| 116 | .success { |
| 117 | border-top-color: $success; |
| 118 | } |
| 119 | |
| 120 | .http { |
| 121 | border-top-color: $http; |
| 122 | } |
| 123 |