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)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.5, 2.4.2
    • 2.3.4, 2.4.1, 2.5
    • Themes
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-37775_master
    • Hide

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

      .block_adminblock .content .singleselect

      { text-align: left; }
      Show
      /* Add block -------------------------*/ .block_adminblock .content .singleselect { text-align: left; }
    • 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

      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>

            lazydaisy Mary Evans
            pmaury pmaury
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.