commit
0c96bac2c6
@ -26,8 +26,8 @@
|
|||||||
height: 100px;
|
height: 100px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: 64px;
|
background-size: 32px;
|
||||||
background-position: 50% 10px;
|
background-position: 50%;
|
||||||
}
|
}
|
||||||
.add-document .add {
|
.add-document .add {
|
||||||
background-image: url('%webroot%/core/img/actions/add.svg');
|
background-image: url('%webroot%/core/img/actions/add.svg');
|
||||||
@ -36,12 +36,23 @@
|
|||||||
background-image: url('%webroot%/core/img/actions/upload.svg');
|
background-image: url('%webroot%/core/img/actions/upload.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-document a.upload{
|
.add-document a.add {
|
||||||
|
border-bottom: 1px solid #fff;
|
||||||
|
}
|
||||||
|
.add-document .add,
|
||||||
|
.add-document .upload {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
.add-document .add:hover,
|
||||||
|
.add-document .add:focus,
|
||||||
|
.add-document #upload:hover .upload,
|
||||||
|
.add-document .upload:focus {
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.add-document label {
|
.add-document label {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 5px;
|
bottom: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -57,9 +68,7 @@
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
.documentslist .document:hover,
|
.documentslist .document:hover,
|
||||||
.documentslist .document:focus,
|
.documentslist .document a:focus {
|
||||||
.documentslist .add-document:hover,
|
|
||||||
.documentslist .add-document:focus {
|
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<ul class="documentslist">
|
<ul class="documentslist">
|
||||||
<li class="add-document">
|
<li class="add-document">
|
||||||
<a class="add svg" target="_blank" href="">
|
<a class="add svg" target="_blank" href="">
|
||||||
<label><?php p('Add') ?></label>
|
<label><?php p('New document') ?></label>
|
||||||
</a>
|
</a>
|
||||||
<div id="upload" title="<?php p($l->t('Upload') . ' max. '.$_['uploadMaxHumanFilesize']) ?>">
|
<div id="upload" title="<?php p($l->t('Upload') . ' max. '.$_['uploadMaxHumanFilesize']) ?>">
|
||||||
<form data-upload-id="1"
|
<form data-upload-id="1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user