mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Fix people/space cards banner (#5591)
* Fix people/space cards banner * Update CHANGELOG_DEV.php * Fix space modules list
This commit is contained in:
parent
89b0410349
commit
673da3b941
@ -41,3 +41,4 @@
|
|||||||
- Fix #5581: Fix long words in comment form
|
- Fix #5581: Fix long words in comment form
|
||||||
- Fix #5578: Improved `rememberMe` parameter handling for thirdparty auth provider
|
- Fix #5578: Improved `rememberMe` parameter handling for thirdparty auth provider
|
||||||
- Fix #5340: Mobile navigation: width detection problem
|
- Fix #5340: Mobile navigation: width detection problem
|
||||||
|
- Fix #5591: Fix people/space cards banner
|
||||||
|
@ -1 +1 @@
|
|||||||
.container-modules .modules-type{font-size:16px;font-weight:bold;color:#000;margin:70px 0 40px}.container-modules .row.cards{margin-top:40px}.container-modules .card-module .card-header{position:relative}.container-modules .card-module .card-body{padding-top:8px;font-size:13px;color:#6C787E}.container-modules .card-module .card-body>div{padding-bottom:8px}.container-modules .card-module .card-body>div:last-child{padding-bottom:0}.container-modules .card-module .card-title{color:#000}.container-modules .card-module .card-footer{padding-bottom:14px}.container-modules .card-module .card-footer a.btn{float:none}.container-modules .card-module .card-footer.text-right a.btn{margin-left:8px;margin-right:0}.container-modules .card-module .card-footer.text-right a.btn:first-child{margin-left:0}.container-modules .module-settings-link{float:right;color:#02A1B1;font-size:22px;line-height:20px;margin:2px}.container-content-modules{width:100%;padding:0 18px 5px 5px}.container-content-modules h4{font-size:16px;color:#000}.container-content-modules .card{width:100%;padding-right:3px}.container-content-modules .card .card-panel{margin-top:3px}@media (min-width:460px){.container-content-modules .card{width:50%}}@media (min-width:656px){.container-content-modules .card{width:33.33333333%}}@media (min-width:768px){.container-content-modules{padding:0 12px 5px 0}}@media (min-width:1200px){.container-content-modules .card{width:25%}}@media (min-width:460px){.container-content-modules.container-content-modules-col-3 .card{width:50%}}@media (min-width:656px){.container-content-modules.container-content-modules-col-3 .card{width:33.33333333%}}.container-create-space-modules.container-cards{width:100%;padding:0}.container-create-space-modules.container-cards .row.cards{margin-top:0}.container-create-space-modules.container-cards .card .card-panel>div{background:#F5F5F5}/*# sourceMappingURL=modules.css.map */
|
.container-modules .modules-type{font-size:16px;font-weight:bold;color:#000;margin:70px 0 40px}.container-modules .row.cards{margin-top:40px}.container-modules .card-module .card-panel{background:none;overflow:hidden}.container-modules .card-module .card-panel>div:not(.card-status){background-color:#ffffff}.container-modules .card-module .card-header{position:relative}.container-modules .card-module .card-body{padding-top:8px;font-size:13px;color:#6C787E}.container-modules .card-module .card-body>div{padding-bottom:8px}.container-modules .card-module .card-body>div:last-child{padding-bottom:0}.container-modules .card-module .card-title{color:#000}.container-modules .card-module .card-footer{padding-bottom:14px}.container-modules .card-module .card-footer a.btn{float:none}.container-modules .card-module .card-footer.text-right a.btn{margin-left:8px;margin-right:0}.container-modules .card-module .card-footer.text-right a.btn:first-child{margin-left:0}.container-modules .module-settings-link{float:right;color:#02A1B1;font-size:22px;line-height:20px;margin:2px}.container-content-modules{width:100%;padding:0 18px 5px 5px}.container-content-modules h4{font-size:16px;color:#000}.container-content-modules .card{width:100%;padding-right:3px}.container-content-modules .card .card-panel{margin-top:3px}@media (min-width:460px){.container-content-modules .card{width:50%}}@media (min-width:656px){.container-content-modules .card{width:33.33333333%}}@media (min-width:768px){.container-content-modules{padding:0 12px 5px 0}}@media (min-width:1200px){.container-content-modules .card{width:25%}}@media (min-width:460px){.container-content-modules.container-content-modules-col-3 .card{width:50%}}@media (min-width:656px){.container-content-modules.container-content-modules-col-3 .card{width:33.33333333%}}.container-create-space-modules.container-cards{width:100%;padding:0}.container-create-space-modules.container-cards .row.cards{margin-top:0}.container-create-space-modules.container-cards .card .card-panel>div{background:#F5F5F5}/*# sourceMappingURL=modules.css.map */
|
@ -1 +1 @@
|
|||||||
{"version":3,"sources":["modules.less"],"names":[],"mappings":"AAAA,kBACI,eACI,cAAA,CACA,gBAAA,CACA,UAAA,CACA,mBALR,kBAOI,KAAI,OACA,gBARR,kBAUI,aACI,cACI,kBAZZ,kBAUI,aAII,YACI,eAAA,CACA,cAAA,CACA,cAjBZ,kBAUI,aAII,WAII,KACI,mBACA,kBAVZ,aAII,WAII,IAEK,YACG,iBArBpB,kBAUI,aAeI,aACI,WA1BZ,kBAUI,aAkBI,cACI,oBA7BZ,kBAUI,aAkBI,aAEI,EAAC,KACG,WAEJ,kBAvBR,aAkBI,aAKK,WACG,EAAC,KACG,eAAA,CACA,eACA,kBA3BhB,aAkBI,aAKK,WACG,EAAC,IAGI,aACG,cAtCxB,kBA4CI,uBACI,WAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CACA,WAIR,2BACI,UAAA,CACA,uBAFJ,0BAGI,IACI,cAAA,CACA,WALR,0BAOI,OACI,UAAA,CACA,kBATR,0BAOI,MAGI,aACI,eAGR,QAA0B,iBAA1B,0BACI,OACI,WAGR,QAA0B,iBAA1B,0BACI,OACI,oBAGR,QAA0B,iBAA1B,2BACI,sBAEJ,QAA2B,kBAA3B,0BACI,OACI,WAIJ,QAA0B,iBAA1B,0BADH,gCAEO,OACI,WAGR,QAA0B,iBAA1B,0BANH,gCAOO,OACI,oBAMhB,+BAA+B,iBAC3B,UAAA,CACA,UAFJ,+BAA+B,gBAG3B,KAAI,OACA,aAJR,+BAA+B,gBAM3B,MACI,YAAY,KACR","file":"modules.css"}
|
{"version":3,"sources":["modules.less"],"names":[],"mappings":"AAAA,kBACI,eACI,cAAA,CACA,gBAAA,CACA,UAAA,CACA,mBALR,kBAOI,KAAI,OACA,gBARR,kBAUI,aACI,aACI,eAAA,CACA,gBAbZ,kBAUI,aACI,YAGI,IAAK,IAAI,eACL,yBAfhB,kBAUI,aAQI,cACI,kBAnBZ,kBAUI,aAWI,YACI,eAAA,CACA,cAAA,CACA,cAxBZ,kBAUI,aAWI,WAII,KACI,mBACA,kBAjBZ,aAWI,WAII,IAEK,YACG,iBA5BpB,kBAUI,aAsBI,aACI,WAjCZ,kBAUI,aAyBI,cACI,oBApCZ,kBAUI,aAyBI,aAEI,EAAC,KACG,WAEJ,kBA9BR,aAyBI,aAKK,WACG,EAAC,KACG,eAAA,CACA,eACA,kBAlChB,aAyBI,aAKK,WACG,EAAC,IAGI,aACG,cA7CxB,kBAmDI,uBACI,WAAA,CACA,aAAA,CACA,cAAA,CACA,gBAAA,CACA,WAIR,2BACI,UAAA,CACA,uBAFJ,0BAGI,IACI,cAAA,CACA,WALR,0BAOI,OACI,UAAA,CACA,kBATR,0BAOI,MAGI,aACI,eAGR,QAA0B,iBAA1B,0BACI,OACI,WAGR,QAA0B,iBAA1B,0BACI,OACI,oBAGR,QAA0B,iBAA1B,2BACI,sBAEJ,QAA2B,kBAA3B,0BACI,OACI,WAIJ,QAA0B,iBAA1B,0BADH,gCAEO,OACI,WAGR,QAA0B,iBAA1B,0BANH,gCAOO,OACI,oBAMhB,+BAA+B,iBAC3B,UAAA,CACA,UAFJ,+BAA+B,gBAG3B,KAAI,OACA,aAJR,+BAA+B,gBAM3B,MACI,YAAY,KACR","file":"modules.css"}
|
@ -9,6 +9,13 @@
|
|||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
.card-module {
|
.card-module {
|
||||||
|
.card-panel {
|
||||||
|
background: none;
|
||||||
|
overflow: hidden;
|
||||||
|
> div:not(.card-status) {
|
||||||
|
background-color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
.card-header {
|
.card-header {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ use humhub\modules\space\models\Space;
|
|||||||
use humhub\modules\ui\view\helpers\ThemeHelper;
|
use humhub\modules\ui\view\helpers\ThemeHelper;
|
||||||
|
|
||||||
/* @var Space $space */
|
/* @var Space $space */
|
||||||
/* @var ContentContainerModule[] $modules */
|
/* @var ContentContainerModule[] $availableModules */
|
||||||
|
|
||||||
ModuleAsset::register($this);
|
ModuleAsset::register($this);
|
||||||
?>
|
?>
|
||||||
@ -16,7 +16,7 @@ ModuleAsset::register($this);
|
|||||||
<div class="help-block"><?= Yii::t('SpaceModule.manage', 'Choose the modules you want to use for this Space. In order for the modules to be available to you here, they must have been previously installed by administrators of the network using the admin panel. If you cannot deactivate individual modules, it is because they have been set as the default for the entire network.') ?></div>
|
<div class="help-block"><?= Yii::t('SpaceModule.manage', 'Choose the modules you want to use for this Space. In order for the modules to be available to you here, they must have been previously installed by administrators of the network using the admin panel. If you cannot deactivate individual modules, it is because they have been set as the default for the entire network.') ?></div>
|
||||||
|
|
||||||
<div class="row cards">
|
<div class="row cards">
|
||||||
<?php if (empty($modules)) : ?>
|
<?php if (empty($availableModules)) : ?>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
@ -26,7 +26,7 @@ ModuleAsset::register($this);
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php foreach ($modules as $module) : ?>
|
<?php foreach ($availableModules as $module) : ?>
|
||||||
<?= ModuleCard::widget([
|
<?= ModuleCard::widget([
|
||||||
'contentContainer' => $space,
|
'contentContainer' => $space,
|
||||||
'module' => $module,
|
'module' => $module,
|
||||||
|
@ -145,13 +145,10 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
overflow: hidden;
|
background-color: #ffffff;
|
||||||
&.card-archived {
|
&.card-archived {
|
||||||
filter: opacity(60%);
|
filter: opacity(60%);
|
||||||
}
|
}
|
||||||
> div:not(.card-status) {
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-icons .fa {
|
.card-icons .fa {
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user