svnno****@sourc*****
svnno****@sourc*****
2007年 9月 2日 (日) 20:50:40 JST
Revision: 214 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=214 Author: flyson Date: 2007-09-02 20:50:40 +0900 (Sun, 02 Sep 2007) Log Message: ----------- あぼーんマネージャをタブにもどした Modified Paths: -------------- trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul Added Paths: ----------- trunk/bbs2chreader/chrome/skin/classic/bbs2chreader/abone-manager.css -------------- next part -------------- Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul =================================================================== --- trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul 2007-09-01 17:32:55 UTC (rev 213) +++ trunk/bbs2chreader/chrome/content/bbs2chreader/settings/abone-manager.xul 2007-09-02 11:50:40 UTC (rev 214) @@ -1,62 +1,62 @@ <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> -<?xml-stylesheet href="chrome://bbs2chreader/skin/settings.css" type="text/css"?> +<?xml-stylesheet href="chrome://bbs2chreader/skin/abone-manager.css" type="text/css"?> - - -<prefwindow id="winMain" title="あぼーん マネージャ" width="550" height="450" - onload="startup()" onunload="shutdown()" ondialogaccept="return accept()" +<window id="winMain" title="あぼーん マネージャ" width="550" height="450" + onload="startup()" onunload="shutdown()" persist="screenX screenY width height" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> -<prefpane id="aboneNamePane" label="名前"> - <preferences/> - <vbox> +<script type="application/javascript; version=1.7" + src="chrome://bbs2chreader/content/settings/abone-manager.js"/> + +<tabbox id="aboneManagerTabBox" flex="1"> + <tabs> + <tab label="名前"/> + <tab label="メール"/> + <tab label="ID"/> + <tab label="ワード"/> + </tabs> + <tabpanels flex="1"> + <tabpanel orient="vertical"> <hbox> <textbox id="aboneNameTextBox" flex="1"/> <button label="追加" onclick="addAbone(b2rIAboneManager.ABONE_TYPE_NAME)"/> <button label="削除" onclick="removeAbone(b2rIAboneManager.ABONE_TYPE_NAME)"/> </hbox> <listbox id="aboneNameListBox" flex="1"/> - </vbox> -</prefpane> -<prefpane id="aboneMailPane" label="メール"> - <preferences/> - <vbox> + </tabpanel> + + <tabpanel orient="vertical"> <hbox> <textbox id="aboneMailTextBox" flex="1"/> <button label="追加" onclick="addAbone(b2rIAboneManager.ABONE_TYPE_MAIL)"/> <button label="削除" onclick="removeAbone(b2rIAboneManager.ABONE_TYPE_MAIL)"/> </hbox> <listbox id="aboneMailListBox" flex="1"/> - </vbox> -</prefpane> + </tabpanel> -<prefpane id="aboneIDPane" label="ID"> - <preferences/> - <vbox> + <tabpanel orient="vertical"> <hbox> <textbox id="aboneIDTextBox" flex="1"/> <button label="追加" onclick="addAbone(b2rIAboneManager.ABONE_TYPE_ID)"/> <button label="削除" onclick="removeAbone(b2rIAboneManager.ABONE_TYPE_ID)"/> </hbox> <listbox id="aboneIDListBox" flex="1"/> - </vbox> -</prefpane> + </tabpanel> -<prefpane id="aboneWordPane" label="ワード"> - <preferences/> - <vbox> + <tabpanel orient="vertical"> <hbox> <textbox id="aboneWordTextBox" flex="1"/> <button label="追加" onclick="addAbone(b2rIAboneManager.ABONE_TYPE_WORD)"/> <button label="削除" onclick="removeAbone(b2rIAboneManager.ABONE_TYPE_WORD)"/> </hbox> <listbox id="aboneWordListBox" flex="1"/> - </vbox> -</prefpane> + </tabpanel> + </tabpanels> +</tabbox> -<script type="application/javascript; version=1.7" - src="chrome://bbs2chreader/content/settings/abone-manager.js"/> - -</prefwindow> \ No newline at end of file +<statusbar> + <spacer flex="1"/> +</statusbar> +</window> \ No newline at end of file Added: trunk/bbs2chreader/chrome/skin/classic/bbs2chreader/abone-manager.css =================================================================== --- trunk/bbs2chreader/chrome/skin/classic/bbs2chreader/abone-manager.css 2007-09-01 17:32:55 UTC (rev 213) +++ trunk/bbs2chreader/chrome/skin/classic/bbs2chreader/abone-manager.css 2007-09-02 11:50:40 UTC (rev 214) @@ -0,0 +1,40 @@ + @ namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +tabpanels { + -moz-appearance: none !important; + border-style: none !important; + margin: 0px !important; +} + +tabs { + padding: 0px 8px 0px 8px !important; + border-style: none !important; + border-bottom: 1px solid #999 !important; + background-color: #FFF !important; +} + +.tabs-left, +.tabs-right { + border-style: none !important; +} + +tab { + -moz-appearance: none !important; + border-style: none !important; + -moz-border-radius: 0px !important; + margin: 0px !important; + padding: 5px 10px !important; + background-color: #FFF !important; +} + +tab:hover { + background-color: #E0E8F6 !important; + color: black; +} + +tab[selected="true"] { + -moz-user-focus: normal; + padding: 5px 10px !important; + background-color: #C1D2EE !important; + color: black !important; +} \ No newline at end of file