Bug 631509 - Don't enforce a size on add-on toolbar button icons. r=mstange a=beltzner

This commit is contained in:
Dão Gottwald 2011-02-16 08:38:52 +01:00
Родитель c0998500a5
Коммит 4242b1cec4
2 изменённых файлов: 1 добавлений и 14 удалений

Просмотреть файл

@ -345,8 +345,6 @@ toolbar:not([mode="icons"]) #restore-button {
.toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
margin: 2px;
height: 16px;
width: 16px;
}
.toolbarbutton-1[disabled="true"] > .toolbarbutton-icon,

Просмотреть файл

@ -699,19 +699,8 @@ menuitem.bookmark-item {
}
#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
#nav-bar .toolbarbutton-1 > .toolbarbutton-icon {
#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon {
margin: 1px;
width: 16px;
height: 16px;
}
/* Default icons have a built-in glow, so they are 18*18px even in small mode,
except for the large back icon, which is why the code below uses 'auto' rather
than 18px. This will pick the correct size based on the image region. */
:-moz-any(@primaryToolbarButtons@) > .toolbarbutton-icon {
margin: 0 !important;
width: auto !important;
height: auto !important;
}
toolbar[mode="full"] .toolbarbutton-1,