Moxkiriyaプロジェクト事前開発用の作業部屋
Revisión | cb1cb3d669cb3b200586327e8b1a4db0849ec680 (tree) |
---|---|
Tiempo | 2018-10-10 07:24:43 |
Autor | Harold_Andoh <andolloyd@gmai...> |
Commiter | Harold_Andoh |
[Moxkiriya7]
@@ -70,17 +70,12 @@ | ||
70 | 70 | <URL value="@application.css" /> |
71 | 71 | </stylesheets> |
72 | 72 | </AnchorPane> |
73 | - <Hyperlink id="hyperlinkMain" fx:id="webViewHyperlinkMain" alignment="CENTER" onMouseClicked="#onMouseClickedWebViewHyperlinkMain" prefHeight="30.0" prefWidth="100.0" style="" text="%key.Hyperlink.Main" textAlignment="CENTER" textOverrun="ELLIPSIS" AnchorPane.leftAnchor="180.0" AnchorPane.topAnchor="51.0"> | |
73 | + <Hyperlink id="hyperlinkMain" fx:id="webViewHyperlinkMain" alignment="CENTER" onMouseClicked="#onMouseClickedWebViewHyperlinkMain" prefHeight="30.0" prefWidth="100.0" style="" styleClass="webViewMainHyperlink" text="%key.Hyperlink.Main" textAlignment="CENTER" textOverrun="ELLIPSIS" AnchorPane.leftAnchor="180.0" AnchorPane.topAnchor="55.0"> | |
74 | 74 | <stylesheets> |
75 | 75 | <URL value="@application.css" /> |
76 | 76 | </stylesheets> |
77 | 77 | </Hyperlink> |
78 | - <Hyperlink fx:id="webViewHyperlinkHistory" alignment="CENTER" maxWidth="-1.0" onMouseClicked="#onMouseClickedWebViewHyperlinkHistory" prefHeight="30.0" prefWidth="100.0" style="" text="%key.Hyperlink.History" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="51.0"> | |
79 | - <stylesheets> | |
80 | - <URL value="@application.css" /> | |
81 | - </stylesheets> | |
82 | - </Hyperlink> | |
83 | - <AnchorPane id="webViewMainAnchorPane" fx:id="webViewAnchorPaneMain" prefHeight="453.0" prefWidth="792.0" style="" styleClass="webViewMainAnchorPane" visible="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="180.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="80.0"> | |
78 | + <AnchorPane id="webViewMainAnchorPane" fx:id="webViewAnchorPaneMain" prefHeight="453.0" prefWidth="792.0" style="" styleClass="webViewMainAnchorPane" visible="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="180.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="85.0"> | |
84 | 79 | <children> |
85 | 80 | <HBox alignment="CENTER" prefHeight="200.0" prefWidth="200.0" style="" visible="true" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0"> |
86 | 81 | <children> |
@@ -141,6 +136,11 @@ | ||
141 | 136 | <URL value="@application.css" /> |
142 | 137 | </stylesheets> |
143 | 138 | </AnchorPane> |
139 | + <Hyperlink fx:id="webViewHyperlinkHistory" alignment="CENTER" maxWidth="-1.0" onMouseClicked="#onMouseClickedWebViewHyperlinkHistory" prefHeight="30.0" prefWidth="100.0" style="" styleClass="webViewHistoryHyperlink" text="%key.Hyperlink.History" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="55.0"> | |
140 | + <stylesheets> | |
141 | + <URL value="@application.css" /> | |
142 | + </stylesheets> | |
143 | + </Hyperlink> | |
144 | 144 | </children> |
145 | 145 | </AnchorPane> |
146 | 146 | <AnchorPane fx:id="AnchorPaneContentList" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="535.0" prefWidth="590.0" visible="false" AnchorPane.bottomAnchor="70.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="50.0" AnchorPane.topAnchor="73.0"> |
@@ -262,8 +262,6 @@ public class WikiMainWindowController implements Initializable { | ||
262 | 262 | wikiEngine_.setPageDataMap(pageData); |
263 | 263 | loadWikiContent(); |
264 | 264 | |
265 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
266 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
267 | 265 | webViewAnchorPaneMain.setVisible(true); |
268 | 266 | webViewAnchorPaneHistory.setVisible(false); |
269 | 267 | } catch (Exception e) { |
@@ -333,10 +331,6 @@ public class WikiMainWindowController implements Initializable { | ||
333 | 331 | } |
334 | 332 | }); |
335 | 333 | |
336 | - | |
337 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
338 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
339 | - | |
340 | 334 | webViewAnchorPaneMain.setVisible(true); |
341 | 335 | webViewAnchorPaneHistory.setVisible(false); |
342 | 336 | } |
@@ -506,8 +500,6 @@ public class WikiMainWindowController implements Initializable { | ||
506 | 500 | wikiEngine_.setPageDataMap(map); |
507 | 501 | loadWikiContent(); |
508 | 502 | |
509 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
510 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
511 | 503 | webViewAnchorPaneMain.setVisible(true); |
512 | 504 | webViewAnchorPaneHistory.setVisible(false); |
513 | 505 | } |
@@ -546,8 +538,6 @@ public class WikiMainWindowController implements Initializable { | ||
546 | 538 | AnchorPaneEdit.setVisible(false); |
547 | 539 | AnchorPaneContentList.setVisible(false); |
548 | 540 | AnchorPaneWebView.setVisible(true); |
549 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
550 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
551 | 541 | webViewAnchorPaneMain.setVisible(true); |
552 | 542 | webViewAnchorPaneHistory.setVisible(false); |
553 | 543 | } |
@@ -611,8 +601,6 @@ public class WikiMainWindowController implements Initializable { | ||
611 | 601 | AnchorPaneEdit.setVisible(false); |
612 | 602 | AnchorPaneContentList.setVisible(false); |
613 | 603 | AnchorPaneWebView.setVisible(true); |
614 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
615 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
616 | 604 | webViewAnchorPaneMain.setVisible(true); |
617 | 605 | webViewAnchorPaneHistory.setVisible(false); |
618 | 606 |
@@ -640,8 +628,6 @@ public class WikiMainWindowController implements Initializable { | ||
640 | 628 | AnchorPaneEdit.setVisible(false); |
641 | 629 | AnchorPaneContentList.setVisible(false); |
642 | 630 | AnchorPaneWebView.setVisible(true); |
643 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
644 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
645 | 631 | webViewAnchorPaneMain.setVisible(true); |
646 | 632 | webViewAnchorPaneHistory.setVisible(false); |
647 | 633 |
@@ -657,8 +643,6 @@ public class WikiMainWindowController implements Initializable { | ||
657 | 643 | try { |
658 | 644 | wikiEngine_.refreshSession(); |
659 | 645 | loadWikiContent(); |
660 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
661 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
662 | 646 | webViewAnchorPaneMain.setVisible(true); |
663 | 647 | webViewAnchorPaneHistory.setVisible(false); |
664 | 648 | } catch (Exception e) { |
@@ -671,8 +655,6 @@ public class WikiMainWindowController implements Initializable { | ||
671 | 655 | try { |
672 | 656 | wikiEngine_.setPageDataMap(WikiEngine.MAINPAGE_TITLE); |
673 | 657 | loadWikiContent(); |
674 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
675 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
676 | 658 | webViewAnchorPaneMain.setVisible(true); |
677 | 659 | webViewAnchorPaneHistory.setVisible(false); |
678 | 660 | } catch (Exception e) { |
@@ -691,9 +673,6 @@ public class WikiMainWindowController implements Initializable { | ||
691 | 673 | |
692 | 674 | @FXML |
693 | 675 | public void onMouseClickedWebViewHyperlinkMain() { |
694 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
695 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
696 | - | |
697 | 676 | webViewAnchorPaneMain.setVisible(true); |
698 | 677 | webViewAnchorPaneHistory.setVisible(false); |
699 | 678 | } |
@@ -709,8 +688,6 @@ public class WikiMainWindowController implements Initializable { | ||
709 | 688 | ObservableList<VersionHistoryListItem> list = webViewHistoryListView.getItems(); |
710 | 689 | |
711 | 690 | list.clear(); |
712 | - webViewHyperlinkMain.setId("webViewHyperlinkInactive"); | |
713 | - webViewHyperlinkHistory.setId("webViewHyperlinkActive"); | |
714 | 691 | |
715 | 692 | VersionIterator versionIter = wikiEngine_.getVersionHistory(); |
716 | 693 | versionIter.skip(1); |
@@ -761,8 +738,6 @@ public class WikiMainWindowController implements Initializable { | ||
761 | 738 | wikiEngine_.clearHistory(); |
762 | 739 | wikiEngine_.setPageDataMap(WikiEngine.MAINPAGE_TITLE); |
763 | 740 | loadWikiContent(); |
764 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
765 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
766 | 741 | webViewAnchorPaneMain.setVisible(true); |
767 | 742 | webViewAnchorPaneHistory.setVisible(false); |
768 | 743 | } catch (Exception e) { |
@@ -831,8 +806,6 @@ public class WikiMainWindowController implements Initializable { | ||
831 | 806 | */ |
832 | 807 | AnchorPaneWebView.setVisible(true); |
833 | 808 | AnchorPaneEdit.setVisible(false); |
834 | - webViewHyperlinkMain.setId("webViewHyperlinkActive"); | |
835 | - webViewHyperlinkHistory.setId("webViewHyperlinkInactive"); | |
836 | 809 | webViewAnchorPaneMain.setVisible(true); |
837 | 810 | webViewAnchorPaneHistory.setVisible(false); |
838 | 811 | } |
@@ -4,31 +4,31 @@ | ||
4 | 4 | } |
5 | 5 | |
6 | 6 | .webViewMenuAnchorPane { |
7 | - -fx-border-color:#f0f0f0; | |
7 | + -fx-border-color: #c0c0c0; | |
8 | 8 | -fx-border-style:solid; |
9 | 9 | -fx-border-width:1px; |
10 | - -fx-background-color: #f0f0f0; | |
10 | + -fx-background-color: #f5f5f5; | |
11 | 11 | } |
12 | 12 | |
13 | 13 | .webViewMainAnchorPane { |
14 | - -fx-border-color:#f0f0f0; | |
14 | + -fx-border-color:#f5f5f5; | |
15 | 15 | -fx-border-style:solid; |
16 | 16 | -fx-border-width:1px; |
17 | - -fx-background-color: #f0f0f0; | |
17 | + -fx-background-color: #f5f5f5; | |
18 | 18 | } |
19 | 19 | |
20 | 20 | .webViewHistoryAnchorPane { |
21 | - -fx-border-color:#f0f0f0; | |
21 | + -fx-border-color:#dcdcdc; | |
22 | 22 | -fx-border-style:solid; |
23 | 23 | -fx-border-width:1px; |
24 | - -fx-background-color: #f0f0f0; | |
24 | + -fx-background-color: #dcdcdc; | |
25 | 25 | } |
26 | 26 | |
27 | 27 | .webViewHistoryContentAnchorPane { |
28 | - -fx-border-color:#f0f0f0; | |
28 | + -fx-border-color:#c0c0c0; | |
29 | 29 | -fx-border-style:solid; |
30 | 30 | -fx-border-width:1px; |
31 | - -fx-background-color: white; | |
31 | + -fx-background-color: #f8f8ff; | |
32 | 32 | } |
33 | 33 | |
34 | 34 | .selectPartyRadioButtonTableCell { |
@@ -36,16 +36,16 @@ | ||
36 | 36 | -fx-alignment:center; |
37 | 37 | } |
38 | 38 | |
39 | -#webViewHyperlinkActive { | |
40 | - -fx-background-color: #f0f0f0; | |
41 | - -fx-border-color: #f0f0f0; | |
39 | +.webViewMainHyperlink { | |
40 | + -fx-background-color: #f5f5f5; | |
41 | + -fx-border-color: #f5f5f5; | |
42 | 42 | -fx-border-width: 1px; |
43 | 43 | -fx-border-style: solid; |
44 | 44 | } |
45 | 45 | |
46 | -#webViewHyperlinkInactive { | |
47 | - -fx-background-color: transparent; | |
48 | - -fx-border-color: #f0f0f0; | |
46 | +.webViewHistoryHyperlink { | |
47 | + -fx-background-color: #dcdcdc; | |
48 | + -fx-border-color: #dcdcdc; | |
49 | 49 | -fx-border-width: 1px; |
50 | 50 | -fx-border-style: solid; |
51 | 51 | } |