styles.module.scss
129 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 | max-height: calc(100% - 2rem); |
| 24 | overflow-y: auto; |
| 25 | width: 100%; |
| 26 | position: absolute; |
| 27 | top: 50%; |
| 28 | left: 50%; |
| 29 | transform: translate(-50%, -50%); |
| 30 | background-color: #fff; |
| 31 | border-top: 10px solid $info; |
| 32 | pointer-events: auto; |
| 33 | box-shadow: 0 3px 6px rgba(68, 68, 68, 0.8), 0 3px 6px rgba(68, 68, 68, 0.8); |
| 34 | } |
| 35 | |
| 36 | .content { |
| 37 | font-size: 16px; |
| 38 | padding: 20px; |
| 39 | position: relative; |
| 40 | } |
| 41 | |
| 42 | .innerContent { |
| 43 | padding: 20px 0; |
| 44 | } |
| 45 | |
| 46 | .textLeft { |
| 47 | text-align: left; |
| 48 | } |
| 49 | |
| 50 | .textRight { |
| 51 | text-align: right; |
| 52 | } |
| 53 | |
| 54 | .textCenter { |
| 55 | text-align: center; |
| 56 | } |
| 57 | |
| 58 | .title { |
| 59 | display: flex; |
| 60 | align-items: center; |
| 61 | width: 100%; |
| 62 | font-size: 18px; |
| 63 | font-weight: 600; |
| 64 | padding-bottom: 20px; |
| 65 | border-bottom: 1px solid #ddd; |
| 66 | margin-bottom: 20px; |
| 67 | } |
| 68 | |
| 69 | .closeIconContainer { |
| 70 | position: absolute; |
| 71 | right: 20px; |
| 72 | top: 15px; |
| 73 | } |
| 74 | |
| 75 | .close { |
| 76 | cursor: pointer; |
| 77 | span { |
| 78 | font-size: 30px; |
| 79 | color: #d3d3d3; |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | .section { |
| 84 | margin-bottom: 25px; |
| 85 | |
| 86 | strong { |
| 87 | font-weight: 600; |
| 88 | display: block; |
| 89 | margin-bottom: 10px; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | .errorDetailsContainer { |
| 94 | background-color: #f1f1f1; |
| 95 | border-radius: 10px; |
| 96 | padding: 10px 20px; |
| 97 | height: auto; |
| 98 | min-height: 40px; |
| 99 | max-height: 500px; |
| 100 | overflow-x: auto; |
| 101 | font-size: 15px; |
| 102 | |
| 103 | span { |
| 104 | font-weight: 600; |
| 105 | margin-right: 10px; |
| 106 | margin-bottom: 10px; |
| 107 | } |
| 108 | |
| 109 | pre { |
| 110 | white-space: break-spaces; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | .error { |
| 115 | border-top-color: $error; |
| 116 | } |
| 117 | |
| 118 | .warning { |
| 119 | border-top-color: $warning; |
| 120 | } |
| 121 | |
| 122 | .success { |
| 123 | border-top-color: $success; |
| 124 | } |
| 125 | |
| 126 | .http { |
| 127 | border-top-color: $http; |
| 128 | } |
| 129 |