mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Adds variable icon sizes.
This commit is contained in:
parent
c2f5c46451
commit
aa725f11f8
9 changed files with 458 additions and 124 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue