1+ /*アニメーション定義Start*/
2+ /*アニメーション定義End*/
3+
4+
5+
6+ /*ベース定義Start*/
7+ * {
8+ Box-Sizing : Border-Box;
9+ }
10+
11+ HTML , Body {
12+ Height : 100% ;
13+ }
14+
15+ Body {
16+ Display : Flex;
17+ Flex-Direction : Column;
18+
19+ Margin : 0 1em 0 1em ;
20+
21+ Color : # EEE ;
22+ Font : 14px / 2 "メイリオ" , Meiryo, Osaka;
23+
24+ BackGround : URL ("https://genbuproject.github.io/Image/Back.jpg" );
25+ }
26+
27+ A {
28+ Color : Chartreuse;
29+ }
30+ /*ベース定義End*/
31+
32+
33+
34+ /*基本パーツ定義Start*/
35+ Body > H1 {
36+ Margin-Bottom : 0 ;
37+ }
38+
39+ Body > Div {
40+ Display : Flex;
41+ Flex-Direction : Row;
42+ Height : 100% ;
43+
44+ Flex : 1 ;
45+ }
46+
47+ # Content {
48+ Width : 80% ;
49+ Height : calc (100% - 1em );
50+
51+ Flex : 1 ;
52+
53+ Margin-Top : 1em ;
54+ }
55+ /*基本パーツ定義End*/
56+
57+
58+
59+ /*メニュー定義Start*/
60+ # Menu {
61+ Display : Flex;
62+ Flex-Direction : Column;
63+ Width : 20% ;
64+ Height : 100% ;
65+
66+ Padding-Left : 1em ;
67+
68+ Border-Left : Thin Solid White;
69+ }
70+
71+ # Menu > H3 {
72+ Margin : 0 ;
73+ Font-Size : 1.5em ;
74+ }
75+
76+ # Menu > Div .SignIn {
77+ Display : Flex;
78+ Flex-Direction : Column;
79+ }
80+
81+ # Menu > Div .SignOut {
82+ Display : None;
83+ }
84+
85+ # Menu > Div > Span {
86+ Transition : BackGround 0.5s Ease 0s ;
87+
88+ Padding-Left : 1em ;
89+
90+ BackGround : RGBA (255 , 255 , 255 , 0.25 );
91+ Border : Thin Solid LightSeaGreen;
92+ }
93+
94+ # Menu > Div > Span : Hover {
95+ Transition : BackGround 0.5s Ease 0s ;
96+
97+ BackGround : RGBA (128 , 0 , 128 , 0.75 );
98+ }
99+
100+ # Menu > Div .SignIn + Div {
101+ Display : None;
102+ }
103+
104+ # Menu > Div .SignOut + Div {
105+ Display : Block;
106+ }
107+ /*メニュー定義End*/
108+
109+
110+
111+ /*フッター定義Start*/
112+ Footer .SignIn {
113+ Display : None;
114+ }
115+
116+ Footer .SignOut {
117+ Position : Fixed;
118+ Bottom : 0 ;
119+ Right : 0 ;
120+ }
121+
122+ Footer > Button {
123+ Position : Relative;
124+ Bottom : 1em ;
125+ Right : 1em ;
126+
127+ Padding : 1em ;
128+
129+ Color : # 333333 ;
130+ Cursor : Pointer;
131+
132+ BackGround : Linear-Gradient (White, WhiteSmoke);
133+ Border : 2px Solid LightGray;
134+ Border-Radius : 100% ;
135+ }
136+
137+ Footer > Button : Hover {
138+ BackGround : Linear-Gradient (WhiteSmoke, White);
139+ }
140+
141+ Footer > Button : Active {
142+ Border : 2px Solid Gray;
143+ }
144+
145+ Footer > Button : Before {
146+ Content : "" ;
147+ }
148+
149+ # GPlus : Before {
150+ Display : Inline-Block;
151+
152+ Width : 2.5em ;
153+ Height : 2.5em ;
154+
155+ Vertical-Align : Middle;
156+
157+ BackGround : URL ("https://www.google.co.jp/images/branding/product/ico/googleg_lodp.ico" );
158+ BackGround-Size : Cover;
159+ }
160+ /*フッター定義End*/
161+
162+
163+
164+ /*ダイアログ定義Start*/
165+ # Dialog {
166+ Position : Fixed;
167+ Top : 0 ;
168+ Left : 0 ;
169+ Z-index : 1 ;
170+
171+ Width : 50% ;
172+ Height : 80% ;
173+
174+ Border-Radius : 10% 10% 0 0 ;
175+ }
176+
177+ # Dialog .Show {
178+ Display : Flex;
179+ Flex-Direction : Column;
180+
181+ BackGround : Linear-Gradient (White, WhiteSmoke);
182+ }
183+
184+ # Dialog .Hide {
185+ Display : None;
186+ }
187+
188+ # Dialog + Div {
189+ Width : 100% ;
190+ Height : 100% ;
191+
192+ Position : Fixed;
193+ Top : 0 ;
194+ Left : 0 ;
195+ Z-Index : 0 ;
196+
197+ BackGround : Black;
198+ Opacity : 0.5 ;
199+ }
200+
201+ # Dialog .Show + Div {
202+ Display : Block;
203+ }
204+
205+ # Dialog .Hide + Div {
206+ Display : None;
207+ }
208+
209+ # Dialog > IFrame {
210+ Width : 100% ;
211+ Height : 100% ;
212+
213+ Border : None;
214+ Border-Radius : 10% 10% 0 0 ;
215+ }
0 commit comments