ダミーのタブに背景画像を付けるように
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4681 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
cea4fe0aed
commit
b13b7b17f6
@ -3,7 +3,12 @@
|
|||||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
onclick="onClick(event)"
|
onclick="onClick(event)"
|
||||||
ondblclick="onDblClick(event)">
|
ondblclick="onDblClick(event)">
|
||||||
<hbox>
|
<stack flex="1">
|
||||||
|
<box class="background-image-container">
|
||||||
|
<image class="icon background-image"/>
|
||||||
|
</box>
|
||||||
|
<vbox class="content" flex="1">
|
||||||
|
<hbox>
|
||||||
<deck id="deck" flex="1">
|
<deck id="deck" flex="1">
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<image class="icon"/>
|
<image class="icon"/>
|
||||||
@ -18,7 +23,9 @@
|
|||||||
onkeypress="onKeyPress(event)"/>
|
onkeypress="onKeyPress(event)"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</deck>
|
</deck>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
</vbox>
|
||||||
|
</stack>
|
||||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="icon"
|
<link xmlns="http://www.w3.org/1999/xhtml" rel="icon"
|
||||||
href="chrome://treestyletab/skin/group-icon"/>
|
href="chrome://treestyletab/skin/group-icon"/>
|
||||||
<script type="application/x-javascript"><![CDATA[
|
<script type="application/x-javascript"><![CDATA[
|
||||||
|
@ -1,7 +1,12 @@
|
|||||||
page {
|
:root {
|
||||||
background: -moz-dialog;
|
background: -moz-dialog;
|
||||||
margin: 1em;
|
|
||||||
-moz-appearance: window;
|
-moz-appearance: window;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#label {
|
#label {
|
||||||
@ -18,3 +23,28 @@ page {
|
|||||||
-moz-image-region: rect(0, 32px, 16px, 16px);
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.background-image {
|
||||||
|
width: 320px;
|
||||||
|
max-width: 320px;
|
||||||
|
height: 320px;
|
||||||
|
max-height: 320px;
|
||||||
|
position: fixed;
|
||||||
|
top: auto;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: auto;
|
||||||
|
opacity: 0.3;
|
||||||
|
image-rendering: -moz-crisp-edges;
|
||||||
|
margin: 0 -0.3em -0.3em 0;
|
||||||
|
transform: rotate(8deg);
|
||||||
|
-moz-transform: rotate(8deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.background-image-container {
|
||||||
|
position: fixed;
|
||||||
|
top: auto;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user