Small changes.

This commit is contained in:
Lars Jung 2014-12-29 13:45:18 +01:00
parent c7adecdbfe
commit 3b1f4ffd75
11 changed files with 25 additions and 10 deletions

View file

@ -56,7 +56,6 @@
@col-sb-thumb-active: rgba(0,0,0,0.25);
@col-range-back: rgb(224,224,224);
// @col-range-thumb: rgb(190,190,190);
@col-range-thumb: #555;
@border-widget: 1px solid @col-border;
@ -67,6 +66,9 @@
@font-size: 13px;
@font-family-mono: monospace;
@max-icon-size: 32px;
// @max-icon-size: 24px;
::-moz-selection { background: @col-blue-400; color: @col-text-primary-white; text-shadow: none; }
::selection { background: @col-blue-400; color: @col-text-primary-white; text-shadow: none; }

View file

@ -9,6 +9,7 @@
.square {
width: @size;
height: @size;
img {
width: @size;

View file

@ -7,6 +7,7 @@
.square {
width: @size;
height: @size;
img {
width: @size;

View file

@ -6,6 +6,8 @@
}
.landscape {
width: @size * 4/3;
height: @size;
img {
width: @size;

View file

@ -73,12 +73,16 @@
text-align: center;
img {
vertical-align: top;
max-width: 32px;
max-width: @max-icon-size;
max-height: @max-icon-size;
position: relative;
top: 50%;
transform: translateY(-50%);
}
.thumb {
max-width: none;
max-height: none;
}
}

View file

@ -0,0 +1,3 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24" version="1.1">
<path d="m14 2-8 0c-1.1 0-2 0.9-2 2L4 20c0 1.1 0.9 2 2 2L18 22c1.1 0 2-0.9 2-2L20 8zm-1 7 0-5.5 5.5 5.5z" fill="#555"/>
</svg>

After

Width:  |  Height:  |  Size: 265 B

View file

Before

Width:  |  Height:  |  Size: 213 B

After

Width:  |  Height:  |  Size: 213 B

View file

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 309 B

View file

@ -7,7 +7,7 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/s
var template =
'<div class="item">' +
'<span class="indicator none">' +
'<img src="' + resource.image('tree') + '"/>' +
'<img src="' + resource.image('tree-indicator') + '"/>' +
'</span>' +
'<a>' +
'<span class="icon"><img/></span>' +
@ -18,7 +18,7 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/s
'<div class="block">' +
'<h1 class="l10n-tree">Tree</h1>' +
'<div id="view-tree" class="button view">' +
'<img src="' + resource.image('view-tree') + '" alt="view-tree"/>' +
'<img src="' + resource.image('tree-toggle') + '" alt="view-tree"/>' +
'</div>' +
'</div>';
var storekey = 'ext/tree';

View file

@ -47,21 +47,23 @@ modulejs.define('view/viewmode', ['_', '$', 'core/settings', 'core/resource', 'c
var dsize = cropSize(size, 10, 80);
var gsize = cropSize(size, 40, 150);
var isize = cropSize(size, 80);
var ilsize = Math.round(isize*4/3);
var rules = [
'#view.view-details .item .label { line-height: ' + (dsize+14) + 'px !important; }',
'#view.view-details .item .date { line-height: ' + (dsize+14) + 'px !important; }',
'#view.view-details .item .size { line-height: ' + (dsize+14) + 'px !important; }',
'#view.view-details .square { width: ' + dsize + 'px !important; }',
'#view.view-details .square { width: ' + dsize + 'px !important; height: ' + dsize + 'px !important; }',
'#view.view-details .square img { width: ' + dsize + 'px !important; height: ' + dsize + 'px !important; }',
'#view.view-details .label { margin: 0 246px 0 ' + (dsize+32) + 'px !important; }',
'#view.view-grid .item .label { line-height: ' + gsize + 'px !important; }',
'#view.view-grid .square { width: ' + gsize + 'px !important; }',
'#view.view-grid .square { width: ' + gsize + 'px !important; height: ' + gsize + 'px !important; }',
'#view.view-grid .square img { width: ' + gsize + 'px !important; height: ' + gsize + 'px !important; }',
'#view.view-icons .item { width: ' + Math.round(isize*4/3) + 'px !important; }',
'#view.view-icons .item { width: ' + ilsize + 'px !important; }',
'#view.view-icons .landscape { width: ' + ilsize + 'px !important; height: ' + isize + 'px !important; }',
'#view.view-icons .landscape img { width: ' + isize + 'px !important; height: ' + isize + 'px !important; }',
'#view.view-icons .landscape .thumb { width: ' + Math.round(isize*4/3) + 'px !important; }'
'#view.view-icons .landscape .thumb { width: ' + ilsize + 'px !important; }'
];
applyCss(rules);
}

View file

@ -24,7 +24,7 @@ body#h5ai-info
form( action="https://www.paypal.com/cgi-bin/webscr", method="post", target="_top" )
input( type="hidden", name="cmd", value="_s-xclick" )
input( type="hidden", name="hosted_button_id", value="8WSPKWT7YBTSQ" )
input( type="image", src="client/images/paypal.svg", width="100px", border="0", name="submit", alt="PayPal - The safer, easier way to pay online!" )
input( type="image", src="client/images/ui/paypal.svg", width="100px", border="0", name="submit", alt="PayPal - The safer, easier way to pay online!" )
div#bottombar
span.noJsMsg