OSDN Git Service

fixed around UI for PointingDeviceEventTree.
[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.23\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                 #ui-textinput {\r
145                         position:                       absolute;\r
146                         outline:                        0;\r
147                         padding:                        3px 0;\r
148                         background-color:       #aDf0FE;\r
149                         margin:                         0;\r
150                         border-color:           #4D90FE;\r
151                 }\r
152                 #ui-textinput,\r
153                 .editable-text {\r
154                         border-style:           solid;\r
155                         border-width:           1px;\r
156                         font-size:                      14px;\r
157                         line-height:            16px;           \r
158                 }\r
159                 .editable-text {\r
160                         border-color:           #666 #aaa #bbb #777;\r
161                         display:                        inline-block;\r
162                         color:                          #333;\r
163                         zoom:                           1;\r
164                         background-color:       #fff;\r
165                         padding:                        3px;\r
166                 }\r
167                         \r
168         /*  combobox\r
169         --------------------------------------------------------------------------------------*/        \r
170                 .combobox {\r
171                         display:                        inline-block;\r
172                         color:                          #333;\r
173                 }\r
174                         .combobox a,\r
175                         .combobox a:link,\r
176                 .combobox a:visited,\r
177                 .combobox a:hover,\r
178                 .combobox a:active {\r
179                         border:                         1px solid #ccc;\r
180                                 font-size:                      14px;\r
181                                 line-height:            16px;                   \r
182                                 padding:                        3px;\r
183                                 color:                          #333;\r
184                                 text-decoration:        none;\r
185                                 display:                        block;\r
186                                 zoom:                           1;\r
187                                 outline:                        0;\r
188                                 background-color:       #fff;\r
189                                 position:                       relative;\r
190                         }\r
191                         .combobox a:hover {\r
192                                 background-color:       #ccf;\r
193                         }\r
194                         .combobox a:active {\r
195                                 outline:                        0;\r
196                         }\r
197                                 .combobox-toggle {\r
198                                         position:                       absolute;\r
199                                         right:                          5px;\r
200                                         top:                            0;\r
201                                         display:                        block;\r
202                                         font-family:            Arial,Helvetica,sans-serif;\r
203                                         font-size:                      12px;\r
204                                         line-height:            20px;\r
205                                         color:                          #999;\r
206                                 }\r
207                                 .combobox  a.combobox-has-focus .combobox-toggle {\r
208                                         color:                          #4D90FE;\r
209                                 }                               \r
210                                 \r
211                                 \r
212         .option-container {\r
213                 position:                       absolute;\r
214                 list-style:                     none;\r
215                 top:                            30px;\r
216                 width:                          200px;\r
217                 margin:                         0;\r
218                 padding:                        0;\r
219                 background-color:       #fff;\r
220                 opacity:                        0.9;\r
221                 -moz-opacity:           0.9;\r
222                 -khtml-opacity:         0.9;\r
223                 color:                          #666;\r
224                 border:                         1px solid #ccc;\r
225                 box-shadow:                     1px 4px 9px #333;\r
226                 -moz-box-shadow:        1px 4px 9px #333;\r
227                 -webkit-box-shadow:     1px 4px 9px #333;\r
228                 filter:                         alpha(opacity=90) progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=120,strength=9);\r
229                 -ms-filter:                     alpha(opacity=90) progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=120,strength=9);\r
230         }\r
231                 .option-container li {\r
232                         display:                block;\r
233                         cursor:                 pointer;\r
234                         height:                 30px;\r
235                         line-height:    30px;\r
236                 }\r
237                         .option-container a,\r
238                         .option-container a:link,\r
239                         .option-container a:visited {\r
240                                 color:                  #666;\r
241                                 position:               relative;\r
242                                 display:                block;\r
243                                 padding:                0 10px;\r
244                                 height:                 30px;\r
245                                 line-height:    30px;\r
246                                 *cursor:                pointer;\r
247                         }\r
248                         .option-container a:hover {\r
249                                 color:                          #333;\r
250                                 background-color:       #ccf;\r
251                                 text-decoration:        none;\r
252                                 *cursor:                        pointer;\r
253                         }\r
254                         a.combobox-option-current,\r
255                         a.combobox-option-current:link,\r
256                         a.combobox-option-current:visited {\r
257                                 color:                          #e6e6ef;\r
258                                 background-color:       #66f;\r
259                                 text-decoration:        none;\r
260                         }\r
261                         \r
262 \r
263 \r
264 /*  Loading\r
265 --------------------------------------------------------------------------------------*/\r
266         .loading {\r
267                 background-image:               url( ../images/loading.gif);\r
268                 background-position:    50% 50%;\r
269                 background-repeat:              no-repeat;\r
270         }\r
271         .error {\r
272                 background-image:               url( ../images/error.png);\r
273                 background-position:    50% 50%;\r
274                 background-repeat:              no-repeat;\r
275         }\r
276 \r
277 \r
278 \r
279 \r
280 /*  Noscript Alert\r
281 --------------------------------------------------------------------------------------*/\r
282         #noscript-alert {\r
283                 border-left:            1px solid #666;\r
284                 display:                        block;\r
285                 text-align:                     center;\r
286                 color:                          red;\r
287                 font-weight:            bold;\r
288                 font-size:                      12px;\r
289                 line-height:            12px;\r
290                 padding:                        11px 0 7px;\r
291         }\r
292 \r
293 /*--------------------------------------------------------------------------------------\r
294  * \r
295  *  home\r
296  *  \r
297  -------------------------------------------------------------------------------------*/\r
298         #home-root {\r
299                 position:       absolute;\r
300                 top:            0;\r
301                 left:           0;\r
302                 width:          100%;\r
303                 height:         100%;\r
304         }\r
305                 #home-tail-container {\r
306                         position:       absolute;\r
307                         padding:        20px;\r
308                 }\r
309                         .tail-wrapper {\r
310                                 width:          150px;\r
311                                 height:         150px;\r
312                                 float:          left;\r
313                                 margin:         0 10px 10px 0;\r
314                                 overflow:       hidden;\r
315                                 cursor:         pointer;\r
316                             position:   relative;\r
317                         }\r
318                         .tail-wrapper h2 {\r
319                                 position:               absolute;\r
320                                 bottom:                 10px;\r
321                                 left:                   20px;\r
322                                 width:                  110px;\r
323                                 overflow:               hidden;\r
324                                 color:                  #FFF;\r
325                                 font-size:              14px;\r
326                                 line-height:    1.3;\r
327                                 font-weight:    normal;\r
328                                 font-family:    Segoe UI,Tahoma,Arial,Verdana,sans-serif;\r
329                         }\r
330 \r
331 /*--------------------------------------------------------------------------------------\r
332  * \r
333  *  overlay\r
334  *  \r
335  -------------------------------------------------------------------------------------*/\r
336         #overlay-container,\r
337         #overlay-shadow {\r
338                 position:                       absolute;\r
339                 left:                           0;\r
340                 top:                            0;\r
341                 width:                          100%;\r
342                 height:                         100%;\r
343                 overflow:                       hidden;\r
344         }\r
345                 #overlay-shadow {\r
346                         background:                     #000;\r
347                         opacity:                        0.5;\r
348                         -moz-opacity:           0.5;\r
349                         -khtml-opacity:         0.5;\r
350                 }\r
351                 .pettanr-ActiveX-enabled #overlay-shadow {\r
352                         filter:                         alpha(opacity=50);\r
353                         -ms-filter:                     alpha(opacity=50);                      \r
354                 }\r
355                 .pettanr-ActiveX-disabled #overlay-shadow {\r
356                         background:                     transparent url( "../images/black_50pct.png" ) repeat 0 0;\r
357                         _background:            url( "../images/black_50pct.gif" ) repeat 0 0;\r
358                 }\r
359                 \r
360                 #overlay-close-button {\r
361                         border:                                 2px solid #f00;\r
362                         color:                                  #f00;\r
363                         font-weight:                    bold;\r
364                         font-size:                              16px;\r
365                         line-height:                    16px;\r
366                         text-align:                             center;\r
367                         cursor:                                 pointer;\r
368                         overflow:                               hidden;\r
369                         width:                                  20px;\r
370                         height:                                 20px;\r
371                         padding:                                2px;\r
372                         position:                               absolute;\r
373                         top:                                    9px;\r
374                         right:                                  9px;\r
375                         z-index:                                9999;\r
376                         border-radius:                  5px;\r
377                         -o-border-radius:               5px;\r
378                         -ms-border-radius:              5px;\r
379                         -moz-border-radius:             5px;\r
380                         -webkit-border-radius:  5px;\r
381                 }\r
382                 \r
383 \r
384 /*--------------------------------------------------------------------------------------\r
385  * \r
386  *  Finder\r
387  *  \r
388  -------------------------------------------------------------------------------------*/\r
389         .finder-body {\r
390                 position:                               absolute;\r
391                 overflow:                               hidden;\r
392         }\r
393                 .finder-container .loading {\r
394                          background-position: 50% bottom;\r
395                 }\r
396                 \r
397         .finder-path {\r
398                 height:                                 40px;\r
399                 position:                               relative;\r
400                 background-color:               #484848;\r
401         }\r
402                 .finder-path div {\r
403                         list-style:                             none;\r
404                         position:                               absolute;\r
405                         top:                                    0;\r
406                         left:                                   48px;\r
407                         height:                                 40px;\r
408                         line-height:                    40px;\r
409                         padding:                                0;\r
410                         margin:                                 0;\r
411                 }\r
412                         .finder-path div {\r
413                                 position:                               absolute;\r
414                                 top:                                    0;\r
415                                 left:                                   0;\r
416                                 height:                                 40px;\r
417                                 width:                                  90px;\r
418                                 padding:                                0;\r
419                                 margin:                                 0;\r
420                                 font-size:                              14px;\r
421                                 line-height:                    40px;\r
422                                 margin:                                 0;\r
423                                 color:                                  #eee;\r
424                                 overflow:                               hidden;\r
425                         }\r
426                         .finder-path-hover {\r
427                                 text-decoration:                none;\r
428                                 background-color:               #66f;\r
429                                 color:                                  #eee;\r
430                         }\r
431                 \r
432         /*  Finder Icon\r
433         --------------------------------------------------------------------------------------*/\r
434         .finder-icon {\r
435                 /* position:                                    absolute; */\r
436                 left:                                           0;\r
437                 height:                                         74px;\r
438                 border-bottom:                          1px solid #ccc;\r
439                 overflow:                                       hidden; /* for webkit */\r
440         }\r
441         .finder-icon-hover {\r
442                 background-color:                       #eee;\r
443         }\r
444                 .fnder-icon-modern .finder-icon-handle,\r
445                 .fnder-icon-modern .finder-icon-thumbnail,\r
446                 .fnder-icon-modern .finder-icon-filename,\r
447                 .fnder-icon-modern .finder-icon-summary {\r
448                         display:                                        table-cell;\r
449                 vertical-align:                         middle;\r
450                 line-height:                            1.3em;\r
451             }\r
452                 \r
453                 .finder-icon-handle {\r
454                         width:                                          20px;\r
455                         height:                                         74px;\r
456                 }\r
457                 \r
458                 .finder-icon-thumbnail {\r
459                         width:                                          64px;\r
460                         height:                                         74px;\r
461                         cursor:                                         pointer;\r
462                         background-repeat:                      no-repeat;\r
463                         background-position:            50% 50%;\r
464                         background-image:                       url('../images/sprite.gif');\r
465                 }\r
466                 \r
467                 .finder-icon .file-type-folder {\r
468                         background-position:            0 -75px;\r
469                 }\r
470                 .finder-icon .file-type-album {\r
471                 }\r
472                 .finder-icon .file-type-author {\r
473                         background-position:            -70px -75px;\r
474                 }               \r
475                 .finder-icon .file-type-comic {\r
476                         background-position:            0 -145px;\r
477                 }\r
478                 .finder-icon .file-type-cabinet {\r
479                         background-position:            -70px -145px;\r
480                 }\r
481                 .finder-icon .file-type-panel {\r
482                         background-position:            0 -215px;\r
483                 }\r
484                 .finder-icon .file-type-artist {\r
485                         background-position:            -70px -215px;\r
486                 }\r
487                 .finder-icon .file-type-balloon {\r
488                         background-position:            0 -285px;\r
489                 }\r
490                 .finder-icon .file-type-charactor {\r
491                         background-position:            -70px -285px;\r
492                 }               \r
493                 .has-thumbnail {\r
494                 }\r
495                 .fnder-icon-modern .finder-icon-filename {\r
496                         width:                                          200px;\r
497                         padding:                                        5px 10px;\r
498                         height:                                         64px;\r
499                         font-weight:                            bold;\r
500                         color:                                          #333;\r
501                 }\r
502                 .fnder-icon-modern .finder-icon-summary {\r
503                         width:                                          300px;\r
504                         padding:                                        5px 10px;\r
505                         height:                                         64px;\r
506                         color:                                          #666;\r
507                 }\r
508 \r
509         /*  Finder Icon ie7-\r
510         --------------------------------------------------------------------------------------*/\r
511         .finder-icon a,\r
512         .finder-icon a:link,\r
513         .finder-icon a:visited,\r
514         .finder-icon a:active {\r
515                 display:                                block;\r
516                 height:                                 74px;\r
517                 text-decoration:                none;\r
518                 zoom:                                   1;\r
519                 cursor:                                 pointer;\r
520         }\r
521         .finder-icon a:hover {\r
522                 _background-color:              #eee;\r
523                 color:                                  #333;\r
524         }\r
525                 .fnder-icon-ie7 .finder-icon-handle,\r
526                 .fnder-icon-ie7 .finder-icon-thumbnail {\r
527                 zoom:                                   1;\r
528                 line-height:                    1.3em;\r
529             }\r
530                 .finder-icon-cell {\r
531                         display:                                inline;\r
532                         zoom:                                   1;\r
533                 }\r
534                         .finder-icon-vertical-middle-outer {\r
535                                 display:                                block;\r
536                                 height:                                 74px;\r
537                                 position:                               relative;\r
538                         }\r
539                         .finder-icon-ie-filename .finder-icon-vertical-middle-outer {\r
540                                 width:                                          200px;\r
541                                 font-weight:                            bold;\r
542                                 color:                                          #333;\r
543                         }\r
544                         .finder-icon-ie-summary .finder-icon-vertical-middle-outer {\r
545                                 width:                                          300px;\r
546                                 color:                                          #666;\r
547                         }\r
548                                 .finder-icon-vertical-middle-inner {\r
549                                         display:                                        block;\r
550                                         position:                                       absolute;\r
551                                         top:                                            50%;\r
552                                         margin:                                         0 5px;\r
553                                 }\r
554                                         .fnder-icon-ie7 .finder-icon-filename,\r
555                                         .fnder-icon-ie7 .finder-icon-summary {\r
556                                                         position:               relative;\r
557                                                         top:                    -50%;\r
558                                         }\r
559                                         \r
560         /*  Finder Icon Console\r
561         --------------------------------------------------------------------------------------*/                \r
562                 .finder-icon-console {\r
563                         position:                                       absolute;\r
564                         top:                                            0;\r
565                         right:                                          0;\r
566                 }\r
567                         .finder-icon-console a {\r
568                                 display:                                        block;\r
569                                 width:                                          74px;\r
570                                 height:                                         74px;\r
571                                 border-left:                            1px solid #ccc;\r
572                                 float:                                          right;\r
573                                 background-image:                       url('../images/sprite.gif') !important;\r
574                                 background-repeat:                      no-repeat;\r
575                         }\r
576                         .finder-icon-console a:hover {\r
577                                 background-color:                       #ccc !important;\r
578                         }\r
579                         .finder-icon-console-action {\r
580                                 background-position:            0px -355px;\r
581                         }\r
582                         .finder-icon-console-editor-apps {\r
583                                 background-position:            -70px -355px;\r
584                         }\r
585                         .finder-icon-console-viewer-apps {\r
586                                 background-position:            0px -425px;\r
587                         }