2016-05-10 00:54:46 -04:00
|
|
|
@import "../../frameless";
|
2016-08-08 08:38:32 -04:00
|
|
|
@import "../../colors";
|
2016-05-10 00:54:46 -04:00
|
|
|
|
|
|
|
.grid {
|
2016-05-17 12:40:16 -04:00
|
|
|
display: inline-block;
|
2016-06-15 09:34:15 -04:00
|
|
|
width: 100%;
|
|
|
|
|
2016-08-24 10:24:01 -04:00
|
|
|
$thumbnail-width: 220px;
|
|
|
|
$thumbnail-inner-width: 204px;
|
2018-10-16 13:28:41 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
$project-height: 208px;
|
2016-08-24 10:24:01 -04:00
|
|
|
$gallery-height: 164px;
|
2016-06-15 09:34:15 -04:00
|
|
|
|
|
|
|
.flex-row {
|
|
|
|
margin: 0 auto;
|
2016-08-24 10:55:13 -04:00
|
|
|
padding: 12px 0;
|
2016-08-22 13:21:08 -04:00
|
|
|
width: $cols12;
|
2016-08-24 10:23:26 -04:00
|
|
|
justify-content: flex-start;
|
2016-08-23 10:11:18 -04:00
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
|
|
|
|
.thumbnail {
|
2016-08-24 10:55:13 -04:00
|
|
|
margin: 7px;
|
|
|
|
border-radius: 4px;
|
2018-07-16 18:02:12 -04:00
|
|
|
box-shadow: 0 0 0 1px $active-gray;
|
2016-08-24 10:55:13 -04:00
|
|
|
background-color: $ui-white;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
width: $thumbnail-width;
|
|
|
|
|
|
|
|
.thumbnail-image {
|
|
|
|
margin: 8px auto;
|
|
|
|
width: $thumbnail-inner-width;
|
|
|
|
}
|
2016-08-22 13:21:08 -04:00
|
|
|
|
2016-08-24 10:55:13 -04:00
|
|
|
.thumbnail-info {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: $thumbnail-inner-width;
|
2016-05-10 00:54:46 -04:00
|
|
|
|
2016-08-24 10:55:13 -04:00
|
|
|
.creator-image {
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 8px;
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-title {
|
|
|
|
float: left;
|
|
|
|
max-width: 164px;
|
|
|
|
|
|
|
|
.thumbnail-creator a {
|
|
|
|
color: $type-gray;
|
|
|
|
}
|
2016-08-24 10:24:01 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.project {
|
|
|
|
height: $project-height;
|
|
|
|
|
|
|
|
.thumbnail-image {
|
2016-08-22 13:21:08 -04:00
|
|
|
height: 152px;
|
2016-08-08 08:38:32 -04:00
|
|
|
|
|
|
|
img {
|
2016-08-22 13:21:08 -04:00
|
|
|
margin: 0 auto;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
2016-08-24 10:24:01 -04:00
|
|
|
width: $thumbnail-inner-width;
|
2016-08-22 13:21:08 -04:00
|
|
|
height: 152px;
|
2016-08-08 08:38:32 -04:00
|
|
|
}
|
|
|
|
}
|
2016-08-22 13:21:08 -04:00
|
|
|
}
|
2016-08-08 08:38:32 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
&.gallery {
|
2016-08-24 10:24:01 -04:00
|
|
|
height: $gallery-height;
|
2016-08-22 13:21:08 -04:00
|
|
|
|
|
|
|
.thumbnail-image {
|
|
|
|
height: 120px;
|
2016-08-08 08:38:32 -04:00
|
|
|
|
|
|
|
img {
|
2016-08-22 13:21:08 -04:00
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
2016-08-24 10:24:01 -04:00
|
|
|
width: $thumbnail-inner-width;
|
2016-08-22 13:21:08 -04:00
|
|
|
height: 120px;
|
2016-08-08 08:38:32 -04:00
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.column {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
//4 columns
|
2018-10-16 13:28:41 -04:00
|
|
|
@media #{$small} {
|
2016-08-22 13:21:08 -04:00
|
|
|
.flex-row {
|
|
|
|
width: $cols4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//6 columns
|
2018-10-16 13:28:41 -04:00
|
|
|
@media #{$medium} {
|
2016-08-22 13:21:08 -04:00
|
|
|
.flex-row {
|
|
|
|
width: $cols6;
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
2016-06-15 09:34:15 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
// 8 columns
|
2018-10-16 13:28:41 -04:00
|
|
|
@media #{$intermediate} {
|
2016-06-15 09:34:15 -04:00
|
|
|
.flex-row {
|
2016-08-22 13:21:08 -04:00
|
|
|
width: $cols9;
|
2016-06-15 09:34:15 -04:00
|
|
|
}
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|