2
0
Fork 0

MOBILE-2353 wiki: Styling

main
Pau Ferrer Ocaña 2018-05-28 16:08:48 +02:00 committed by Dani Palou
parent df5d519b0a
commit ea6bc89cfd
4 changed files with 4 additions and 9 deletions

View File

@ -29,7 +29,7 @@
<!-- Page contents. --> <!-- Page contents. -->
<core-tab [title]="'addon.mod_wiki.viewpage' | translate" icon="document"> <core-tab [title]="'addon.mod_wiki.viewpage' | translate" icon="document">
<ng-template> <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> <core-course-module-description *ngIf="isMainPage" [description]="description" [component]="component" [componentId]="componentId"></core-course-module-description>
<!-- Wiki has something offline. --> <!-- Wiki has something offline. -->
@ -45,7 +45,7 @@
{{ pageWarning }} {{ pageWarning }}
</div> </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-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> <core-empty-box *ngIf="!pageContent" icon="document" [message]="'addon.mod_wiki.nocontent' | translate"></core-empty-box>
</article> </article>

View File

@ -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-toc-background-color: $gray-light !default;
addon-mod-wiki-index { addon-mod-wiki-index {
background-color: $white;
.core-tabs-content-container, .addon-mod_wiki-page-content {
background-color: $white;
}
.wiki-toc { .wiki-toc {
border: 1px solid $addon-mod-wiki-toc-border-color; border: 1px solid $addon-mod-wiki-toc-border-color;
background: $addon-mod-wiki-toc-background-color; background: $addon-mod-wiki-toc-background-color;

View File

@ -6,8 +6,10 @@ addon-mod-wiki-subwiki-picker {
.item.addon-mod_wiki-subwiki-selected { .item.addon-mod_wiki-subwiki-selected {
background-color: $gray-light; background-color: $gray-light;
color: $core-color;
.icon { .icon {
color: $core-color;
font-size: 24px; font-size: 24px;
} }
} }

View File

@ -8,7 +8,6 @@ core-empty-box {
display: table; display: table;
height: 100%; height: 100%;
width: 100%; width: 100%;
z-index: -1;
margin: 0; margin: 0;
padding: 0; padding: 0;
clear: both; clear: both;