Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-2587

Include temporary bootstrap CSS for docs.moodle.org

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: docs.moodle.org
    • Labels:
      None

      Description

      As discussed in Jabber.

      I've pushed a branch to https://github.com/andrewnicols/bootstrap.git docs.moodle.org

      Running:

      $ npm install
      $ make bootstrap-css
      

      generates the appropriate CSS.

      The CSS is wrapped in the following rather specific CSS class:

      .docs-moodle-org-temporary-grid
      

      To use it, all targetted code must be in the appropriate div:

      <div class="docs-moodle-org-temporary-grid">
        <div class="row-fluid">
          <div class="span4">
            Some content here
          </div>
          <div class="span8">
            Some more content here
          </div>
        </div>
      </div>
      

      This means that when we get our new theme (also based on the same version of bootstrap, that we'll be able to simply remove this temporary stylesheet and the same layouts will continue to work. The additional div is then superflous but this doesn't matter and it can be removed at a later date without further work.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: