forked from extern/egroupware
2a71bab988
To achive this, some changes to the CSS were made and the ability to return thumbnails with a given size was added to etemplate/thumbnail.php. Miniature images with dimensions smaller than one pixel are now no longer created. In this progress I discovered a minor security issue which might cause multiple egroupware instances to mix up their thumbnails in rare occasions. This was fixed by now hashing the image path together with the webserver url and the thumbnail size. In this progress, the thumbnail generation code has been restructured, making it faster and much easier to understand.
25 lines
846 B
CSS
25 lines
846 B
CSS
/**
|
|
* CSS for new eTemplate filemanager UI
|
|
*/
|
|
|
|
.address input { font-size: 140%; font-weight: bold; }
|
|
.mimeHuge img { width: 64px; height: 64px; }
|
|
.fileName input { font-weight: bold; width: 100%; }
|
|
.comment textarea { width: 100%; height: 35px; }
|
|
.previewImage img { max-width: 430px; max-height: 275px; border: 1px solid black; }
|
|
.previewText div { }
|
|
.pathSelection { font-weight: bold; }
|
|
.pathSelection a { font-weight: bold; font-size: 120%; }
|
|
.pathSelectionContainer { width: 640px; overflow: auto; }
|
|
|
|
/**
|
|
* Select file dialog
|
|
*/
|
|
.selectPath { font-weight: bold; }
|
|
.selectPathContainer { width: 480px; overflow: auto; }
|
|
.selectName input { width: 100%; }
|
|
.selectMime select { width: 100%; }
|
|
/*.selectIcon img { height: 16px; }*/
|
|
.displayNone input { display: none; }
|
|
.selectFiles td div { border-style: groove; }
|