Enh: Optimized responsive layout

This commit is contained in:
andystrobel 2015-10-30 19:17:38 +01:00
parent 26fc8647f4
commit 7e01b67e6c
4 changed files with 25 additions and 3 deletions

View File

@ -7,7 +7,7 @@ $this->registerJsVar('activityStreamUrl', $streamUrl);
$this->registerJsVar('activityInfoUrl', $infoUrl);
?>
<div class="panel panel-default panel-activities">
<div class="panel panel-default panel-activities hidden-sm hidden-xs">
<div
class="panel-heading"><?php echo Yii::t('ActivityModule.widgets_views_activityStream', '<strong>Latest</strong> activities'); ?></div>

View File

@ -3,7 +3,7 @@
use yii\helpers\Html;
?>
<div class="panel panel-default members" id="space-members-panel">
<div class="panel panel-default members hidden-sm hidden-xs" id="space-members-panel">
<?php echo \humhub\widgets\PanelMenu::widget(['id' => 'space-members-panel']); ?>
<div class="panel-heading"><?php echo Yii::t('SpaceModule.widgets_views_spaceMembers', '<strong>Space</strong> members'); ?></div>
<div class="panel-body">

File diff suppressed because one or more lines are too long

View File

@ -2701,6 +2701,28 @@ img.bounceIn {
//margin-left: 15px;
}
.list-group {
margin-left: 4px;
}
.list-group-item {
display: inline-block !important;
border-radius: 3px !important;
margin: 4px 0;
margin-bottom: 4px !important;
}
.list-group-item {
border: none !important;
}
a.list-group-item:hover, a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
border: none !important;
background: @primary !important;
color: #fff !important;
}
}
// Flatelements