Commit Graph

5708 Commits

Author SHA1 Message Date
Dan Poltawski ad9da28cb5 MDL-56164 theme_boost: remove empty stylesheet 2016-09-30 08:50:47 +01:00
Dan Poltawski 81c9e018b4 MDL-56172 admin: remove cssoptimiser config options 2016-09-29 16:41:29 +01:00
Dan Poltawski d52ebf11d3 MDL-56172 css: remove css optimiser
This functionality no longer makes sense inside Moodle now that we have
external tools like stylelint to help us with this. It was not able to
be used by any core themes.

The code was always marked as not for external use.
2016-09-29 16:40:40 +01:00
Dan Poltawski cdcfc4bcd2 MDL-55165 bootstrap: built css 2016-09-29 16:39:30 +01:00
Dan Poltawski 07482105c1 MDL-55165 less: use lowercase hex codes for colours
And use shorthand where possible.

Detected by
http://stylelint.io/user-guide/rules/color-hex-case/
http://stylelint.io/user-guide/rules/color-hex-length/

When reviewing this change, you can hide the case changes by
reviewing with:
GIT_EXTERNAL_DIFF='diff -ipu   #' git diff --ext-diff
2016-09-29 16:39:30 +01:00
Dan Poltawski 65f9a71fbd MDL-55165 less: ensure no units on 0 length things
Detected by http://stylelint.io/user-guide/rules/length-zero-no-unit/
2016-09-29 16:39:30 +01:00
Dan Poltawski 62ce522cde MDL-55165 less: fix various errors in less
Detected by stylelint rules:

http://stylelint.io/user-guide/rules/declaration-block-no-ignored-properties/
http://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties/
http://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides/
http://stylelint.io/user-guide/rules/value-keyword-case/
http://stylelint.io/user-guide/rules/selector-type-no-unknown/
http://stylelint.io/user-guide/rules/selector-type-no-unknown/
2016-09-29 16:39:30 +01:00
Frédéric Massart 239fd05cc9 MDL-56016 theme_boost: Add plain preset for plain Moodle & Bootstrap 2016-09-29 15:18:40 +02:00
Frédéric Massart a4808411a4 MDL-56056 theme_boost: Align completion icons with activity menus 2016-09-29 15:04:13 +02:00
Frédéric Massart 36553104da MDL-56168 theme_boost: Make default accent colour match preset 2016-09-29 10:02:13 +02:00
Frédéric Massart d1de864fab MDL-56166 theme_boost: Apply default dashboard styles to dashboard only 2016-09-28 15:31:58 +02:00
Dan Poltawski cf1d2cb073 Merge branch 'MDL-55420-master' of git://github.com/FMCorz/moodle 2016-09-28 14:03:52 +01:00
Frédéric Massart 89d9895b8c MDL-55420 theme_boost: Migrate CSS added since Boost development started 2016-09-28 14:51:29 +02:00
Frédéric Massart bf089a18f3 MDL-56003 theme_boost: Update Bootstrap to v4.0.0-alpha.4 2016-09-28 13:00:58 +02:00
Frédéric Massart 17a6f94749 MDL-55071 behat: Action menus can be opened without Javascript
Standard action menus expand automatically when Javascript is disabled
thus there is no need to open them. In Boost, they expand when they're
hovered or when the focus is set on their trigger.
2016-09-28 11:50:09 +02:00
David Mudrák 17f6270175 MDL-56143 theme_boost: Fix a typo in the readme string 2016-09-28 08:30:02 +02:00
David Monllao 303d122ae5 Merge branch 'MDL-55963-master' of git://github.com/lazydaisy/moodle 2016-09-28 09:34:52 +08:00
Dan Poltawski c90ad348f1 MDL-55071 theme_boost: fix import-bootswatch.php phpdocs 2016-09-26 13:14:46 +01:00
lazydaisy 3299dab377 MDL-55963 theme_bootstrapbase: Remove depreciated Legacy CSS in 3.2 2016-09-24 12:47:00 +01:00
Frédéric Massart 5142f56402 MDL-56063 theme_boost: Check and remove extraneous !important rules
Progress bar styling has been removed as they do not appear to
be used anywhere, though MDL-56095 has been created to style them
as (with or without the styles) they remain unstyled.

The file responsive.scss has been removed, it was not used.

Part of MDL-55071
2016-09-23 11:04:33 +01:00
Dan Poltawski 5cb8ca8610 MDL-55071 theme_boost: fixup bootswatch thirdpartylibs
Allow longhand colour codes for asthetics..
2016-09-23 10:57:54 +01:00
Dan Poltawski d5d0a8028d MDL-55071 theme_boost: prevent phpcs complaints
The commenting rule is a bit weird, but we can get round it easily.
2016-09-23 10:57:54 +01:00
Dan Poltawski dd9dd09587 MDL-55071 less: fix some lint issues we touched
(These will all be gone soon!)
2016-09-23 10:57:54 +01:00
Dan Poltawski 46c1713c40 MDL-55071 theme_boost: fix stylelint detected issues in scss
Duplicate properties, star hacks
2016-09-23 10:57:36 +01:00
Damyon Wiese e584e6ae46 MDL-55071 theme/output: PHPCS fixes for new theme branch
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski c037f043ef MDL-55071 theme_boost: remove empty blocks in scss
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski fde35b8f0f MDL-55071 theme_boost: fix 0px and colour shorthand
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski f4143537a0 MDL-55071 theme_boost: Use stylefmt to fix css formating issues
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Dan Poltawski 9cb41231fd MDL-55071 theme_boost: fix indentation in scss files
Part of MDL-55071
2016-09-23 10:57:36 +01:00
Damyon Wiese 80db019249 MDL-55071 theme_boost: We don't need the generated css
Part of MDL-55071
2016-09-23 10:57:35 +01:00
Damyon Wiese 256edb99de MDL-55071 theme_boost: Fix stylelint issues
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Damyon Wiese 2ede86d797 MDL-55996 theme_boost: Rename theme noname to theme boost
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Frederic Massart 137c289a19 MDL-55593 theme_noname: Post-prod on preset default styling
Some styles were moved to be part of the core SCSS rules. Extra
variables were removed, and other styles where adapted.

Part of MDL-55071
2016-09-23 10:55:18 +01:00
Frederic Massart f572e724ad MDL-55593 theme_noname: Cancel button should be secondary
Part of MDL-55071
2016-09-23 10:55:18 +01:00
Barbara Ramiro 928177d139 MDL-55593 Theme: Style for the course page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 77f5a9b01d MDL-55593 Theme: Style for the forums page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 6e2aefd527 MDL-55593 Theme: Style for the edit settings page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 8d923368a7 MDL-55593 Theme: Style for the frontpage
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 8e62956e10 MDL-55593 Theme: Style for the blocks heading
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro e1265d001d MDL-55593 Theme: Add top and bottom padding to region-main
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 771fe96b54 MDL-55593 Theme: Align page container and blocks with the top navbar
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 4553c8bdca MDL-55593 Theme: Style for the login page
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 7dbd1f954e MDL-55593 Theme: Remove rounded corners for the top navbar
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 463ae17699 MDL-55593 Theme: Centering navbar
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 4a59602a77 MDL-55593 Draft colour swatches and styles
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Barbara Ramiro 2876221386 MDL-55593 Theme: Copy of all variables from _variables.scss
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Frederic Massart 891750bcfa MDL-55797 core_question: Make static getter for chooser
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Frederic Massart 7f8b7b2bb3 MDL-55797 output: Support form method in chooser
Part of MDL-55071
2016-09-23 10:55:17 +01:00
Damyon Wiese 63e4df60f6 MDL-55839 behat: Behat fixes for theme_noname
This is a squash of many small fixes.
The list of changes are:

Initial set of behat selectors overrides required for new theme.

set core behat selectors if not overridden by theme

Remove pause

Fix for checkboxes not saving properly

Custom override for click in the user menu

Fix for behat guessing the field type.

Behat fix for guessing the correct field type.

Fix for missing closeElementBefore mforms mess.

Fix for textareas not displaying their contents.

Fix availability form element

Fix action menu selectors for activities in a course page

Fix textareas not retaining their values

Fix selector for blocks

I had to change the single select template to use an input instead of a button because of a
behat bug we have not tracked down yet.

Fix for frozen attribute in form elements

Use input instead of button while behat is still broken

Fix for navigation selector override

Behat selector fixes and multi-select fixes for templated select

Fix for configure blocks selector + booleans for autocomplete

Fixes for course_summary behat tests

Allow optgroups in single_select

Behat fixes for block_navigation

Fixes for url form element and activity chooser selectors

blocks_social - fix specific selector for behat

Fix export_for_template for selectgroups element.

Dont set empty id on the form

Fix direct call to behat_navigation in backup context

Checkbox empty value fix

Fix for assign grading panel popouts

file picker overrides to find a file manager in the page

Fix chat tests to use element name

Make selectors in mod_data behat less specific

MDL-55839: recent activity behat test relies on time()

SQUASH Honour mform element "class" attribute on the container

SQUASH Fixes for behat in mod_forum

SQUASH search form template showing value as text next to the button

SQUASH undo double selectgroup fix

SQUASH - The slightly different structure to action menus breaks course drag and drop

SQUASH Wrap loading icon in a span so the selector still works.

SQUASH Fix fragile javascript in report_loglive

SQUASH Fix tabtree, and selectgroups for mod_feedback

Also - do-not enhance the action menu - we are dropping support for this.

SQUASH Fix filemanager selector and pix_icon template for mod_forum tests.

SQUASH Fixes to breadcrumb and add formid to single select (fixes mod_glossary tests)

SQUASH lesson behat fixes. 95% of lesson styles were rubbish so they were disgarded.

SQUASH Fix lti behat tests - they were cheating and using a context step from quiz

SQUASH Behat fixes for quiz with new theme

SQUASH behat fixes for mod_wiki

SQUASH Workshop behat fixes

SQUASH Frozen form elements cannot use a readonly form element because it screws with the form JS "disabledIf" stuff.

SQUASH Fixes for grades behat tests

SQUASH behat fixes for groups

SQUASH blacklist action menu tests

SQUASH Fix for tag form element missing "manage standard tags" link

SQUASH Incomplete fixes for course behat tests

SQUASH behat fixes for badges

SQUASH Tags fixes for behat

SQUASH filepicker fixes for behat

SQUASH Abort guessing field type when we hit 'html'

SQUASH Fix for admin/tool/behat tests

SQUASH fix for admin tool behat tests

SQUASH fix for availabilty conditions hiding "aria-hidden" elements

SQUASH give the blocks more room. We get behat files because nav tree nodes are not in view

SQUASH Blocks fixed

Fix behaviour of unchecked checkboxes

SQUASH Remove incorrect step in user test

SQUASH behat fixes for course tests

Part of MDL-55071
2016-09-23 10:55:16 +01:00
Damyon Wiese 428de3dcc3 MDL-55793 theme_noname: Use fixed width container
Part of MDL-55071
2016-09-23 10:55:16 +01:00