MOBILE-2353 wiki: Styling
parent
df5d519b0a
commit
ea6bc89cfd
|
@ -29,7 +29,7 @@
|
|||
<!-- Page contents. -->
|
||||
<core-tab [title]="'addon.mod_wiki.viewpage' | translate" icon="document">
|
||||
<ng-template>
|
||||
<div padding>
|
||||
<div padding class="addon-mod_wiki-page-content">
|
||||
<core-course-module-description *ngIf="isMainPage" [description]="description" [component]="component" [componentId]="componentId"></core-course-module-description>
|
||||
|
||||
<!-- Wiki has something offline. -->
|
||||
|
@ -45,7 +45,7 @@
|
|||
{{ pageWarning }}
|
||||
</div>
|
||||
|
||||
<article [ngClass]="{'addon-mod_wiki-noedit': !canEdit}" class="addon-mod_wiki-page-content">
|
||||
<article [ngClass]="{'addon-mod_wiki-noedit': !canEdit}">
|
||||
<core-format-text *ngIf="pageContent" [component]="component" [componentId]="componentId" [text]="pageContent"></core-format-text>
|
||||
<core-empty-box *ngIf="!pageContent" icon="document" [message]="'addon.mod_wiki.nocontent' | translate"></core-empty-box>
|
||||
</article>
|
||||
|
|
|
@ -5,12 +5,6 @@ $addon-mod-wiki-toc-border-color: $gray-dark !default;
|
|||
$addon-mod-wiki-toc-background-color: $gray-light !default;
|
||||
|
||||
addon-mod-wiki-index {
|
||||
background-color: $white;
|
||||
|
||||
.core-tabs-content-container, .addon-mod_wiki-page-content {
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
.wiki-toc {
|
||||
border: 1px solid $addon-mod-wiki-toc-border-color;
|
||||
background: $addon-mod-wiki-toc-background-color;
|
||||
|
|
|
@ -6,8 +6,10 @@ addon-mod-wiki-subwiki-picker {
|
|||
|
||||
.item.addon-mod_wiki-subwiki-selected {
|
||||
background-color: $gray-light;
|
||||
color: $core-color;
|
||||
|
||||
.icon {
|
||||
color: $core-color;
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@ core-empty-box {
|
|||
display: table;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
clear: both;
|
||||
|
|
Loading…
Reference in New Issue