mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Merge pull request #5001 from JohnONolan/user-help
Introduce new help menu
This commit is contained in:
commit
f25c253096
10 changed files with 168 additions and 25 deletions
|
@ -31,7 +31,7 @@
|
|||
<glyph unicode="" d="M413.696 206.386h98.361l-97.685 92.288v149.312h-78.884v-74.781l-79.367 74.98-256.178-241.799h95.189v-206.571h113.65v146.020h94.898v-146.020h110.016z" />
|
||||
<glyph unicode="" d="M-1.408 481.593h210.553v-210.553h-210.553zM300.203 481.593h210.553v-210.553h-210.553zM-1.408 179.982h210.553v-210.553h-210.553zM300.203 179.982h210.553v-210.553h-210.553z" />
|
||||
<glyph unicode="" d="M263.808 311.836l78.13-78.165 84.338 84.288 85.404-85.803v249.394l-249.031 0.206 85.795-85.269zM163.499 55.054l84.65 84.651-78.129 78.158-84.345-84.281-85.391 85.81v-249.422l249.017-0.178z" />
|
||||
<glyph unicode="" d="M256 481.593c-141.383 0-256-114.61-256-256s114.617-256 256-256 256 114.61 256 256-114.617 256-256 256zM272.967 72.555c-7.602-7.332-18.084-10.766-29.881-10.724-0.092-0.007-0.185-0.007-0.27-0.007-11.236 0-21.34 3.527-28.793 10.702-7.623 7.204-11.428 17.301-11.364 28.466-0.071 11.15 3.733 21.241 11.413 28.309 7.531 7.068 17.714 10.503 29.006 10.46 11.755 0.036 22.18-3.314 29.817-10.46 7.68-7.068 11.484-17.159 11.413-28.309 0.087-11.164-3.718-21.255-11.341-28.437zM341.483 268.338c-3.989-9.906-9.024-18.503-15.125-25.685-5.888-6.912-12.373-13.042-19.463-18.347-6.379-4.793-12.224-9.906-17.493-15.282-5.056-5.212-9.358-11.207-12.942-18.14-3.193-6.094-5.042-14.542-5.042-25.436v-7.111h-59.776l-0.612 6.436c-0.484 5.020-0.74 9.806-0.74 14.386 0 9.166 0.96 17.522 3.022 24.996 2.93 10.752 7.026 20.188 12.373 28.295 5.191 7.851 11.164 14.748 17.927 20.601 6.208 5.383 11.975 10.517 17.323 15.46 5.070 4.658 9.195 9.444 12.444 14.329 2.745 4.132 4.196 9.060 4.238 15.424-0.057 8.448-2.233 14.116-6.244 18.489-3.108 3.534-10.702 6.507-23.716 6.45-3.932 0-8.192-0.42-12.779-1.301-4.636-0.924-9.294-2.219-13.945-3.89-4.729-1.707-9.237-3.662-13.518-5.881-4.366-2.24-8.199-4.523-11.513-6.798l-6.635-4.587-27.442 52.7 5.205 3.563c11.129 7.623 23.865 13.86 38.137 18.773 14.706 5.035 32.071 7.452 52.060 7.452 27.157 0.021 49.479-6.635 65.82-20.665 16.32-13.888 24.654-33.429 24.555-56.398 0.010-14.779-1.931-27.366-6.119-37.833z" />
|
||||
<glyph unicode="" d="M27.572 318.286q-0.715 4.286 1.572 8 45.715 76 132.571 76 22.857 0 46-8.857t41.714-23.715 30.286-36.428 11.714-45.285q0-15.428-4.428-28.857t-10-21.857-15.714-17-16.428-12.428-17.428-10.143q-11.714-6.572-19.572-18.572t-7.857-19.143q0-4.857-3.429-9.286t-8-4.428h-68.572q-4.285 0-7.285 5.286t-3 10.714v12.857q0 23.714 18.571 44.714t40.857 31q16.857 7.714 24 16t7.143 21.714q0 12-13.286 21.143t-30.714 9.143q-18.572 0-30.857-8.286-10-7.143-30.572-32.857-3.715-4.571-8.857-4.571-3.428 0-7.143 2.286l-46.857 35.714q-3.715 2.857-4.428 7.143zM109.715 48v68.572q0 4.572 3.428 8t8 3.428h68.571q4.572 0 8-3.428t3.429-8v-68.572q0-4.572-3.429-8t-8-3.428h-68.572q-4.572 0-8 3.428t-3.428 8z" horiz-adv-x="293" />
|
||||
<glyph unicode="" d="M346.19 40.327c0-8.953-7.559-16.519-16.519-16.519l-257.18 0.007c-8.96 0-16.519 7.559-16.519 16.519v257.181c0 8.967 7.559 16.526 16.519 16.526h135.488l55.801 55.815-191.289-0.014c-39.787 0-72.334-32.562-72.334-72.341v-257.173c-0.001-39.773 32.561-72.328 72.334-72.328h257.173c39.787 0 72.334 32.562 72.334 72.313v191.324l-55.815-55.801v-135.509zM253.141 461.148l82.539-82.552-151.211-151.218 75.065-75.065 151.218 151.211 82.553-82.568 18.851 259.037z" />
|
||||
<glyph unicode="" d="M499.918 85.383l-189.589 327.189c-29.504 50.923-77.838 50.951-107.406 0.071l-190.251-327.338c-29.568-50.88-5.611-92.508 53.234-92.508h380.658c58.851-0.001 82.858 41.663 53.354 92.586zM258.361 50.418c-18.226 0-32.74 14.492-32.74 32.74 0 18.226 14.5 32.74 32.74 32.74 18.219 0 32.74-14.5 32.74-32.74-0.015-18.248-14.514-32.74-32.74-32.74zM281.557 136.59h-46.386l-15.609 188.885h77.639l-15.644-188.885z" />
|
||||
<glyph unicode="" d="M511.751 262.073c9.87 84.188-67.932 162.027-173.767 173.86-64.818 7.253-125.084-11.975-164.352-47.275 8.811 0.846 17.671 1.351 26.432 1.351 52.58 0 102.99-15.431 141.945-43.456 41.266-29.696 66.965-71.41 72.356-117.454 4.807-40.96-7.076-82.695-33.429-118.201 54.322-40.683 104.071-29.76 92.516-21.042-32.277 24.341-39.14 48.107-37.106 66.752 41.499 23.588 70.193 60.956 75.405 105.465zM382.443 225.351c-9.010 76.921-88.085 132.523-182.379 132.523-8.917 0-17.956-0.498-27.1-1.515-105.828-11.84-183.631-89.678-173.768-173.859 5.22-44.516 33.906-81.877 75.413-105.465 2.041-18.645-4.821-42.418-37.106-66.759-5.156-3.883 1.877-8.206 16.050-8.206 22.123 0 61.668 10.524 99.556 49.664 9.358-1.145 18.951-1.735 28.693-1.735 8.846 0 17.82 0.484 26.873 1.5 105.842 11.833 183.631 89.671 173.768 173.852z" />
|
||||
|
@ -70,8 +70,11 @@
|
|||
<glyph unicode="" d="M512 241.592c0 49.167-40 89.146-89.167 89.146-2.396 0-4.771-0.104-7.146-0.291-23.125 28.854-57.979 45.978-95.688 45.978-37.688 0-72.562-17.124-95.688-45.979-2.375 0.188-4.771 0.291-7.188 0.291-49.123 0.001-89.123-39.978-89.123-89.145 0-5.146 0.688-10.104 1.5-15.042-0.542-0.708-1.188-1.354-1.708-2.083-5.229 0.75-10.479 1.125-15.792 1.125-61.75 0-112-50.249-112-111.999s50.25-112 112-112c13.688 0 27.084 2.5 39.709 7.333 28.957-25.25 65.791-39.333 104.291-39.333 38.542 0 75.333 14.083 104.291 39.333 12.625-4.833 26.021-7.333 39.709-7.333 61.75 0 112 50.249 112 112 0 25.688-9.042 49.083-23.666 67.999 14.582 15.896 23.666 36.833 23.666 60zM400 33.593c-17.125 0-32.916 5.499-45.938 14.666-23.479-28.291-58.438-46.666-98.062-46.666s-74.584 18.375-98.062 46.666c-13-9.167-28.812-14.666-45.938-14.666-44.188 0-80 35.812-80 80s35.812 79.999 80 79.999c10.812 0 21.062-2.188 30.438-6.062 0.562 1.062 1.25 2 1.812 3.021 5.625 10.271 12.562 19.688 20.666 28.042 23.084 23.916 55.167 39 91.084 39 49.709 0 92.334-28.666 113.541-70.062 5.646 2.312 11.668 3.813 17.875 4.812l12.584 1.25c12.334 0 23.875-3.042 34.312-8 11.312-5.416 21.021-13.374 28.646-23.188 10.5-13.521 17.042-30.354 17.042-48.812 0-44.188-35.812-80-80-80zM465.562 203.968c-18.479 13.458-41 21.624-65.562 21.624-5.312 0-10.562-0.375-15.792-1.125-29.874 40.708-77.021 65.125-128.208 65.125-34.125 0-66.312-11.042-92.938-30.334 7.479 22.854 28.729 39.479 54.062 39.479 7.75 0 15.062-1.562 21.75-4.332 15.188 29.562 45.625 50.020 81.125 50.020s65.958-20.457 81.084-50.020c6.729 2.77 14.083 4.332 21.749 4.332 31.584 0 57.167-25.583 57.167-57.146 0.001-14.478-5.561-27.54-14.437-37.623z" />
|
||||
<glyph unicode="" d="M206.933 148.615l58.596 164.622 0.064 0.036h-0.057l0.057 0.185-154.759-0.128c0.739 2.524 37.682 103.587 56.59 168.263h-86.82l-80.54-227.065-0.064-0.035h0.050l-0.050-0.185 154.759 0.121c-0.526-1.785-19.392-53.071-36.956-105.821h-72.491l67.42-179.499 171.080 179.499-76.879 0.007z" horiz-adv-x="284" />
|
||||
<glyph unicode="" d="M201.497 327.805l-49.946 40.108-147.561-140.715 148.97-140.709 49.953 40.108-107.2 100.601 105.782 100.607zM376.533 367.913l-49.945-40.101 107.192-100.6-105.782-100.607 49.945-40.116 147.561 140.723-148.97 140.701z" horiz-adv-x="527" />
|
||||
<glyph unicode="" d="M450.252 353.683c-12.127 20.971-39.34 31.134-75.468 31.134-16.973 0-35.91-2.238-56.18-6.656-19.779 61.791-51.411 101.769-87.040 101.769s-67.262-39.978-87.040-101.769c-20.2 4.418-39.136 6.656-56.109 6.656-18.096 0-33.876-2.518-46.711-7.715-12.828-5.19-22.718-12.905-28.756-23.426-17.815-30.86 0.982-78.273 44.537-126.246-43.555-47.974-62.352-95.387-44.537-126.247 12.133-21.041 39.347-31.134 75.468-31.134 16.973 0 35.91 2.238 56.109 6.656 19.779-61.791 51.411-101.769 87.040-101.769s67.262 39.978 87.040 101.769c20.269-4.418 39.207-6.656 56.109-6.656 36.19 0 63.404 10.163 75.538 31.134 17.815 30.861-0.982 78.273-44.601 126.246 43.625 47.98 62.415 95.393 44.601 126.254v0zM88.415 98.111c-26.224 0-44.88 6.242-51.2 17.106-8.136 14.168 0.982 41.942 23.846 72.592 4.902 6.522 10.31 13.046 16.131 19.575 14.519-13.887 31.001-27.571 49.096-40.757 2.384-22.233 5.961-43.344 10.731-62.842-17.387-3.717-33.799-5.674-48.605-5.674v0zM123.561 203.948c-9.538 7.715-18.523 15.57-26.862 23.496 8.34 7.925 17.324 15.781 26.862 23.496-0.281-7.778-0.491-15.571-0.491-23.496s0.21-15.788 0.491-23.496v0zM126.296 288.245c-18.096-13.186-34.578-26.933-49.096-40.757-5.822 6.53-11.229 13.053-16.132 19.575-22.871 30.643-31.989 58.424-23.846 72.592 6.313 10.871 24.976 17.106 51.2 17.106 14.799 0 31.211-1.957 48.612-5.681-4.784-19.491-8.353-40.603-10.738-62.836v0zM305.916 309.216c-6.53 4.138-13.193 8.206-20.058 12.204-6.873 3.928-13.676 7.645-20.55 11.222 11.433 4.418 22.717 8.276 33.736 11.51 2.595-10.949 4.98-22.521 6.873-34.935v0zM231.571 451.875c19.007 0 42.994-29.38 59.827-80.728-19.288-5.688-39.347-13.046-59.827-22.093-20.41 9.125-40.538 16.412-59.757 22.093 16.826 51.348 40.75 80.728 59.757 80.728v0zM164.162 344.222c11.012-3.303 22.31-7.161 33.743-11.572-6.874-3.577-13.747-7.294-20.55-11.222-6.874-3.998-13.543-8.066-20.13-12.204 1.957 12.407 4.272 23.98 6.936 34.998v0zM157.226 145.657c6.586-4.138 13.256-8.206 20.13-12.204 6.803-3.928 13.669-7.645 20.55-11.222-11.433-4.418-22.725-8.276-33.743-11.572-2.665 10.942-4.98 22.591-6.936 34.998v0zM231.571 2.998c-19.007 0-42.924 29.38-59.756 80.728 19.21 5.688 39.276 12.976 59.757 22.093 20.48-9.125 40.538-16.412 59.827-22.093-16.841-51.341-40.819-80.728-59.827-80.728v0zM299.043 110.659c-11.012 3.303-22.303 7.161-33.736 11.572 6.866 3.577 13.669 7.294 20.55 11.222 6.866 3.998 13.536 8.066 20.058 12.204-1.894-12.407-4.279-23.987-6.873-34.998v0zM310.195 182.058c-12.204-8.409-25.039-16.546-38.365-24.26s-26.792-14.729-40.258-21.041c-13.396 6.313-26.863 13.326-40.181 21.041-13.396 7.715-26.231 15.851-38.372 24.26-1.192 14.455-1.893 29.534-1.893 45.386s0.702 30.931 1.893 45.386c12.204 8.41 24.976 16.546 38.372 24.261 13.319 7.715 26.786 14.729 40.181 21.041 13.466-6.313 26.932-13.326 40.258-21.041 13.319-7.715 26.154-15.851 38.365-24.261 1.192-14.455 1.824-29.535 1.824-45.386s-0.638-30.938-1.824-45.386v0zM374.791 356.769c26.231 0 44.887-6.242 51.13-17.106 8.206-14.168-0.912-41.942-23.839-72.592-4.839-6.522-10.24-13.046-16.062-19.575-14.519 13.824-31 27.571-49.096 40.757-2.392 22.233-6.032 43.344-10.731 62.843 17.38 3.71 33.799 5.674 48.598 5.674v0zM339.582 250.933c9.531-7.715 18.516-15.571 26.863-23.496-8.346-7.926-17.331-15.78-26.863-23.496 0.351 7.715 0.484 15.57 0.484 23.496s-0.134 15.78-0.484 23.496v0zM425.984 115.217c-6.305-10.871-24.969-17.106-51.27-17.106-14.729 0-31.14 1.957-48.535 5.681 4.7 19.498 8.339 40.609 10.731 62.843 18.096 13.186 34.577 26.863 49.096 40.757 5.822-6.53 11.222-13.053 16.062-19.575 22.942-30.65 32.053-58.431 23.916-72.599v0zM267.755 227.436c0-19.972-16.19-36.162-36.162-36.162s-36.162 16.19-36.162 36.162c0 19.972 16.19 36.162 36.162 36.162s36.162-16.19 36.162-36.162z" horiz-adv-x="463" />
|
||||
<glyph unicode="" d="M253.749 473.772c-139.453 0-252.493-113.040-252.493-252.493s113.047-252.493 252.493-252.493c139.439 0 252.486 113.040 252.486 252.493s-113.040 252.493-252.486 252.493v0zM253.749 24.895c-108.285 0-196.383 88.099-196.383 196.384s88.099 196.384 196.383 196.384c108.278 0 196.376-88.099 196.376-196.384s-88.092-196.384-196.376-196.384v0zM214.837 261.558l-0.014-0.028-0.028-0.014 0.014-0.021-83.035-161.799 161.988 82.93 1.375 2.413 81.647 159.415-161.946-82.895zM229.706 246.605l49.089-49.089-97.771-48.633 48.682 97.722z" />
|
||||
<glyph unicode="" d="M475.077 384h-438.154c-20.36 0-36.923-16.563-36.923-36.923v-246.154c0-20.361 16.564-36.923 36.923-36.923h438.154c20.361 0 36.923 16.563 36.923 36.923v246.154c0 20.36-16.563 36.923-36.923 36.923zM288 128.063l-64-0.063v96l-48-61.538-48 61.538v-96h-64v192h64l48-64 48 64 64 0.063v-192zM383.546 112.063l-79.546 111.938h48v96h64v-96h48l-80.454-111.938z" />
|
||||
<glyph unicode="" d="M12.572 78q10-1.143 22.285-1.143 64.285 0 114.571 39.428-30 0.572-53.715 18.428t-32.572 45.572q9.428-1.428 17.428-1.428 12.285 0 24.285 3.143-32 6.572-53 31.857t-21 58.714v1.143q19.428-10.857 41.715-11.714-18.857 12.572-30 32.857t-11.143 44q0 25.143 12.572 46.572 34.572-42.572 84.143-68.143t106.143-28.428q-2.286 10.857-2.286 21.143 0 38.286 27 65.286t65.286 27q40 0 67.428-29.143 31.143 6 58.572 22.286-10.572-32.857-40.572-50.857 26.572 2.857 53.143 14.286-19.143-28-46.286-47.715 0.286-4 0.286-12 0-37.143-10.857-74.143t-33-71-52.714-60.143-73.714-41.714-92.286-15.572q-77.428 0-141.714 41.428z" horiz-adv-x="476" />
|
||||
<glyph unicode="" d="M2.857 89.143q0 1.143 0.857 7.714t1.143 10.572q0.285 2.286-0.857 6.143t-0.857 5.572q0.571 3.143 2.285 6t4.715 6.714 4.715 6.714q6.572 10.857 12.857 26.143t8.572 26.143q0.857 2.857 0.143 8.572t-0.143 8q0.857 3.143 4.857 8t4.857 6.572q6 10.286 12 26.286t7.143 25.714q0.285 2.571-0.715 9.143t0.143 8q1.143 3.714 6.285 8.714t6.285 6.429q5.428 7.428 12.143 24.143t7.857 27.572q0.285 2.286-0.857 7.286t-0.572 7.571q0.572 2.286 2.572 5.143t5.143 6.572 4.857 6q2.285 3.428 4.715 8.714t4.285 10 4.572 10.286 5.572 9.143 7.572 6.714 10.286 3.286 13.572-1.571l-0.286-0.857q10.857 2.572 14.572 2.572h217.428q21.143 0 32.572-16t5.143-37.143l-78.286-258.857q-10.286-34-20.428-43.857t-36.714-9.857h-248.286q-7.715 0-10.857-4.286-3.143-4.572-0.285-12.286 6.857-20 41.143-20h263.714q8.286 0 16 4.428t10 11.857l85.714 282q2 6.286 1.428 16.285 10.857-4.285 16.857-12.285 11.428-16.286 5.143-36.857l-78.572-258.857q-5.428-18.286-21.857-30.714t-35-12.428h-263.714q-22 0-42.428 15.286t-28.428 37.572q-6.857 19.143-0.571 36.286zM140.571 265.143q-1.143-3.714 0.571-6.428t5.714-2.714h173.714q3.714 0 7.286 2.714t4.714 6.428l6 18.286q1.143 3.714-0.572 6.428t-5.714 2.714h-173.714q-3.714 0-7.286-2.714t-4.714-6.428zM164.286 338.286q-1.143-3.714 0.571-6.428t5.714-2.714h173.714q3.714 0 7.286 2.714t4.714 6.428l6 18.285q1.143 3.715-0.572 6.429t-5.714 2.714h-173.714q-3.714 0-7.286-2.714t-4.714-6.429z" horiz-adv-x="476" />
|
||||
<glyph unicode="" d="M368.615 40.499c6.861-6.938 6.861-18.125 0-25.063s-17.945-6.938-24.807 0l-200.448 202.419c-6.861 6.938-6.861 18.151 0 25.063l200.448 202.445c6.861 6.938 17.945 6.938 24.807 0s6.861-18.125 0-25.063l-182.784-189.901 182.784-189.901z" />
|
||||
<glyph unicode="" d="M743.538 230.236v0c-0.062-49.405-16.655-89.42-66.414-89.42-49.755 0-66.355 40.016-66.407 89.42v0.245c0.052 49.404 16.652 89.416 66.41 89.416 49.755 0 66.348-40.012 66.41-89.416v-0.245zM677.124 369.593c-87.786 0-133.124-62.281-133.124-139.112s44.221-139.115 133.124-139.115c88.904 0 133.128 62.284 133.128 139.115s-45.345 139.112-133.128 139.112v0zM288 89.17v384.616c0 0 50.565 7.206 54.486 7.736 4.442 0.602 10.338-2.57 10.338-8.842v-142.582c10.497 10.008 22.048 18.075 34.642 24.226 12.603 6.14 27.386 9.216 44.362 9.216 14.7 0 27.724-2.501 39.096-7.511 11.383-4.995 20.876-12.022 28.486-21.058 7.611-9.046 13.383-19.84 17.324-32.391 3.934-12.551 5.904-26.371 5.904-41.472v-171.938h-64.827v171.938c0 16.498-3.803 29.271-11.417 38.317-7.614 9.036-19.031 13.558-34.258 13.558-11.197 0-21.69-2.542-31.483-7.642-9.807-5.089-19.079-12.018-27.827-20.798v-195.373h-64.824zM1162.845 78.954c-44.607 0-72.565 26.050-72.565 74.642v144.007h-50.28c0 0 10.686 37.078 11.531 40.001 0.849 2.917 3.059 6.047 7.496 6.667s31.186 4.363 31.186 4.363l12.355 78.858c0 0 36.3 5.134 42.055 5.995 5.435 0.817 10.362-3.113 10.362-9.050v-75.803h63.59v-51.031h-63.59v-142.070c0-19.397 11.773-26.811 23.055-26.811 6.897 0 16.341 3.678 23.389 6.954 4.355 2.021 11.103 0.522 12.845-5.577 1.545-5.404 9.742-34.086 9.742-34.086-7.072-4.58-29.428-17.058-61.172-17.058zM996.193 309.323c-12.635 4.117-36.38 10.707-58.969 10.707-23.017 0-41.128-7.978-41.128-27.178 0-23.981 39.031-30.966 65.749-40.739 17.862-6.535 65.766-19.276 65.766-70.961 0-62.786-51.972-89.627-107.41-89.627-55.445 0-88.2 20.691-88.2 20.691s8.6 30.474 10.341 36.494c1.576 5.414 7.851 7.313 11.845 5.774 14.265-5.518 40.034-13.191 69.155-13.191 29.486 0 43.755 9.033 43.755 28.288 0 25.627-39.817 33.46-66.152 41.793-18.138 5.736-66.155 19.113-66.155 75.952 0 55.995 49.010 82.266 101.389 82.266 44.338 0 66.086-9.303 82.331-17.605 0 0-9.052-31.65-10.396-36.366-1.593-5.597-6.176-8.168-11.92-6.299zM134.203 225.292c-29.176 0-51.934 15.547-51.934 49.457 0 33.916 22.783 49.464 51.934 49.464 29.159 0 51.941-15.505 51.941-49.464 0-33.954-22.755-49.457-51.941-49.457v0zM99.566 94.639c0 0 32.342-1.228 64.658-2.729 36.307-1.685 47.62-9.534 47.62-28.395 0-23.043-31.552-45.457-75.645-45.457-41.855 0-62.762 14.61-62.762 38.933 0 13.956 7.345 29.568 26.127 37.649v0zM269.286 360.073c0 6.058-5.159 9.52-10.079 8.957-21.755-2.501-37.276-12.773-47.317-22.331-19.717 15.499-47.086 22.894-77.807 22.894-61.586 0-109.704-29.817-109.704-94.844 0-37.324 15.834-63.045 40.986-78.187-18.68-8.873-31.12-27.693-31.12-46.197 0-30.955 24.376-40.649 24.376-40.649s-42.62-20.753-42.62-62.274c0-53.151 48.755-74.642 108.331-74.642 85.873 0 144.955 35.584 144.955 100.923 0 40.213-30.669 62.412-97.514 65.052-39.666 1.57-65.359 3.003-71.721 5.116-8.41 2.802-12.545 9.558-12.545 17.017 0 8.233 6.742 16.076 17.365 21.455 9.269-1.643 19.052-2.459 29.21-2.459 61.638 0 109.71 29.734 109.71 94.844 0 15.793-2.841 29.499-8.007 41.206 9.055 4.846 20.196 8.257 33.5 8.257v35.861z" horiz-adv-x="1232" />
|
||||
<glyph unicode="" d="M450.252 353.683c-12.127 20.971-39.34 31.134-75.468 31.134-16.973 0-35.91-2.238-56.18-6.656-19.779 61.791-51.411 101.769-87.040 101.769s-67.262-39.978-87.040-101.769c-20.2 4.418-39.136 6.656-56.109 6.656-18.096 0-33.876-2.518-46.711-7.715-12.828-5.19-22.718-12.905-28.756-23.426-17.815-30.86 0.982-78.273 44.537-126.246-43.555-47.974-62.352-95.387-44.537-126.247 12.133-21.041 39.347-31.134 75.468-31.134 16.973 0 35.91 2.238 56.109 6.656 19.779-61.791 51.411-101.769 87.040-101.769s67.262 39.978 87.040 101.769c20.269-4.418 39.207-6.656 56.109-6.656 36.19 0 63.404 10.163 75.538 31.134 17.815 30.861-0.982 78.273-44.601 126.246 43.625 47.98 62.415 95.393 44.601 126.254v0zM88.415 98.111c-26.224 0-44.88 6.242-51.2 17.106-8.136 14.168 0.982 41.942 23.846 72.592 4.902 6.522 10.31 13.046 16.131 19.575 14.519-13.887 31.001-27.571 49.096-40.757 2.384-22.233 5.961-43.344 10.731-62.842-17.387-3.717-33.799-5.674-48.605-5.674v0zM123.561 203.948c-9.538 7.715-18.523 15.57-26.862 23.496 8.34 7.925 17.324 15.781 26.862 23.496-0.281-7.778-0.491-15.571-0.491-23.496s0.21-15.788 0.491-23.496v0zM126.296 288.245c-18.096-13.186-34.578-26.933-49.096-40.757-5.822 6.53-11.229 13.053-16.132 19.575-22.871 30.643-31.989 58.424-23.846 72.592 6.313 10.871 24.976 17.106 51.2 17.106 14.799 0 31.211-1.957 48.612-5.681-4.784-19.491-8.353-40.603-10.738-62.836v0zM305.916 309.216c-6.53 4.138-13.193 8.206-20.058 12.204-6.873 3.928-13.676 7.645-20.55 11.222 11.433 4.418 22.717 8.276 33.736 11.51 2.595-10.949 4.98-22.521 6.873-34.935v0zM231.571 451.875c19.007 0 42.994-29.38 59.827-80.728-19.288-5.688-39.347-13.046-59.827-22.093-20.41 9.125-40.538 16.412-59.757 22.093 16.826 51.348 40.75 80.728 59.757 80.728v0zM164.162 344.222c11.012-3.303 22.31-7.161 33.743-11.572-6.874-3.577-13.747-7.294-20.55-11.222-6.874-3.998-13.543-8.066-20.13-12.204 1.957 12.407 4.272 23.98 6.936 34.998v0zM157.226 145.657c6.586-4.138 13.256-8.206 20.13-12.204 6.803-3.928 13.669-7.645 20.55-11.222-11.433-4.418-22.725-8.276-33.743-11.572-2.665 10.942-4.98 22.591-6.936 34.998v0zM231.571 2.998c-19.007 0-42.924 29.38-59.756 80.728 19.21 5.688 39.276 12.976 59.757 22.093 20.48-9.125 40.538-16.412 59.827-22.093-16.841-51.341-40.819-80.728-59.827-80.728v0zM299.043 110.659c-11.012 3.303-22.303 7.161-33.736 11.572 6.866 3.577 13.669 7.294 20.55 11.222 6.866 3.998 13.536 8.066 20.058 12.204-1.894-12.407-4.279-23.987-6.873-34.998v0zM310.195 182.058c-12.204-8.409-25.039-16.546-38.365-24.26s-26.792-14.729-40.258-21.041c-13.396 6.313-26.863 13.326-40.181 21.041-13.396 7.715-26.231 15.851-38.372 24.26-1.192 14.455-1.893 29.534-1.893 45.386s0.702 30.931 1.893 45.386c12.204 8.41 24.976 16.546 38.372 24.261 13.319 7.715 26.786 14.729 40.181 21.041 13.466-6.313 26.932-13.326 40.258-21.041 13.319-7.715 26.154-15.851 38.365-24.261 1.192-14.455 1.824-29.535 1.824-45.386s-0.638-30.938-1.824-45.386v0zM374.791 356.769c26.231 0 44.887-6.242 51.13-17.106 8.206-14.168-0.912-41.942-23.839-72.592-4.839-6.522-10.24-13.046-16.062-19.575-14.519 13.824-31 27.571-49.096 40.757-2.392 22.233-6.032 43.344-10.731 62.843 17.38 3.71 33.799 5.674 48.598 5.674v0zM339.582 250.933c9.531-7.715 18.516-15.571 26.863-23.496-8.346-7.926-17.331-15.78-26.863-23.496 0.351 7.715 0.484 15.57 0.484 23.496s-0.134 15.78-0.484 23.496v0zM425.984 115.217c-6.305-10.871-24.969-17.106-51.27-17.106-14.729 0-31.14 1.957-48.535 5.681 4.7 19.498 8.339 40.609 10.731 62.843 18.096 13.186 34.577 26.863 49.096 40.757 5.822-6.53 11.222-13.053 16.062-19.575 22.942-30.65 32.053-58.431 23.916-72.599v0zM267.755 227.436c0-19.972-16.19-36.162-36.162-36.162s-36.162 16.19-36.162 36.162c0 19.972 16.19 36.162 36.162 36.162s36.162-16.19 36.162-36.162z" horiz-adv-x="463" />
|
||||
<glyph unicode="" d="M253.749 473.772c-139.453 0-252.493-113.040-252.493-252.493s113.047-252.493 252.493-252.493c139.439 0 252.486 113.040 252.486 252.493s-113.040 252.493-252.486 252.493v0zM253.749 24.895c-108.285 0-196.383 88.099-196.383 196.384s88.099 196.384 196.383 196.384c108.278 0 196.376-88.099 196.376-196.384s-88.092-196.384-196.376-196.384v0zM214.837 261.558l-0.014-0.028-0.028-0.014 0.014-0.021-83.035-161.799 161.988 82.93 1.375 2.413 81.647 159.415-161.946-82.895zM229.706 246.605l49.089-49.089-97.771-48.633 48.682 97.722z" />
|
||||
</font></defs></svg>
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 60 KiB |
Binary file not shown.
|
@ -34,6 +34,10 @@
|
|||
body.settings-menu-expanded & {
|
||||
transform: translate3d(-350px, 0px, 0px);
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -102,6 +106,58 @@
|
|||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Help Menu
|
||||
// --------------------------------------------------
|
||||
|
||||
.help-menu {
|
||||
padding-right: 0;
|
||||
float: right;
|
||||
cursor: pointer;
|
||||
|
||||
.nav-label {
|
||||
margin: 0;
|
||||
padding: 0 6px 0 12px;
|
||||
background: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.help-button {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
border: $midgrey 1px solid;
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
font-size: 1.6rem;
|
||||
line-height: 30px;
|
||||
border-radius: 100%;
|
||||
transition: border 0.5s;
|
||||
}
|
||||
|
||||
.help-menu:hover {
|
||||
.help-button {
|
||||
border: $lightgrey 1px solid;
|
||||
transition: border 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
.help-menu .dropdown {
|
||||
right: 77px;
|
||||
left: auto;
|
||||
|
||||
.dropdown-menu {
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
&.fade-in-scale {
|
||||
animation-duration: 0.1s;
|
||||
}
|
||||
|
||||
&.fade-out {
|
||||
animation-duration: 0.01s;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// User Menu
|
||||
|
@ -109,9 +165,7 @@
|
|||
|
||||
// Right hand dropdown
|
||||
.user-menu {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
float: right;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
|
@ -127,7 +181,7 @@
|
|||
.image {
|
||||
@include circular-image(30px) {
|
||||
float: left;
|
||||
margin: 15px 14px 0 0;
|
||||
margin: 15px 10px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -176,6 +230,7 @@
|
|||
}
|
||||
|
||||
.dropdown-menu {
|
||||
min-width: 180px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
@ -254,6 +309,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.help-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Drop it to the bottom of the menu
|
||||
.user-menu {
|
||||
position: absolute;
|
||||
|
@ -335,4 +394,4 @@
|
|||
}//.nav-cover
|
||||
}//body.global-nav-expanded
|
||||
|
||||
}//@media (max-width: 900px)
|
||||
}//@media (max-width: 900px)
|
||||
|
|
|
@ -344,14 +344,14 @@
|
|||
|
||||
.markdown-help {
|
||||
position: relative;
|
||||
top: -5px;
|
||||
top: -3px;
|
||||
right: -5px;
|
||||
@include icon('question', '', lighten($brown, 15%));
|
||||
@include icon('markdown', '16px', lighten($brown, 15%));
|
||||
float: right;
|
||||
padding: 5px;
|
||||
|
||||
&:hover {
|
||||
@include icon('question', '', $brown);
|
||||
@include icon('markdown', '', $brown);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
@keyframes fade-in-scale {
|
||||
from {
|
||||
transform: scale(0.8);
|
||||
transform: scale(0.95);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
|
@ -73,4 +73,4 @@
|
|||
.fade-out {
|
||||
animation: fade-out 0.5s;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
font-family: "GhostIcons";
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
vertical-align: -7%;
|
||||
vertical-align: -3%;
|
||||
text-transform:none;
|
||||
speak: none;
|
||||
line-height: 1;
|
||||
|
@ -111,7 +111,8 @@ $icons: (
|
|||
app: \e00b,
|
||||
appearance: \e021,
|
||||
archive: \e01f,
|
||||
atom: \e601,
|
||||
atom: \e03f,
|
||||
book: \e043,
|
||||
calendar: \e01e,
|
||||
camera: \e036,
|
||||
check: \e033,
|
||||
|
@ -122,7 +123,7 @@ $icons: (
|
|||
close: \e01c,
|
||||
code: \e03e,
|
||||
comments: \e01b,
|
||||
compass: \e602,
|
||||
compass: \e040,
|
||||
content: \e02d,
|
||||
edit: \e00f,
|
||||
error: \e01a,
|
||||
|
@ -140,6 +141,7 @@ $icons: (
|
|||
list: \e013,
|
||||
lock: \e02c,
|
||||
mail: \e012,
|
||||
markdown: \e041,
|
||||
menu: \e005,
|
||||
mobile: \e010,
|
||||
notification: \e031,
|
||||
|
@ -163,6 +165,7 @@ $icons: (
|
|||
tablet: \e004,
|
||||
tag: \e003,
|
||||
trash: \e023,
|
||||
twitter: \e042,
|
||||
unfeatured: \e027,
|
||||
user: \e02e,
|
||||
users: \e002,
|
||||
|
@ -219,6 +222,18 @@ $icons: (
|
|||
}
|
||||
}
|
||||
|
||||
// Specific icon size adjustments
|
||||
.icon-list:before {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.icon-markdown:before {
|
||||
font-size: 1.1em;
|
||||
vertical-align: -7%;
|
||||
}
|
||||
.icon-twitter:before {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Div-based Icon Classes
|
||||
|
@ -236,4 +251,4 @@ $icons: (
|
|||
linear-gradient(90deg, #fff 1px, transparent 1px),
|
||||
linear-gradient(#fff 1px, transparent 1px),
|
||||
linear-gradient(90deg, #fff 1px, transparent 1px);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@ import DropdownMixin from 'ghost/mixins/dropdown-mixin';
|
|||
|
||||
var DropdownButton = Ember.Component.extend(DropdownMixin, {
|
||||
tagName: 'button',
|
||||
attributeBindings: 'role',
|
||||
role: 'button',
|
||||
|
||||
// matches with the dropdown this button toggles
|
||||
dropdownName: null,
|
||||
|
|
|
@ -42,13 +42,31 @@
|
|||
{{#gh-dropdown tagName="div" classNames="dropdown" name="user-menu" closeOnClick="true"}}
|
||||
<ul class="dropdown-menu dropdown-triangle-top-right js-user-menu-dropdown-menu" role="menu">
|
||||
<li role="presentation">{{#link-to "settings.users.user" session.user.slug classNames="dropdown-item user-menu-profile js-nav-item" role="menuitem" tabindex="-1"}}<i class="icon-user"></i> Your Profile{{/link-to}}</li>
|
||||
<li role="presentation"><a class="dropdown-item user-menu-support" role="menuitem" tabindex="-1" href="http://support.ghost.org/"><i class="icon-support"></i> Help / Support</a></li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation">{{#link-to "signout" classNames="dropdown-item user-menu-signout" role="menuitem" tabindex="-1"}}<i class="icon-power"></i> Sign Out{{/link-to}}</li>
|
||||
</ul>
|
||||
{{/gh-dropdown}}
|
||||
</div>{{! .user-menu }}
|
||||
|
||||
<div class="nav-item help-menu">
|
||||
{{#gh-dropdown-button dropdownName="help-menu" tagName="div" classNames="nav-label clearfix"}}
|
||||
<div class="help-button">
|
||||
<i class="icon-question"><span class="hidden">Help</span></i>
|
||||
</div>
|
||||
{{/gh-dropdown-button}}
|
||||
{{#gh-dropdown tagName="div" classNames="dropdown" name="help-menu" closeOnClick="true"}}
|
||||
<ul class="dropdown-menu dropdown-triangle-top" role="menu">
|
||||
<li role="presentation"><a class="dropdown-item help-menu-support" role="menuitem" tabindex="-1" href="http://support.ghost.org/" target="_blank"><i class="icon-support"></i> Support Center</a></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-tweet" role="menuitem" tabindex="-1" href="https://twitter.com/intent/tweet?text=%40TryGhost+Hi%21+Can+you+help+me+with+&related=TryGhost" target="_blank" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"><i class="icon-twitter"></i> Tweet @TryGhost!</a></li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-how-to" role="menuitem" tabindex="-1" href="http://support.ghost.org/how-to-use-ghost/" target="_blank"><i class="icon-book"></i> How to Use Ghost</a></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-markdown" role="menuitem" tabindex="-1" href="" {{action "openModal" "markdown"}}><i class="icon-markdown"></i> Markdown Help</a></li>
|
||||
<li class="divider"></li>
|
||||
<li role="presentation"><a class="dropdown-item help-menu-wishlist" role="menuitem" tabindex="-1" href="http://ideas.ghost.org/" target="_blank"><i class="icon-list"></i> Wishlist</a></li>
|
||||
</ul>
|
||||
{{/gh-dropdown}}
|
||||
</div>{{! .help-menu }}
|
||||
|
||||
</nav>{{! .global-nav }}
|
||||
|
||||
<div class="nav-cover js-nav-cover"></div>
|
||||
|
|
|
@ -72,6 +72,6 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
For further Markdown syntax reference: <a href="http://daringfireball.net/projects/markdown/syntax" target="_blank">Markdown Documentation</a>
|
||||
For further Markdown syntax reference: <a href="http://support.ghost.org/markdown-guide/" target="_blank">Markdown Documentation</a>
|
||||
</section>
|
||||
{{/gh-modal-dialog}}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*globals CasperTest, casper, newUser */
|
||||
|
||||
CasperTest.begin('Admin navigation bar is correct', 28, function suite(test) {
|
||||
CasperTest.begin('Admin navigation bar is correct', 45, function suite(test) {
|
||||
casper.thenOpenAndWaitForPageLoad('root', function testTitleAndUrl() {
|
||||
test.assertTitle('Content - Test Blog', 'Ghost admin has incorrect title');
|
||||
test.assertUrlMatch(/ghost\/\d+\/$/, 'Landed on the correct URL');
|
||||
|
@ -38,6 +38,57 @@ CasperTest.begin('Admin navigation bar is correct', 28, function suite(test) {
|
|||
test.assertDoesntExist('.nav-settings.active', 'Settings nav item is marked active');
|
||||
});
|
||||
|
||||
casper.then(function testHelpMenuNotVisible() {
|
||||
test.assertExists('.help-menu', 'Help menu nav item exists');
|
||||
test.assertNotExists('.help-menu .dropdown.open', 'Help menu should not be visible');
|
||||
});
|
||||
|
||||
casper.thenClick('.help-menu .nav-label');
|
||||
casper.waitForSelector('.help-menu .dropdown.open', function then() {
|
||||
var supportHref = this.getElementAttribute('.help-menu-support', 'href'),
|
||||
tweetHref = this.getElementAttribute('.help-menu-tweet', 'href'),
|
||||
howtoHref = this.getElementAttribute('.help-menu-how-to', 'href'),
|
||||
wishlistHref = this.getElementAttribute('.help-menu-wishlist', 'href');
|
||||
|
||||
test.assertVisible('.help-menu .dropdown-menu', 'Help menu should be visible');
|
||||
|
||||
test.assertExists('.help-menu-support', 'Support menu item exists');
|
||||
test.assertSelectorHasText('.help-menu-support', 'Support Center', 'Support menu item has correct text');
|
||||
test.assertEquals(supportHref, 'http://support.ghost.org/', 'Support href is correct');
|
||||
|
||||
test.assertExists('.help-menu-tweet', 'Tweet menu item exists');
|
||||
test.assertSelectorHasText('.help-menu-tweet', 'Tweet @TryGhost!', 'Tweet menu item has correct text');
|
||||
test.assertEquals(tweetHref, 'https://twitter.com/intent/tweet?text=%40TryGhost+Hi%21+Can+you+help+me+with+&related=TryGhost', 'Tweet href is correct');
|
||||
|
||||
test.assertExists('.help-menu-how-to', 'How-to menu item exists');
|
||||
test.assertSelectorHasText('.help-menu-how-to', 'How to Use Ghost', 'How-to menu item has correct text');
|
||||
test.assertEquals(howtoHref, 'http://support.ghost.org/how-to-use-ghost/', 'How-to href is correct');
|
||||
|
||||
test.assertExists('.help-menu-wishlist', 'Wishlist menu item exists');
|
||||
test.assertSelectorHasText('.help-menu-wishlist', 'Wishlist', 'Wishlist menu item has correct text');
|
||||
test.assertEquals(wishlistHref, 'http://ideas.ghost.org/', 'Wishlist href is correct');
|
||||
|
||||
test.assertExists('.help-menu-markdown', 'Markdown menu item exists');
|
||||
test.assertSelectorHasText('.help-menu-markdown', 'Markdown Help', 'Markdown menu item has correct text');
|
||||
|
||||
casper.thenClick('.help-menu-markdown');
|
||||
|
||||
casper.waitUntilVisible('.modal-container', function onSuccess() {
|
||||
test.assertSelectorHasText(
|
||||
'.modal-content .modal-header',
|
||||
'Markdown Help',
|
||||
'delete modal has correct text');
|
||||
|
||||
test.assertExists('.modal-content .close');
|
||||
});
|
||||
|
||||
casper.thenClick('.modal-content .close');
|
||||
|
||||
casper.waitWhileVisible('.modal-container', function onSuccess() {
|
||||
test.assert(true, 'clicking close should remove the markdown help modal');
|
||||
});
|
||||
}, casper.failOnTimeout(test, 'WaitForSelector .help-menu .dropdown failed'));
|
||||
|
||||
casper.then(function testUserMenuNotVisible() {
|
||||
test.assertExists('.user-menu', 'User menu nav item exists');
|
||||
test.assertNotExists('.user-menu .dropdown.open', 'User menu should not be visible');
|
||||
|
@ -46,7 +97,6 @@ CasperTest.begin('Admin navigation bar is correct', 28, function suite(test) {
|
|||
casper.thenClick('.user-menu .nav-label');
|
||||
casper.waitForSelector('.user-menu .dropdown.open', function then() {
|
||||
var profileHref = this.getElementAttribute('.user-menu-profile', 'href'),
|
||||
helpHref = this.getElementAttribute('.user-menu-support', 'href'),
|
||||
signoutHref = this.getElementAttribute('.user-menu-signout', 'href');
|
||||
|
||||
test.assertVisible('.user-menu .dropdown-menu', 'User menu should be visible');
|
||||
|
@ -56,10 +106,6 @@ CasperTest.begin('Admin navigation bar is correct', 28, function suite(test) {
|
|||
'Profile menu item has correct text');
|
||||
test.assertEquals(profileHref, '/ghost/settings/users/' + newUser.slug + '/', 'Profile href is correct');
|
||||
|
||||
test.assertExists('.user-menu-support', 'Help menu item exists');
|
||||
test.assertSelectorHasText('.user-menu-support', 'Help / Support', 'Help menu item has correct text');
|
||||
test.assertEquals(helpHref, 'http://support.ghost.org/', 'Help href is correct');
|
||||
|
||||
test.assertExists('.user-menu-signout', 'Sign Out menu item exists');
|
||||
test.assertSelectorHasText('.user-menu-signout', 'Sign Out', 'Signout menu item has correct text');
|
||||
test.assertEquals(signoutHref, '/ghost/signout/', 'Sign Out href is correct');
|
||||
|
|
Loading…
Add table
Reference in a new issue