diff --git a/CHANGELOG.md b/CHANGELOG.md index 615af73..f197efc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,13 +3,17 @@ ## Bug Fixes - Fixed bug of Changelog not loading in about page - Changing pages within the extension while using a color theme doesn't flicker white anymore +- Fixed issue where choosing a subject color with the color picker on settings would break if many colors were clicked within the color picker (now, the color is only saved when the color picker is closed) +- Clicking on a class from a subject that has only one day on the schedule now shows the info panel on the right, instead of showing just one full sized schedule with one single day ## Popup +- Added button to lateral navbar to list all the subjects from the current schedule - Color Themes: - Sapphire - Ambar # [Changelog v1.2.0](https://github.com/digas99/schedule-ua/releases/tag/v1.2.0) +Released on 10/09/2022 ## Popup - Added Dark Mode diff --git a/README.md b/README.md index 288c666..cf881e8 100644 --- a/README.md +++ b/README.md @@ -28,17 +28,15 @@ Browser Extension for easy access to your Schedule from Universidade de Aveiro. ### Bug Fixes - Fixed bug of Changelog not loading in about page - -## [Changelog v1.2.0](https://github.com/digas99/schedule-ua/releases/tag/v1.2.0) +- Changing pages within the extension while using a color theme doesn't flicker white anymore +- Fixed issue where choosing a subject color with the color picker on settings would break if many colors were clicked within the color picker (now, the color is only saved when the color picker is closed) +- Clicking on a class from a subject that has only one day on the schedule now shows the info panel on the right, instead of showing just one full sized schedule with one single day ### Popup -- Added Dark Mode -- Added Changelog to about page +- Added button to lateral navbar to list all the subjects from the current schedule - Color Themes: - - Light Mode - - Light High Contrast - - Dark Mode - - Dark High Contrast + - Sapphire + - Ambar [(All changelogs)](CHANGELOG.md) diff --git a/home.html b/home.html index 646cbf0..005d7c0 100644 --- a/home.html +++ b/home.html @@ -11,9 +11,8 @@ -
+
Subjects Colors
diff --git a/styles/home.css b/styles/home.css index b1e6c36..84b6a69 100644 --- a/styles/home.css +++ b/styles/home.css @@ -49,6 +49,22 @@ table > tbody > tr > th:not(:first-child, :last-child) { cursor: pointer; } +.floating-info-panel { + position: absolute; + top: 0; + z-index: 2; + background-color: var(--background-color); + height: 100%; + padding: 0 10px; + box-shadow: -2px 0px 4px -2px black; + overflow: auto; + scroll-behavior: smooth; +} + +.floating-info-panel .info-panel { + width: unset !important; +} + .info-panel { width: 1020px; padding: 20px 10px; @@ -63,9 +79,16 @@ table > tbody > tr > th:not(:first-child, :last-child) { text-align: center; } -.info-panel > div { +.info-panel > div:last-child ,.info-panel > div:last-child > div { display: flex; flex-direction: column; +} + +.info-panel > div:last-child { + row-gap: 25px; +} + +.info-panel > div:last-child > div { row-gap: 10px; } @@ -77,6 +100,23 @@ table > tbody > tr > th:not(:first-child, :last-child) { margin: 10px auto; } +.info-panel .day-chooser { + display: flex; + margin: 5px 0; +} + +.info-panel .day-chooser > div { + width: 100%; + text-align: center; + padding: 5px; + background-color: var(--font-color); + color: var(--background-color); +} + +.info-panel .day-chooser > div:not(:last-child) { + border-right: 2px solid var(--background-color); +} + .subject-info > div:nth-child(1) { color: white; padding: 9px; @@ -173,7 +213,7 @@ table > tbody > tr > th:not(:first-child, :last-child) { background-color: var(--background-color); width: fit-content !important; padding: unset !important; - top: 50px; + top: 20px; border: 1px solid silver; z-index: 1; } diff --git a/styles/sidebar.css b/styles/sidebar.css index 5395052..89c369a 100644 --- a/styles/sidebar.css +++ b/styles/sidebar.css @@ -9,12 +9,12 @@ height: 100%; border-left: 1px solid var(--table-borders); overflow: auto; - z-index: 2; + z-index: 3; background-color: var(--background-color); } #navbar > img { - width: 25px; + width: 30px; margin-bottom: 10px; } @@ -24,14 +24,14 @@ margin-left: -2px; } -#navbar > div:not(:first-child, .separator) { +#navbar > div:not(.separator) { width: 100%; text-align: center; - padding: 10px 0; + padding: 9px 0; position: relative; } -#navbar > div:not(:first-child, :last-child):hover { +#navbar > div:not(:last-child):hover { background-color: var(--background-hover); }