Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
60d30dc
added font-size shared classes file
michaelchadwick Dec 4, 2025
c535fcd
first pass of changes: mixins not affected by other mixins; had to ma…
michaelchadwick Dec 5, 2025
dcbbeb8
removed selectors that don't match anything
michaelchadwick Dec 5, 2025
24dbcf1
removed mixin for .validation-error-message selector instances and ad…
michaelchadwick Dec 5, 2025
1fa9403
removed another selector that didn't match anything
michaelchadwick Dec 5, 2025
1eacdc0
removed font-size() usage in ilios-overview-title() mixin and added a…
michaelchadwick Dec 5, 2025
9ab2e96
made an exception to fix .user-guide-link a
michaelchadwick Dec 5, 2025
10e666e
replaced font-size() found in multi-button() mixin
michaelchadwick Dec 5, 2025
9c0bcf7
several more font-size() mixin instances removed, largely from other …
michaelchadwick Dec 5, 2025
64da304
added in noScript content explicitly in order to get rid of the mixin
michaelchadwick Dec 5, 2025
55ee175
removed mixin from flatpickr as it provided negligible font-size incr…
michaelchadwick Dec 6, 2025
27e9b79
replaced font-size() mixins related to objectives
michaelchadwick Dec 6, 2025
c071a1e
commented out deeply-nested usage and dropped attributes in manually;…
michaelchadwick Dec 6, 2025
adf3dc1
remove font-size() sass mixin
michaelchadwick Dec 6, 2025
7ace4c6
added font-size() sass mixin back to the arsenal in order to cover so…
michaelchadwick Dec 12, 2025
87233a5
added another exception so new font-size class overrided font: inheri…
michaelchadwick Dec 19, 2025
2be6a52
remove @use statements for font-size in files that no longer use it
michaelchadwick Dec 19, 2025
09aa070
slight exception for user guide link button
michaelchadwick Dec 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/frontend/app/components/bulk-new-users.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export default class BulkNewUsersComponent extends Component {
/>
</div>
{{#if this.updateSelectedFile.isRunning}}
<div class="file-is-loading">
<div class="file-is-loading font-size-xxxl">
<LoadingSpinner />
</div>
{{else if (gte this.proposedUsers.length 1)}}
Expand Down
12 changes: 6 additions & 6 deletions packages/frontend/app/components/course-search-result.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ export default class CourseSearchResultComponent extends Component {
<small>{{@course.year}}</small>
{{@course.title}}
</LinkTo>
<span class="school-flag" data-test-school-title>
<span class="school-flag font-size-smallest" data-test-school-title>
{{@course.school}}
</span>
<span class="course-flag">
<span class="course-flag font-size-smallest">
{{t "general.course"}}
</span>
<GlobalSearchTags @tags={{@course.matchedIn}} />
{{#if this.sessions}}
<ul>
<li class="sessions">
<li class="sessions font-size-small">
{{t "general.sessions"}}:
</li>
{{#each this.sessions as |session|}}
<li class="session-row">
<LinkTo
@route="session"
@models={{array @course.id session.id}}
class="session-title-link"
class="session-title-link font-size-small"
>
{{session.title}}
</LinkTo>
Expand All @@ -55,7 +55,7 @@ export default class CourseSearchResultComponent extends Component {
{{#if this.showMore}}
<li>
<button
class="show-less link-button"
class="show-less link-button font-size-small"
type="button"
{{on "click" (set this "showMore" false)}}
>
Expand All @@ -66,7 +66,7 @@ export default class CourseSearchResultComponent extends Component {
{{else}}
<li>
<button
class="show-more link-button"
class="show-more link-button font-size-small"
type="button"
{{on "click" (set this "showMore" true)}}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ export default class CurriculumInventoryNewSequenceBlock extends Component {
{{/each}}
</select>
{{#if this.course}}
<span class="details" data-test-course-details>
<span class="details font-size-small" data-test-course-details>
{{t "general.level"}}:
{{this.course.level}},
{{t "general.startDate"}}:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,22 +233,22 @@ export default class CurriculumInventoryReportOverviewComponent extends Componen
>
{{#let (uniqueId) as |templateId|}}
<div class="report-overview-header">
<div class="title" data-test-title>
<div class="title font-size-base" data-test-title>
{{t "general.overview"}}
</div>
<div class="report-overview-actions">
<LinkTo
@route="verification-preview"
@model={{@report}}
class="verification-preview"
class="verification-preview font-size-medium"
title={{t "general.verificationPreviewFor" name=@report.name}}
data-test-transition-to-verification-preview
>
<FaIcon @icon={{faTable}} @fixedWidth={{true}} />
</LinkTo>
{{#if this.showRollover}}
<button
class="link-button rollover"
class="link-button rollover font-size-medium"
type="button"
aria-label={{t "general.curriculumInventoryReportRollover"}}
{{on "click" this.transitionToRollover}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ export default class CurriculumInventorySequenceBlockOverviewComponent extends C
</span>
{{#if this.selectedCourse}}
{{#if this.selectedCourse.id}}
<span class="details" data-test-course-details>
<span class="details font-size-small" data-test-course-details>
{{t "general.level"}}:
{{this.selectedCourse.level}},
{{t "general.startDate"}}:
Expand All @@ -720,7 +720,7 @@ export default class CurriculumInventorySequenceBlockOverviewComponent extends C
</span>
{{/if}}
{{else if this.course}}
<span class="details" data-test-course-details>
<span class="details font-size-small" data-test-course-details>
{{t "general.level"}}:
{{this.course.level}},
{{t "general.startDate"}}:
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/app/components/global-search-tags.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { concat } from '@ember/helper';
{{#if @tags}}
<div class="global-search-tags" data-test-global-search-tags>
{{#each @tags as |tag|}}
<span class="global-search-tag" data-test-global-search-tag>
<span class="global-search-tag font-size-smallest" data-test-global-search-tag>
{{#if (eq tag "meshdescriptors")}}
{{t "general.mesh"}}
{{else if (eq tag "learningmaterials")}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export default class LearnerGroupUploadDataComponent extends Component {
/>
{{/if}}
{{#if this.uploadData.isPending}}
<LoadingSpinner class="loading-file" />
<LoadingSpinner class="loading-file font-size-xxl" />
{{/if}}
{{#if this.invalidUsers}}
<p class="error">
Expand Down
6 changes: 3 additions & 3 deletions packages/frontend/app/components/manage-users-summary.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,13 @@ export default class ManageUsersSummaryComponent extends Component {
@query={{hash showNewUserForm=true showBulkNewUserForm=false filter=null}}
data-test-create-user-link
>
<button type="button">
<button type="button" class="font-size-base">
{{t "general.create"}}
</button>
</LinkTo>
{{#if (notEq this.userSearchType "ldap")}}
<LinkTo @route="users" @query={{hash showBulkNewUserForm=true showNewUserForm=false}}>
<button type="button">
<button type="button" class="font-size-base">
{{t "general.createBulk"}}
</button>
</LinkTo>
Expand Down Expand Up @@ -324,7 +324,7 @@ export default class ManageUsersSummaryComponent extends Component {
{{#if (eq result.type "user")}}
<li class="user clickable">
<button
class="link-button"
class="link-button font-size-base"
type="button"
disabled={{this.clickUser.isRunning}}
data-userid={{result.user.id}}
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/app/components/my-profile.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default class MyProfileComponent extends Component {
/>
<LearnerGroups @user={{@user}} />
</div>
<section class="token-maintenance" data-test-token-maintenance>
<section class="token-maintenance font-size-small" data-test-token-maintenance>
<h3>
{{t "general.manageAPITokens"}}
</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default class PendingUpdatesSummaryComponent extends Component {
@query={{hash school=this.bestSelectedSchool.id}}
data-test-manage
>
<button type="button">
<button type="button" class="font-size-base">
{{t "general.manage"}}
</button>
</LinkTo>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class ProgramYearCollapsedObjectivesComponent extends Component {
</button>
</div>
<div class="content">
<table class="ilios-table ilios-table-colors">
<table class="ilios-table ilios-table-colors font-size-small">
<thead>
<tr>
<th class="text-left">
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/app/components/program-year/header.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default class ProgramYearHeaderComponent extends Component {
<FaIcon @icon={{faLock}} data-test-lock />
{{/if}}
{{#if @programYear}}
<h3 data-test-matriculation-year>
<h3 class="font-size-large" data-test-matriculation-year>
{{t "general.matriculationYear"}}
{{#if this.academicYearCrossesCalendarYearBoundaries}}
{{@programYear.startYear}}
Expand All @@ -45,7 +45,7 @@ export default class ProgramYearHeaderComponent extends Component {
{{@programYear.startYear}}
{{/if}}
</h3>
<h3 data-test-cohort>
<h3 class="font-size-large" data-test-cohort>
{{#if @programYear.cohort.title}}
({{@programYear.cohort.title}})
{{else}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export default class ProgramYearObjectiveListItemComponent extends Component {
</button>
{{/if}}
</div>
<div class="description grid-item" data-test-description>
<div class="description grid-item font-size-base" data-test-description>
<FadeText
@forceExpanded={{this.fadeTextExpanded}}
@setExpanded={{set this "fadeTextExpanded"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import { faChartColumn } from '@fortawesome/free-solid-svg-icons';
<template>
<div class="programyear-overview" data-test-program-year-overview ...attributes>
<div class="programyear-overview-header">
<h4 data-test-title>
<h4 class="font-size-base" data-test-title>
{{t "general.overview"}}
</h4>
<div class="programyear-overview-actions" data-test-actions>
<LinkTo
@route="program-year-visualize-objectives"
@model={{@programYear}}
title={{t "general.programYearVisualizations"}}
class="font-size-medium"
data-test-go-to-visualizations
>
<FaIcon @icon={{faChartColumn}} />
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/app/components/program/overview.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class ProgramOverviewComponent extends Component {
}
<template>
<div class="program-overview" data-test-program-overview ...attributes>
<h2>
<h2 class="font-size-base">
{{t "general.overview"}}
</h2>
<div class="program-overview-content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default class ReportsCurriculumChooseCourse extends Component {
<button
type="button"
aria-label={{t "general.deselectAllCourses"}}
class="deselect-all"
class="deselect-all font-size-small"
{{on "click" @removeAll}}
data-test-deselect-all
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default class ReportsCurriculumHeader extends Component {
};
<template>
<div class="reports-curriculum-header" data-test-reports-curriculum-header>
<div class="run">
<div class="run font-size-medium">
<p data-test-run-summary>
{{#if @countSelectedCourses}}
{{#if @showReportResults}}
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/app/components/reports/switcher.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import t from 'ember-intl/helpers/t';
<LinkTo
@route="reports.subjects"
@current-when="reports.subjects reports.subject"
class="font-size-medium"
data-test-subject
>
{{t "general.subjectReports"}}
</LinkTo>
<LinkTo @route="reports.curriculum" data-test-curriculum>
<LinkTo @route="reports.curriculum" class="font-size-medium" data-test-curriculum>
{{t "general.curriculumReports"}}
</LinkTo>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class SchoolCompetenciesCollapsedComponent extends Component {
</button>
</div>
<div class="content">
<table class="ilios-table ilios-table-colors condensed">
<table class="ilios-table ilios-table-colors condensed font-size-small">
<thead>
<tr>
<th class="text-left">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { faCaretRight, faBan, faCheck } from '@fortawesome/free-solid-svg-icons'
</button>
</div>
<div class="content">
<table class="ilios-table ilios-table-colors condensed">
<table class="ilios-table ilios-table-colors condensed font-size-small">
<thead>
<tr>
<th class="text-left">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { on } from '@ember/modifier';
<template>
{{#let (uniqueId) as |templateId|}}
<div data-test-school-session-attributes-manager ...attributes>
<table class="ilios-table ilios-table-colors condensed">
<table class="ilios-table ilios-table-colors condensed font-size-small">
<thead>
<tr>
<th class="text-left">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class SchoolSessionTypesCollapseComponent extends Component {
</div>

<div class="content">
<table class="ilios-table ilios-table-colors condensed">
<table class="ilios-table ilios-table-colors condensed font-size-small">
<thead>
<tr>
<th class="text-left">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class SchoolVocabulariesCollapsedComponent extends Component {
<LoadingSpinner />
{{else}}
<div class="content">
<table class="ilios-table ilios-table-colors condensed">
<table class="ilios-table ilios-table-colors condensed font-size-small">
<thead>
<tr>
<th class="text-left">
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/app/components/update-notification.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class UpdateNotificationComponent extends Component {
<template>
{{#if this.newVersion.isNewVersionAvailable}}
<div class="update-notification critical-notice" data-test-update-notification>
<button type="button" {{on "click" (perform this.click)}}>
<button type="button" class="font-size-large" {{on "click" (perform this.click)}}>
{{t "general.iliosUpdatePending"}}
</button>
</div>
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/app/components/user-guide-link.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { faQuestion } from '@fortawesome/free-solid-svg-icons';
<div class="user-guide-link" data-test-user-guide-link>
<a
href="https://iliosproject.gitbook.io/ilios-user-guide"
class="font-size-small"
target="_blank"
title={{t "general.iliosUserGuide"}}
rel="noopener noreferrer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { faPenToSquare } from '@fortawesome/free-solid-svg-icons';
<button
aria-label={{t "general.manage"}}
type="button"
class="manage"
class="manage font-size-base"
{{on "click" (fn @setIsManaging true)}}
data-test-manage
>
Expand All @@ -25,7 +25,7 @@ import { faPenToSquare } from '@fortawesome/free-solid-svg-icons';
</div>
{{/unless}}

<p class="primary-school" data-test-school>
<p class="primary-school font-size-medium" data-test-school>
<strong>
{{t "general.primarySchool"}}:
</strong>
Expand Down
Loading
Loading