Adds variable icon sizes.

This commit is contained in:
Lars Jung 2013-08-28 17:12:30 +02:00
parent c2f5c46451
commit aa725f11f8
9 changed files with 458 additions and 124 deletions

View file

@ -56,13 +56,8 @@
@item-background-col-sel: rgba(0,0,0,0.02);
@item-border-col-sel: @col-border-strong;
// @small-icon-size: 16px;
@small-icon-size: 32px;
@big-icon-size: 48px;
// @big-icon-size: 56px;
// @big-icon-size: 64px;
// @big-icon-size: 80px;
// @big-icon-size: 96px;
#view {
@ -178,38 +173,6 @@
box-shadow: 0 0 0 1px #ddd;
}
}
&.small {
img {
max-width: @small-icon-size * 2;
max-height: @small-icon-size;
}
}
&.big {
img {
max-width: @big-icon-size * 2;
max-height: @big-icon-size;
}
}
&.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;
}
}
}
.label {