0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

add project placeholder img

This commit is contained in:
elhombretecla 2016-11-03 17:03:34 +01:00 committed by Andrey Antukh
parent fed7d913c5
commit 9d196e7c9f
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
3 changed files with 135 additions and 15 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -95,11 +95,9 @@
flex-direction: column;
flex-shrink: 0;
height: 200px;
justify-content: center;
margin: $medium $medium 0 $medium;
max-width: 300px;
min-width: 260px;
padding: $medium;
position: relative;
text-align: center;
width: 18%;
@ -107,6 +105,8 @@
&.small-item {
max-width: 12%;
min-width: 190px;
padding: $medium;
justify-content: center;
}
.item-info {
@ -253,24 +253,11 @@
&.images-th {
background-color: $color-white;
border-bottom: 2px solid lighten($color-gray-light, 12%);
justify-content: flex-start;
padding: 0;
&:hover {
border-color: $main-ui-color;
}
.grid-item-th {
background-position: center;
background-size: cover;
border-top-left-radius: $br-medium;
border-top-right-radius: $br-medium;
height: 70%;
position: relative;
width: 100%;
}
}
.grid-item-image {
@ -321,6 +308,16 @@
}
.grid-item-th {
background-position: center;
background-size: cover;
border-top-left-radius: $br-medium;
border-top-right-radius: $br-medium;
height: 70%;
position: relative;
width: 100%;
}
// MULTISELECT OPTIONS BAR
.multiselect-bar {
@include animation(0,.5s,fadeInUp);

View file

@ -153,6 +153,8 @@
(dom/stop-propagation event)
(udl/open! :confirm {:on-accept delete}))]
[:div.grid-item.project-th {:on-click on-navigate}
[:div.grid-item-th
{:style {:background-image "url('/images/project-placeholder.svg')"}}]
[:div.item-info
[:h3 (:name project)]
[:span.date