Removes extrav iew modes css from this repository. Removes top padding from grid view mode.

This commit is contained in:
mateuswetah 2018-12-11 09:44:12 -02:00
parent 73cb6ee5eb
commit 0840112b47
10 changed files with 2 additions and 726 deletions

View File

@ -1,86 +0,0 @@
.tainacan-albums-container {
min-height: 50vh;
padding: 30px 4.166666667%;
-moz-perspective: 100px;
-moz-transform-style: preserve-3d;
.row { justify-content: center; }
.col {
display: flex;
justify-content: center;
flex-basis: auto;
margin: 0px;
align-items: center;
}
.tainacan-album {
width: 276px;
padding: 24px;
text-align: center;
&:hover {
.metadata-title {
opacity: 1;
}
.cd {
-webkit-transform: translateX(80px) rotate(185deg);
-moz-transform: translateX(50px) rotate(185deg);
-ms-transform: translateX(50px) rotate(185deg);
-o-transform: translateX(50px) rotate(185deg);
transform: translateX(50px) rotate(185deg);
box-shadow: 2px 0px 15px -6px #111;
}
img {
box-shadow: 3px 5px 19px -8px #111;
}
}
img {
width: 228px;
height: 228px;
border-radius: 4px;
box-shadow: 0px 5px 18px -8px #111;
z-index: 9;
position: relative;
transition: box-shadow 0.2s;
}
.cd {
position:absolute;
width: 218px;
height: 218px;
z-index: 0;
display: block;
-webkit-transition: all .25s ease-out;
transition: all .25s ease-out;
background-size: cover;
border-radius: 150px;
margin: 5px;
background-blend-mode: multiply;
background-color: #ccc;
box-shadow: 0px 0px 0px 0px #111;
}
.metadata-title {
flex-shrink: 0;
border-radius: 5px;
font-size: 0.875rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
padding: 0.5rem;
text-align: center;
position: relative;
opacity: 0;
background-color: rgba(255,255,255,0.45);
transition: opacity 0.5s;
left: 0;
right: 0;
z-index: 0;
margin: 10px 24px;
border: 1px solid #e3e3e3;
}
}
}

View File

@ -1,116 +0,0 @@
.tainacan-books-container {
min-height: 50vh;
padding: 30px 4.166666667%;
background-color: #f5f5f5;
-moz-perspective: 100px;
-moz-transform-style: preserve-3d;
.row { justify-content: center; }
.col {
display: flex;
justify-content: center;
flex-basis: auto;
margin-bottom: 70px;
align-items: center;
}
/*
* I'd recommend using Modernized to detect 3d transform support
* then add a "supports-transform-3d" class
*/
.tainacan-book {
position: relative;
-moz-perspective: 100px;
-webkit-perspective-origin-x: 100px;
-webkit-perspective-origin-y: 100px;
transform: rotateY(-3deg);
-moz-transform: rotateY(-3deg);
-webkit-transform: rotateY(-3deg);
box-shadow: none;
margin: 0;
transition: -moz-transform 0.2s, -webkit-transform 0.2s, transform 0.2s;
&:hover {
-moz-transform: rotateY(-10deg);
-webkit-transform: rotateY(-10deg);
&:after {
width: 4.0%;
}
&::before {
left: 3.6%;
box-shadow: 2px 2px 10px #333;
}
.metadata-title {
opacity: 1;
}
}
}
.tainacan-book img {
vertical-align: middle;
width: 258px;
height: auto;
position: relative;
max-width: 100%;
border-radius: 4px 1px 1px 10px;
}
.tainacan-book:before,
.tainacan-book:after {
position: absolute;
top: 2%;
height: 96%;
content: ' ';
z-index: -1;
}
.tainacan-book:before {
width: 100%;
left: 3.5%;
background-color: #333;
box-shadow: 0px 2px 10px #333;
transition: left 0.2s, box-shadow 0.2s;
}
.tainacan-book:after {
width: 3.5%;
left: 99%;
background-color: #EFEFEF;
box-shadow: inset 2px 3px 5px #999;
-moz-transform: rotateY(20deg);
-webkit-transform: perspective(100) rotateY(20deg);
transition: width 0.2s;
}
// img {
// width: 258px;
// height: auto;
// border-radius: 2px;
// }
.metadata-title {
flex-shrink: 0;
border-radius: 5px;
font-size: 0.875rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
padding: 0.5rem;
text-align: center;
position: absolute;
opacity: 0;
background-color: rgba(255,255,255,0.45);
transition: opacity 0.5s;
left: 0;
right: 0;
z-index: -3;
margin: 8px 10px;
border: 1px solid #e3e3e3;
}
}

View File

@ -1,112 +0,0 @@
.tainacan-document-container {
min-height: 50vh;
padding: 30px 4.166666667%;
.tainacan-document {
padding: 12px;
margin: 16px;
border-radius: 5px;
&:hover {
.media .media-body {
.metadata-title,
.metadata-label,
.metadata-value {
white-space: normal;
}
}
.media {
.paper::before {
right: 6px;
top: 0;
transform: rotate(-1deg);
}
.paper::after {
top: 5px;
right: -5px;
transform: rotate(1deg);
}
}
}
img {
width: 130px;
height: auto;
}
.media {
.paper {
background: #fff;
position: relative;
}
.paper,
.paper::before,
.paper::after {
box-shadow: 1px 1px 4px rgba(0,0,0,0.25);
border: 1px solid #bbb;
}
.paper::before,
.paper::after {
content: "";
position: absolute;
height: 96%;
width: 99%;
background-color: #eee;
transition: top 0.2s, right 0.2s, transform 0.2s;
}
.paper::before {
right: 3px;
top: -1;
transform: rotate(-2.5deg);
z-index: -1;
}
.paper::after {
top: 4px;
right: -4px;
transform: rotate(2.0deg);
z-index: -2;
}
.media-body {
flex: 1;
font-size: 0.6875rem;
color: gray;
overflow: hidden;
.metadata-title {
flex-shrink: 0;
font-size: 0.875rem;
margin-bottom: 0.875rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.metadata-label {
font-size: 0.75rem;
line-height: 1.0;
margin-bottom: 0.2rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.metadata-value {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
}
}
}

View File

@ -1,73 +0,0 @@
.tainacan-frame-container {
min-height: 50vh;
padding: 30px 4.166666667%;
background-color: #f5f5f5;
.row {
justify-content: space-around;
align-items: center;
}
.col { flex-grow: 0; }
.tainacan-frame {
padding: 12px 12px 16px 12px;
text-align: center;
.frame {
background: black;
box-shadow: 0 10px 10px -6px rgba(0, 0, 0, 0.4);
padding: 12px;
&:hover .art::before {
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5) inset;
}
}
.mat {
background: white;
padding: 20px;
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5) inset;
}
.art {
position: relative;
}
.art::before {
box-shadow: 0px 0px 11px 0px rgba(0,0,0,0.5) inset;
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 2px;
transition: box-shadow 0.2s;
}
.art img {
width: 100%;
width: 258px;
height: auto;
border-radius: 2px;
}
.metadata-title {
flex-shrink: 0;
font-size: 0.875rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
padding: 0.5rem 0.75rem;
text-align: center;
display: inline-block;
background: #fff;
margin: 14px 8px 8px 8px;
box-shadow: 0px 1px 3px #ddd;
border: 1px solid #dedede;
}
}
}

View File

@ -1,129 +0,0 @@
.tainacan-gallery-container {
min-height: 50vh;
padding: 30px 24px;
background-color: #f5f5f5;
.tainacan-gallery {
padding: 24px;
&:hover {
.media .media-body .list-metadata {
.metadata-title,
.metadata-label,
.metadata-value {
white-space: normal;
}
}
.art img {
width: 140px;
}
}
.frame {
background: black;
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.6);
padding: 5px;
&:hover .art::before {
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5) inset;
}
}
.mat {
background: white;
padding: 10px;
box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.5) inset;
}
.art {
position: relative;
}
.art img {
width: 100px;
height: auto;
border-radius: 2px;
transition: width 0.3s;
}
.art::before {
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.5) inset;
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 2px;
transition: box-shadow 0.2s;
}
.media {
.media-body {
overflow: hidden;
.list-metadata {
flex: 1;
font-size: 0.6875rem;
color: gray;
background-color: white;
padding: 12px;
border: 1px solid #ddd;
box-shadow: 0 2px 8px -8px #333;
transition: all 0.3s;
.metadata-title {
flex-shrink: 0;
font-size: 0.875rem;
margin-bottom: 0.875rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
transition: all 0.3s;
}
.metadata-label {
font-size: 0.75rem;
line-height: 1.0;
margin-bottom: 0.2rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
transition: all 0.3s;
}
.metadata-value {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
transition: all 0.3s;
}
}
&:before{
content: '';
position: absolute;
top: 32px;
float: left;
margin-left: 10px;
width: 14px;
height: 14px;
border-top: 1px solid #ddd;
border-right: 1px solid #ddd;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transform-origin: 0 100%;
-ms-transform-origin: 0 100%;
transform-origin: 0 100%;
-webkit-transform: rotate(-135deg);
-ms-transform: rotate(-135deg);
transform: rotate(-135deg);
background: white;
}
}
}
}
}

View File

@ -1,6 +1,6 @@
.tainacan-grid-container {
min-height: 50vh;
padding: 30px 4.166666667%;
padding: 0px 4.166666667% 24px 4.166666667%;
display: -ms-grid;
display: grid;
grid-template-columns: repeat(auto-fill, 285px);

View File

@ -1,51 +0,0 @@
.tainacan-mosaic-container {
min-height: 50vh;
padding: 0;
column-gap: 0;
column-count: 1;
@media only screen and (min-width: 576px) {
column-count: 2;
}
@media only screen and (min-width: 768px) {
column-count: 3;
}
@media only screen and (min-width: 992px) {
column-count: 4;
}
.tainacan-mosaic {
padding: 0px;
text-align: center;
img {
width: 100%;
height: auto;
}
.metadata-title {
flex-shrink: 0;
border-top-right-radius: 5px;
font-size: 0.875rem;
margin-bottom: 0;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
padding: 0.75rem 1.5rem;
text-align: center;
position: absolute;
opacity: 0;
background-color: rgba(255,255,255,0.85);
transition: opacity 0.5s;
margin-top: -45px;
}
}
.tainacan-mosaic:hover {
.metadata-title {
opacity: 1;
}
}
}

View File

@ -1,75 +0,0 @@
.tainacan-polaroid-container {
min-height: 50vh;
padding: 30px 4.166666667%;
background-color: #f5f5f5;
.row { justify-content: space-around; }
.col {
flex-grow: 0;
&:nth-of-type(odd) {
transform: rotate(0.5deg);
}
&:nth-of-type(even) {
transform: rotate(-1.0deg);
}
&:nth-of-type(3n+0) {
transform: rotate(1.0deg);
}
&:nth-of-type(7n+0) {
transform: rotate(-0.5deg);
}
}
.tainacan-polaroid {
padding: 16px;
text-align: center;
background-color: white;
box-shadow: 0px 2px 14px -8px #333;
margin: 16px;
transition: box-shadow 0.1s;
&:hover {
box-shadow: 0px 3px 16px -7px #333;
}
img {
width: 258px;
height: auto;
margin-bottom: 0.75rem;
}
.metadata-title {
flex-shrink: 0;
font-size: 0.875rem;
margin-bottom: 0;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
padding-bottom: 1.0rem;
text-align: center;
}
.list-metadata {
flex: 1;
font-size: 0.6875rem;
color: gray;
overflow: hidden;
display: grid;
.metadata-label {
font-size: 0.75rem;
line-height: 1.0;
margin-bottom: 0.2rem;
}
.metadata-value {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
}
}

View File

@ -1,66 +0,0 @@
.tainacan-profile-container {
min-height: 50vh;
padding: 30px 4.166666667%;
background-color: #f5f5f5;
.tainacan-profile {
padding: 12px;
margin: 24px;
border: 1px solid #e3e3e3;
background: white;
border-radius: 5px;
&:hover {
.media .media-body {
.metadata-title,
.metadata-label,
.metadata-value {
white-space: normal;
}
}
}
img {
width: 130px;
height: auto;
border-radius: 70px;
}
.media {
.media-body {
flex: 1;
font-size: 0.6875rem;
color: gray;
overflow: hidden;
.metadata-title {
flex-shrink: 0;
font-size: 0.875rem;
margin-bottom: 0.875rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.metadata-label {
font-size: 0.75rem;
line-height: 1.0;
margin-bottom: 0.2rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.metadata-value {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
}
}
}

View File

@ -605,20 +605,4 @@ nav{
@import "_footer";
@import "_view-mode-grid.scss";
@import "_view-mode-mosaic.scss";
@import "_view-mode-frame.scss";
@import "_view-mode-books.scss";
@import "_view-mode-polaroid.scss";
@import "_view-mode-gallery.scss";
@import "_view-mode-profile.scss";
@import "_view-mode-document.scss";
@import "_view-mode-albums.scss";
@import "_view-mode-grid.scss";