This commit is contained in:
Lars Jung 2013-08-29 03:15:31 +02:00
parent 24b4f4ce8a
commit e3d19a9175
6 changed files with 22 additions and 33 deletions

View file

@ -12,7 +12,7 @@
a, a:active, a:visited {
border-top: 1px solid @item-border-col-sep;
border-bottom: 1px solid @item-border-col-sep;
height: @small-icon-size + 6px;
height: @icon-size + 6px;
&:hover, &.hover {
border-color: @item-border-col-hover;
@ -24,7 +24,7 @@
padding: 8px;
}
.label, .date, .size {
padding: ((@small-icon-size - 16px)/2) 8px;
padding: ((@icon-size - 16px)/2) 8px;
}
}
@ -40,16 +40,16 @@
position: absolute;
left: 0;
top: -5px;
width: @small-icon-size;
width: @icon-size;
img {
width: @small-icon-size;
height: @small-icon-size;
width: @icon-size;
height: @icon-size;
}
}
.label {
margin: 0 230px 0 (@small-icon-size + 16px);
margin: 0 230px 0 (@icon-size + 16px);
}
.date {

View file

@ -9,8 +9,8 @@
a, a:active, a:visited {
float: left;
margin: 2px;
width: @small-icon-size + 186px;
height: @small-icon-size + 6px;
width: @icon-size + 186px;
height: @icon-size + 6px;
border: 1px solid rgba(0,0,0,0);
&:hover, &.hover {
@ -23,7 +23,7 @@
padding: 8px;
}
.label, .date, .size {
padding: ((@small-icon-size - 16px)/2) 8px;
padding: ((@icon-size - 16px)/2) 8px;
}
}
@ -32,17 +32,17 @@
position: absolute;
left: 0;
top: -2px;
width: @small-icon-size;
width: @icon-size;
img {
width: @small-icon-size;
height: @small-icon-size;
width: @icon-size;
height: @icon-size;
}
}
.label {
display: block;
margin: 0 0 0 (@small-icon-size + 8px);
margin: 0 0 0 (@icon-size + 8px);
}
.date, .size {

View file

@ -11,8 +11,9 @@
float: left;
margin: 8px;
padding: 8px;
width: @big-icon-size * 2;
height: @big-icon-size + 72px;
min-width: 96px;
width: @icon-size * 2;
height: @icon-size + 72px;
border: 1px solid rgba(0,0,0,0);
&:hover, &.hover {
@ -23,12 +24,12 @@
.icon.rational {
display: block;
height: @big-icon-size;
height: @icon-size;
margin-bottom: 6px;
img {
max-width: @big-icon-size * 2;
max-height: @big-icon-size;
max-width: @icon-size * 2;
max-height: @icon-size;
}
}

View file

@ -56,8 +56,7 @@
@item-background-col-sel: rgba(0,0,0,0.02);
@item-border-col-sel: @col-border-strong;
@small-icon-size: 32px;
@big-icon-size: 48px;
@icon-size: 48px;
#view {

View file

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="16"
height="16"
>
<rect x="3" y="4" width="10" height="3" style="fill:#555555" />
<rect x="3" y="10" width="10" height="3" style="fill:#555555" />
</svg>

Before

Width:  |  Height:  |  Size: 277 B

View file

@ -4,9 +4,9 @@ modulejs.define('view/spacing', ['_', '$', 'core/settings', 'core/event'], funct
var settings = _.extend({
maxWidth: 960,
top: 50,
right: "auto",
right: 'auto',
bottom: 50,
left: "auto"
left: 'auto'
}, allsettings.spacing),
adjustSpacing = function () {