Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: CSS theme tool block.

CSS theme tool block: Difference between revisions

From MoodleDocs
(Replaced content with "{{Moved_to_dev_docs}}")
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Under construction'''
{{Moved_to_dev_docs}}
This page is currently under construction. It will shortly contain information about the CSS theme tool block created by Sam Hemelryk for Moodle 2.0.
 
==Introducing the CSS theme tool==
The CSS theme tool is a block that is designed to make CSS creation and
editing for Moodle both easy and accessible.
 
It aims to provide a point and click interface with WYSIWYG controls for adding CSS rules and provides a user friendly interface for creating CSS that is suitable for everything from
creating simple modifications to creating entire themes.
 
As well as giving the user an easy means to create CSS it also allows the admin or a Moodle site to make immediate modifications to the installations CSS that will be visible by everyone using the site (not just those who can create CSS) and does this all without the need for editing any files within Moodle or even having to create or modify themes.
 
==What is it and why was it written==
Under construction
 
==Installation==
Installation is simple, and no different from the installation of any other block.
 
# Download the CSS theme tool ([http://download.moodle.org/download.php/plugins/blocks/css_theme_tool.zip css_theme_tool.zip]) from the Module and Plugins database
# Unzip '''css_theme_tool.zip''' into your Moodle installations blocks directory.. moodle/blocks/
# Check that you now have '''moodle/blocks/css_theme_tool'''
# Open you browser and enter the URL to your site and login in an Administrator
# If you are not immediately shown the upgrade screen change the URL to your sites URL followed by '''/admin/''' e.g. <nowiki>http://sam.moodle.local/admin/</nowiki>
# Proceed through the upgrade as you would any normal upgrade.
# Done!
 
The CSS theme tool adds two new database table to your database '''block_css_theme_tool''' and '''block_css_theme_tool_styles''' as well as adding one capability '''block/css_theme_tool:modifystyles'''.
 
Remember if you remove this block you can also remove those two database tables.
 
==Configuration==
Under construction
 
==Using the CSS theme tool==
Under construction
 
===Adding styles===
Under construction
 
===Editing and deleting styles===
Under construction
 
===Exporting a CSS file===
Under construction
 
===Removing all styles===
Under construction
 
==How the block works==
Under construction
 
==Uninstalling the block==
Under construction
 
==Requesting new features==
Under construction
 
==Reporting bugs==
Under construction
 
==Change log==
The following is the change log for this block, more up to date information can be found in the readme file in the blocks directory.
<pre style="height:300px;overflow:auto;background-color:#f6f6f6;border:1px solid #bbb;">
0.2.0                                                            CONTRIB-1987
    - Added capability to allow access to modify styles
    - Added 'only view my css' setting + functionality
    - Fixed bug with positioning of css builder and viewer
    - Added preview functionality
    - Fixed the highlight buttons bugs
 
0.1.2                                                            CONTRIB-1984
    - Fixed bug when editing an existing CSS rule
    - Added support for CSS 2.1 and 3.0 selectors:
        - first-child
        - last-child
        - after
        - before
 
0.1.1                                                            CONTRIB-2131
    - Added the auto-save setting
 
0.1.0                                                            CONTRIB-1984
    - Introduced the visual version
    - Added a rounded corner button to the css builder
    - Added an opacity button to the css builder
</pre>
 
==More information==
* CONTRIB-1984 This is the main tracker issue for this block.
* [http://moodle.org/mod/data/view.php?d=13&rid=3932 Module & plugins database entry]
 
{{CategoryDeveloper}}

Latest revision as of 05:53, 22 June 2011

This development related page is now located in the Dev docs.

See the CSS theme tool block page in the Dev docs.