Commit graph

9 commits

Author SHA1 Message Date
Donna Peplinskie
dafa06d928
Course Release 1.3.5 (#7451)
* Update styles of question feedback (#7373)

* Specify the grade style to be applied only in the question header

* Update background color for gold variation

* Update background color for default variation

* Update border color for gold variation

* Tweak CSS formatting

* Tweak color for border of ordering question

---------

Co-authored-by: Donna Peplinskie <donnapep@gmail.com>

* Update version and description

* Add new changelog

* Remove legacy Learning Mode CSS as it's part of Sensei now (#7431)

* Course: Add body class for theme variations (#7432)

* Add custom property with variation name

* Add function to add body class and enqueue proper stylesheets

* Add stylesheets for all variations

* Add version number

* Style the "Awaiting Grade" notice (#7401)

* Style "Awaiting Grade" notice

* Move custom CSS to other areas of theme.json

* Remove typography setting as it needs to be done via CSS

* Do the same for the variations

* Fix notice style getting broken for css parsing issue

---------

Co-authored-by: Imran Hossain <imranh920@gmail.com>

* Bump versions and update change log

---------

Co-authored-by: Imran Hossain <imranh920@gmail.com>
2023-11-01 15:17:51 -03:00
Imran Hossain
77a421b1eb
Sensei frontend style improvements (#7427)
* Update styles of question feedback (#7373)

* Specify the grade style to be applied only in the question header

* Update background color for gold variation

* Update background color for default variation

* Update border color for gold variation

* Tweak CSS formatting

* Tweak color for border of ordering question

* Update version and description

* Add new changelog
2023-10-12 20:48:53 +03:00
Imran Hossain
e88bb3eb7f
Course Theme: Frontend improvements feature branch PR (#7324)
* Course theme: Update the styles of back to lesson button of quiz in learning mode (#7312)

* Fix font weight in gold variation

* Fix back to lesson font family in default variation

* Fix back to lesson font family in gold variation

* Fix back to lesson font family in blue variation

* Fix back to lesson font family in dark variation

* Quiz footer button styles fix (#7317)

* Fix font weight in gold variation

* Fix back to lesson font family in default variation

* Fix back to lesson font family in gold variation

* Fix back to lesson font family in blue variation

* Fix back to lesson font family in dark variation

* Fix default font size

* Fix gold variation font size

* Fix dark variation font size

* Fix blue variation font size

* Simply Quiz Actions block CSS

---------

Co-authored-by: Donna Peplinskie <donnapep@gmail.com>

* Update stylings for quiz, questions and answers (#7331)

* Fix font weight in gold variation

* Fix back to lesson font family in default variation

* Fix back to lesson font family in gold variation

* Fix back to lesson font family in blue variation

* Fix back to lesson font family in dark variation

* Fix default font size

* Fix gold variation font size

* Fix dark variation font size

* Fix blue variation font size

* Fix default variation question title font stylings

* Fix spacings above and below question title

* Add default style for file upload button

* Add question, title and file upload button styles for blue variation

* Add question, title and file upload button styles for dark variation

* Add question, title and file upload button styles for gold variation

* Update file upload placeholder spacings for all variations

* Further clarify CSS selector to prevent collisions

* Adjust question title CSS for Gold variation

* Set font family for quiz points in Gold variation

* Eliminate use of custom font size

* Remove obsolete CSS for file upload component

---------

Co-authored-by: Donna Peplinskie <donnapep@gmail.com>

---------

Co-authored-by: Imran Hossain <imran.hossain@automattic.com>
Co-authored-by: Donna Peplinskie <donnapep@gmail.com>
2023-09-13 16:40:00 +06:00
Imran Hossain
fb4fabd270
Add course theme single lesson template (#7265)
* Add single lesson template

* Add single lesson template in theme.json

* Change template name from Single Lesson to Lesson

* Remove single-lesson template from lesson dropdown

* Move template removing hook to separate function

* Add doc block on filter function
2023-08-09 08:54:03 -04:00
Imran Hossain
f05afbf291
Fix course theme comment styles (#7252)
* Update comment pattern to match design

* Update comment styles and add pseudo checkbox style

* Update single page and lesson template to use comment pattern

* Update theme.json to match comment reply design

* Update single column templates to use comment pattern

* Update templates to use common comment pattern

* Move top border to comment pattern

* Add preset for top and bottom margin of comment title

* Add spacings for pagination and remove spacer

* Remove extra class from pagination and move preset style to css

* Use margin instead of padding

* Update course/style.css

Co-authored-by: Donna Peplinskie <donnapep@gmail.com>

* Change 0 rem to 0

* Add spacing after comment reply form in middle

* Resize cancel reply link text

* Change color of input text in comment reply form fields

* Update font size of comment input texts

---------

Co-authored-by: Donna Peplinskie <donnapep@gmail.com>
2023-08-09 08:53:34 -04:00
Dmitry Merkushin
26b8718c65
Improve Learning mode experience (#7120)
* Improve Learning mode experience

---------

Co-authored-by: Imran Hossain <imranh920@gmail.com>
Co-authored-by: Miroslav Mitev <m1r0@users.noreply.github.com>
Co-authored-by: Donna Peplinskie <donnapep@gmail.com>
Co-authored-by: Imran Hossain <imran.hossain@automattic.com>
Co-authored-by: Gabriel Caires <gabriel.caires@automattic.com>
2023-06-01 21:43:14 +04:00
Donna Peplinskie
23a8e32454
Tweak some block styles (#7033) 2023-05-01 08:06:17 -04:00
Donna Peplinskie
4a46c6aeed
Update colors and typography of default Learning Mode template (#7008)
* Update colors and typography of default Learning Mode template

* Style course title

* Use CSS variable for font size since it's equivalent

* Update pagination

* Don't include colors in theme.json because it doesn't work with global styles

* Fix global styles for module title and "Quiz" link in course navigation

* Fix global styles for lessons in course navigation

* Fix global styles not working with course progress counter

* Keep links in sidebar their original color

* Fix global styles for pagination
2023-04-20 12:05:18 -04:00
Donna Peplinskie
f31c58bdaf
Add Course theme (#6888)
* Add Course theme

This theme is meant to be used with Sensei LMS, but can also be used standalone.

* Remove .pot file

* Remove obsolete CSS

* Remove color on search button

* Remove custom Sensei footer.

* Fix path of the Inter font

On the default and `blue` style.

* Fix line height

* Make image captions smaller than post content

---------

Co-authored-by: Mikey Arce <mikeyarce@gmail.com>
Co-authored-by: Jake Oehler Morrison <s+github@jom.im>
2023-04-03 10:20:15 -04:00