OSDN Git Service

0.5.18, rewrite for PointingDeviceEventTree, much bugs, sorry.
[pettanr/clientJs.git] / 0.5.x / stylesheets / system.css
1 @charset "UTF-8";\r
2 \r
3 /* pettanR system.css\r
4  *   version 0.5.18\r
5  * \r
6  *   author:\r
7  *     itozyun\r
8  */\r
9 \r
10 /*  Reset\r
11 --------------------------------------------------------------------------------------*/\r
12         html, body {\r
13                 margin:                 0;\r
14                 padding:                0;\r
15                 height:                 100%;\r
16         }\r
17         /* この指定がないと ie で  Util.getAbsolutePosition が狂う  body { font-family:     "MS PGothic", "MS Gothic" } */\r
18         body {\r
19                 font-family:    "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "MS PGothic", Osaka, "MS Gothic", Gothic, sans-serif; \r
20         }\r
21         \r
22         p {\r
23                 text-shadow:    #000 0 0 0;/* for Safari */ \r
24                 -moz-opacity:   0.99;/* for Firefox */ \r
25         }\r
26 \r
27         /* http://e2designer.seesaa.net/article/152168876.html */\r
28         /* http://perishablepress.com/press/2010/06/01/wrapping-content/ */\r
29 \r
30         .break-word {\r
31                 white-space: pre;           /* CSS 2.0 */\r
32                 white-space: pre-wrap;      /* CSS 2.1 */\r
33                 white-space: pre-line;      /* CSS 3.0 */\r
34                 white-space: -pre-wrap;     /* Opera 4-6 */\r
35                 white-space: -o-pre-wrap;   /* Opera 7 */\r
36                 white-space: -moz-pre-wrap; /* Mozilla */\r
37                 white-space: -hp-pre-wrap;  /* HP Printers */\r
38                 word-wrap:   break-word;    /* IE 5+ */\r
39         }\r
40         \r
41         /* remember to define focus styles! */\r
42         :focus { outline: 0;}\r
43         \r
44         /* http://web.archive.org/web/20100204222112/http://honoo-no.com/creators/2008/02/14_211120.html */\r
45         textarea, input {\r
46                 font-family: "MS PGothic", Osaka, "MS Gothic", "ヒラギノ角ゴ Pro W3", sans-serif;\r
47         }\r
48         \r
49         \r
50         a:link { color:#008;}\r
51         a:visited { color: #505;}\r
52         a { text-decoration: none;}\r
53         \r
54         a:hover {\r
55                 text-decoration:        underline;\r
56                 color:                          #f60;\r
57         }\r
58 \r
59         /*  mouse-operation-catcher\r
60         --------------------------------------------------------------------------------------*/        \r
61                 .mouse-operation-catcher {\r
62                         position:                       absolute;\r
63                         top:                            0;\r
64                         left:                           0;\r
65                         width:                          100%;\r
66                         height:                         100%; /* 100% don't work for ie6, so ie6 need to set height as 'XXpx' by js */\r
67                 }\r
68                 .pettanr-ActiveX-enabled .mouse-operation-catcher {\r
69                         background-color:       #fff;\r
70                         filter:                         alpha( opacity=0 );\r
71                         -ms-filter:                     alpha( opacity=0 );\r
72                 }\r
73                 /*\r
74                  * ie では、背景を設定しないと、 mousemove が働かない。\r
75                  * activeX 有効の場合は背景を着色して filter で透明に。\r
76                  * activeX 無効の場合は透明 gif を使用\r
77                  * background:                  url(4x4.gif) fixed repeat;\r
78                  */\r
79                 .pettanr-ActiveX-disabled .mouse-operation-catcher {\r
80                         background:                     url( "../images/opacity0.gif" ) fixed repeat;\r
81                 }\r
82         \r
83 /*  ClearFix\r
84 --------------------------------------------------------------------------------------*/\r
85 .clearfix:after {\r
86   content: ".";  /* 新しい要素を作る */\r
87   display: block;  /* ブロックレベル要素に */\r
88   clear: both;\r
89   height: 0;\r
90   visibility: hidden;\r
91 }\r
92 \r
93 .clearfix {\r
94   min-height: 1px;\r
95 }\r
96 \r
97 * html .clearfix {\r
98   height: 1px;\r
99   /*\*//*/\r
100   height: auto;\r
101   overflow: hidden;\r
102   /**/\r
103 }\r
104 \r
105 /*  Button\r
106 --------------------------------------------------------------------------------------*/\r
107         .button {\r
108                 border-width:                   1px;\r
109                 border-style:                   solid;\r
110                 border-color:                   #ccc #bbb #aaa;\r
111                 background:                             #E3E3E3;\r
112                 background:                             -moz-linear-gradient(center top , #F9F9F9, #E3E3E3);\r
113                 background:                             -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#E3E3E3));\r
114                 color:                                  #666;\r
115                 font-weight:                    bold;\r
116                 text-align:                             center;\r
117                 cursor:                                 pointer;\r
118                 overflow:                               hidden;\r
119                 height:                                 30px;\r
120                 line-height:                    30px;\r
121                 border-radius:                  3px;\r
122                 -o-border-radius:               3px;\r
123                 -ms-border-radius:              3px;\r
124                 -moz-border-radius:             3px;\r
125                 -webkit-border-radius:  3px;\r
126         }\r
127         .button-hover {\r
128                 color:                                  #333;\r
129                 border-color:                   #999 #888 #777;\r
130         }\r
131         .button-has-focus {\r
132                 border-color:                   #4D90FE;\r
133         }\r
134         .button-disabled {\r
135                 background:                             #f6f6f6;\r
136                 background:                             -moz-linear-gradient(center top , #fcfcfc, #f0f0f0);\r
137                 background:                             -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#f0f0f0));\r
138                 border-color:                   #eee #ddd #ccc;\r
139                 color:                                  #ccc;\r
140         }\r
141 \r
142         /*  editable-text\r
143         --------------------------------------------------------------------------------------*/\r
144         \r
145                 .editable-text {\r
146                         display:                        inline-block;\r
147                         color:                          #333;\r
148                         border:                         1px solid #ccc;\r
149                         font-size:                      14px;\r
150                         line-height:            16px;\r
151                 }\r
152                         .editable-text a,\r
153                         .editable-text a:link,\r
154                 .editable-text a:visited,\r
155                 .editable-text a:hover,\r
156                 .editable-text a:active {\r
157                                 padding:                        3px;\r
158                                 color:                          #333;\r
159                                 text-decoration:        none;\r
160                                 display:                        block;\r
161                                 zoom:                           1;\r
162                                 outline:                        0;\r
163                                 background-color:       #fff;\r
164                         }\r
165                         .editable-text a:hover {\r
166                                 background-color:       #ccf;\r
167                         }\r
168                         .editable-text input {\r
169                                 padding:                        3px 0;\r
170                                 width:                          100%;\r
171                                 font-family:            Arial,Helvetica,sans-serif;\r
172                                 background-color:       #ccf;\r
173                                 border:                         0;\r
174                                 margin:                         0;\r
175                                 outline:                        0;\r
176                         }\r
177                         \r
178         /*  combobox\r
179         --------------------------------------------------------------------------------------*/        \r
180                 .combobox {\r
181                         display:                        inline-block;\r
182                         color:                          #333;\r
183                 }\r
184                         .combobox a,\r
185                         .combobox a:link,\r
186                 .combobox a:visited,\r
187                 .combobox a:hover,\r
188                 .combobox a:active {\r
189                         border:                         1px solid #ccc;\r
190                                 font-size:                      14px;\r
191                                 line-height:            16px;                   \r
192                                 padding:                        3px;\r
193                                 color:                          #333;\r
194                                 text-decoration:        none;\r
195                                 display:                        block;\r
196                                 zoom:                           1;\r
197                                 outline:                        0;\r
198                                 background-color:       #fff;\r
199                                 position:                       relative;\r
200                         }\r
201                         .combobox a:hover {\r
202                                 background-color:       #ccf;\r
203                         }\r
204                         .combobox a:active {\r
205                                 outline:                        0;\r
206                         }\r
207                                 .combobox-toggle {\r
208                                         position:                       absolute;\r
209                                         right:                          5px;\r
210                                         top:                            0;\r
211                                         display:                        block;\r
212                                         font-family:            Arial,Helvetica,sans-serif;\r
213                                         font-size:                      12px;\r
214                                         line-height:            20px;\r
215                                         color:                          #999;\r
216                                 }\r
217                                 .combobox  a.combobox-has-focus .combobox-toggle {\r
218                                         color:                          #4D90FE;\r
219                                 }                               \r
220                                 \r
221                                 \r
222         .option-container {\r
223                 position:                       absolute;\r
224                 list-style:                     none;\r
225                 top:                            30px;\r
226                 width:                          200px;\r
227                 margin:                         0;\r
228                 padding:                        0;\r
229                 background-color:       #fff;\r
230                 opacity:                        0.9;\r
231                 -moz-opacity:           0.9;\r
232                 -khtml-opacity:         0.9;\r
233                 color:                          #666;\r
234                 border:                         1px solid #ccc;\r
235                 box-shadow:                     1px 4px 9px #333;\r
236                 -moz-box-shadow:        1px 4px 9px #333;\r
237                 -webkit-box-shadow:     1px 4px 9px #333;\r
238                 filter:                         alpha(opacity=90) progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=120,strength=9);\r
239                 -ms-filter:                     alpha(opacity=90) progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=120,strength=9);\r
240         }\r
241                 .option-container li {\r
242                         display:                block;\r
243                         cursor:                 pointer;\r
244                         height:                 30px;\r
245                         line-height:    30px;\r
246                 }\r
247                         .option-container a,\r
248                         .option-container a:link,\r
249                         .option-container a:visited {\r
250                                 color:                  #666;\r
251                                 position:               relative;\r
252                                 display:                block;\r
253                                 padding:                0 10px;\r
254                                 height:                 30px;\r
255                                 line-height:    30px;\r
256                                 *cursor:                pointer;\r
257                         }\r
258                         .option-container a:hover {\r
259                                 color:                          #333;\r
260                                 background-color:       #ccf;\r
261                                 text-decoration:        none;\r
262                                 *cursor:                        pointer;\r
263                         }\r
264                         a.combobox-option-current,\r
265                         a.combobox-option-current:link,\r
266                         a.combobox-option-current:visited {\r
267                                 color:                          #e6e6ef;\r
268                                 background-color:       #66f;\r
269                                 text-decoration:        none;\r
270                         }\r
271                         \r
272 \r
273 \r
274 /*  Loading\r
275 --------------------------------------------------------------------------------------*/\r
276         .loading {\r
277                 background-image:               url( ../images/loading.gif);\r
278                 background-position:    50% 50%;\r
279                 background-repeat:              no-repeat;\r
280         }\r
281         .error {\r
282                 background-image:               url( ../images/error.png);\r
283                 background-position:    50% 50%;\r
284                 background-repeat:              no-repeat;\r
285         }\r
286 \r
287 \r
288 \r
289 \r
290 /*  Noscript Alert\r
291 --------------------------------------------------------------------------------------*/\r
292         #noscript-alert {\r
293                 border-left:            1px solid #666;\r
294                 display:                        block;\r
295                 text-align:                     center;\r
296                 color:                          red;\r
297                 font-weight:            bold;\r
298                 font-size:                      12px;\r
299                 line-height:            12px;\r
300                 padding:                        11px 0 7px;\r
301         }\r
302 \r
303 /*--------------------------------------------------------------------------------------\r
304  * \r
305  *  home\r
306  *  \r
307  -------------------------------------------------------------------------------------*/\r
308         #home-root {\r
309                 position:       absolute;\r
310                 top:            0;\r
311                 left:           0;\r
312                 width:          100%;\r
313                 height:         100%;\r
314         }\r
315                 #home-tail-container {\r
316                         position:       absolute;\r
317                         padding:        20px;\r
318                 }\r
319                         .tail-wrapper {\r
320                                 width:          150px;\r
321                                 height:         150px;\r
322                                 float:          left;\r
323                                 margin:         0 10px 10px 0;\r
324                                 overflow:       hidden;\r
325                                 cursor:         pointer;\r
326                             position:   relative;\r
327                         }\r
328                         .tail-wrapper h2 {\r
329                                 position:               absolute;\r
330                                 bottom:                 10px;\r
331                                 left:                   20px;\r
332                                 width:                  110px;\r
333                                 overflow:               hidden;\r
334                                 color:                  #FFF;\r
335                                 font-size:              14px;\r
336                                 line-height:    1.3;\r
337                                 font-weight:    normal;\r
338                                 font-family:    Segoe UI,Tahoma,Arial,Verdana,sans-serif;\r
339                         }\r
340 \r
341 /*--------------------------------------------------------------------------------------\r
342  * \r
343  *  overlay\r
344  *  \r
345  -------------------------------------------------------------------------------------*/\r
346         #overlay-container,\r
347         #overlay-shadow {\r
348                 position:                       absolute;\r
349                 left:                           0;\r
350                 top:                            0;\r
351                 width:                          100%;\r
352                 height:                         100%;\r
353                 overflow:                       hidden;\r
354         }\r
355                 #overlay-shadow {\r
356                         background:                     #000;\r
357                         opacity:                        0.5;\r
358                         -moz-opacity:           0.5;\r
359                         -khtml-opacity:         0.5;\r
360                 }\r
361                 .pettanr-ActiveX-enabled #overlay-shadow {\r
362                         filter:                         alpha(opacity=50);\r
363                         -ms-filter:                     alpha(opacity=50);                      \r
364                 }\r
365                 .pettanr-ActiveX-disabled #overlay-shadow {\r
366                         background:                     transparent url( "../images/black_50pct.png" ) repeat 0 0;\r
367                         _background:            url( "../images/black_50pct.gif" ) repeat 0 0;\r
368                 }\r
369                 \r
370                 #overlay-close-button {\r
371                         border:                                 2px solid #f00;\r
372                         color:                                  #f00;\r
373                         font-weight:                    bold;\r
374                         font-size:                              16px;\r
375                         line-height:                    16px;\r
376                         text-align:                             center;\r
377                         cursor:                                 pointer;\r
378                         overflow:                               hidden;\r
379                         width:                                  20px;\r
380                         height:                                 20px;\r
381                         padding:                                2px;\r
382                         position:                               absolute;\r
383                         top:                                    9px;\r
384                         right:                                  9px;\r
385                         z-index:                                9999;\r
386                         border-radius:                  5px;\r
387                         -o-border-radius:               5px;\r
388                         -ms-border-radius:              5px;\r
389                         -moz-border-radius:             5px;\r
390                         -webkit-border-radius:  5px;\r
391                 }\r
392                 \r
393 \r
394 /*--------------------------------------------------------------------------------------\r
395  * \r
396  *  Finder\r
397  *  \r
398  -------------------------------------------------------------------------------------*/\r
399         .finder-body {\r
400                 position:                               absolute;\r
401                 overflow:                               hidden;\r
402         }\r
403                 .finder-container .loading {\r
404                          background-position: 50% bottom;\r
405                 }\r
406                 \r
407         .finder-path {\r
408                 height:                                 40px;\r
409                 position:                               relative;\r
410                 background-color:               #484848;\r
411         }\r
412                 .finder-path div {\r
413                         list-style:                             none;\r
414                         position:                               absolute;\r
415                         top:                                    0;\r
416                         left:                                   48px;\r
417                         height:                                 40px;\r
418                         line-height:                    40px;\r
419                         padding:                                0;\r
420                         margin:                                 0;\r
421                 }\r
422                         .finder-path div {\r
423                                 position:                               absolute;\r
424                                 top:                                    0;\r
425                                 left:                                   0;\r
426                                 height:                                 40px;\r
427                                 width:                                  90px;\r
428                                 padding:                                0;\r
429                                 margin:                                 0;\r
430                                 font-size:                              14px;\r
431                                 line-height:                    40px;\r
432                                 margin:                                 0;\r
433                                 color:                                  #eee;\r
434                                 overflow:                               hidden;\r
435                         }\r
436                         .finder-path-hover {\r
437                                 text-decoration:                none;\r
438                                 background-color:               #66f;\r
439                                 color:                                  #eee;\r
440                         }\r
441                 \r
442         /*  Finder Icon\r
443         --------------------------------------------------------------------------------------*/\r
444         .finder-icon {\r
445                 /* position:                                    absolute; */\r
446                 left:                                           0;\r
447                 height:                                         74px;\r
448                 border-bottom:                          1px solid #ccc;\r
449                 overflow:                                       hidden; /* for webkit */\r
450         }\r
451         .finder-icon-hover {\r
452                 background-color:                       #eee;\r
453         }\r
454                 .fnder-icon-modern .finder-icon-handle,\r
455                 .fnder-icon-modern .finder-icon-thumbnail,\r
456                 .fnder-icon-modern .finder-icon-filename,\r
457                 .fnder-icon-modern .finder-icon-summary {\r
458                         display:                                        table-cell;\r
459                 vertical-align:                         middle;\r
460                 line-height:                            1.3em;\r
461             }\r
462                 \r
463                 .finder-icon-handle {\r
464                         width:                                          20px;\r
465                         height:                                         74px;\r
466                 }\r
467                 \r
468                 .finder-icon-thumbnail {\r
469                         width:                                          64px;\r
470                         height:                                         74px;\r
471                         cursor:                                         pointer;\r
472                         background-repeat:                      no-repeat;\r
473                         background-position:            50% 50%;\r
474                         background-image:                       url('../images/sprite.gif');\r
475                 }\r
476                 \r
477                 .finder-icon .file-type-folder {\r
478                         background-position:            0 -75px;\r
479                 }\r
480                 .finder-icon .file-type-album {\r
481                 }\r
482                 .finder-icon .file-type-author {\r
483                         background-position:            -70px -75px;\r
484                 }               \r
485                 .finder-icon .file-type-comic {\r
486                         background-position:            0 -145px;\r
487                 }\r
488                 .finder-icon .file-type-cabinet {\r
489                         background-position:            -70px -145px;\r
490                 }\r
491                 .finder-icon .file-type-panel {\r
492                         background-position:            0 -215px;\r
493                 }\r
494                 .finder-icon .file-type-artist {\r
495                         background-position:            -70px -215px;\r
496                 }\r
497                 .finder-icon .file-type-balloon {\r
498                         background-position:            0 -285px;\r
499                 }\r
500                 .finder-icon .file-type-charactor {\r
501                         background-position:            -70px -285px;\r
502                 }               \r
503                 .has-thumbnail {\r
504                 }\r
505                 .fnder-icon-modern .finder-icon-filename {\r
506                         width:                                          200px;\r
507                         padding:                                        5px 10px;\r
508                         height:                                         64px;\r
509                         font-weight:                            bold;\r
510                         color:                                          #333;\r
511                 }\r
512                 .fnder-icon-modern .finder-icon-summary {\r
513                         width:                                          300px;\r
514                         padding:                                        5px 10px;\r
515                         height:                                         64px;\r
516                         color:                                          #666;\r
517                 }\r
518 \r
519         /*  Finder Icon ie7-\r
520         --------------------------------------------------------------------------------------*/\r
521         .finder-icon a,\r
522         .finder-icon a:link,\r
523         .finder-icon a:visited,\r
524         .finder-icon a:active {\r
525                 display:                                block;\r
526                 height:                                 74px;\r
527                 text-decoration:                none;\r
528                 zoom:                                   1;\r
529                 cursor:                                 pointer;\r
530         }\r
531         .finder-icon a:hover {\r
532                 _background-color:              #eee;\r
533                 color:                                  #333;\r
534         }\r
535                 .fnder-icon-ie7 .finder-icon-handle,\r
536                 .fnder-icon-ie7 .finder-icon-thumbnail {\r
537                 zoom:                                   1;\r
538                 line-height:                    1.3em;\r
539             }\r
540                 .finder-icon-cell {\r
541                         display:                                inline;\r
542                         zoom:                                   1;\r
543                 }\r
544                         .finder-icon-vertical-middle-outer {\r
545                                 display:                                block;\r
546                                 height:                                 74px;\r
547                                 position:                               relative;\r
548                         }\r
549                         .finder-icon-ie-filename .finder-icon-vertical-middle-outer {\r
550                                 width:                                          200px;\r
551                                 font-weight:                            bold;\r
552                                 color:                                          #333;\r
553                         }\r
554                         .finder-icon-ie-summary .finder-icon-vertical-middle-outer {\r
555                                 width:                                          300px;\r
556                                 color:                                          #666;\r
557                         }\r
558                                 .finder-icon-vertical-middle-inner {\r
559                                         display:                                        block;\r
560                                         position:                                       absolute;\r
561                                         top:                                            50%;\r
562                                         margin:                                         0 5px;\r
563                                 }\r
564                                         .fnder-icon-ie7 .finder-icon-filename,\r
565                                         .fnder-icon-ie7 .finder-icon-summary {\r
566                                                         position:               relative;\r
567                                                         top:                    -50%;\r
568                                         }\r
569                                         \r
570         /*  Finder Icon Console\r
571         --------------------------------------------------------------------------------------*/                \r
572                 .finder-icon-console {\r
573                         position:                                       absolute;\r
574                         top:                                            0;\r
575                         right:                                          0;\r
576                 }\r
577                         .finder-icon-console a {\r
578                                 display:                                        block;\r
579                                 width:                                          74px;\r
580                                 height:                                         74px;\r
581                                 border-left:                            1px solid #ccc;\r
582                                 float:                                          right;\r
583                                 background-image:                       url('../images/sprite.gif') !important;\r
584                                 background-repeat:                      no-repeat;\r
585                         }\r
586                         .finder-icon-console a:hover {\r
587                                 background-color:                       #ccc !important;\r
588                         }\r
589                         .finder-icon-console-action {\r
590                                 background-position:            0px -355px;\r
591                         }\r
592                         .finder-icon-console-editor-apps {\r
593                                 background-position:            -70px -355px;\r
594                         }\r
595                         .finder-icon-console-viewer-apps {\r
596                                 background-position:            0px -425px;\r
597                         }