CC-5753 : Playlist Rule CSS

This commit is contained in:
Naomi 2014-04-21 11:47:32 -04:00
parent e44d8deefb
commit 913d496a61
2 changed files with 38 additions and 5 deletions

View File

@ -13,7 +13,7 @@
<dd id='rule_criteria'>
<?php $option = $this->element->getDecorator('ViewScript')->getOptions();?>
<?php for ($i = 0; $i < count($option["suffixes"]); $i++): ?>
<div class="pl-criteria-and">
<?php for ($j = 0; $j < count($option["suffixes"][$i]); $j++): ?>
@ -77,8 +77,8 @@
<?php endif; ?>
<?php endforeach; ?>
<?php endfor; ?>
</div>
<?php endfor; ?>
</div>
<?php endfor; ?>

View File

@ -581,6 +581,39 @@ li.spl_empty {
border-top: 1px solid #5B5B5B;
}
.pl-criteria-and {
border: 2px solid;
}
.pl-content .pl-criteria-and {
border: 1px solid #949494;
margin-bottom: 25px;
padding: 10px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
display: table;
clear: both;
}
.pl-content .pl-criteria-and:last-of-type {
margin-bottom: 20px;
}
.pl-content .pl-criteria-and:after {
content: " and ";
display: inline-block;
position: absolute;
margin: 13px 0px 0px 0px;
font-size: 13px;
}
div.pl-criteria-and:last-of-type:after {
display: none;
content: " ";
}
.pl-content .pl-criteria-row {
margin-bottom: 4px;
}
#rule_criteria .btn-small.btn-danger {
margin-right: 10px;
}