OSDN Git Service

41efe9a77c42fac81b832a8e044abf8b7ba2c1ad
[pettanr/clientJs.git] / 0.6.x / css / xui.css
1 \r
2         html {\r
3                 font-size                : 100%; /* 1 */\r
4                 -webkit-text-size-adjust : 100%; /* 2 */\r
5                    -moz-text-size-adjust : 100%; /* 2 */\r
6                     -ms-text-size-adjust : 100%; /* 2 */\r
7                         text-size-adjust : 100%; /* 2 */\r
8         }\r
9 \r
10         html,\r
11         body {\r
12                 width    : 100%;\r
13                 height   : 100%;\r
14                 overflow : hidden;\r
15                 margin   : 0;\r
16                 padding  : 0;/* opera 8 */\r
17                 border   : 0;\r
18         }\r
19 \r
20         .IE5x body,\r
21         .IE6 body,\r
22         .IE7 body,\r
23         .IE8 body {\r
24                 font-size : 16px; /* px 指定しないと ie8- で要素のサイズが狂う */\r
25         }\r
26 \r
27         /*\r
28          * http://loconet.web2.jp/blog/archives/2007/02/cssfontfamily.html\r
29          */\r
30         body, textarea {\r
31                 font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif;\r
32         }\r
33         .IE5x body, .IE5x textarea,\r
34         .IE6  body, .IE6  textarea,  {\r
35                 font-family: 'MS Pゴシック',sans-serif;\r
36         }\r
37 \r
38         .js-disabled {\r
39                 background       : #111 url( "../img/loading.gif" ) 50% 50% no-repeat;\r
40         }\r
41 \r
42 \r
43 .Root {\r
44         height   : 100%;\r
45 }\r
46 \r
47 .Root,\r
48 .Root div {\r
49 /* 要素は絶対配置される */\r
50         position           : absolute;\r
51         top                : 0;\r
52         left               : 0;\r
53         width              : 100%;\r
54         height             : auto;\r
55         padding            : 0;\r
56         margin             : 0;\r
57 /* ブラウザのレイアウト機能による auto なサイズ指定は行わない */\r
58         overflow           : hidden;\r
59         border-style       : solid;\r
60         border-width       : 0;\r
61 /* border-box がデフォルト \r
62         box-sizing         : border-box;\r
63         -o-box-sizing      : border-box;\r
64         -ms-box-sizing     : border-box;\r
65         -moz-box-sizing    : border-box;\r
66         -khtml-box-sizing  : border-box;\r
67         -webkit-box-sizing : border-box;*/\r
68 /* browser bug fix */\r
69 \r
70         zoom               : 1;\r
71 \r
72         word-wrap          : break-word; /* IE5.5?5?, Firefox3.5, Chrome1 Opera10.5 Safari1 */\r
73         white-space        : pre;           /* CSS 2.0 */\r
74         white-space        : pre-wrap;      /* CSS 2.1 */\r
75         white-space        : pre-line;      /* CSS 3.0 */\r
76         /* white-space : -pre-wrap;     Opera 4-6 */\r
77         white-space        : -o-pre-wrap;   /* Opera 7 */\r
78         white-space        : -moz-pre-wrap; /* Mozilla */\r
79         /* white-space : -hp-pre-wrap;  HP Printers */   \r
80 }\r
81 .IE5x .Root, .IE5x .Root div,\r
82 .IE6  .Root, .IE6  .Root div,\r
83 .IE7  .Root, .IE7  .Root div, {\r
84         word-break  : break-all;  /* ie5+ */\r
85 }\r
86 .IE .Root, .IE .Root div {\r
87         white-space : normal/* ie系では、 float要素へ回り込みする、 white-space の効いているテキストの位置が狂う */\r
88 }\r
89 \r
90 * {zoom:1}\r
91 \r
92 /*------------------------------------------------------------------------------------\r
93  *  mouse-operation-catcher\r
94  */\r
95         .mouse-operation-catcher {\r
96                 position : absolute;\r
97                 top      : 0;\r
98                 left     : 0;\r
99                 width    : 100%;\r
100                 height   : 100%; /* 100% don't work for ie6, so ie6 need to set height as 'XXpx' by js */\r
101                 \r
102                         user-select         : none;\r
103                    -moz-user-select         : none;\r
104                  -khtml-user-select         : none;\r
105                 -webkit-user-select         : none;\r
106 \r
107                 /* this makes the element blocking in IE10 >, you could experiment with the value\r
108                    see for more options this issue; https://github.com/EightMedia/hammer.js/issues/241 */\r
109                     touch-action            : none;\r
110                 -ms-touch-action            : none;\r
111                         touch-callout       : none;\r
112                 -webkit-touch-callout       : none;\r
113                     content-zooming         : none;\r
114                 -ms-content-zooming         : none;\r
115                         user-drag           : none;\r
116                  -khtml-user-drag           : none;\r
117                 -webkit-user-drag           : none;\r
118                         tap-highlight-color : rgba(0,0,0,0);\r
119                 -webkit-tap-highlight-color : rgba(0,0,0,0);\r
120         }\r
121         /*\r
122          * ie では、背景を設定しないと、 mousemove が働かない。\r
123          * activeX 有効の場合は背景を着色して filter で透明に。\r
124          * activeX 無効の場合は透明 gif を使用\r
125          * background:                  url(4x4.gif) fixed repeat;\r
126          */\r
127         .mouse-operation-catcher {\r
128                 background       : url( "../img/opacity0.gif" ) fixed repeat;\r
129         }       \r
130         \r
131         .ActiveX .mouse-operation-catcher {\r
132                 background       : #fff;\r
133                 filter           : alpha( opacity=0 );\r
134         }\r
135 \r
136 /*------------------------------------------------------------------------------------\r
137  *  hidden-sysyem-node\r
138  */\r
139 .hidden-system-node {\r
140         position   : absolute;\r
141         left       : 0;\r
142         top        : 0;\r
143         visibility : hidden;\r
144         /*z-index    : 99;*/\r
145 }\r
146 .hidden-iframe {\r
147         z-index     : -1;\r
148         visibility  : hidden;\r
149         overflow    : hidden;\r
150         border      : 0;\r
151         outline     : 0;\r
152         margin      : -10px 0 0 -10px;\r
153         padding     : 0;\r
154         min-width   : 0;\r
155         min-height  : 0;\r
156         width       : 10px;\r
157         height      : 10px;\r
158         max-width   : 10px;\r
159         max-height  : 10px;\r
160         top         : -20px;\r
161         left        : -20px;\r
162 }\r
163 \r
164 /* Fix for WebAudio\r
165  * see http://qiita.com/sou/items/5688d4e7d3a37b4e2ff1\r
166 --------------------------------------------------------------------------------------*/\r
167         #fps-slowdown-make-sound-noisy {\r
168                 width                             : 0px;\r
169                 height                            : 0px;\r
170                 position                          : absolute;\r
171                 -webkit-animation-name            : anim-void;\r
172                 -webkit-animation-duration        : 1s;\r
173                 -webkit-animation-iteration-count : infinite;\r
174         }\r
175         @-webkit-keyframes anim-void {\r
176                 from {\r
177                         top: 0px;\r
178                 }\r
179                 to {\r
180                         top: 1px;\r
181                 }\r
182         }\r
183 \r
184 /*  Scrollbox\r
185 --------------------------------------------------------------------------------------*/\r
186         .ScrollBox-Scroller {\r
187                 position        : absolute;\r
188         }\r
189                 .Root .ScrollBox-IndicatorV,\r
190                 .Root .ScrollBox-IndicatorH {\r
191                         position     : absolute;\r
192                         overflow     : hidden;\r
193                         background   : #000;\r
194                         background   : rgba(0,0,0,0.5);\r
195                 }\r
196                 .Root .ScrollBox-IndicatorV {\r
197                         top    : 0;\r
198                         right  : 0.1em;\r
199                         left   : auto;\r
200                         width  : 0.5em;\r
201                 }               \r
202                 .Root .ScrollBox-IndicatorH {\r
203                         top    : auto;\r
204                         bottom : 0.1em;\r
205                         left   : 0;\r
206                         height : 0.5em;\r
207                 }\r
208                 .IE4  .ScrollBox-IndicatorH,\r
209                 .IE5x .ScrollBox-IndicatorH {\r
210                         line-height : 0.5;\r
211                 }\r