#783 (in 2.7.0) Add a class to all icons

fixed
nobody
1
2013-06-11
2005-09-22
Ruben Barkow
No

as i have shown in
http://sourceforge.net/tracker/index.php?func=detail&aid=1298729&group_id=23067&atid=689412
it is needed that all checkboxes in pma have their own
class defined, cause then you can access them in your
theme-CSS

also all image-icons should have NO height="16"
parameter in it, so you can control the height in your
theme yourself (in that way, that you resize the icons
to the height you want to have - in particular: smaller
;-) )

i added a screenshot how it could look like with the
modifications

Discussion

  • Michal Čihař
    Michal Čihař
    2005-12-08

    Logged In: YES
    user_id=192186

    I thing Sebastian did this.

     
  • Michal Čihař
    Michal Čihař
    2005-12-08

    • priority: 5 --> 1
    • summary: add a class to all checkboxes and icons --> (in 2.7.0) Add a class to all checkboxes and icons
    • assigned_to: nobody --> cybot_tm
    • status: open --> open-fixed
     
  • Ruben Barkow
    Ruben Barkow
    2005-12-13

    • priority: 1 --> 5
    • labels: --> Interface Improvements
    • status: open-fixed --> open
     
  • Ruben Barkow
    Ruben Barkow
    2005-12-13

    Logged In: YES
    user_id=334647

    no, in phpMyAdmin-2.7.0-pl1 there is still no class defined
    for the checkboxes.

    what i meant is a parameter like
    class="checkbox"
    for each input type="checkbox" element

    cause then you can alter the size, color style in the theme
    stylesheet

    there is no other possibility to access only
    checkbox-input-fields via stylesheet

    in css you can only define a style that counts for all types
    of input fields

    the same problem is for submitbuttons and radiobuttons
    they should have the class defined too

     
  • Ruben Barkow
    Ruben Barkow
    2005-12-13

    • summary: (in 2.7.0) Add a class to all checkboxes and icons --> (in 2.7.0 where?) Add a class to all checkboxes and icons
     
  • Michal Čihař
    Michal Čihař
    2005-12-13

    • summary: (in 2.7.0 where?) Add a class to all checkboxes and icons --> (in 2.7.0) Add a class to all icons
    • assigned_to: cybot_tm --> nobody
     
  • Michal Čihař
    Michal Čihař
    2005-12-13

    Logged In: YES
    user_id=192186

    Class should be by all icons, for inputs, you can use:

    input[type="checkbox"] {
    any style you want
    }

     
  • Logged In: YES
    user_id=326580

    nijel: i agree!

     
  • Michal Čihař
    Michal Čihař
    2005-12-13

    • priority: 5 --> 1
    • status: open --> closed-fixed
     
  • Ruben Barkow
    Ruben Barkow
    2005-12-15

    Logged In: YES
    user_id=334647

    sorry to re-open the topic, but i still don`t agree.

    the style

    input[type="checkbox"] {
    any style you want
    }

    works in mozilla, but doesent work in IE6

    any solution?

     
  • Ruben Barkow
    Ruben Barkow
    2005-12-15

    • priority: 1 --> 5
    • status: closed-fixed --> open
     
  • Logged In: YES
    user_id=326580

    it works in Gecko based Browsers and most other Browsers, IE
    is more than 4 years old ...!

    ... if you really need this use javascript who cann add a
    class at runtime.

     
  • Ruben Barkow
    Ruben Barkow
    2005-12-16

    Logged In: YES
    user_id=334647

    ie6 is not simply 4 years old - it is updated a lot like the
    other browsers too, they just dont give it a new version
    number every time.

    but if you don`t want to support all browsers anymore, it is
    ok, i use mozilla anyway cause i don`t like Microsoft,
    trying to take over the internet ;)

     
  • Logged In: YES
    user_id=326580

    it is not that we don't want to support all browsers, it's
    just that this task is too complex compared to the benefits
    we get! especially as you can see IE 7 in the near future.

    And it would be nearly a proprietary feature as it is only
    usefull for IE!

    IE6 IS 4 years old - if you rely on the features and
    standards supported ... oh ... if rely on the standards
    supported he is more than 6 years old ... ;-)

     
  • Ruben Barkow
    Ruben Barkow
    2005-12-19

    • status: open --> closed
     
  • Ruben Barkow
    Ruben Barkow
    2005-12-19

    • priority: 5 --> 1
     
  • Michal Čihař
    Michal Čihař
    2013-06-11

    • Status: closed --> fixed