style.module.scss
205 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 | padding: 0.75rem 1rem; |
| 60 | border-radius: 4px; |
| 61 | border: solid 1px #e5e7eb; |
| 62 | background-color: #fff; |
| 63 | |
| 64 | &:hover { |
| 65 | background-color: #f9fafb; |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | .note { |
| 70 | display: flex; |
| 71 | width: 100%; |
| 72 | flex-direction: row; |
| 73 | justify-content: space-between; |
| 74 | } |
| 75 | |
| 76 | .title { |
| 77 | display: flex; |
| 78 | font-size: 1rem; |
| 79 | font-weight: 500; |
| 80 | font-stretch: normal; |
| 81 | font-style: normal; |
| 82 | line-height: 1.5; |
| 83 | color: #060c1a; |
| 84 | } |
| 85 | |
| 86 | .date { |
| 87 | font-size: 0.75rem; |
| 88 | font-weight: 500; |
| 89 | font-style: normal; |
| 90 | line-height: 1.67; |
| 91 | color: #6b7280; |
| 92 | } |
| 93 | |
| 94 | .dotsMenu { |
| 95 | position: absolute; |
| 96 | cursor: pointer; |
| 97 | top: 0.5rem; |
| 98 | right: 0.75rem; |
| 99 | } |
| 100 | |
| 101 | .menu { |
| 102 | position: absolute; |
| 103 | display: flex; |
| 104 | flex-direction: column; |
| 105 | gap: var(--givewp-spacing-1); |
| 106 | z-index: 3; |
| 107 | padding: var(--givewp-spacing-1); |
| 108 | bottom: 20px; |
| 109 | right: 0; |
| 110 | width: 203px; |
| 111 | border-radius: 4px; |
| 112 | box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); |
| 113 | border: solid 1px var(--givewp-neutral-50); |
| 114 | background-color: var(--givewp-shades-white); |
| 115 | |
| 116 | .menuItem { |
| 117 | gap: 4px; |
| 118 | text-decoration: none; |
| 119 | display: flex; |
| 120 | align-items: center; |
| 121 | padding: var(--givewp-spacing-2); |
| 122 | font-size: .875rem; |
| 123 | font-weight: 500; |
| 124 | line-height: 1.43; |
| 125 | color: var(--givewp-neutral-700); |
| 126 | |
| 127 | |
| 128 | &:hover { |
| 129 | background-color: #f3f4f6; |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | .delete { |
| 134 | color: var(--givewp-red-500); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | .dialogContent { |
| 139 | font-size: 16px; |
| 140 | font-weight: 500; |
| 141 | line-height: 1.5; |
| 142 | color: var(--givewp-neutral-700); |
| 143 | } |
| 144 | |
| 145 | .dialogButtons { |
| 146 | display: flex; |
| 147 | flex-direction: row; |
| 148 | justify-content: space-between; |
| 149 | gap: var(--givewp-spacing-2); |
| 150 | margin-top: var(--givewp-spacing-6); |
| 151 | |
| 152 | button { |
| 153 | cursor: pointer; |
| 154 | display: flex; |
| 155 | flex: 1; |
| 156 | justify-content: center; |
| 157 | border-radius: 4px; |
| 158 | font-size: 1rem; |
| 159 | font-weight: 500; |
| 160 | line-height: 1.5; |
| 161 | padding: var(--givewp-spacing-3) var(--givewp-spacing-6); |
| 162 | border: none; |
| 163 | } |
| 164 | |
| 165 | .cancelButton { |
| 166 | border: 1px solid var(--givewp-neutral-300); |
| 167 | background-color: var(--givewp-shades-white); |
| 168 | color: var(--givewp-neutral-900); |
| 169 | |
| 170 | &:hover { |
| 171 | background-color: var(--givewp-neutral-50); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | .confirmButton { |
| 176 | border: 1px solid var(--givewp-red-500); |
| 177 | background-color: var(--givewp-red-500); |
| 178 | color: var(--givewp-shades-white); |
| 179 | |
| 180 | &:hover { |
| 181 | border: 1px solid var(--givewp-red-400); |
| 182 | background-color: var(--givewp-red-400); |
| 183 | } |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | .showMoreContainer { |
| 188 | gap: 8px; |
| 189 | display: flex; |
| 190 | align-items: center; |
| 191 | justify-content: center; |
| 192 | } |
| 193 | |
| 194 | .showMoreButton { |
| 195 | padding: 0.5rem 1rem; |
| 196 | border-radius: 4px; |
| 197 | border: solid 1px #9ca0af; |
| 198 | } |
| 199 | |
| 200 | .noNotesText { |
| 201 | font-size: 0.875rem; |
| 202 | line-height: 1.43; |
| 203 | color: var(--givewp-neutral-500); |
| 204 | margin: var(--givewp-spacing-4) 0 0; |
| 205 | } |