OSDN Git Service

version 0.5.5, bugfix, add close button to Cabinet & Gallery.
[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.5\r
5  * \r
6  *   author:\r
7  *     itozyun
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         \r
60 /*  ClearFix\r
61 --------------------------------------------------------------------------------------*/\r
62 .clearfix:after {\r
63   content: ".";  /* 新しい要素を作る */\r
64   display: block;  /* ブロックレベル要素に */\r
65   clear: both;\r
66   height: 0;\r
67   visibility: hidden;\r
68 }\r
69 \r
70 .clearfix {\r
71   min-height: 1px;\r
72 }\r
73 \r
74 * html .clearfix {\r
75   height: 1px;\r
76   /*\*//*/\r
77   height: auto;\r
78   overflow: hidden;\r
79   /**/\r
80 }\r
81 \r
82 /*  Button\r
83 --------------------------------------------------------------------------------------*/\r
84         .button {\r
85                 border:                                 1px solid;\r
86                 background:                             #E3E3E3;\r
87                 background:                             -moz-linear-gradient(center top , #F9F9F9, #E3E3E3);\r
88                 background:                             -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#E3E3E3));\r
89                 border-color:                   #ccc #bbb #aaa;\r
90                 color:                                  #666;\r
91                 font-weight:                    bold;\r
92                 text-align:                             center;\r
93                 cursor:                                 pointer;\r
94                 overflow:                               hidden;\r
95                 height:                                 30px;\r
96                 line-height:                    30px;\r
97                 border-radius:                  3px;\r
98                 -o-border-radius:               3px;\r
99                 -ms-border-radius:              3px;\r
100                 -moz-border-radius:             3px;\r
101                 -webkit-border-radius:  3px;\r
102         }\r
103         .button-has-focus {\r
104                 border-color:                   #4D90FE;\r
105         }\r
106 \r
107         /*  editable-text\r
108         --------------------------------------------------------------------------------------*/\r
109         \r
110                 .editable-text {\r
111                         display:                        inline-block;\r
112                         color:                          #333;\r
113                         border:                         1px solid #ccc;\r
114                         font-size:                      14px;\r
115                         line-height:            16px;\r
116                 }\r
117                         .editable-text a,\r
118                         .editable-text a:link,\r
119                 .editable-text a:visited,\r
120                 .editable-text a:hover,\r
121                 .editable-text a:active {\r
122                                 padding:                        3px;\r
123                                 color:                          #333;\r
124                                 text-decoration:        none;\r
125                                 display:                        block;\r
126                                 zoom:                           1;\r
127                                 outline:                        0;\r
128                                 background-color:       #fff;\r
129                         }\r
130                         .editable-text a:hover {\r
131                                 background-color:       #ccf;\r
132                         }\r
133                         .editable-text input {\r
134                                 padding:                        3px 0;\r
135                                 width:                          100%;\r
136                                 font-family:            Arial,Helvetica,sans-serif;\r
137                                 background-color:       #ccf;\r
138                                 border:                         0;\r
139                                 margin:                         0;\r
140                                 outline:                        0;\r
141                         }\r
142                         \r
143         /*  combobox\r
144         --------------------------------------------------------------------------------------*/        \r
145                 .combobox {\r
146                         display:                        inline-block;\r
147                         color:                          #333;\r
148                 }\r
149                         .combobox a,\r
150                         .combobox a:link,\r
151                 .combobox a:visited,\r
152                 .combobox a:hover,\r
153                 .combobox a:active {\r
154                         border:                         1px solid #ccc;\r
155                                 font-size:                      14px;\r
156                                 line-height:            16px;                   \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                                 position:                       relative;\r
165                         }\r
166                         .combobox a:hover {\r
167                                 background-color:       #ccf;\r
168                         }\r
169                         .combobox a:active {\r
170                                 outline:                        0;\r
171                         }\r
172                                 .combobox-toggle {\r
173                                         position:                       absolute;\r
174                                         right:                          5px;\r
175                                         top:                            0;\r
176                                         display:                        block;\r
177                                         font-family:            Arial,Helvetica,sans-serif;\r
178                                         font-size:                      12px;\r
179                                         line-height:            20px;\r
180                                         color:                          #999;\r
181                                 }\r
182                                 .combobox  a.combobox-has-focus .combobox-toggle {\r
183                                         color:                          #4D90FE;\r
184                                 }                               \r
185                                 \r
186                                 \r
187         .option-container {\r
188                 position:                       absolute;\r
189                 list-style:                     none;\r
190                 top:                            30px;\r
191                 width:                          200px;\r
192                 margin:                         0;\r
193                 padding:                        0;\r
194                 background-color:       #fff;\r
195                 opacity:                        0.9;\r
196                 -moz-opacity:           0.9;\r
197                 -khtml-opacity:         0.9;\r
198                 color:                          #666;\r
199                 border:                         1px solid #ccc;\r
200                 box-shadow:                     1px 4px 9px #333;\r
201                 -moz-box-shadow:        1px 4px 9px #333;\r
202                 -webkit-box-shadow:     1px 4px 9px #333;\r
203                 filter:                         alpha(opacity=90) progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=120,strength=9);\r
204                 -ms-filter:                     alpha(opacity=90) progid:DXImageTransform.Microsoft.Shadow(color=#666666,direction=120,strength=9);\r
205         }\r
206                 .option-container li {\r
207                         display:                block;\r
208                         cursor:                 pointer;\r
209                         height:                 30px;\r
210                         line-height:    30px;\r
211                 }\r
212                         .option-container a,\r
213                         .option-container a:link,\r
214                         .option-container a:visited {\r
215                                 color:                  #666;\r
216                                 position:               relative;\r
217                                 display:                block;\r
218                                 padding:                0 10px;\r
219                                 height:                 30px;\r
220                                 line-height:    30px;\r
221                                 *cursor:                pointer;\r
222                         }\r
223                         .option-container a:hover {\r
224                                 color:                          #333;\r
225                                 background-color:       #ccf;\r
226                                 text-decoration:        none;\r
227                                 *cursor:                        pointer;\r
228                         }\r
229                         .current-option a,\r
230                         .current-option a:link,\r
231                         .current-option a:visited {\r
232                                 color:                          #e6e6ef;\r
233                                 background-color:       #66f;\r
234                                 text-decoration:        none;\r
235                         }\r
236                         \r
237 \r
238 \r
239 /*  Loading\r
240 --------------------------------------------------------------------------------------*/\r
241         .loading {\r
242                 background-image:               url( ../images/loading.gif);\r
243                 background-position:    50% 50%;\r
244                 background-repeat:              no-repeat;\r
245         }\r
246         .error {\r
247                 background-image:               url( ../images/error.png);\r
248                 background-position:    50% 50%;\r
249                 background-repeat:              no-repeat;\r
250         }\r
251 \r
252 \r
253 \r
254 \r
255 /*  Noscript Alert\r
256 --------------------------------------------------------------------------------------*/\r
257         #noscript-alert {\r
258                 border-left:            1px solid #666;\r
259                 display:                        block;\r
260                 text-align:                     center;\r
261                 color:                          red;\r
262                 font-weight:            bold;\r
263                 font-size:                      12px;\r
264                 line-height:            12px;\r
265                 padding:                        11px 0 7px;\r
266         }\r
267 \r
268 /*--------------------------------------------------------------------------------------\r
269  * \r
270  *  home\r
271  *  \r
272  -------------------------------------------------------------------------------------*/\r
273         #home-root {\r
274                 position:       absolute;\r
275                 top:            0;\r
276                 left:           0;\r
277                 width:          100%;\r
278                 height:         100%;\r
279         }\r
280                 #home-tail-container {\r
281                         position:       absolute;\r
282                         padding:        20px;\r
283                 }\r
284                         .tail-wrapper {\r
285                                 width:          150px;\r
286                                 height:         150px;\r
287                                 float:          left;\r
288                                 margin:         0 10px 10px 0;\r
289                                 overflow:       hidden;\r
290                                 cursor:         pointer;\r
291                             position:   relative;\r
292                         }\r
293                         .tail-wrapper h2 {\r
294                                 position:               absolute;\r
295                                 bottom:                 10px;\r
296                                 left:                   20px;\r
297                                 width:                  110px;\r
298                                 overflow:               hidden;\r
299                                 color:                  #FFF;\r
300                                 font-size:              14px;\r
301                                 line-height:    1.3;\r
302                                 font-weight:    normal;\r
303                                 font-family:    Segoe UI,Tahoma,Arial,Verdana,sans-serif;\r
304                         }\r
305 \r
306 /*--------------------------------------------------------------------------------------\r
307  * \r
308  *  overlay\r
309  *  \r
310  -------------------------------------------------------------------------------------*/\r
311         #overlay-container,\r
312         #overlay-shadow {\r
313                 position:                       absolute;\r
314                 left:                           0;\r
315                 top:                            0;\r
316                 width:                          100%;\r
317                 height:                         100%;\r
318                 overflow:                       hidden;\r
319         }\r
320                 #overlay-shadow {\r
321                         background:                     #000;\r
322                         opacity:                        0.5;\r
323                         -moz-opacity:           0.5;\r
324                         -khtml-opacity:         0.5;\r
325                 }\r
326                 .pettanr-ActiveX-enabled #overlay-shadow {\r
327                         filter:                         alpha(opacity=50);\r
328                         -ms-filter:                     alpha(opacity=50);                      \r
329                 }\r
330                 .pettanr-ActiveX-disabled #overlay-shadow {\r
331                         background:                     transparent url( "../images/black_50pct.png" ) repeat 0 0;\r
332                         _background:            url( "../images/black_50pct.gif" ) repeat 0 0;\r
333                 }\r
334                 \r
335                 #overlay-close-button {\r
336                         border:                                 2px solid #f00;\r
337                         color:                                  #f00;\r
338                         font-weight:                    bold;\r
339                         font-size:                              16px;\r
340                         line-height:                    16px;\r
341                         text-align:                             center;\r
342                         cursor:                                 pointer;\r
343                         overflow:                               hidden;\r
344                         width:                                  20px;\r
345                         height:                                 20px;\r
346                         padding:                                2px;\r
347                         position:                               absolute;\r
348                         top:                                    9px;\r
349                         right:                                  9px;\r
350                         z-index:                                9999;\r
351                         border-radius:                  5px;\r
352                         -o-border-radius:               5px;\r
353                         -ms-border-radius:              5px;\r
354                         -moz-border-radius:             5px;\r
355                         -webkit-border-radius:  5px;\r
356                 }\r
357                 \r
358 \r
359 /*--------------------------------------------------------------------------------------\r
360  * \r
361  *  Finder\r
362  *  \r
363  -------------------------------------------------------------------------------------*/\r
364         .finder-body {\r
365                 position:                               relative;\r
366                 overflow:                               auto;\r
367         }\r
368                 .finder-container .loading {\r
369                          background-position: 50% bottom;\r
370                 }\r
371         .finder-header {\r
372                 height:                                 40px;\r
373                 position:                               relative;\r
374                 background-color:               #333;\r
375         }\r
376                 .finder-header ul {\r
377                         list-style:                             none;\r
378                         position:                               absolute;\r
379                         top:                                    0;\r
380                         left:                                   48px;\r
381                         height:                                 40px;\r
382                         line-height:                    40px;\r
383                         padding:                                0;\r
384                         margin:                                 0;\r
385                 }\r
386                         .finder-header li {\r
387                                 position:                               absolute;\r
388                                 top:                                    0;\r
389                                 left:                                   0;\r
390                                 height:                                 40px;\r
391                                 width:                                  90px;\r
392                                 padding:                                0;\r
393                                 margin:                                 0;\r
394                         }\r
395                         .finder-header li a,\r
396                         .finder-header li a:link,\r
397                         .finder-header li a:visited {\r
398                                 display:                                block;\r
399                                 height:                                 14px;\r
400                                 font-size:                              14px;\r
401                                 line-height:                    14px;\r
402                                 padding:                                16px 0 10px 20px;\r
403                                 margin:                                 0;\r
404                                 color:                                  #eee;\r
405                                 overflow:                               hidden;\r
406                         }\r
407                         .finder-header li a:hover {\r
408                                 text-decoration:                none;\r
409                                 background-color:               #66f;\r
410                                 color:                                  #eee;\r
411                         }\r
412                         \r
413                         \r
414                 .finder-header .button {\r
415                         position:                               absolute;\r
416                         top:                                    8px;\r
417                         width:                                  30px;\r
418                         height:                                 24px;\r
419                         line-height:                    24px;\r
420                 }\r
421                 .finder-sidebar-switch {\r
422                         left:                                   8px;\r
423                 }\r
424                 .finder-style-switch {\r
425                         right:                                  48px;\r
426                 }\r
427                 .finder-action-switch {\r
428                         right:                                  8px;\r
429                 }\r
430                 \r
431         /*  Finder Icon\r
432         --------------------------------------------------------------------------------------*/\r
433         .finder-icon {\r
434                 position:                                       relative;\r
435                 height:                                         74px;\r
436                 border-bottom:                          1px solid #ccc;\r
437                 clear:                                          both;\r
438                 overflow:                                       hidden; /* for webkit */\r
439         }\r
440         .finder-icon:hover {\r
441                 background-color:                       #eee;\r
442                 cursor:                                         pointer;\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                         }