зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1697433 - Share XUL iframe global.css styling. r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D107799
This commit is contained in:
Родитель
25a83eafa2
Коммит
2faee3fa51
|
@ -56,24 +56,6 @@
|
|||
list-style-image: url("chrome://global/skin/icons/Authentication.png");
|
||||
}
|
||||
|
||||
/* ::::: iframe ::::: */
|
||||
|
||||
xul|iframe {
|
||||
border: none;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
min-width: 10px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
|
||||
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
|
||||
xul|iframe {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* XXX(ntim): [mode="text"] is only used by comm-central */
|
||||
|
||||
xul|toolbar[mode="text"] .toolbarbutton-text {
|
||||
|
|
|
@ -55,24 +55,6 @@
|
|||
list-style-image: url("chrome://global/skin/icons/question-64.png");
|
||||
}
|
||||
|
||||
/* ::::: iframe ::::: */
|
||||
|
||||
xul|iframe {
|
||||
border: none;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
min-width: 10px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
|
||||
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
|
||||
xul|iframe {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* Separators */
|
||||
|
||||
xul|separator:not([orient="vertical"]) {
|
||||
|
|
|
@ -48,6 +48,24 @@ html|textarea {
|
|||
padding: 5px;
|
||||
}
|
||||
|
||||
/* XUL iframe */
|
||||
|
||||
xul|iframe {
|
||||
border: none;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
min-width: 10px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
|
||||
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
|
||||
xul|iframe {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* Label/description formatting */
|
||||
|
||||
xul|description,
|
||||
|
|
|
@ -110,24 +110,6 @@
|
|||
fill-opacity: 0.8;
|
||||
}
|
||||
|
||||
/* ::::: iframe ::::: */
|
||||
|
||||
xul|iframe {
|
||||
border: none;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
min-width: 10px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") {
|
||||
/* In emulation, <iframe> is block instead of inline, so reset the width/height */
|
||||
xul|iframe {
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
/* XXX(ntim): [mode="text"] is only used by comm-central */
|
||||
|
||||
xul|toolbar[mode="text"] .toolbarbutton-text {
|
||||
|
|
Загрузка…
Ссылка в новой задаче