Bug Bug 268099. Override XUL min-size for filepicker buttons. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165361 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -78,10 +78,14 @@ treechildren::-moz-tree-image(FilenameColumn, file) {
|
||||
|
||||
.up-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-up.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-home.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
@@ -67,15 +67,21 @@ treechildren::-moz-tree-image(FilenameColumn, file) {
|
||||
|
||||
.up-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-up.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-home.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.new-dir-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-new.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
@@ -70,15 +70,21 @@ treechildren::-moz-tree-image(FilenameColumn, file) {
|
||||
|
||||
.up-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-up.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-home.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.new-dir-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-new.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
@@ -63,10 +63,14 @@ treechildren::-moz-tree-image(FilenameColumn, file) {
|
||||
|
||||
.up-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-up.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
list-style-image: url("chrome://global/skin/filepicker/folder-home.gif");
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
@@ -65,17 +65,23 @@ treechildren::-moz-tree-image(FilenameColumn, file) {
|
||||
.up-button {
|
||||
list-style-image: url("chrome://global/skin/Filepicker.png");
|
||||
-moz-image-region: rect(0px 20px 20px 0px);
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
list-style-image: url("chrome://global/skin/Filepicker.png");
|
||||
-moz-image-region: rect(0px 40px 20px 20px);
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.new-dir-button {
|
||||
list-style-image: url("chrome://global/skin/Filepicker.png");
|
||||
-moz-image-region: rect(0px, 60px, 20px, 40px);
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
@@ -65,17 +65,23 @@ treechildren::-moz-tree-image(FilenameColumn, file) {
|
||||
.up-button {
|
||||
list-style-image: url("chrome://global/skin/Filepicker.png");
|
||||
-moz-image-region: rect(0px 24px 24px 0px);
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.home-button {
|
||||
list-style-image: url("chrome://global/skin/Filepicker.png");
|
||||
-moz-image-region: rect(0px 48px 24px 24px);
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
.new-dir-button {
|
||||
list-style-image: url("chrome://global/skin/Filepicker.png");
|
||||
-moz-image-region: rect(0px, 72px, 24x, 48px);
|
||||
min-width: 0%; // don't let XUL layout min-size override our max-width setting
|
||||
min-height: 0%;
|
||||
max-width: 36px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user