зеркало из https://github.com/mozilla/pjs.git
updated to show off min-height working with empty toolbars.
This commit is contained in:
Родитель
b7d7665c16
Коммит
24bb95293f
|
@ -11,7 +11,8 @@
|
|||
|
||||
<html:h3>
|
||||
You should see a two toolbars with buttons that don't do anything. This test is useful for checking layout
|
||||
and look/feel of rollover and clicks.
|
||||
and look/feel of rollover and clicks. Note that the last toolbar is empty, and should be of
|
||||
normal size because of min-height.
|
||||
</html:h3>
|
||||
|
||||
<html:hr/>
|
||||
|
@ -49,6 +50,9 @@ and look/feel of rollover and clicks.
|
|||
<titledbutton align="right" src="resource:/res/toolbar/TB_Location.gif" value="ABC News"/>
|
||||
</toolbar>
|
||||
|
||||
<toolbar>
|
||||
</toolbar>
|
||||
|
||||
</toolbox>
|
||||
|
||||
</window>
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
toolbar {
|
||||
display:block;
|
||||
background-color: rgb(192,192,192);
|
||||
border-bottom: solid darkGray 1px;
|
||||
border-top: solid white 1px;
|
||||
border-left: solid white 1px;
|
||||
border-right: solid darkGray 1px;
|
||||
font: 10pt sans-serif;
|
||||
min-height:20px;
|
||||
}
|
||||
toolbar[collapsed="true"] {
|
||||
display:none;
|
||||
|
|
Загрузка…
Ссылка в новой задаче