Attachments table
parent
e27f9c0cda
commit
4cb150c2d6
|
@ -1,18 +1,17 @@
|
||||||
section.attachments
|
section.attachments
|
||||||
div.attachments-header
|
div.attachments-header
|
||||||
div.attachments-inner
|
h3.attachments-title
|
||||||
h3.attachments-title
|
span.icon.icon-attachment
|
||||||
span.icon.icon-attachment
|
span.attachments-num 5
|
||||||
span.attachments-num {{5}}
|
span.attachments-text attachments
|
||||||
span.attachemnts-text attachments
|
|
||||||
a.button.button-gray(href="", title="Add new attachment")
|
a.button.button-gray(href="", title="Add new attachment")
|
||||||
span +new file
|
span +new file
|
||||||
div.attachment-body
|
div.attachment-body
|
||||||
div.attachments-inner
|
- for(var x = 0; x < 3; x++)
|
||||||
div.attachment-single
|
div.single-attachment
|
||||||
div.attachment-name
|
div.attachment-name
|
||||||
span.icon.icon-document
|
span.icon.icon-document
|
||||||
span pefildeusuario.png
|
a(href="", title="Attachment pefildeusuario.png") pefildeusuario.png
|
||||||
div.attachment-comment
|
div.attachment-comment
|
||||||
span Comentario sobre el contenido
|
span Comentario sobre el contenido
|
||||||
span.attachment-size (125kb.)
|
span.attachment-size (125kb.)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Table Flex - http://devbryce.com/site/flexbox/
|
// Table Flex - http://devbryce.com/site/flexbox/
|
||||||
@mixin table-flex() {
|
@mixin table-flex {
|
||||||
align-content: stretch;
|
align-content: stretch;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -32,3 +32,11 @@
|
||||||
@mixin box-shadow($h-shadow: 1px, $v-shadow: 1px, $blur: 15px, $spread: 6px, $color: rgba(0, 0, 0, .1)) {
|
@mixin box-shadow($h-shadow: 1px, $v-shadow: 1px, $blur: 15px, $spread: 6px, $color: rgba(0, 0, 0, .1)) {
|
||||||
box-shadow: $h-shadow $v-shadow $blur $spread $color;
|
box-shadow: $h-shadow $v-shadow $blur $spread $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin clearfix {
|
||||||
|
&:after {
|
||||||
|
clear: both;
|
||||||
|
content: '';
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -24,6 +24,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.us-content {
|
||||||
|
ul {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: $green-taiga;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.user-story-tags {
|
.user-story-tags {
|
||||||
input {
|
input {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -1 +1,42 @@
|
||||||
|
.attachments-header {
|
||||||
|
background: $whitish;
|
||||||
|
@include clearfix;
|
||||||
|
padding: .5rem 1rem;
|
||||||
|
.button {
|
||||||
|
float: right;
|
||||||
|
padding: .2rem 6rem;
|
||||||
|
}
|
||||||
|
.icon,
|
||||||
|
.attachments-num,
|
||||||
|
.attachments-text {
|
||||||
|
@extend %medium;
|
||||||
|
margin-right: .5rem;
|
||||||
|
position: relative;
|
||||||
|
top: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.single-attachment {
|
||||||
|
@include table-flex();
|
||||||
|
@extend %small;
|
||||||
|
border-bottom: 1px solid #cdcdcd;
|
||||||
|
padding: 1rem 0 1rem 1rem;
|
||||||
|
&:last-child {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
.attachment-name {
|
||||||
|
@include table-flex-child(1, 200px);
|
||||||
|
}
|
||||||
|
.attachment-comment {
|
||||||
|
@include table-flex-child(3, 300px);
|
||||||
|
.attachment-size {
|
||||||
|
color: $gray-light;
|
||||||
|
margin-left: .5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.icon {
|
||||||
|
@extend %large;
|
||||||
|
color: $gray-light;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue