-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from aleevas/DS-1358
feat: [DS-1358] Add a new design for the Schedules block
- Loading branch information
Showing
19 changed files
with
2,688 additions
and
252 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
Oops, something went wrong.