Fixed the date bar

This commit is contained in:
2026-10-22 23:54:36 -07:00
parent 3c4e95f72c
commit b68ebe7475
5 changed files with 91 additions and 119 deletions
+20 -32
View File
@@ -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;
} */