2022-11-09 15:16:24 +03:00
|
|
|
<div class="card card-thumbnail" style="width: 100%" data-name="{{- .name -}}" data-popularity="{{- .dl_count -}}" data-last_modified="{{- .last_modified -}}" data-description="{{- .desc -}}">
|
2022-10-12 09:04:13 +03:00
|
|
|
<figure class="card-img-top" >
|
2022-10-17 17:06:43 +03:00
|
|
|
<img class="package-image" src="{{- .thumb_image_url -}}" alt="{{- .name -}}" style="width:100%; height:100%;">
|
2022-10-12 09:04:13 +03:00
|
|
|
<article class="card-thumb-label">
|
2022-10-14 23:23:32 +03:00
|
|
|
<i class="icon-tea-logo-iconasset-1"></i>
|
2022-10-12 09:04:13 +03:00
|
|
|
<h3>{{- .name -}}</h3>
|
2022-10-13 08:48:14 +03:00
|
|
|
{{ if not (eq .maintainer "") }}
|
|
|
|
<h4>• {{- .maintainer -}}</h4>
|
|
|
|
{{end}}
|
2022-10-12 09:04:13 +03:00
|
|
|
</article>
|
|
|
|
</figure>
|
2022-09-22 21:28:50 +03:00
|
|
|
<div class="card-body thumbnail-body">
|
2022-09-27 19:30:39 +03:00
|
|
|
<div class="card-text-container">
|
2022-10-12 09:04:13 +03:00
|
|
|
<p class="card-text">
|
2022-10-13 08:48:14 +03:00
|
|
|
<span class="package-version-no">V {{- .version -}}</span>
|
2022-10-14 23:23:32 +03:00
|
|
|
<!--
|
2022-10-15 16:07:54 +03:00
|
|
|
TODO: uncomment once install counts improve
|
2022-10-12 09:04:13 +03:00
|
|
|
<br>
|
2022-10-13 08:48:14 +03:00
|
|
|
<span class="package-install-no">>{{- .installs -}} installs</span> -->
|
2022-10-12 09:04:13 +03:00
|
|
|
</p>
|
2022-09-27 19:30:39 +03:00
|
|
|
</div>
|
2022-12-07 07:18:33 +03:00
|
|
|
<a href="/+{{- lower .full_name -}}/">
|
2022-10-15 16:07:54 +03:00
|
|
|
{{- partial "detail-btn.html" . -}}
|
|
|
|
</a>
|
2022-09-15 23:13:19 +03:00
|
|
|
</div>
|
2022-09-26 19:34:04 +03:00
|
|
|
<div class="card-body thumbnail-body-mobile">
|
2022-11-14 14:50:04 +03:00
|
|
|
<a href="/+{{- .full_name -}}/">
|
2022-10-12 09:04:13 +03:00
|
|
|
<button class="detail-btn-mobile"><i class="icon-enter-arrow"></i>details</button>
|
|
|
|
</a>
|
2022-09-26 19:34:04 +03:00
|
|
|
</div>
|
2022-09-15 23:13:19 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
2022-10-14 23:23:32 +03:00
|
|
|
|
|
|
|
div.card.card-thumbnail{
|
|
|
|
background-color: #1a1a1a;
|
2022-10-15 16:07:54 +03:00
|
|
|
transition: all .3s;
|
2022-10-14 23:23:32 +03:00
|
|
|
}
|
|
|
|
|
2022-10-12 09:04:13 +03:00
|
|
|
.card-img-top {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2022-10-15 00:35:32 +03:00
|
|
|
.detail-btn{
|
|
|
|
position: relative;
|
|
|
|
float:right!important;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2022-10-17 17:06:43 +03:00
|
|
|
@media only screen and (min-width: 576px) {
|
|
|
|
|
|
|
|
.package-image{
|
|
|
|
box-shadow: 0px 0px 12px #0c0c0c !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-15 00:58:43 +03:00
|
|
|
@media only screen and (min-width: 992px) {
|
2022-10-12 09:04:13 +03:00
|
|
|
|
2022-10-14 23:23:32 +03:00
|
|
|
.card-thumb-label i{
|
|
|
|
font-size: 1.5vw;
|
|
|
|
}
|
2022-10-12 09:04:13 +03:00
|
|
|
|
2022-10-14 23:23:32 +03:00
|
|
|
.card-thumb-label {
|
|
|
|
position: absolute;
|
|
|
|
background: rgba(255,255,255,0.9);
|
|
|
|
left: 0;
|
2022-10-25 00:25:41 +03:00
|
|
|
bottom: 0vw;
|
2022-10-14 23:23:32 +03:00
|
|
|
padding: 1.116vw;
|
|
|
|
text-align: left;
|
|
|
|
width: 90%;
|
2022-10-25 00:25:41 +03:00
|
|
|
height: 40;
|
2022-10-14 23:23:32 +03:00
|
|
|
}
|
2022-09-26 18:22:21 +03:00
|
|
|
|
2022-10-14 23:23:32 +03:00
|
|
|
.card-thumb-label h3 {
|
|
|
|
color: black;
|
|
|
|
font-size: 1.8vw;
|
|
|
|
line-height: 1.8vw;
|
|
|
|
margin: 0px 0px 0.5vw 0vw;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label h4 {
|
|
|
|
color: black;
|
|
|
|
font-size: .9vw;
|
|
|
|
line-height: 1vw;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2022-10-15 00:58:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumbnail{
|
|
|
|
background: none;
|
|
|
|
border-radius: 0px !important;
|
|
|
|
border: 1px solid #949494;
|
|
|
|
padding: 1.674vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-body{
|
|
|
|
display: flex;
|
|
|
|
border-radius: 0px !important;
|
|
|
|
padding: 0vw;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-img-top{
|
|
|
|
border-radius: 0px;
|
|
|
|
margin-bottom: 1.674vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-text{
|
|
|
|
font-size: 0.781vw;
|
|
|
|
float:left;
|
|
|
|
position: relative;
|
|
|
|
top:0.502vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-text-container{
|
|
|
|
float:left;
|
|
|
|
position: relative;
|
|
|
|
width:48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-body-mobile{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
|
|
|
|
|
|
|
.card-thumb-label i{
|
|
|
|
font-size: 2vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label {
|
|
|
|
position: absolute;
|
|
|
|
background: rgba(255,255,255,0.9);
|
|
|
|
left: 0;
|
2022-10-25 00:25:41 +03:00
|
|
|
bottom: 0vw;
|
2022-10-15 00:58:43 +03:00
|
|
|
padding: 1.116vw;
|
|
|
|
text-align: left;
|
|
|
|
width: 90%;
|
2022-10-25 00:25:41 +03:00
|
|
|
height: 40%;
|
2022-10-15 00:58:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label h3 {
|
|
|
|
color: black;
|
|
|
|
font-size: 2.8vw;
|
|
|
|
line-height: 2.8vw;
|
|
|
|
margin: 0px 0px 1vw 0vw;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label h4 {
|
|
|
|
color: black;
|
|
|
|
font-size: 1.5vw;
|
|
|
|
line-height: 1.5vw;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumbnail{
|
|
|
|
background: none;
|
|
|
|
border-radius: 0px !important;
|
|
|
|
border: 1px solid #949494;
|
|
|
|
padding: 1.674vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-body{
|
|
|
|
display: flex;
|
|
|
|
border-radius: 0px !important;
|
|
|
|
padding: 0vw;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-img-top{
|
|
|
|
border-radius: 0px;
|
|
|
|
margin-bottom: 1.674vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-text{
|
|
|
|
font-size: 0.781vw;
|
|
|
|
float:left;
|
|
|
|
position: relative;
|
|
|
|
top:0.502vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-text-container{
|
|
|
|
float:left;
|
|
|
|
position: relative;
|
|
|
|
width:48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-body-mobile{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
|
|
|
|
|
|
|
.card-thumb-label i{
|
|
|
|
font-size: 2.5vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label {
|
|
|
|
position: absolute;
|
|
|
|
background: rgba(255,255,255,0.9);
|
|
|
|
left: 0;
|
2022-10-25 00:25:41 +03:00
|
|
|
bottom: 0vw;
|
2022-10-15 00:58:43 +03:00
|
|
|
padding: 1.116vw;
|
|
|
|
text-align: left;
|
|
|
|
width: 90%;
|
2022-10-25 00:25:41 +03:00
|
|
|
height: 40%;
|
2022-10-15 00:58:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label h3 {
|
|
|
|
color: black;
|
|
|
|
font-size: 3vw;
|
|
|
|
line-height: 3vw;
|
|
|
|
margin: 0px 0px 0.5vw 0vw;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label h4 {
|
|
|
|
color: black;
|
|
|
|
font-size: 1.5vw;
|
|
|
|
line-height: 1.5vw;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2022-10-14 23:23:32 +03:00
|
|
|
}
|
2022-09-26 18:22:21 +03:00
|
|
|
|
2022-09-22 21:28:50 +03:00
|
|
|
.card-thumbnail{
|
2022-09-15 23:13:19 +03:00
|
|
|
background: none;
|
|
|
|
border-radius: 0px !important;
|
|
|
|
border: 1px solid #949494;
|
2022-09-16 19:18:34 +03:00
|
|
|
padding: 1.674vw;
|
2022-09-15 23:13:19 +03:00
|
|
|
}
|
|
|
|
|
2022-09-22 21:28:50 +03:00
|
|
|
.thumbnail-body{
|
2022-10-13 08:48:14 +03:00
|
|
|
display: flex;
|
2022-09-15 23:13:19 +03:00
|
|
|
border-radius: 0px !important;
|
2022-09-16 19:18:34 +03:00
|
|
|
padding: 0vw;
|
2022-10-15 00:35:32 +03:00
|
|
|
justify-content: space-between;
|
2022-09-15 23:13:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-img-top{
|
|
|
|
border-radius: 0px;
|
2022-09-16 19:18:34 +03:00
|
|
|
margin-bottom: 1.674vw;
|
2022-09-15 23:13:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.card-text{
|
2022-09-16 19:18:34 +03:00
|
|
|
font-size: 0.781vw;
|
2022-09-15 23:13:19 +03:00
|
|
|
float:left;
|
|
|
|
position: relative;
|
2022-09-16 19:18:34 +03:00
|
|
|
top:0.502vw;
|
2022-09-15 23:13:19 +03:00
|
|
|
}
|
2022-09-26 18:22:21 +03:00
|
|
|
|
2022-09-27 19:30:39 +03:00
|
|
|
.card-text-container{
|
|
|
|
float:left;
|
|
|
|
position: relative;
|
|
|
|
width:48%;
|
|
|
|
}
|
|
|
|
|
2022-09-27 00:44:15 +03:00
|
|
|
.thumbnail-body-mobile{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-09-26 18:22:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 576px) {
|
|
|
|
|
2022-10-14 23:23:32 +03:00
|
|
|
.card-thumb-label i{
|
|
|
|
font-size: 5vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label {
|
|
|
|
position: absolute;
|
|
|
|
background: rgba(255,255,255,0.9);
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 3vw;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
height: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label h3 {
|
|
|
|
color: black;
|
|
|
|
font-size: 6.8vw;
|
|
|
|
line-height: 6.8vw;
|
|
|
|
margin: 0px 0px 1vw 0vw;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-thumb-label h4 {
|
|
|
|
color: black;
|
|
|
|
font-size: 3vw;
|
|
|
|
line-height: 3vw;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
2022-09-26 18:22:21 +03:00
|
|
|
.card-thumbnail{
|
|
|
|
background: none;
|
|
|
|
border-radius: 0px !important;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-body{
|
|
|
|
border-radius: 0px !important;
|
|
|
|
padding: 0vw;
|
2022-09-26 19:34:04 +03:00
|
|
|
display:none;
|
2022-09-26 18:22:21 +03:00
|
|
|
}
|
|
|
|
|
2022-09-26 19:34:04 +03:00
|
|
|
.thumbnail-body-mobile{
|
|
|
|
background-color: #8000ff;
|
2022-09-29 00:58:43 +03:00
|
|
|
padding: 1.25vw 0vw !important;
|
2022-09-26 18:22:21 +03:00
|
|
|
}
|
|
|
|
|
2022-09-26 19:34:04 +03:00
|
|
|
.card-img-top{
|
|
|
|
border-radius: 0px;
|
|
|
|
margin-bottom: 0vw;
|
2022-09-26 18:22:21 +03:00
|
|
|
}
|
|
|
|
|
2022-09-27 00:44:15 +03:00
|
|
|
.detail-btn-mobile{
|
|
|
|
background:none;
|
|
|
|
border:none;
|
|
|
|
color: white;
|
|
|
|
font-family: "pp-neue-machina", sans-serif;
|
2022-09-29 00:58:43 +03:00
|
|
|
font-size: 4vw;
|
2022-09-27 00:44:15 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
text-transform: uppercase;
|
|
|
|
padding-top: 2vw !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detail-btn-mobile .icon-enter-arrow{
|
|
|
|
display: inline-block;
|
|
|
|
position: relaitve;
|
|
|
|
margin-right: 2vw;
|
|
|
|
transition: 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detail-btn-mobile:hover .icon-enter-arrow{
|
|
|
|
display: inline-block;
|
|
|
|
transform: rotate(-45deg) !important;
|
|
|
|
}
|
|
|
|
|
2022-09-26 18:22:21 +03:00
|
|
|
}
|
|
|
|
|
2022-09-15 23:13:19 +03:00
|
|
|
</style>
|