style.module.scss
219 lines
| 1 | .notesContainer { |
| 2 | display: flex; |
| 3 | flex-direction: column; |
| 4 | width: 100%; |
| 5 | gap: 0.75rem; |
| 6 | } |
| 7 | |
| 8 | .addNoteContainer { |
| 9 | display: flex; |
| 10 | width: 100%; |
| 11 | flex-direction: column; |
| 12 | gap: 0.75rem; |
| 13 | } |
| 14 | |
| 15 | .textarea { |
| 16 | font-size: 1rem; |
| 17 | line-height: 1.5; |
| 18 | font-weight: 500; |
| 19 | color: var(--givewp-neutral-900); |
| 20 | width: 100%; |
| 21 | padding: var(--givewp-spacing-3) var(--givewp-spacing-4); |
| 22 | } |
| 23 | |
| 24 | .textAreaButtons { |
| 25 | display: flex; |
| 26 | gap: var(--givewp-spacing-2); |
| 27 | align-items: center; |
| 28 | } |
| 29 | |
| 30 | .button { |
| 31 | padding: var(--givewp-spacing-2) var(--givewp-spacing-4); |
| 32 | border-radius: 4px; |
| 33 | cursor: pointer; |
| 34 | font-size: 0.875rem; |
| 35 | line-height: 1.43; |
| 36 | font-weight: 500; |
| 37 | } |
| 38 | |
| 39 | .cancelBtn { |
| 40 | background-color: #fff; |
| 41 | border: solid 1px #d92d0b; |
| 42 | color: #d92d0b; |
| 43 | } |
| 44 | |
| 45 | .saveBtn { |
| 46 | background-color: #2271b1; |
| 47 | border: solid 1px #2271b1; |
| 48 | color: #fff; |
| 49 | } |
| 50 | |
| 51 | .noteContainer { |
| 52 | position: relative; |
| 53 | display: flex; |
| 54 | flex-direction: column; |
| 55 | flex-grow: 1; |
| 56 | justify-content: flex-start; |
| 57 | align-items: flex-start; |
| 58 | gap: 8px; |
| 59 | min-height: 4.5rem; |
| 60 | padding: 0.75rem 1rem; |
| 61 | border-radius: 4px; |
| 62 | border: solid 1px #e5e7eb; |
| 63 | background-color: #fff; |
| 64 | |
| 65 | &:hover { |
| 66 | background-color: #f9fafb; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | .noteLoading { |
| 71 | display: flex; |
| 72 | justify-content: center; |
| 73 | align-items: center; |
| 74 | width: 100%; |
| 75 | height: auto; |
| 76 | margin: auto; |
| 77 | } |
| 78 | |
| 79 | .note { |
| 80 | display: flex; |
| 81 | width: 100%; |
| 82 | flex-direction: row; |
| 83 | justify-content: space-between; |
| 84 | } |
| 85 | |
| 86 | .title { |
| 87 | display: flex; |
| 88 | font-size: 1rem; |
| 89 | font-weight: 500; |
| 90 | font-stretch: normal; |
| 91 | font-style: normal; |
| 92 | line-height: 1.5; |
| 93 | color: #060c1a; |
| 94 | } |
| 95 | |
| 96 | .date { |
| 97 | font-size: 0.75rem; |
| 98 | font-weight: 500; |
| 99 | font-style: normal; |
| 100 | line-height: 1.67; |
| 101 | color: #6b7280; |
| 102 | } |
| 103 | |
| 104 | .dotsMenu { |
| 105 | position: absolute; |
| 106 | cursor: pointer; |
| 107 | top: 0.5rem; |
| 108 | right: 0.75rem; |
| 109 | background: none; |
| 110 | border: none; |
| 111 | } |
| 112 | |
| 113 | .menu { |
| 114 | position: absolute; |
| 115 | display: flex; |
| 116 | flex-direction: column; |
| 117 | gap: var(--givewp-spacing-1); |
| 118 | z-index: 3; |
| 119 | padding: var(--givewp-spacing-1); |
| 120 | bottom: 20px; |
| 121 | right: 0; |
| 122 | width: 203px; |
| 123 | border-radius: 4px; |
| 124 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); |
| 125 | border: solid 1px var(--givewp-neutral-50); |
| 126 | background-color: var(--givewp-shades-white); |
| 127 | |
| 128 | .menuItem { |
| 129 | gap: 4px; |
| 130 | text-decoration: none; |
| 131 | display: flex; |
| 132 | align-items: center; |
| 133 | padding: var(--givewp-spacing-2); |
| 134 | font-size: .875rem; |
| 135 | font-weight: 500; |
| 136 | line-height: 1.43; |
| 137 | color: var(--givewp-neutral-700); |
| 138 | background: none; |
| 139 | border: none; |
| 140 | |
| 141 | |
| 142 | &:hover { |
| 143 | background-color: #f3f4f6; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | .delete { |
| 148 | color: var(--givewp-red-500); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | .dialogContent { |
| 153 | font-size: 16px; |
| 154 | font-weight: 500; |
| 155 | line-height: 1.5; |
| 156 | color: var(--givewp-neutral-700); |
| 157 | } |
| 158 | |
| 159 | .dialogButtons { |
| 160 | display: flex; |
| 161 | flex-direction: row; |
| 162 | justify-content: space-between; |
| 163 | gap: var(--givewp-spacing-2); |
| 164 | margin-top: var(--givewp-spacing-6); |
| 165 | |
| 166 | button { |
| 167 | cursor: pointer; |
| 168 | display: flex; |
| 169 | flex: 1; |
| 170 | justify-content: center; |
| 171 | border-radius: 4px; |
| 172 | font-size: 1rem; |
| 173 | font-weight: 500; |
| 174 | line-height: 1.5; |
| 175 | padding: var(--givewp-spacing-3) var(--givewp-spacing-6); |
| 176 | border: none; |
| 177 | } |
| 178 | |
| 179 | .cancelButton { |
| 180 | border: 1px solid var(--givewp-neutral-300); |
| 181 | background-color: var(--givewp-shades-white); |
| 182 | color: var(--givewp-neutral-900); |
| 183 | |
| 184 | &:hover { |
| 185 | background-color: var(--givewp-neutral-50); |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | .confirmButton { |
| 190 | border: 1px solid var(--givewp-red-500); |
| 191 | background-color: var(--givewp-red-500); |
| 192 | color: var(--givewp-shades-white); |
| 193 | |
| 194 | &:hover { |
| 195 | border: 1px solid var(--givewp-red-400); |
| 196 | background-color: var(--givewp-red-400); |
| 197 | } |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | .showMoreContainer { |
| 202 | gap: 8px; |
| 203 | display: flex; |
| 204 | align-items: center; |
| 205 | justify-content: center; |
| 206 | } |
| 207 | |
| 208 | .showMoreButton { |
| 209 | padding: 0.5rem 1rem; |
| 210 | border-radius: 4px; |
| 211 | border: solid 1px #9ca0af; |
| 212 | } |
| 213 | |
| 214 | .noNotesText { |
| 215 | font-size: 0.875rem; |
| 216 | line-height: 1.43; |
| 217 | color: var(--givewp-neutral-500); |
| 218 | margin: var(--givewp-spacing-4) 0 0; |
| 219 | } |