Fixed the date bar
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="128.00002"
|
||||
height="255.99998"
|
||||
viewBox="0 0 33.866671 67.73333"
|
||||
width="128"
|
||||
height="256"
|
||||
viewBox="0 0 128 256"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
sodipodi:docname="arrow_after.svg"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -22,57 +20,23 @@
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showguides="true"
|
||||
inkscape:zoom="1.28"
|
||||
inkscape:cx="33.984375"
|
||||
inkscape:cy="132.8125"
|
||||
inkscape:window-width="503"
|
||||
inkscape:window-height="1375"
|
||||
inkscape:window-x="1537"
|
||||
inkscape:window-y="34"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="layer1">
|
||||
<sodipodi:guide
|
||||
position="-84.124851,92.331319"
|
||||
orientation="1,0"
|
||||
id="guide1"
|
||||
inkscape:locked="false" />
|
||||
<sodipodi:guide
|
||||
position="-114.00755,1.4179187"
|
||||
orientation="1,0"
|
||||
id="guide2"
|
||||
inkscape:locked="false" />
|
||||
</sodipodi:namedview>
|
||||
showgrid="false"
|
||||
inkscape:clip-to-page="true"
|
||||
inkscape:zoom="2.5468752"
|
||||
inkscape:cx="63.018401"
|
||||
inkscape:cy="106.01226"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1440"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect8-2"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1 @ F,0,0,1,0,2.9104167,0,1"
|
||||
radius="11"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" />
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-277.12524,-64.556699)">
|
||||
<path
|
||||
style="display:inline;fill:#000000;fill-opacity:1;stroke-width:28.8517;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
d="m 277.12524,64.556699 v 67.733331 h 7.04262 c 3.03648,0 5.88015,-1.48827 7.61089,-3.98322 l 17.96687,-25.90024 c 1.66172,-2.39551 1.66172,-5.57092 0,-7.96643 L 291.77875,68.539919 c -1.73074,-2.494949 -4.5744,-3.9832 -7.61089,-3.983219 z"
|
||||
id="path1"
|
||||
sodipodi:nodetypes="ccsccccsc" />
|
||||
</g>
|
||||
id="defs1" />
|
||||
<path
|
||||
fill="currentColor"
|
||||
style="display:inline;fill-opacity:1;stroke-width:28.8517;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
d="m 0,0 v 256 h 26.617773 c 11.476459,0 22.224187,-5.62496 28.765566,-15.05469 l 67.906281,-97.89068 c 6.28051,-9.05389 6.28051,-21.05544 0,-30.10934 L 55.383339,15.05469 C 48.84196,5.6249614 38.09427,7.5590553e-5 26.617773,3.7795277e-6 Z"
|
||||
id="arrow_end"
|
||||
sodipodi:nodetypes="ccscccccc" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -4,11 +4,11 @@
|
||||
<svg
|
||||
width="128.00047"
|
||||
height="255.99988"
|
||||
viewBox="0 0 33.866791 67.733301"
|
||||
viewBox="0 0 128.00047 255.99987"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
sodipodi:docname="arrow_before.svg"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -22,27 +22,20 @@
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="2.56"
|
||||
inkscape:cx="39.648438"
|
||||
inkscape:cy="123.82813"
|
||||
inkscape:window-width="502"
|
||||
inkscape:window-height="1375"
|
||||
inkscape:window-x="2048"
|
||||
inkscape:window-y="34"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="layer1" />
|
||||
inkscape:zoom="1.9845873"
|
||||
inkscape:cx="64.245096"
|
||||
inkscape:cy="127.98631"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1440"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-12517.966,3289.3)">
|
||||
<path
|
||||
style="display:inline;fill:#000000;fill-opacity:1;stroke-width:28.8498;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
d="m 12520.508,-3289.3 c -2.048,0 -3.252,2.3007 -2.085,3.9832 l 17.965,25.9002 c 1.661,2.3956 1.661,5.571 0,7.9665 l -17.965,25.9002 c -1.167,1.6825 0.04,3.9832 2.085,3.9832 h 31.325 V -3289.3 Z"
|
||||
id="rect3-4"
|
||||
sodipodi:nodetypes="ccccccccc" />
|
||||
</g>
|
||||
<path
|
||||
fill="currentColor"
|
||||
style="display:inline;fill-opacity:1;stroke-width:28.8497;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
d="M 9.6068084,0 C 1.8663641,0 -2.6841705,8.6955634 1.7265221,15.054622 L 69.625489,112.94519 c 6.27777,9.05424 6.27777,21.05576 0,30.10962 L 1.7265221,240.94538 C -2.6841705,247.30444 1.8777027,256 9.6068084,256 H 128.00008 V 0 Z"
|
||||
id="rect3-4" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
+20
-32
@@ -26,9 +26,10 @@
|
||||
--wr-border-radius: 1.25em;
|
||||
--wr-widget-height: 1.5em;
|
||||
--wr-active-widget-height: 2em;
|
||||
|
||||
--heart: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='currentColor' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
|
||||
--arrow_before: url(/static/img/arrow_before.svg);
|
||||
--arrow_after: url(/static/img/arrow_after.svg);
|
||||
}
|
||||
|
||||
/*Fonts*/
|
||||
@font-face {
|
||||
font-family: abelRegular;
|
||||
@@ -40,6 +41,10 @@
|
||||
}
|
||||
|
||||
/*Html*/
|
||||
/* #path1 {
|
||||
fill: blue;
|
||||
} */
|
||||
|
||||
html,body{
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
@@ -266,6 +271,7 @@ img.photo.C{
|
||||
padding: .5em;
|
||||
font-family: abelBold;
|
||||
letter-spacing: -.075em;
|
||||
color: var(--wr-white);
|
||||
}
|
||||
|
||||
.next_ride_date{
|
||||
@@ -273,7 +279,7 @@ img.photo.C{
|
||||
}
|
||||
|
||||
.ride_date.active{
|
||||
color: #390747;
|
||||
color: var(--wr-dark-blue);
|
||||
}
|
||||
|
||||
div.tag_reminder{
|
||||
@@ -285,6 +291,7 @@ div.tag_reminder{
|
||||
}
|
||||
|
||||
.widget{
|
||||
color:var(--wr-white);
|
||||
height: var(--wr-widget-height);
|
||||
width: auto;
|
||||
margin: 0px;
|
||||
@@ -293,33 +300,8 @@ div.tag_reminder{
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.widget:before, .widget:after {
|
||||
display: inline-flex;
|
||||
width: auto;
|
||||
height: var(--wr-widget-height);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
content: '';
|
||||
}
|
||||
|
||||
.widget:before {
|
||||
height: var(--wr-widget-height);
|
||||
filter: var(--wr-white-filter);
|
||||
content: url('./img/arrow_before.svg');
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.widget:after {
|
||||
height: var(--wr-widget-height);
|
||||
filter: var(--wr-white-filter);
|
||||
content: url('./img/arrow_after.svg');
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.widget.ride_date.active::before,.widget.ride_date.active::after {
|
||||
filter: var(--wr-dark-blue);
|
||||
height: var(--wr-active-widget-height);
|
||||
.widget:hover{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.widget-text{
|
||||
@@ -332,7 +314,6 @@ div.tag_reminder{
|
||||
color: var(--violet-main-color);
|
||||
|
||||
}
|
||||
|
||||
.widget-text.active{
|
||||
font-family: abelBold;
|
||||
height: var(--wr-active-widget-height);
|
||||
@@ -358,4 +339,11 @@ p{
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* svg{
|
||||
object-view-box: 0 0 128 256;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border-style: solid;
|
||||
width: 10px;
|
||||
height: auto;
|
||||
} */
|
||||
@@ -11,6 +11,26 @@
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<svg viewBox="0 0 128 256">
|
||||
<symbol id="arrow_before">
|
||||
<path
|
||||
d="M 9.6068084,0 C 1.8663641,0 -2.6841705,8.6955634 1.7265221,15.054622 L 69.625489,112.94519 c 6.27777,9.05424 6.27777,21.05576 0,30.10962 L 1.7265221,240.94538 C -2.6841705,247.30444 1.8777027,256 9.6068084,256 H 128.00008 V 0 Z"
|
||||
style="display:inline;fill:currentColor;fill-opacity:1;stroke-width:28.8497;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
id="path1" />
|
||||
</symbol>
|
||||
</svg>
|
||||
<svg viewBox="0 0 128 256">
|
||||
<symbol id="arrow_after">
|
||||
<path
|
||||
d="m 0,0 v 256 h 26.617773 c 11.476459,0 22.224187,-5.62496 28.765566,-15.05469 l 67.906281,-97.89068 c 6.28051,-9.05389 6.28051,-21.05544 0,-30.10934 L 55.383339,15.05469 C 48.84196,5.6249614 38.09427,7.5590553e-5 26.617773,3.7795277e-6 Z"
|
||||
style="display:inline;fill:currentColor;fill-opacity:1;stroke-width:28.8517;stroke-linecap:square;paint-order:markers fill stroke"
|
||||
id="path1" />
|
||||
</symbol>
|
||||
</svg>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<!-- <h1>Hello, {{ user.username }}!</h1> -->
|
||||
|
||||
|
||||
<!-- <h1>Hello, {{ user.username }}!</h1> -->
|
||||
<div class="page">
|
||||
<div class="container">
|
||||
<div id="section1" class="section column centered">
|
||||
@@ -124,13 +122,22 @@
|
||||
<img class="icon" src="/static/img/wr_calendar.svg">
|
||||
{% for ride in rides %}
|
||||
{% if ride == next_ride %}
|
||||
<div class="widget ride_date active"><div class="widget-text active centered">{{ ride.strftime("%b-%d") }}</div></div>
|
||||
|
||||
<div class="widget ride_date active">
|
||||
<svg style="width:100%;height: 2em" viewBox="0 0 128 256"><use href="#arrow_before" opacity="1.0" /></svg>
|
||||
<div class="widget-text active centered">{{ ride.strftime("%b-%d") }}</div>
|
||||
<svg style="width:100%;height: 2em;" viewBox="0 0 128 256"><use href="#arrow_after" opacity="1.0" /></svg>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="widget ride_date"><div class="widget-text centered">{{ ride.strftime("%b-%d") }}</div></div>
|
||||
<div class="widget ride_date">
|
||||
<svg style="width:100%;height: 1.5em" viewBox="0 0 128 256"><use href="#arrow_before" opacity="1.0" /></svg>
|
||||
<div class="widget-text centered">{{ ride.strftime("%b-%d") }}</div>
|
||||
<svg style="width:100%;height: 1.5em;" viewBox="0 0 128 256"><use href="#arrow_after" opacity="1.0" /></svg>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user