replace moderator icon

pull/595/head
Thibault Duplessis 2015-06-14 16:02:39 +02:00
parent 99f7ffc49a
commit 1c8eeb1d27
10 changed files with 40 additions and 16 deletions

View File

@ -121,7 +121,7 @@ chessground: Boolean = true)(body: Html)(implicit ctx: Context)
</div>
@defining(reportNbUnprocessed) { nb =>
@if(nb > 0) {
<a class="fright link" href="@routes.Report.list" data-icon="n"><strong>@nb</strong></a>
<a class="fright link" href="@routes.Report.list" data-icon="@icon.mod"><strong>@nb</strong></a>
}
}
}

View File

@ -139,7 +139,7 @@ openGraph = Map(
</a>
}
@if(isGranted(_.UserSpy)) {
<a class="button mod_zone_toggle hint--bottom-left" href="@routes.User.mod(u.username)" data-hint="Mod zone"><span data-icon="n"></span></a>
<a class="button mod_zone_toggle hint--bottom-left" href="@routes.User.mod(u.username)" data-hint="Mod zone"><span data-icon="@icon.mod"></span></a>
}
<a class="button hint--bottom-left" href="@routes.User.tv(u.username)" data-hint="Watch games"><span data-icon="1"></span></a>
@if(ctx.isAuth && !ctx.is(u)) {

Binary file not shown.

View File

@ -77,7 +77,6 @@
<glyph unicode="&#111;" d="M224 480l-128 0-64-64 0-128 256-256 192 192z m-160-176l0 96 48 48 96 0 224-224-144-144z m192 48l-96-96 128-128 96 96z m-48-96l48 48 80-80-48-48z m-16 112c0 26-21 48-48 48-26 0-48-22-48-48 0-27 22-48 48-48 27 0 48 21 48 48z m-48-16c-9 0-16 7-16 16 0 9 7 16 16 16 9 0 16-7 16-16 0-9-7-16-16-16z"/>
<glyph unicode="&#113;" d="M201 302l0-165c0-3-1-5-2-6-2-2-4-3-7-3l-18 0c-3 0-5 1-7 3-2 1-2 3-2 6l0 165c0 2 0 5 2 6 2 2 4 3 7 3l18 0c3 0 5-1 7-3 1-1 2-4 2-6z m73 0l0-165c0-3-1-5-2-6-2-2-4-3-7-3l-18 0c-3 0-5 1-7 3-1 1-2 3-2 6l0 165c0 2 1 5 2 6 2 2 4 3 7 3l18 0c3 0 5-1 7-3 1-1 2-4 2-6z m73 0l0-165c0-3 0-5-2-6-2-2-4-3-7-3l-18 0c-3 0-5 1-7 3-1 1-2 3-2 6l0 165c0 2 1 5 2 6 2 2 4 3 7 3l18 0c3 0 5-1 7-3 2-1 2-4 2-6z m37-207l0 271-256 0 0-271c0-4 1-8 2-12 1-3 3-6 4-7 2-2 3-3 3-3l238 0c0 0 1 1 3 3 1 1 3 4 4 7 1 4 2 8 2 12z m-192 307l128 0-14 34c-1 1-3 2-5 3l-90 0c-2-1-4-2-5-3z m265-9l0-18c0-3-1-5-2-7-2-1-4-2-7-2l-27 0 0-271c0-16-5-30-14-41-9-12-20-17-32-17l-238 0c-12 0-23 5-32 16-9 11-14 25-14 41l0 272-27 0c-3 0-5 1-7 2-1 2-2 4-2 7l0 18c0 3 1 5 2 7 2 1 4 2 7 2l88 0 20 48c3 7 8 13 16 18 7 5 15 7 22 7l92 0c7 0 15-2 22-7 8-5 13-11 16-18l20-48 88 0c3 0 5-1 7-2 1-2 2-4 2-7z"/>
<glyph unicode="&#121;" d="M347 274c0 36-12 66-37 91-25 25-55 37-91 37-35 0-65-12-90-37-25-25-38-55-38-91 0-35 13-65 38-90 25-25 55-38 90-38 36 0 66 13 91 38 25 25 37 55 37 90z m147-237c0-10-4-19-11-26-7-7-16-11-26-11-10 0-19 4-26 11l-98 98c-34-24-72-36-114-36-27 0-53 5-78 16-25 11-46 25-64 43-18 18-32 39-43 64-10 25-16 51-16 78 0 28 6 54 16 78 11 25 25 47 43 65 18 18 39 32 64 43 25 10 51 15 78 15 28 0 54-5 79-15 24-11 46-25 64-43 18-18 32-40 43-65 10-24 16-50 16-78 0-42-12-80-36-114l98-98c7-7 11-15 11-25z"/>
<glyph unicode="&#110;" d="M420 194c-4 0-8-1-12-2l-35 60 35 60c2-1 4-1 7-1 15 0 27 12 27 27 0 16-12 28-27 28-10 0-18-5-23-12l-78 0-36 62c3 5 5 10 5 15 0 16-13 28-28 28-15 0-28-12-28-28 0-5 2-10 5-14l-37-63-79 0c-5 9-14 14-24 14-15 0-28-12-28-27 0-15 13-28 28-28 4 0 8 2 12 3l35-60-35-60c-2 1-4 1-7 1-15 0-27-12-27-28 0-15 12-27 27-27 10 0 18 5 23 12l78 0 35-61c-2-3-4-8-4-12 0-16 13-28 28-28 15 0 28 12 28 28 0 4-2 8-4 12l36 61 79 0c5-9 14-15 24-15 15 0 28 13 28 28 0 15-13 27-28 27z"/>
<glyph unicode="&#56;" d="M430 102c0 9-7 16-15 16l-318 0c-8 0-15-7-15-16l0-19c0-9 7-16 15-16l318 0c8 0 15 7 15 16z m-304 213l0 0 0 0c-3 3-7 4-11 4-9 0-16-7-17-16l0 0 0-150 1 0c0-8 7-15 16-15 0 0 0 0 0 0l0 0 282 0 0 1c0 0 0 0 0 0 8 0 15 6 16 14l1 0 0 2c0 0 0 0 0 0l0 145c0 1 0 2 0 3 0 10-8 17-17 17-4 0-7-1-10-4l0 0-1 0c0-1-1-1-1-2l-36-35-81 81 0 0c-3 3-7 5-12 5-5 0-9-2-12-5l0 0-82-81-34 35c-1 0-1 1-2 1z m248-43l0 0-1 0z m-229 101c0-17-13-31-31-31-17 0-31 14-31 31 0 17 14 31 31 31 18 0 31-14 31-31z m282 0c0-17-14-31-31-31-17 0-31 14-31 31 0 17 14 31 31 31 17 0 31-14 31-31z m-138 41c0-17-14-31-31-31-17 0-31 14-31 31 0 17 14 31 31 31 17 0 31-14 31-31z"/>
<glyph unicode="&#39;" d="M430 393c-1 20-17 36-37 37l0 0-274 0 0 0c-20-1-36-17-37-37l0 0 0-274 0 0c1-20 17-36 37-37l0 0 274 0 0 0c20 1 36 17 37 37l0 0 0 274z m-261-258c-20 0-36 16-36 36 0 20 16 36 36 36 20 0 36-16 36-36 0-20-16-36-36-36z m0 85c-20 0-36 16-36 36 0 20 16 36 36 36 20 0 36-16 36-36 0-20-16-36-36-36z m0 87c-20 0-36 16-36 36 0 20 16 36 36 36 20 0 36-16 36-36 0-20-16-36-36-36z m174-174c-20 0-36 16-36 36 0 20 16 36 36 36 20 0 36-16 36-36 0-20-16-36-36-36z m0 87c-20 0-36 16-36 36 0 20 16 36 36 36 20 0 36-16 36-36 0-20-16-36-36-36z m0 87c-20 0-36 16-36 36 0 20 16 36 36 36 20 0 36-16 36-36 0-20-16-36-36-36z"/>
<glyph unicode="&#40;" d="M473 392c5 2 9 2 11 0 3-3 3-6 0-10-32-47-60-84-84-109-23-26-42-41-56-46-14-5-27-6-37-1-11 4-21 11-31 19-10 8-21 15-32 20-12 6-28 5-48-2-20-7-44-21-71-44 0 0 46-180 46-180 0 0-51 0-51 0 0 0-94 369-94 369 0 0 47 17 47 17 30 22 56 37 78 44 21 7 37 7 50 2 12-6 23-15 32-27 10-11 21-23 32-36 12-13 25-23 41-32 15-8 37-12 66-10 28 2 62 10 101 26"/>
@ -105,4 +104,7 @@
<glyph unicode="&#92;" d="M235 139c100 0 181 81 181 181 0 100-81 181-181 181-100 0-182-81-182-181 0-100 82-181 182-181z m0 341c88 0 160-72 160-160 0-88-72-160-160-160-88 0-160 72-160 160 0 88 72 160 160 160z m166-326c89 89 91 232 7 324l8 8c4 4 4 11 0 15-4 4-11 4-15 0l-31-30c-4-4-4-11 0-15 3-2 5-3 8-3 3 0 6 1 8 3l7 7c75-84 73-213-7-294-81-80-211-83-294-7l7 7c4 4 4 11 0 15-4 4-11 4-15 0l-30-30c-4-4-4-11 0-15 2-2 5-3 7-3 3 0 6 1 8 3l8 8c39-36 87-56 136-61l0-23c-40-4-79-19-112-44l-26-19 319 0-25 19c-34 25-72 40-113 44l0 23c53 5 104 28 145 68z m-256-133c27 14 58 22 90 22 31 0 62-8 90-22z"/>
<glyph unicode="&#44;" d="M350 263c-3 3-9 3-12-1-3-3-2-9 1-12 16-13 28-29 36-47-1 1-2 0-3 0-5-2-26-10-26-26-1-5-15-14-22-19l-2-2c-12-7-15-21-11-29 2-6 9-9 15-7 10 4 24 5 30 0 6-5 14-7 20-7 2 0 4 0 5 1-5-19-14-36-27-50l-1 1c0 0-6 4-5 9 4 22-1 27-5 30-2 2-8 3-16-3-5-4-13-2-25 1-2 1-5 1-7 2-14 3-34-1-42-9-3-3-5-8-3-12 1-3 5-21-7-28-5-3-8-7-9-13-1-7 2-15 6-21-30 4-56 18-76 38 5 16 13 32 18 35 13-2 25 7 29 17 3 8 1 15-5 20-8 5-15 16-15 20 0 12-5 20-17 25-8 4-30 7-42 9 7 25 21 48 42 65 3 3 4 8 1 12-3 4-9 4-12 1-34-28-53-69-53-113 0-81 66-147 147-147 81 0 147 66 147 147 0 44-20 85-54 113z m-222-95c15-2 34-5 38-7 7-3 8-6 8-10 0-11 11-26 21-34 0-1-1-3-3-4-3-2-6-3-8-3-15 3-26-18-33-36-15 21-24 48-24 76 0 6 0 12 1 18z m124-127c16 9 18 28 15 43 4 3 15 5 24 3 2 0 5-1 7-1 11-3 24-7 34-2 0-1 0-4-1-6-2-12 5-21 11-26-22-19-50-31-80-32-5 6-12 15-11 19 0 1 0 1 1 2z m133 91c-5-2-13-3-17 1-12 10-28 8-40 5 1 2 2 3 3 4l2 1c14 9 29 20 30 34 0 2 7 7 15 10 1 0 2 1 3 2 3-13 6-26 6-39 0-6-1-12-2-18z m27 300c-8 5-16 6-25 4-2 9-8 18-17 24-11 7-24 11-38 12-16 25-44 40-75 40-31 0-59-15-75-40-10-1-21-3-30-8-11-5-18-12-22-21-9 3-19 2-28-3-12-7-19-20-19-34 0-15 7-28 20-34 9-5 20-6 29-3 6-9 15-15 28-20 9-3 19-4 29-4 5 0 10 0 15 1 3-3 6-5 8-7 5-4 7-6 8-12-4-1-8-2-12-4-10-6-17-16-17-28 0-12 7-22 17-28 2-2 5-3 8-3 0-2-1-3-1-4-2-25-3-45-16-58-4-3-4-8 0-12 1-1 4-2 6-2 2 0 4 1 6 2 17 17 19 41 21 68 0 2 1 4 1 6 2 1 5 2 7 3 4 3 5 8 3 12-3 4-8 6-12 3-5-3-10-3-15 0-5 2-8 7-8 13 0 5 3 10 8 13 5 2 11 2 16-1 4-2 9-1 11 3 3 3 2 9-2 11-1 1-2 2-3 2-1 9-3 15-6 20 7-3 14-5 22-5l2 0c9 0 18 2 26 5-3-4-5-10-5-20-1 0-3-1-4-2-4-2-5-8-2-11 3-4 8-5 12-3 4 3 10 4 15 1 5-3 8-8 8-13 0-6-3-11-8-13-4-3-10-3-15 0-4 3-9 1-11-3-3-4-1-9 3-12 1 0 3-1 4-2 0-2 1-4 1-7 2-27 4-51 21-68 2-1 4-2 6-2 2 0 5 1 6 2 4 4 4 9 0 12-13 13-14 33-16 58 0 1 0 2-1 3 4 1 7 2 11 4 10 6 16 16 16 28 0 12-6 22-17 28-4 2-8 3-12 4 1 7 3 9 8 13 2 2 4 4 7 6l0 0c5-1 11-1 17-1 7 0 14 1 21 2 13 3 24 9 31 17 10-5 21-6 32-1 13 6 22 20 22 35 0 15-8 28-20 34z m-10-53c-7-4-14-2-20 3-2 2-5 2-7 2-3-1-5-2-6-4-6-10-17-14-26-16-17-4-37-1-45 4l-1 0-1 1-2 0-2 0-1 0-2-1-1-1-1 0c-8-8-20-13-32-12-11 0-21 4-28 12l0 0-2 1-1 1-2 0-1 0-2 0-2-1-1 0c-9-6-32-9-51-2-8 2-17 7-21 18-1 2-3 4-5 5-3 1-6 0-8-1-6-4-14-5-20-1-7 3-11 11-11 19 0 8 4 15 11 19 6 3 13 3 19-1l0 0c5-2 8-7 9-12 1-4 5-6 9-6l2 0c4 1 7 6 6 10-2 8-6 14-11 19 2 5 7 10 15 14 15 8 35 8 50 0 4-2 9 0 12 4 2 4 0 9-4 12-5 2-10 4-16 5 13 16 33 25 55 25 22 0 42-9 55-25-5-1-10-3-15-6-5-2-6-7-4-11 2-4 7-6 11-4 8 4 15 6 23 6l0 0 1 0c12 0 24-3 32-9 5-4 11-9 11-17-4-4-7-8-10-13-2-4 0-9 4-11 1-1 3-1 4-1 3 0 6 1 8 4 1 4 4 7 7 9 6 4 14 4 20 0 7-3 11-10 11-19 0-10-7-17-13-19z m-146-200c5 0 9 4 9 9l0 59c0 5-4 9-9 9-5 0-8-4-8-9l0-59c0-5 3-9 8-9z"/>
<glyph unicode="&#126;" d="M475 288l-42 42c-2 2-6 3-9 2-3 0-5-3-6-6l-8-34c-1-3 0-6 2-8l3-2-10-10-6 7c-4 3-9 3-12 0-4-3-4-9 0-12l6-7-31-31c0 1-1 1-2 1-21 20-53 30-80 39-2 0-5 1-7 2l0 190 9 0c4 0 8 4 8 8l0 34c0 5-4 9-8 9l-120 0c-5 0-8-4-8-9l0-34c0-4 3-8 8-8l9 0 0-190c-3-1-5-2-7-2-28-9-59-19-80-39-4 0-7-4-7-8-11-13-17-29-17-51 0-66 57-84 104-98 2-1 4-2 7-2l0-15-56-41c-3-2-5-6-4-9 2-4 5-6 9-6l204 0c5 0 9 4 9 9 0 3-2 6-5 7l-55 40 0 15c2 0 5 1 7 2 46 14 104 32 104 98 0 18-4 32-12 44l33 33 7-7c2-1 4-2 6-2 2 0 5 1 6 2 4 4 4 9 0 12l-7 7 10 10 2-3c2-2 4-2 6-2l2 0 34 8c3 1 6 3 7 6 0 3 0 6-3 9z m-304 207l102 0 0-17-102 0z m-2-243c4 2 9 3 13 4 3 2 6 5 6 9l0 196 68 0 0-196c0-4 2-7 6-9 4-1 9-2 13-4 20-6 40-12 56-22l-218 0c16 10 35 16 56 22z m-23-235l36 26 80 0 36-26z m221 154c0-53-45-67-92-82-4-1-9-3-13-4-4-1-6-4-6-8l0-17-68 0 0 17c0 4-3 7-6 8-4 1-9 3-13 4-47 15-92 29-92 82 0 18 5 32 14 42l255 0-105-105c-3-3-3-8 0-12 2-1 4-2 7-2 2 0 4 1 6 2l106 107c4-9 7-20 7-32z m71 112l-10 10 3 15 22-22z"/>
<glyph unicode="&#57344;" d="M79 336c-3-3-4-7-6-11-1-5-1-9-1-13 0-4 0-6-1-6-1-1-4-3-9-8-5-4-8-7-9-8-6-5-11-4-15 2 0 0-36 39-36 39-3 4-3 8 1 12 1 1 4 3 10 7 5 4 8 7 10 8 2 2 6 3 14 3 7 0 13 3 19 8 4 4 7 11 9 19 1 8 3 13 5 15 1 0 2 2 5 4 2 2 6 6 13 11 6 5 13 11 21 16 46 31 77 47 95 49 42 0 67 0 76-1 4 0 3-1-4-4-41-18-67-31-78-39-27-19-34-38-19-58 12-16 19-24 20-25 3-2 2-5-1-7-1-1-7-6-20-18-12-11-18-17-19-18-5-2-8-3-9-2-15 17-27 27-37 31-9 4-21 2-34-6m147-13c0 0 209-244 209-244 7-8 6-14-1-20 0 0-24-21-24-21-8-5-14-4-20 2 0 0-212 242-212 242-2 2-2 6 0 10 0 0 37 32 37 32 4 2 8 2 11-1m283 103c6-36 3-64-8-85-17-30-43-41-79-32-19 4-36-1-51-16 0 0-42-40-42-40 0 0-35 40-35 40 0 0 35 36 35 36 8 8 13 17 16 27 2 10 3 21 3 33 0 12 0 22 2 30 5 19 28 38 72 57 4 2 7 2 9-1 2-3 3-6 1-8-4-4-12-18-23-41-5-3-7-9-6-18 0-8 7-18 20-27 20-14 36-10 49 11 2 4 7 11 14 21 6 10 10 16 11 17 1 3 4 5 7 5 3-1 5-4 5-9m-439-350c0 0 130 127 130 127 0 0 39-44 39-44 0 0-126-124-126-124-7-7-13-8-20-2 0 0-23 23-23 23-8 6-8 13 0 20"/>
<glyph unicode="&#57345;" d="M256 512c-141 0-256-115-256-256 0-141 115-256 256-256 141 0 256 115 256 256 0 141-115 256-256 256m0-480c-123 0-224 100-224 224 0 124 101 224 224 224 124 0 224-100 224-224 0-124-100-224-224-224m45 290l-45 139-45-139-147 0 119-87-46-139 119 86 119-86-46 139 119 87z"/>
<glyph unicode="&#57346;" d="M384 64c0 35 29 64 64 64 35 0 64-29 64-64 0-35-29-64-64-64-35 0-64 29-64 64z m32 0c0-18 14-32 32-32 18 0 32 14 32 32 0 18-14 32-32 32-18 0-32-14-32-32z m-416 384c0 35 29 64 64 64 35 0 64-29 64-64 0-35-29-64-64-64-35 0-64 29-64 64z m32 0c0-18 14-32 32-32 18 0 32 14 32 32 0 18-14 32-32 32-18 0-32-14-32-32z m416-64c35 0 64 29 64 64 0 35-29 64-64 64-35 0-64-29-64-64 0-12 3-23 9-32l-51-52c-26 12-54 20-86 20-123-1-204-117-205-118l-7-9 7-10c1 0 34-48 90-83l-45-45c-9 6-20 9-32 9-35 0-64-29-64-64 0-35 29-64 64-64 35 0 64 29 64 64 0 12-3 23-9 32l52 52c25-12 53-20 85-20 123 1 204 118 205 119l7 9-7 9c-1 1-34 49-90 83l45 45c9-6 20-9 32-9z m-26-121c2-3 4-5 6-7-2-2-4-4-6-7-27-30-90-90-166-89-50 0-95 26-128 53-16 13-29 27-38 37-2 2-4 5-6 7 2 2 4 4 6 6 27 31 90 90 166 89 50 0 95-26 128-52 16-14 29-27 38-37z m-102-7c0-35-29-64-64-64-35 0-64 29-64 64 0 35 29 64 64 64 35 0 64-29 64-64z"/>
</font></defs></svg>

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

View File

@ -325,10 +325,6 @@ h2{font-size:18px;padding:0 0 21px 5px;margin:45px 0 0 0;text-transform:uppercas
<div class="icon icon-search-find"></div>
<input type="text" readonly="readonly" value="search-find">
</li>
<li>
<div class="icon icon-sheriff-badge"></div>
<input type="text" readonly="readonly" value="sheriff-badge">
</li>
<li>
<div class="icon icon-crown"></div>
<input type="text" readonly="readonly" value="crown">
@ -437,6 +433,18 @@ h2{font-size:18px;padding:0 0 21px 5px;margin:45px 0 0 0;text-transform:uppercas
<div class="icon icon-hookah"></div>
<input type="text" readonly="readonly" value="hookah">
</li>
<li>
<div class="icon icon-tools"></div>
<input type="text" readonly="readonly" value="tools">
</li>
<li>
<div class="icon icon-medal-outline-star"></div>
<input type="text" readonly="readonly" value="medal-outline-star">
</li>
<li>
<div class="icon icon-agent"></div>
<input type="text" readonly="readonly" value="agent">
</li>
</ul>
<h2>Character mapping</h2>
<ul class="glyphs character-mapping">
@ -720,10 +728,6 @@ h2{font-size:18px;padding:0 0 21px 5px;margin:45px 0 0 0;text-transform:uppercas
<div data-icon="y" class="icon"></div>
<input type="text" readonly="readonly" value="y">
</li>
<li>
<div data-icon="n" class="icon"></div>
<input type="text" readonly="readonly" value="n">
</li>
<li>
<div data-icon="8" class="icon"></div>
<input type="text" readonly="readonly" value="8">
@ -832,6 +836,18 @@ h2{font-size:18px;padding:0 0 21px 5px;margin:45px 0 0 0;text-transform:uppercas
<div data-icon="~" class="icon"></div>
<input type="text" readonly="readonly" value="~">
</li>
<li>
<div data-icon="&#xe000;" class="icon"></div>
<input type="text" readonly="readonly" value="&amp;#xe000;">
</li>
<li>
<div data-icon="&#xe001;" class="icon"></div>
<input type="text" readonly="readonly" value="&amp;#xe001;">
</li>
<li>
<div data-icon="&#xe002;" class="icon"></div>
<input type="text" readonly="readonly" value="&amp;#xe002;">
</li>
</ul>
</div><script type="text/javascript">
(function() {

View File

@ -248,9 +248,6 @@
.icon-search-find:before {
content: "y";
}
.icon-sheriff-badge:before {
content: "n";
}
.icon-crown:before {
content: "8";
}
@ -332,3 +329,12 @@
.icon-hookah:before {
content: "~";
}
.icon-tools:before {
content: "\e000";
}
.icon-medal-outline-star:before {
content: "\e001";
}
.icon-agent:before {
content: "\e002";
}

View File

@ -58,8 +58,8 @@ time {
}
@font-face {
font-family: "lichess";
src: url("../font40/fonts/lichess.eot");
src: url("../font40/fonts/lichess.eot?#iefix") format("embedded-opentype"), url("../font40/fonts/lichess.woff") format("woff"), url("../font40/fonts/lichess.ttf") format("truetype"), url("../font40/fonts/lichess.svg#lichess") format("svg");
src: url("../font41/fonts/lichess.eot");
src: url("../font41/fonts/lichess.eot?#iefix") format("embedded-opentype"), url("../font41/fonts/lichess.woff") format("woff"), url("../font41/fonts/lichess.ttf") format("truetype"), url("../font41/fonts/lichess.svg#lichess") format("svg");
font-weight: normal;
font-style: normal;
}