More navbar and submenu layout fixes

This commit is contained in:
Albert Santoni 2015-08-18 17:13:17 -04:00
parent 1f8e8f85b9
commit a04f5afcbd
4 changed files with 19 additions and 10 deletions

View File

@ -121,15 +121,16 @@
<div class="wrapper" id="content">
<div id="sub-menu">
<?php //parent_page is passed in from controller
echo $this->layout()->parent_page; ?>
echo $this->layout()->parent_page; ?>
<hr>
<?php
$page = $this->navigation()->findOneBy('label', $this->layout()->parent_page);
echo $this->navigation()->menu()->renderMenu($page);
?>
</div>
<div style="width:87%">
<?php echo $this->layout()->content ?></div>
</div>
<div>
<?php echo $this->layout()->content ?>
</div>
</div>
<script id="tmpl-pl-cues" type="text/template">

View File

@ -114,6 +114,7 @@
?>
</fieldset>
<br />
<div style="clear: both"></div>
<button name="stream_save" id="stream_save_bottom" type="button" class="btn btn-small right-floated"><?php echo _("Save") ?></button>
</div>
</form>

View File

@ -26,11 +26,9 @@ way to fit your requirements.
}
#nav li.top {
/*margin:0 5px 0 0;*/
padding: 10px;
padding-left: 0px;
}
#nav li a.top_link {
padding: 10px;
padding: 0px;
height:18px;
color:#ccc;
text-decoration:none;
@ -39,6 +37,9 @@ way to fit your requirements.
/*font-weight:bold;*/
/*padding:4px 0 0 10px;*/
cursor:pointer;
display: block;
padding: 10px;
white-space: nowrap;
}
#nav li a.top_link span {
padding: 0 14px 0 0;
@ -55,6 +56,7 @@ way to fit your requirements.
{
color: #fff;
background-color: #444;
border-right: 2px solid #FF5D1A;
}
#nav li:hover {

View File

@ -1667,7 +1667,6 @@ h2#scheduled_playlist_name span {
/*---//////////////////// USERS ////////////////////---*/
.simple-formblock {
width: 30%;
}
.simple-formblock dl, .simple-formblock dl.zend_form {
@ -2335,7 +2334,7 @@ span.errors.sp-errors{
}
.stream-config {
width: 85%;
min-width: 800px;
}
#stream_save_bottom {
@ -3513,6 +3512,7 @@ button.btn-icon-text > i.icon-white {
.media_type_selector.selected, .media_type_selector.selected a {
color: #fff;
background-color: #444;
border-right: 1px solid #FF5D1A;
-webkit-transition: color 0.1s linear;
-moz-transition: color 0.1s linear;
-o-transition: color 0.1s linear;
@ -3603,7 +3603,7 @@ button.btn-icon-text > i.icon-white {
}
#sub-menu {
width: 10%;
width: 130px;
border-right: 1px solid #5b5b5b;
font-size: 14px;
color: #cecece;
@ -3624,6 +3624,11 @@ button.btn-icon-text > i.icon-white {
text-decoration: none;
}
#sub-menu .navigation .active a {
color: #fff;
text-decoration: none;
}
#listenerstat_content {
width: 100%;
}