Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37775

Leatherbound theme : In the block "Add a block", the text in the listbox is centered (it should be left aligned)

    Details

    • Testing Instructions:
      Hide
      1. Using Firefox / Opera (where the problem is reproducible) and Explorer / Chrome / Safari (to verify nothing becomes broken)...
      2. Select Leatherbound theme via Theme selector or by URL
      3. Turn editing ON
      4. TEST to see that ADD a block title Add... and the resulting list (when Add... is clicked) are LEFT aligned and NOT centred.
      5. This should be true for all themes that use Canvas theme as a parent...these are:
        formal_white
        magazine
        arialist
        binarius
        boxxie
        brick
        formfactor
        fusion
        leatherbound
        nimble
        nonzero
        overlay
        serenity
        sky_high
        splash
      Show
      Using Firefox / Opera (where the problem is reproducible) and Explorer / Chrome / Safari (to verify nothing becomes broken)... Select Leatherbound theme via Theme selector or by URL Turn editing ON TEST to see that ADD a block title Add... and the resulting list (when Add... is clicked) are LEFT aligned and NOT centred. This should be true for all themes that use Canvas theme as a parent...these are: formal_white magazine arialist binarius boxxie brick formfactor fusion leatherbound nimble nonzero overlay serenity sky_high splash
    • Workaround:
      Hide

      /* Add block
      -------------------------*/

      .block_adminblock .content .singleselect

      { text-align: left; }
      Show
      /* Add block -------------------------*/ .block_adminblock .content .singleselect { text-align: left; }
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-37775_master

      Description

      Since I updated my moodle to 2.3.4+ (Build: 20130125), the text in the listbox is now centered, in the block "Add a block" with the theme "Leatherbound".
      With the standard theme, the text is still left aligned; so I guess it's a bug in the theme "Leatherbound" ?

      I noticed this behavior with Firefox (Windows XP and ubuntu), but not with Chrome (Windows XP).

      I did not find yet the lines in moodle files.

      The CSS lines (from Firebug) are :
      .noticebox, .expired, .notopenyet, .notifysuccess, .notifyproblem, .errorbox, .continuebutton, .singlebutton, .buttons, .singleselect

      { margin: 1em 0; text-align: center; }

      The HTML lines (from Firebug) are :
      <select name="bui_addblock" class="select autosubmit singleselect" id="single_select51092c565359a3"><option value="">Add ...</option>(...)</select>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Mar/13