| 1 |
.charitable-wpcode { |
| 2 |
position: relative; |
| 3 |
} |
| 4 |
|
| 5 |
.charitable-wpcode-container { |
| 6 |
position: relative; |
| 7 |
} |
| 8 |
|
| 9 |
.charitable-wpcode-blur { |
| 10 |
filter: blur(6px); |
| 11 |
pointer-events: none; |
| 12 |
-webkit-user-select: none; |
| 13 |
user-select: none; |
| 14 |
} |
| 15 |
|
| 16 |
.charitable-wpcode-popup { |
| 17 |
position: absolute; |
| 18 |
top: 75px; |
| 19 |
left: 50%; |
| 20 |
margin: 0 auto 0 -365px; |
| 21 |
z-index: 100; |
| 22 |
display: flex; |
| 23 |
width: 730px; |
| 24 |
max-width: 90%; |
| 25 |
padding: 40px; |
| 26 |
flex-direction: column; |
| 27 |
align-items: center; |
| 28 |
border-radius: 6px; |
| 29 |
background: #ffffff; |
| 30 |
box-shadow: 0 5px 60px 0 rgba(0, 0, 0, 0.2); |
| 31 |
} |
| 32 |
.charitable-wpcode-popup a { |
| 33 |
margin: 5px auto 0 auto; |
| 34 |
display: inline-block; |
| 35 |
} |
| 36 |
.charitable-wpcode-popup a.button-link { |
| 37 |
background-color: #5AA152; |
| 38 |
color: #ffffff; |
| 39 |
padding: 10px 15px; |
| 40 |
position: relative; |
| 41 |
top: -4px; |
| 42 |
text-decoration: none; |
| 43 |
border-radius: 5px; |
| 44 |
text-shadow: none; |
| 45 |
font-weight: 600; |
| 46 |
font-size: 13px; |
| 47 |
line-height: normal; |
| 48 |
cursor: pointer; |
| 49 |
} |
| 50 |
.charitable-wpcode-popup a.button-link:hover, .charitable-wpcode-popup a.button-link:focus { |
| 51 |
background-color: #4a8b3d; |
| 52 |
color: white; |
| 53 |
} |
| 54 |
|
| 55 |
.charitable-wpcode-popup .charitable-wpcode-popup-title { |
| 56 |
color: #1d2327; |
| 57 |
text-align: center; |
| 58 |
width: 100%; |
| 59 |
font-size: 22px; |
| 60 |
font-weight: 500; |
| 61 |
line-height: 24px; |
| 62 |
margin-bottom: 15px; |
| 63 |
} |
| 64 |
|
| 65 |
.charitable-wpcode-popup .charitable-wpcode-popup-description { |
| 66 |
text-align: center; |
| 67 |
width: 100%; |
| 68 |
color: #50575e; |
| 69 |
font-size: 16px; |
| 70 |
font-weight: 400; |
| 71 |
line-height: 24px; |
| 72 |
margin-bottom: 30px; |
| 73 |
} |
| 74 |
|
| 75 |
.charitable-wpcode-popup .charitable-wpcode-popup-button { |
| 76 |
margin-bottom: 15px; |
| 77 |
} |
| 78 |
|
| 79 |
.charitable-wpcode-popup .charitable-wpcode-popup-link { |
| 80 |
color: #646970; |
| 81 |
text-align: center; |
| 82 |
font-size: 14px; |
| 83 |
font-weight: 400; |
| 84 |
line-height: 20px; |
| 85 |
text-decoration-line: underline; |
| 86 |
} |
| 87 |
|
| 88 |
.charitable-wpcode-popup .charitable-wpcode-popup-link:hover { |
| 89 |
color: #2c3338; |
| 90 |
} |
| 91 |
|
| 92 |
.charitable-wpcode-header { |
| 93 |
display: flex; |
| 94 |
justify-content: space-between; |
| 95 |
align-items: center; |
| 96 |
padding-bottom: 30px; |
| 97 |
margin-bottom: 30px; |
| 98 |
border-bottom: 1px solid #dcdcde; |
| 99 |
} |
| 100 |
.charitable-wpcode-header .charitable-wpcode-header-search { |
| 101 |
position: relative; |
| 102 |
margin-left: 30px; |
| 103 |
} |
| 104 |
.charitable-wpcode-header .charitable-wpcode-header-search:before { |
| 105 |
font: normal normal normal 14px/1 FontAwesome; |
| 106 |
content: "\f002"; |
| 107 |
color: #a7aaad; |
| 108 |
padding: 12px; |
| 109 |
font-size: 16px; |
| 110 |
left: 0; |
| 111 |
position: absolute; |
| 112 |
top: 50%; |
| 113 |
transform: translateY(-50%); |
| 114 |
} |
| 115 |
.charitable-wpcode-header #charitable-wpcode-snippet-search { |
| 116 |
width: 250px; |
| 117 |
height: 36px; |
| 118 |
padding-left: 30px; |
| 119 |
} |
| 120 |
|
| 121 |
@media (max-width: 599px) { |
| 122 |
.charitable-wpcode-header { |
| 123 |
flex-direction: column; |
| 124 |
align-items: flex-start; |
| 125 |
} |
| 126 |
} |
| 127 |
@media (max-width: 599px) { |
| 128 |
.charitable-wpcode-header .charitable-wpcode-header-search { |
| 129 |
width: 100%; |
| 130 |
margin-top: 20px; |
| 131 |
margin-left: 0; |
| 132 |
} |
| 133 |
} |
| 134 |
@media (max-width: 599px) { |
| 135 |
.charitable-wpcode-header #charitable-wpcode-snippet-search { |
| 136 |
width: 100%; |
| 137 |
} |
| 138 |
} |
| 139 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list { |
| 140 |
display: grid; |
| 141 |
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); |
| 142 |
grid-gap: 20px; |
| 143 |
} |
| 144 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet { |
| 145 |
margin: 0; |
| 146 |
height: 100%; |
| 147 |
display: flex; |
| 148 |
flex-direction: column; |
| 149 |
justify-content: space-between; |
| 150 |
overflow: hidden; |
| 151 |
align-items: flex-start; |
| 152 |
border-radius: 6px; |
| 153 |
border: 1px solid #c3c4c7; |
| 154 |
background: #ffffff; |
| 155 |
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07); |
| 156 |
} |
| 157 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-header { |
| 158 |
width: 100%; |
| 159 |
position: relative; |
| 160 |
} |
| 161 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-external-link { |
| 162 |
color: #646970; |
| 163 |
padding: 10px; |
| 164 |
font-size: 16px; |
| 165 |
position: absolute; |
| 166 |
right: 0; |
| 167 |
top: 0px; |
| 168 |
text-decoration: none; |
| 169 |
opacity: 0.5; |
| 170 |
display: block; |
| 171 |
z-index: 999; |
| 172 |
} |
| 173 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-title { |
| 174 |
margin: 0; |
| 175 |
padding: 20px 20px 5px 20px; |
| 176 |
color: #2c3338; |
| 177 |
font-size: 16px; |
| 178 |
font-style: normal; |
| 179 |
font-weight: 500; |
| 180 |
line-height: 22px; |
| 181 |
overflow: hidden; |
| 182 |
position: relative; |
| 183 |
text-overflow: ellipsis; |
| 184 |
white-space: nowrap; |
| 185 |
} |
| 186 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-note { |
| 187 |
color: #646970; |
| 188 |
font-size: 14px; |
| 189 |
font-weight: 400; |
| 190 |
line-height: 18px; |
| 191 |
padding: 0px 20px 15px 20px; |
| 192 |
} |
| 193 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-footer { |
| 194 |
width: 100%; |
| 195 |
display: flex; |
| 196 |
justify-content: space-between; |
| 197 |
align-items: center; |
| 198 |
background: #f6f6f6; |
| 199 |
} |
| 200 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-badge { |
| 201 |
color: #008a20; |
| 202 |
font-size: 10px; |
| 203 |
font-weight: 700; |
| 204 |
line-height: 10px; |
| 205 |
letter-spacing: 0.5px; |
| 206 |
text-transform: uppercase; |
| 207 |
padding-left: 20px; |
| 208 |
} |
| 209 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-badge.charitable-wpcode-installing-in-progress { |
| 210 |
color: #a7aaad; |
| 211 |
} |
| 212 |
#charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet .charitable-wpcode-snippet-button { |
| 213 |
text-align: center; |
| 214 |
margin: 10px 10px; |
| 215 |
} |
| 216 |
|
| 217 |
/* dashboard overrides */ |
| 218 |
#charitable-dashboard-report-container #charitable-wpcode-snippets-list .charitable-wpcode-snippets-list { |
| 219 |
grid-template-columns: 1fr; |
| 220 |
margin: 0px; |
| 221 |
} |
| 222 |
#charitable-dashboard-report-container #charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet { |
| 223 |
border: 0; |
| 224 |
flex-direction: row; |
| 225 |
align-items: center; |
| 226 |
} |
| 227 |
#charitable-dashboard-report-container #charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet-header { |
| 228 |
width: auto; |
| 229 |
} |
| 230 |
#charitable-dashboard-report-container #charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet-footer { |
| 231 |
width: auto; |
| 232 |
background: none; |
| 233 |
position: relative; |
| 234 |
} |
| 235 |
#charitable-dashboard-report-container #charitable-wpcode-snippets-list .charitable-wpcode-snippets-list .charitable-wpcode-snippet-footer .charitable-wpcode-snippet-external-link { |
| 236 |
position: relative; |
| 237 |
} |
| 238 |
|
| 239 |
#charitable-wpcode-no-results { |
| 240 |
display: none; |
| 241 |
font-size: 14px; |
| 242 |
} |
| 243 |
|
| 244 |
.charitable-loading-spinner { |
| 245 |
background-image: url("../../images/charitable-spinner.svg"); |
| 246 |
background-repeat: no-repeat; |
| 247 |
background-position: center; |
| 248 |
display: inline-block; |
| 249 |
height: 15px; |
| 250 |
margin: 0 auto; |
| 251 |
vertical-align: -2px; |
| 252 |
width: 15px; |
| 253 |
-webkit-animation: charitable-spinner-rotation 0.8s linear infinite; |
| 254 |
-moz-animation: charitable-spinner-rotation 0.8s linear infinite; |
| 255 |
-ms-animation: charitable-spinner-rotation 0.8s linear infinite; |
| 256 |
-o-animation: charitable-spinner-rotation 0.8s linear infinite; |
| 257 |
animation: charitable-spinner-rotation 0.8s linear infinite; |
| 258 |
background-size: 14px 15px; |
| 259 |
} |
| 260 |
|
| 261 |
@media (max-width: 782px) { |
| 262 |
.charitable-wpcode .charitable-wpcode-popup { |
| 263 |
top: 10%; |
| 264 |
} |
| 265 |
} |
| 266 |
@keyframes charitable-spinner-rotation { |
| 267 |
from { |
| 268 |
transform: rotate(0deg); |
| 269 |
} |
| 270 |
to { |
| 271 |
transform: rotate(360deg); |
| 272 |
} |
| 273 |
} |
| 274 |
|