Html and css patches on media.php

2.6
Anne Kozlika 2013-08-18 16:25:26 +02:00
parent 8d78126d04
commit 1dd767fbd2
3 changed files with 36 additions and 11 deletions

View File

@ -372,7 +372,7 @@ if ($core_media_writable)
echo
'<p class="one-file"><label for="upfiletitle">'.__('Title:').'</label>'.form::field(array('upfiletitle','upfiletitle'),35,255).'</p>'.
'<p class="one-file"><label for="upfilepriv" class="classic">'.__('Private').'</label>'.
'<p class="one-file"><label for="upfilepriv" class="classic">'.__('Private').'</label> '.
form::checkbox(array('upfilepriv','upfilepriv'),1).'</p>';
if (!$user_ui_enhanceduploader) {
@ -390,7 +390,7 @@ if ($core_media_writable)
echo
'<p>'.form::hidden(array('d'),$d).'</p>'.
'</form>'.
'</div>';
'</div></div>';
echo
'<div class="col">'.
@ -497,4 +497,4 @@ function mediaItemLine($f,$i)
return $res;
}
?>
?>

View File

@ -251,24 +251,30 @@ abbr {
position: static;
}
.two-cols .col {
width: 49%;
width: 47%;
margin-left: 2%;
float: left;
}
.two-cols .col:first-child {
width: 49%;
margin-left: 0;
}
.two-cols .col70{
width: 69%;
width: 68%;
margin-left: 0;
float: left;
}
.two-cols .col30 {
.col30 {
width: 28%;
margin-left: 2%;
float: left;
}
.two-cols .col:first-child,
.two-cols .col30.first-col {
margin-left: 0;
margin-right: 2%;
}
.two-cols .col:last-child,
.two-cols .col70.last-col {
margin-left: 2%;
margin-right: 0;
}
/* -------------------------------------------------------------- layout - onglets */
.part-tabs ul {
padding: .5em 0 .3em 1.2rem;
@ -600,7 +606,10 @@ select#del_cat {
float: left;
}
#media-details {
}
.near-icon {
margin-left: 70px;
margin-bottom: 3em;
}
#media-details ul {
display: block;
@ -786,6 +795,7 @@ li.media-action input {
#themes-wrapper #themes {
display: table-cell;
vertical-align: top;
padding-left: 1em;
}
#theme-box {
display: table-cell;
@ -1150,7 +1160,13 @@ th {
border-bottom-color: #aaa;
}
.noborder td, td.noborder, .noborder th, th.noborder {
border-width: 0;
border-width: 0 0 1px 0;
border-color: #ddd;
line-height: 2.4rem;
padding-bottom: 0;
}
.noborder p {
margin-bottom: 0;
}
table .maximal, table.maximal {
width: 100%;

View File

@ -106,6 +106,15 @@ label span.one-file {
}
/* files */
.files {
list-style-type: none;
margin-left: 0;
padding-left: 0;
}
.files li {
margin-left: 0;
padding-left: 0;
}
.upload-msg {
font-weight: bold;
}