OSDN Git Service

version 0.5.4, update ComboBox.
[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.4\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                 }