Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
Affichage en grille des notes sur tablette/desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve committed Jun 13, 2023
1 parent 6ecaa53 commit 0a97745
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
7 changes: 7 additions & 0 deletions src/views/grades/GradesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,13 @@
background: var(--ion-color-step-50);
}
@media screen and (min-width: 900px) {
#NotesData {
display: grid;
grid-template-columns: 1fr 1fr;
}
}
.ios .gradeItem {
--border-color: var(--ion-color-step-150);
}
Expand Down
25 changes: 15 additions & 10 deletions src/views/timetable/TimetableView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -686,19 +686,16 @@
<ion-button @click="setNewCoursModalOpen(false)">Annuler</ion-button>
</ion-buttons>
<IonTitle>
<ion-input type="text" name="CourseTitle" ref="newCoursNameRef" placeholder="Nom du cours"></ion-input>
</IonTitle>
<ion-buttons slot="end">
<ion-button @click="addNewCours()" color="primary">Ajouter</ion-button>
</ion-buttons>
</IonToolbar>
</IonHeader>
<ion-content>
<ion-list inset>
<ion-item class="textInput">
<span class="material-symbols-outlined mdls" slot="start" style="margin-right:15px">school</span>
<ion-input type="text" name="CourseTitle" ref="newCoursNameRef" placeholder="Nom du cours"></ion-input>
</ion-item>
</ion-list>
<ion-list inset>
<ion-item class="textInput">
<span class="material-symbols-outlined mdls" slot="start" style="margin-right:15px">location_on</span>
Expand Down Expand Up @@ -935,6 +932,14 @@
background: var(--ion-color-step-25, #f9f9f9);
}
.dark .ios .newCoursModal {
--ion-toolbar-background: var(--ion-color-step-50, #1f1f1f) !important;
}
.dark .ios .newCoursModal ion-content::part(scroll) {
background: var(--ion-color-step-25, #111);
}
.ios .newCoursModal ion-list.list-inset {
background : var(--ion-background-color) !important;
border-radius: 10px !important;
Expand All @@ -945,15 +950,15 @@
}
.dark .ios .newCoursModal ion-list.list-inset {
background : var(--ion-color-step-100) !important;
background : var(--ion-color-step-50) !important;
}
.dark .ios .newCoursModal ion-list.list-inset > * {
--background : var(--ion-color-step-100) !important;
--background : var(--ion-color-step-50) !important;
}
.dark .ios .newCoursModal .timeInput {
background: var(--ion-color-step-150) !important;
background: var(--ion-color-step-100) !important;
}
.ios .newCoursModal {
Expand Down

0 comments on commit 0a97745

Please sign in to comment.