Overview
| Comment: | add notices link |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
8a8a11609d10f55fcc6b7f0dc21893cc |
| User & Date: | lexi on 2021-01-05 22:42:58 |
| Other Links: | manifest | tags |
Context
|
2021-01-05
| ||
| 22:48 | adjusted bell check-in: 0faa879398 user: lexi tags: trunk | |
| 22:42 | add notices link check-in: 8a8a11609d user: lexi tags: trunk | |
| 22:13 | clean up debug code check-in: 7239d174b1 user: lexi tags: trunk | |
Changes
Modified config.lua from [8efc0b984f] to [5768880cb8].
50 50 embeds = { 51 51 -- TODO with gzip compression, svg is dramatically superior to webp 52 52 -- we should add support for content-encoding headers and pre-compress 53 53 -- the damn things before compiling (also making the binary smaller) 54 54 {'style.css', 'text/css'}; 55 55 {'live.js', 'text/javascript'}; -- rrrrrrrr 56 56 {'default-avatar.webp', 'image/webp'}; -- needs inkscape-exclusive svg features 57 + {'bell.svg', 'image/svg+xml'}; 58 + {'heart.webp', 'image/webp'}; 59 + {'retweet.webp', 'image/webp'}; 57 60 {'padlock.svg', 'image/svg+xml'}; 58 61 {'warn.svg', 'image/svg+xml'}; 59 62 {'query.webp', 'image/webp'}; 60 - {'heart.webp', 'image/webp'}; 61 - {'retweet.webp', 'image/webp'}; 62 63 }; 63 64 default_ui_accent = tonumber(default('parsav_ui_default_accent',323)); 64 65 } 65 66 if os.getenv('parsav_let_me_be_an_idiot') == "i know what i'm doing" then 66 67 conf.braingeniousmode = true -- SOUND GENERAL QUARTERS 67 68 end 68 69 if u.ping '.fslckout' or u.ping '_FOSSIL_' then
Modified render/nav.t from [c8c1aa5dcb] to [62959bc993].
3 3 render_nav(co: &lib.srv.convo) 4 4 var t: lib.str.acc t:init(64) 5 5 if co.who ~= nil or co.srv.cfg.pol_sec == lib.srv.secmode.public then 6 6 t:lpush(' <a accesskey="t" href="/">timeline</a>') 7 7 end 8 8 if co.who ~= nil then 9 9 t:lpush(' <a accesskey="c" href="/compose">compose</a> <a accesskey="p" href="/'):push(co.who.xid,0) 10 - t:lpush('">profile</a> <a accesskey="o" href="/conf">configure</a> <a accesskey="d" href="/doc">docs</a> <a accesskey="g" href="/logout">log out</a>') 10 + t:lpush('">profile</a> <a accesskey="o" href="/conf">configure</a> <a accesskey="d" href="/doc">docs</a> <a accesskey="g" href="/logout">log out</a> <a class="bell" href="/notices">notices</a>') 11 11 else 12 12 t:lpush(' <a accesskey="d" href="/doc">docs</a> <a accesskey="g" href="/login">log in</a>') 13 13 end 14 14 return t:finalize() 15 15 end 16 16 return render_nav
Added static/bell.svg version [bf9443a529].
1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 +<!-- Created with Inkscape (http://www.inkscape.org/) --> 3 + 4 +<svg 5 + xmlns:dc="http://purl.org/dc/elements/1.1/" 6 + xmlns:cc="http://creativecommons.org/ns#" 7 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 8 + xmlns:svg="http://www.w3.org/2000/svg" 9 + xmlns="http://www.w3.org/2000/svg" 10 + xmlns:xlink="http://www.w3.org/1999/xlink" 11 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 + width="0.2in" 14 + height="0.2in" 15 + viewBox="0 0 5.0800002 5.0800002" 16 + version="1.1" 17 + id="svg8" 18 + inkscape:version="0.92.4 (5da689c313, 2019-01-14)" 19 + sodipodi:docname="bell.svg"> 20 + <defs 21 + id="defs2"> 22 + <linearGradient 23 + inkscape:collect="always" 24 + id="linearGradient863"> 25 + <stop 26 + style="stop-color:#ffffff;stop-opacity:0.86792451" 27 + offset="0" 28 + id="stop859" /> 29 + <stop 30 + style="stop-color:#ffffff;stop-opacity:0;" 31 + offset="1" 32 + id="stop861" /> 33 + </linearGradient> 34 + <radialGradient 35 + inkscape:collect="always" 36 + xlink:href="#linearGradient863" 37 + id="radialGradient865" 38 + cx="2.5399754" 39 + cy="295.73944" 40 + fx="2.5399754" 41 + fy="295.91135" 42 + r="1.6620824" 43 + gradientTransform="matrix(2.9231276,0,0,2.7982783,-4.8846969,-531.55554)" 44 + gradientUnits="userSpaceOnUse" /> 45 + </defs> 46 + <sodipodi:namedview 47 + id="base" 48 + pagecolor="#2f000f" 49 + bordercolor="#666666" 50 + borderopacity="1.0" 51 + inkscape:pageopacity="0" 52 + inkscape:pageshadow="2" 53 + inkscape:zoom="11.2" 54 + inkscape:cx="1.8873933" 55 + inkscape:cy="23.494937" 56 + inkscape:document-units="mm" 57 + inkscape:current-layer="layer1" 58 + showgrid="false" 59 + units="in" 60 + inkscape:window-width="1920" 61 + inkscape:window-height="1042" 62 + inkscape:window-x="0" 63 + inkscape:window-y="38" 64 + inkscape:window-maximized="0" /> 65 + <metadata 66 + id="metadata5"> 67 + <rdf:RDF> 68 + <cc:Work 69 + rdf:about=""> 70 + <dc:format>image/svg+xml</dc:format> 71 + <dc:type 72 + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 73 + <dc:title></dc:title> 74 + </cc:Work> 75 + </rdf:RDF> 76 + </metadata> 77 + <g 78 + inkscape:label="Layer 1" 79 + inkscape:groupmode="layer" 80 + id="layer1" 81 + transform="translate(0,-291.91998)"> 82 + <path 83 + id="path836" 84 + style="fill:url(#radialGradient865);fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" 85 + d="m 4.2020577,295.55515 c 0,0 -0.016704,-0.57629 -0.4677217,-0.75169 0,0 0.1485136,-1.53033 -0.8432532,-1.89986 0,0 -0.017021,-0.34687 -0.3511075,-0.35523 -0.3340865,0.008 -0.3511075,0.35523 -0.3511075,0.35523 -0.9917668,0.36953 -0.8432532,1.89986 -0.8432532,1.89986 -0.45101762,0.1754 -0.46772162,0.75169 -0.46772162,0.75169 1.08539582,0.23792 2.19422672,0.22977 3.32416472,0 z" 86 + inkscape:connector-curvature="0" 87 + sodipodi:nodetypes="cccccccc" /> 88 + <path 89 + id="path841" 90 + style="fill:#ffffff;fill-opacity:0.66981129;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.51886752" 91 + d="m 2.8645413,295.87463 c 0,0 0.040568,0.47666 -0.3245412,0.49696 -0.3651092,-0.0203 -0.3245412,-0.49696 -0.3245412,-0.49696 0.3235932,0.0179 0.4832471,0.009 0.6490824,0 z" 92 + inkscape:connector-curvature="0" 93 + sodipodi:nodetypes="cccc" /> 94 + </g> 95 +</svg>
Modified static/style.scss from [5326e6a4a7] to [dc435bcc7e].
219 219 padding: 0.25in 0.10in; 220 220 //padding: calc((25% - 1em)/2) 0.15in; 221 221 &, &::after { transition: 0.3s; } 222 222 text-shadow: 1px 1px 1px black; 223 223 &:hover{ 224 224 transform: scale(1.2); 225 225 } 226 + } 227 + > a[href].bell { 228 + content: url(/s/bell.svg); 229 + height: 2em; 230 + padding: 0.125in 0.10in; 231 + &:hover { 232 + filter: drop-shadow(0 0 10px tone(-5%)); 233 + } 226 234 } 227 235 } 228 236 } 229 237 } 230 238 231 239 main { 232 240 @extend %content;