diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index 809fab0..3777f87 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -1576,6 +1576,19 @@ a.open_inf_carrier{ left: 4px; } +.name_carrier.hiden{ + top: 6px; + /* background: linear-gradient(99deg, #040404 56%, #9f9f9f 25%, #ffffff); */ + background: linear-gradient(99deg, #000000 1%, #ffffff 16%, #ffffff); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + transition: 200ms; + width: calc(90% - 10px); + overflow: hidden; + padding-right: 10px; + white-space: nowrap; +} + .from-to-city-text{ font-size: 14px; color: #27242499; diff --git a/templates/widgets/w_carrier_card.html b/templates/widgets/w_carrier_card.html index e976d43..1a4d0c8 100644 --- a/templates/widgets/w_carrier_card.html +++ b/templates/widgets/w_carrier_card.html @@ -90,7 +90,12 @@ + {% if user.is_authenticated %} {{ route.owner.last_name }} {{ route.owner.first_name }} + {% endif %} + {% if not user.is_authenticated %} + {{ route.owner.last_name }} {{ route.owner.first_name }} + {% endif %}