Skip to content

Commit

Permalink
Merge pull request #123 from acmauth/minorChanges
Browse files Browse the repository at this point in the history
Implemented minor changes
  • Loading branch information
neron-png authored Mar 10, 2024
2 parents 8597e55 + fa8b8b2 commit a028d1a
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/grades/chips.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
white-space: nowrap;
padding-left: 1rem;
padding-right: 1rem;
background-color: white;
background-color: #FBFBF9;
&::-webkit-scrollbar {
display: none;
};
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/grades/statsCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
</script>

<ion-card class="ion-text-center ion-padding-vertical stats">
<ion-card class="ion-text-center stats">
<ion-card-header>
<ion-card-subtitle>
<h2 class="subtitle">Περασμένα μαθήματα</h2>
Expand Down Expand Up @@ -231,6 +231,7 @@
.subtitle {
color: var(--app-color-primary-dark);
font-weight: medium;
margin: 0.5rem;
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/shared/chip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ion-icon {
background-color: rgba(236, 242, 252, 1);
color: var(--app-color-primary-dark);
font-weight: 700;
box-shadow: var(--shadow-short-md);
box-shadow: var(--shadow-sm);
}
</style>
6 changes: 2 additions & 4 deletions src/routes/pages/homepage/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@
{#await getInfo()}
<HomepageSkeleton />
{:then}
<AnnouncementBanner>
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- <AnnouncementBanner>
<ion-text
color="light"
on:click={() => {
Expand All @@ -108,7 +106,7 @@
<ion-label>Early Access Beta - Η γνώμη σου μετράει!</ion-label>
<ion-icon icon={open} />
</ion-text>
</AnnouncementBanner>
</AnnouncementBanner> -->
<div class="info-container">
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
Expand Down
4 changes: 2 additions & 2 deletions src/routes/pages/schedule/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
{/each}
</div>

<div use:swipe={{ timeframe: 300, minSwipeDistance: 100, touchAction: 'pan-y' }} on:swipe={handler} style="width:500px;height:500px;border:1px;">
<div use:swipe={{ timeframe: 300, minSwipeDistance: 100, touchAction: 'pan-y' }} on:swipe={handler} style="width:auto;height:80%;border:1px;">
<ion-grid style="padding: 0%">
{#each currentClasses as courseClass}
<ClassCard classItem={courseClass} />
Expand Down Expand Up @@ -106,7 +106,7 @@
ion-segment {
margin-top: 5px;
--background: #fff;
/* --background: #fff; */
}
.custom-center-label {
Expand Down
30 changes: 26 additions & 4 deletions src/theme/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,40 @@


--shadow-xl: 0px -2px 40.6px -1px rgba(0, 0, 0, 0.10), 0px -4px 18px -1px rgba(0, 0, 0, 0.06);
--shadow-sm: 0px -4px 18px -1px rgba(0, 0, 0, 0.06);
--shadow-sm: 0px 4px 18px -1px rgba(0, 0, 0, 0.06);
--shadow-md: rgba(149, 157, 165, 0.2) 0px 8px 24px;
--shadow-short: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
--shadow-short-md: rgba(0, 0, 0, 0.1) 0px 4px 12px;
--shadow-complicated:
0px 1.2px 1.1px -11px rgba(0, 0, 0, 0.016),
0px 3.4px 3.1px -11px rgba(0, 0, 0, 0.025),
0px 8.1px 7.5px -11px rgba(0, 0, 0, 0.035),
0px 27px 25px -11px rgba(0, 0, 0, 0.07)
;


ion-card {
border-radius: 1rem !important;
border: 0.1rem solid #EBEBEB;
box-shadow: var(--shadow-short-md);
/* box-shadow: var(--shadow-short-md); */
box-shadow: var(--shadow-sm);
/* margin: 0 !important; */
}

--ion-background-color: #FBFBF9;
/* --ion-tab-bar-color: #999999; */
--ion-toolbar-background: #FBFBF9;
--ion-tab-bar-color-selected: var(--app-color-primary-dark);
--ion-tab-bar-background: #FBFBF9;

ion-card {
--background: white;
}

ion-list {
background-color: white !important;
}

ion-searchbar {
--border-radius: 1rem !important;
--box-shadow: var(--shadow-sm);
Expand All @@ -119,9 +141,9 @@
/* --color: inherit !important; */
}

.tab-selected {
/* .tab-selected {
color: var(--app-color-primary-dark) !important;
}
} */

ion-progress-bar {
--progress-background: var(--app-color-primary-dark);
Expand Down

0 comments on commit a028d1a

Please sign in to comment.