Documents serverside

This commit is contained in:
tmshv committed 2017-05-26 13:44:53 +03:00
1 parent 244f1efd03
commit 864d895105
17 files changed
+528 -119

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
@import "../variables";
.document-row {
display: flex;
flex-direction: row;
padding: 0;
margin-bottom: $single-margin;
}
.document-row__image{
min-width: 4em;
width: 4em;
height: 4em;
display: flex;
justify-content: center;
align-items: flex-start;
//align-items: center;
img {
max-width: 100%;
max-height: 100%;
box-shadow: $white-shadow;
}
}
.document-row__image--medium{
}
.document-row__image--big{
max-width: 20em;
}
.document-row__file {
margin-left: $single-margin;
flex-grow: 10;
}
.document-row__file-info {
width: 25%;
flex-grow: 1;
font-size: $smaller-font-size;
text-align: right;
}
@media (max-width: $mobile-width) {
.document-row {
margin: 0 $single-margin/2 $single-margin;
}
}
+12 -13
View File
@@ -2,19 +2,22 @@
.document {
display: flex;
flex-direction: row;
flex-direction: column;
align-items: center;
padding: 0;
margin-bottom: $single-margin;
margin-bottom: $double-margin;
}
.document__image{
min-width: 4em;
width: 4em;
height: 4em;
//min-width: 10em;
//width: 20em;
//height: 20em;
display: flex;
justify-content: center;
align-items: flex-start;
margin-bottom: $single-margin;
//display: flex;
//justify-content: center;
//align-items: flex-start;
//align-items: center;
img {
@@ -32,15 +35,11 @@
}
.document__file {
margin-left: $single-margin;
flex-grow: 10;
}
.document__file-info {
width: 25%;
flex-grow: 1;
font-size: $smaller-font-size;
text-align: right;
}
@media (max-width: $mobile-width) {