Skip to content

Commit

Permalink
Merge pull request #57 from aleevas/DS-1358
Browse files Browse the repository at this point in the history
feat: [DS-1358] Add a new design for the Schedules block
  • Loading branch information
podarok authored Jul 2, 2024
2 parents aa03ce1 + 1d7b749 commit 20eec33
Show file tree
Hide file tree
Showing 19 changed files with 2,688 additions and 252 deletions.
48 changes: 48 additions & 0 deletions assets/css/print.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

714 changes: 714 additions & 0 deletions assets/css/repeat.css

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions assets/css/repeat_mobile.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions assets/scss/print.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#page-head,
#block-openy-rose-views-block-alerts-header-alerts,
.breadcrumbs,
.openy-page-tabs,
.pre-footer,
.footer,
.schedule-dashboard__sidebar {
display: none;
}

.schedule-dashboard__content {
width: 100% !important;
a {
color: #0060ac !important;
}
}

/*
* Set flexbox widths based on number of columns.
*/
/* Doesn't have category or instructor columns. */
.schedules-data__cols-5 .schedules-data__header > div,
.schedules-data__cols-5 .schedules-data__row > div {
max-width: calc(100% / 3);
}
/* Has category column. */
.schedules-data__cols-6 .schedules-data__header > div,
.schedules-data__cols-6 .schedules-data__row > div {
padding: 24px 12px;
max-width: calc(100% / 4);
}
/* Has category & instructor columns. */
.schedules-data__cols-7 .schedules-data__header > div,
.schedules-data__cols-7 .schedules-data__row > div {
padding: 24px 10px;
max-width: calc(100% / 5);
}

html body {
padding-top: 0 !important;
}
.viewport {
margin-top: 0 !important;
}
.calendar-column,
.register-column {
display: none !important;
}

.schedules-data__row:nth-child(even) {
background-color: #f0faf9 !important;
}
Loading

0 comments on commit 20eec33

Please sign in to comment.