Testing some view changes. Smaller font, bigger icons.

This commit is contained in:
Lars Jung 2013-08-27 19:15:48 +02:00
parent 774742b98c
commit c186be6cb5
230 changed files with 109 additions and 60 deletions

View file

@ -12,6 +12,7 @@
a, a:active, a:visited { a, a:active, a:visited {
border-top: 1px solid @item-border-col-sep; border-top: 1px solid @item-border-col-sep;
border-bottom: 1px solid @item-border-col-sep; border-bottom: 1px solid @item-border-col-sep;
height: @small-icon-size + 6px;
&:hover, &.hover { &:hover, &.hover {
border-color: @item-border-col-hover; border-color: @item-border-col-hover;
@ -19,8 +20,11 @@
} }
// needs to be here, to not conflict with header fields // needs to be here, to not conflict with header fields
.icon, .label, .date, .size { .icon {
padding: 8px 6px; padding: 8px;
}
.label, .date, .size {
padding: ((@small-icon-size - 16px)/2) 8px;
} }
} }
@ -31,16 +35,21 @@
} }
} }
.icon.small { .icon.square {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 0; left: 0;
top: -2px; top: -5px;
width: 16px; width: @small-icon-size;
img {
width: @small-icon-size;
height: @small-icon-size;
}
} }
.label { .label {
margin: 0 270px 0 24px; margin: 0 230px 0 (@small-icon-size + 8px);
} }
.date { .date {

View file

@ -9,29 +9,40 @@
a, a:active, a:visited { a, a:active, a:visited {
float: left; float: left;
margin: 2px; margin: 2px;
padding: 8px; width: 218px;
width: 164px; height: @small-icon-size + 6px;
height: 24px;
border: 1px solid rgba(0,0,0,0); border: 1px solid rgba(0,0,0,0);
&:hover, &.hover { &:hover, &.hover {
border-color: @item-border-col-hover; border-color: @item-border-col-hover;
} }
} }
// needs to be here, to not conflict with header fields
.icon {
padding: 8px;
}
.label, .date, .size {
padding: ((@small-icon-size - 16px)/2) 8px;
}
} }
.icon.small { .icon.square {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 11px; left: 0;
top: 9px; top: -2px;
width: 16px; width: @small-icon-size;
img {
width: @small-icon-size;
height: @small-icon-size;
}
} }
.label { .label {
display: block; display: block;
max-width: 140px; margin: 0 0 0 (@small-icon-size + 8px);
margin: 0 0 0 24px;
} }
.date, .size { .date, .size {

View file

@ -11,8 +11,8 @@
float: left; float: left;
margin: 8px; margin: 8px;
padding: 8px; padding: 8px;
width: 100px; width: @big-icon-size * 2;
height: 120px; height: @big-icon-size + 72px;
border: 1px solid rgba(0,0,0,0); border: 1px solid rgba(0,0,0,0);
&:hover, &.hover { &:hover, &.hover {
@ -21,9 +21,9 @@
} }
} }
.icon.big { .icon.rational {
display: block; display: block;
height: 48px; height: @big-icon-size;
margin-bottom: 6px; margin-bottom: 6px;
} }

View file

@ -12,7 +12,7 @@
a, a:active, a:visited { a, a:active, a:visited {
border-top: 1px solid @item-border-col-sep; border-top: 1px solid @item-border-col-sep;
border-bottom: 1px solid @item-border-col-sep; border-bottom: 1px solid @item-border-col-sep;
height: 60px; height: @big-icon-size + 6px;
&:hover, &.hover { &:hover, &.hover {
border-color: @item-border-col-hover; border-color: @item-border-col-hover;
@ -21,10 +21,10 @@
// needs to be here, to not conflict with header fields // needs to be here, to not conflict with header fields
.icon { .icon {
padding: 8px 6px; padding: 8px;
} }
.label, .date, .size { .label, .date, .size {
padding: 18px 6px; padding: ((@big-icon-size - 16px)/2) 8px;
} }
} }
@ -35,16 +35,21 @@
} }
} }
.icon.big { .icon.square {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
left: 0; left: 0;
top: -2px; top: -5px;
width: 100px; width: @big-icon-size;
img {
width: @big-icon-size;
height: @big-icon-size;
}
} }
.label { .label {
margin: 0 270px 0 110px; margin: 0 230px 0 (@big-icon-size + 8px);
} }
.date { .date {

View file

@ -56,6 +56,12 @@
@item-background-col-sel: rgba(0,0,0,0.02); @item-background-col-sel: rgba(0,0,0,0.02);
@item-border-col-sel: @col-border-strong; @item-border-col-sel: @col-border-strong;
@small-icon-size: 32px;
// @small-icon-size: 16px;
@big-icon-size: 48px;
// @big-icon-size: 64px;
// @big-icon-size: 80px;
// @big-icon-size: 96px;
#view { #view {
@ -109,6 +115,7 @@
} }
&.item { &.item {
font-size: 15px;
a, a:active, a:visited { a, a:active, a:visited {
display: block; display: block;
@ -164,6 +171,7 @@
text-align: center; text-align: center;
img { img {
vertical-align: top;
&.thumb { &.thumb {
box-shadow: 0 0 0 1px #ddd; box-shadow: 0 0 0 1px #ddd;
@ -173,17 +181,32 @@
&.small { &.small {
img { img {
max-width: 16px; max-width: @small-icon-size * 2;
max-height: 16px; max-height: @small-icon-size;
} }
} }
&.big { &.big {
img { img {
max-width: 100px; max-width: @big-icon-size * 2;
max-height: 48px; max-height: @big-icon-size;
vertical-align: top; }
}
&.square {
img {
max-width: @big-icon-size;
max-height: @big-icon-size;
}
}
&.rational {
img {
max-width: @big-icon-size * 2;
max-height: @big-icon-size;
} }
} }
} }
@ -192,11 +215,12 @@
display: block; display: block;
overflow: hidden; overflow: hidden;
text-align: left; text-align: left;
text-overflow: ellipsis;
} }
.date { .date {
text-align: right; text-align: right;
width: 160px; width: 130px;
} }
.size { .size {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 592 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 622 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Some files were not shown because too many files have changed in this diff Show more