統計
| ブランチ: | リビジョン:

pictcode / app / webroot / css / cake.generic.css @ d510f2df

履歴 | 表示 | アノテート | ダウンロード (15.122 KB)

1
@charset "utf-8";
2
/**
3
 * Generic CSS for CakePHP
4
 *
5
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
6
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
7
 *
8
 * Licensed under The MIT License
9
 * For full copyright and license information, please see the LICENSE.txt
10
 * Redistributions of files must retain the above copyright notice.
11
 *
12
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
13
 * @link          http://cakephp.org CakePHP(tm) Project
14
 * @package       app.webroot.css
15
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
16
 */
17

    
18
* {
19
        margin:0;
20
        padding:0;
21
        display: inline-block;
22
}
23

    
24
/** General Style Info **/
25
body {
26
        background: #003d4c;
27
        color: #fff;
28
        font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
29
        font-size:90%;
30
        margin: 0;
31
}
32
a {
33
        color: #003d4c;
34
        text-decoration: underline;
35
        font-weight: bold;
36
}
37
a:hover {
38
        color: #367889;
39
        text-decoration:none;
40
}
41
a img {
42
        border:none;
43
}
44
h1, h2, h3, h4 {
45
        font-weight: normal;
46
        margin-bottom:0.5em;
47
}
48
h1 {
49
        background:#fff;
50
        color: #003d4c;
51
        font-size: 100%;
52
}
53
h2 {
54
        background:#fff;
55
        color: #e32;
56
        font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
57
        font-size: 190%;
58
}
59
h3 {
60
        color: #2c6877;
61
        font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
62
        font-size: 165%;
63
}
64
h4 {
65
        color: #993;
66
        font-weight: normal;
67
}
68
ul, li {
69
        margin: 0 12px;
70
}
71
p {
72
        margin: 0 0 1em 0;
73
}
74

    
75
/** Layout **/
76
#container {
77
        text-align: left;
78
}
79

    
80
#header{
81
        padding: 10px 20px;
82
}
83
#header h1 {
84
        line-height:20px;
85
        background: #003d4c url('../img/cake.icon.png') no-repeat left;
86
        color: #fff;
87
        padding: 0 30px;
88
}
89
#header h1 a {
90
        color: #fff;
91
        background: #003d4c;
92
        font-weight: normal;
93
        text-decoration: none;
94
}
95
#header h1 a:hover {
96
        color: #fff;
97
        background: #003d4c;
98
        text-decoration: underline;
99
}
100
#content{
101
        background: #fff;
102
        clear: both;
103
        color: #333;
104
        padding: 10px 20px 40px 20px;
105
        overflow: auto;
106
}
107
#footer {
108
        clear: both;
109
        padding: 6px 10px;
110
}
111
#header a, #footer a {
112
        color: #fff;
113
}
114
#cake-powered {
115
        float: right;
116
}
117

    
118
/** containers **/
119
div.form,
120
div.index,
121
div.view {
122
        float:right;
123
        width:76%;
124
        border-left:1px solid #666;
125
        padding:10px 2%;
126
}
127
div.actions {
128
        float:left;
129
        width:16%;
130
        padding:10px 1.5%;
131
}
132
div.actions h3 {
133
        padding-top:0;
134
        color:#777;
135
}
136

    
137

    
138
/** Tables **/
139
table {
140
        border-right:0;
141
        clear: both;
142
        color: #333;
143
        margin-bottom: 10px;
144
        width: 100%;
145
}
146
th {
147
        border:0;
148
        border-bottom:2px solid #555;
149
        text-align: left;
150
        padding:4px;
151
}
152
th a {
153
        display: block;
154
        padding: 2px 4px;
155
        text-decoration: none;
156
}
157
th a.asc:after {
158
        content: '';
159
}
160
th a.desc:after {
161
        content: '';
162
}
163
table tr td {
164
        padding: 6px;
165
        text-align: left;
166
        vertical-align: top;
167
        border-bottom:1px solid #ddd;
168
}
169
table tr:nth-child(even) {
170
        background: #f9f9f9;
171
}
172
td.actions {
173
        text-align: center;
174
        white-space: nowrap;
175
}
176
table td.actions a {
177
        margin: 0 6px;
178
        padding:2px 5px;
179
}
180

    
181
/* SQL log */
182
.cake-sql-log {
183
        background: #fff;
184
}
185
.cake-sql-log td {
186
        padding: 4px 8px;
187
        text-align: left;
188
        font-family: Monaco, Consolas, "Courier New", monospaced;
189
}
190
.cake-sql-log caption {
191
        color:#fff;
192
}
193

    
194
/** Paging **/
195
.paging {
196
        background:#fff;
197
        color: #ccc;
198
        margin-top: 1em;
199
        clear:both;
200
}
201
.paging .current,
202
.paging .disabled,
203
.paging a {
204
        text-decoration: none;
205
        padding: 5px 8px;
206
        display: inline-block
207
}
208
.paging > span {
209
        display: inline-block;
210
        border: 1px solid #ccc;
211
        border-left: 0;
212
}
213
.paging > span:hover {
214
        background: #efefef;
215
}
216
.paging .prev {
217
        border-left: 1px solid #ccc;
218
        -moz-border-radius: 4px 0 0 4px;
219
        -webkit-border-radius: 4px 0 0 4px;
220
        border-radius: 4px 0 0 4px;
221
}
222
.paging .next {
223
        -moz-border-radius: 0 4px 4px 0;
224
        -webkit-border-radius: 0 4px 4px 0;
225
        border-radius: 0 4px 4px 0;
226
}
227
.paging .disabled {
228
        color: #ddd;
229
}
230
.paging .disabled:hover {
231
        background: transparent;
232
}
233
.paging .current {
234
        background: #efefef;
235
        color: #c73e14;
236
}
237

    
238
/** Scaffold View **/
239
dl {
240
        line-height: 2em;
241
        margin: 0em 0em;
242
        width: 60%;
243
}
244
dl dd:nth-child(4n+2),
245
dl dt:nth-child(4n+1) {
246
        background: #f4f4f4;
247
}
248

    
249
dt {
250
        font-weight: bold;
251
        padding-left: 4px;
252
        vertical-align: top;
253
        width: 10em;
254
}
255
dd {
256
        margin-left: 10em;
257
        margin-top: -2em;
258
        vertical-align: top;
259
}
260

    
261
/** Forms **/
262
form {
263
        clear: both;
264
        margin-right: 20px;
265
        padding: 0;
266
        width: 95%;
267
}
268
fieldset {
269
        border: none;
270
        margin-bottom: 1em;
271
        padding: 16px 10px;
272
}
273
fieldset legend {
274
        color: #e32;
275
        font-size: 160%;
276
        font-weight: bold;
277
}
278
fieldset fieldset {
279
        margin-top: 0;
280
        padding: 10px 0 0;
281
}
282
fieldset fieldset legend {
283
        font-size: 120%;
284
        font-weight: normal;
285
}
286
fieldset fieldset div {
287
        clear: left;
288
        margin: 0 20px;
289
}
290
form div {
291
        clear: both;
292
        margin-bottom: 1em;
293
        padding: .5em;
294
        vertical-align: text-top;
295
}
296
form .input {
297
        color: #444;
298
}
299
form .required {
300
        font-weight: bold;
301
}
302
form .required label:after {
303
        color: #e32;
304
        content: '*';
305
        display:inline;
306
}
307
form div.submit {
308
        border: 0;
309
        clear: both;
310
        margin-top: 10px;
311
}
312
label {
313
        display: block;
314
        font-size: 110%;
315
        margin-bottom:3px;
316
}
317
input, textarea {
318
        clear: both;
319
        font-size: 140%;
320
        font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
321
        padding: 1%;
322
        width:98%;
323
}
324
select {
325
        clear: both;
326
        font-size: 120%;
327
        vertical-align: text-bottom;
328
}
329
select[multiple=multiple] {
330
        width: 100%;
331
}
332
option {
333
        font-size: 120%;
334
        padding: 0 3px;
335
}
336
input[type=checkbox] {
337
        clear: left;
338
        float: left;
339
        margin: 0 6px 7px 2px;
340
        width: auto;
341
}
342
div.checkbox label {
343
        display: inline;
344
}
345
input[type=radio] {
346
        float:left;
347
        width:auto;
348
        margin: 6px 0;
349
        padding: 0;
350
        line-height: 26px;
351
}
352
.radio label {
353
        margin: 0 0 6px 20px;
354
        line-height: 26px;
355
}
356
input[type=submit] {
357
        display: inline;
358
        font-size: 110%;
359
        width: auto;
360
}
361
form .submit input[type=submit] {
362
        background:#62af56;
363
        background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
364
        background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
365
        background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
366
        border-color: #2d6324;
367
        color: #fff;
368
        text-shadow: rgba(0, 0, 0, 0.5) 0 -1px 0;
369
        padding: 8px 10px;
370
}
371
form .submit input[type=submit]:hover {
372
        background: #5BA150;
373
}
374
/* Form errors */
375
form .error {
376
        background: #FFDACC;
377
        -moz-border-radius: 4px;
378
        -webkit-border-radius: 4px;
379
        border-radius: 4px;
380
        font-weight: normal;
381
}
382
form .error-message {
383
        -moz-border-radius: none;
384
        -webkit-border-radius: none;
385
        border-radius: none;
386
        border: none;
387
        background: none;
388
        margin: 0;
389
        padding-left: 4px;
390
        padding-right: 0;
391
}
392
form .error,
393
form .error-message {
394
        color: #9E2424;
395
        -webkit-box-shadow: none;
396
        -moz-box-shadow: none;
397
        -ms-box-shadow: none;
398
        -o-box-shadow: none;
399
        box-shadow: none;
400
        text-shadow: none;
401
}
402

    
403
/** Notices and Errors **/
404
.message {
405
        clear: both;
406
        color: #fff;
407
        font-size: 140%;
408
        font-weight: bold;
409
        margin: 0 0 1em 0;
410
        padding: 5px;
411
}
412

    
413
.success,
414
.message,
415
.cake-error,
416
.cake-debug,
417
.notice,
418
p.error,
419
.error-message {
420
        background: #ffcc00;
421
        background-repeat: repeat-x;
422
        background-image: -moz-linear-gradient(top, #ffcc00, #E6B800);
423
        background-image: -ms-linear-gradient(top, #ffcc00, #E6B800);
424
        background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800));
425
        background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800);
426
        background-image: -o-linear-gradient(top, #ffcc00, #E6B800);
427
        background-image: linear-gradient(top, #ffcc00, #E6B800);
428
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
429
        border: 1px solid rgba(0, 0, 0, 0.2);
430
        margin-bottom: 18px;
431
        padding: 7px 14px;
432
        color: #404040;
433
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
434
        -webkit-border-radius: 4px;
435
        -moz-border-radius: 4px;
436
        border-radius: 4px;
437
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
438
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
439
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
440
}
441
.success,
442
.message,
443
.cake-error,
444
p.error,
445
.error-message {
446
        clear: both;
447
        color: #fff;
448
        background: #c43c35;
449
        border: 1px solid rgba(0, 0, 0, 0.5);
450
        background-repeat: repeat-x;
451
        background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
452
        background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
453
        background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
454
        background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
455
        background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
456
        background-image: linear-gradient(top, #ee5f5b, #c43c35);
457
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
458
}
459
.success {
460
        clear: both;
461
        color: #fff;
462
        border: 1px solid rgba(0, 0, 0, 0.5);
463
        background: #3B8230;
464
        background-repeat: repeat-x;
465
        background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
466
        background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
467
        background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
468
        background-image: -ms-linear-gradient(top, #76BF6B, #3B8230);
469
        background-image: -o-linear-gradient(top, #76BF6B, #3B8230);
470
        background-image: linear-gradient(top, #76BF6B, #3B8230);
471
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
472
}
473
p.error {
474
        font-family: Monaco, Consolas, Courier, monospace;
475
        font-size: 120%;
476
        padding: 0.8em;
477
        margin: 1em 0;
478
}
479
p.error em {
480
        font-weight: normal;
481
        line-height: 140%;
482
}
483
.notice {
484
        color: #000;
485
        display: block;
486
        font-size: 120%;
487
        padding: 0.8em;
488
        margin: 1em 0;
489
}
490
.success {
491
        color: #fff;
492
}
493

    
494
/**  Actions  **/
495
.actions ul {
496
        margin: 0;
497
        padding: 0;
498
}
499
.actions li {
500
        margin:0 0 0.5em 0;
501
        list-style-type: none;
502
        white-space: nowrap;
503
        padding: 0;
504
}
505
.actions ul li a {
506
        font-weight: normal;
507
        display: block;
508
        clear: both;
509
}
510

    
511
/* Buttons and button links */
512
input[type=submit],
513
.actions ul li a,
514
.actions a {
515
        font-weight:normal;
516
        padding: 4px 8px;
517
        background: #dcdcdc;
518
        background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
519
        background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
520
        background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
521
        background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
522
        background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
523
        background-image: linear-gradient(top, #fefefe, #dcdcdc);
524
        color:#333;
525
        border:1px solid #bbb;
526
        -webkit-border-radius: 4px;
527
        -moz-border-radius: 4px;
528
        border-radius: 4px;
529
        text-decoration: none;
530
        text-shadow: #fff 0 1px 0;
531
        min-width: 0;
532
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
533
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
534
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.2);
535
        -webkit-user-select: none;
536
        user-select: none;
537
}
538
.actions ul li a:hover,
539
.actions a:hover {
540
        background: #ededed;
541
        border-color: #acacac;
542
        text-decoration: none;
543
}
544
input[type=submit]:active,
545
.actions ul li a:active,
546
.actions a:active {
547
        background: #eee;
548
        background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee));
549
        background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
550
        background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
551
        background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
552
        background-image: -o-linear-gradient(top, #dfdfdf, #eee);
553
        background-image: linear-gradient(top, #dfdfdf, #eee);
554
        text-shadow: #eee 0 1px 0;
555
        -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
556
        -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
557
        box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
558
        border-color: #aaa;
559
        text-decoration: none;
560
}
561

    
562
/** Related **/
563
.related {
564
        clear: both;
565
        display: block;
566
}
567

    
568
/** Debugging **/
569
pre {
570
        color: #000;
571
        background: #f0f0f0;
572
        padding: 15px;
573
        -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
574
        -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
575
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
576
}
577
.cake-debug-output {
578
        padding: 0;
579
        position: relative;
580
}
581
.cake-debug-output > span {
582
        position: absolute;
583
        top: 5px;
584
        right: 5px;
585
        background: rgba(255, 255, 255, 0.3);
586
        -moz-border-radius: 4px;
587
        -webkit-border-radius: 4px;
588
        border-radius: 4px;
589
        padding: 5px 6px;
590
        color: #000;
591
        display: block;
592
        float: left;
593
        -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
594
        -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
595
        box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5);
596
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
597
}
598
.cake-debug,
599
.cake-error {
600
        font-size: 16px;
601
        line-height: 20px;
602
        clear: both;
603
}
604
.cake-error > a {
605
        text-shadow: none;
606
}
607
.cake-error {
608
        white-space: normal;
609
}
610
.cake-stack-trace {
611
        background: rgba(255, 255, 255, 0.7);
612
        color: #333;
613
        margin: 10px 0 5px 0;
614
        padding: 10px 10px 0 10px;
615
        font-size: 120%;
616
        line-height: 140%;
617
        overflow: auto;
618
        position: relative;
619
        -moz-border-radius: 4px;
620
        -webkit-border-radius: 4px;
621
        border-radius: 4px;
622
}
623
.cake-stack-trace a {
624
        text-shadow: none;
625
        background: rgba(255, 255, 255, 0.7);
626
        padding: 5px;
627
        -moz-border-radius: 10px;
628
        -webkit-border-radius: 10px;
629
        border-radius: 10px;
630
        margin: 0 4px 10px 2px;
631
        font-family: sans-serif;
632
        font-size: 14px;
633
        line-height: 14px;
634
        display: inline-block;
635
        text-decoration: none;
636
        -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
637
        -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
638
        box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.3);
639
}
640
.cake-code-dump pre {
641
        position: relative;
642
        overflow: auto;
643
}
644
.cake-context {
645
        margin-bottom: 10px;
646
}
647
.cake-stack-trace pre {
648
        color: #000;
649
        background-color: #F0F0F0;
650
        margin: 0 0 10px 0;
651
        padding: 1em;
652
        overflow: auto;
653
        text-shadow: none;
654
}
655
.cake-stack-trace li {
656
        padding: 10px 5px 0;
657
        margin: 0 0 4px 0;
658
        font-family: monospace;
659
        border: 1px solid #bbb;
660
        -moz-border-radius: 4px;
661
        -wekbkit-border-radius: 4px;
662
        border-radius: 4px;
663
        background: #dcdcdc;
664
        background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc));
665
        background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc);
666
        background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc);
667
        background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc);
668
        background-image: -o-linear-gradient(top, #fefefe, #dcdcdc);
669
        background-image: linear-gradient(top, #fefefe, #dcdcdc);
670
}
671
/* excerpt */
672
.cake-code-dump pre,
673
.cake-code-dump pre code {
674
        clear: both;
675
        font-size: 12px;
676
        line-height: 15px;
677
        margin: 4px 2px;
678
        padding: 4px;
679
        overflow: auto;
680
}
681
.cake-code-dump .code-highlight {
682
        display: block;
683
        background-color: rgba(255, 255, 0, 0.5);
684
}
685
.code-coverage-results div.code-line {
686
        padding-left:5px;
687
        display:block;
688
        margin-left:10px;
689
}
690
.code-coverage-results div.uncovered span.content {
691
        background:#ecc;
692
}
693
.code-coverage-results div.covered span.content {
694
        background:#cec;
695
}
696
.code-coverage-results div.ignored span.content {
697
        color:#aaa;
698
}
699
.code-coverage-results span.line-num {
700
        color:#666;
701
        display:block;
702
        float:left;
703
        width:20px;
704
        text-align:right;
705
        margin-right:5px;
706
}
707
.code-coverage-results span.line-num strong {
708
        color:#666;
709
}
710
.code-coverage-results div.start {
711
        border:1px solid #aaa;
712
        border-width:1px 1px 0 1px;
713
        margin-top:30px;
714
        padding-top:5px;
715
}
716
.code-coverage-results div.end {
717
        border:1px solid #aaa;
718
        border-width:0px 1px 1px 1px;
719
        margin-bottom:30px;
720
        padding-bottom:5px;
721
}
722
.code-coverage-results div.realstart {
723
        margin-top:0px;
724
}
725
.code-coverage-results p.note {
726
        color:#bbb;
727
        padding:5px;
728
        margin:5px 0 10px;
729
        font-size:10px;
730
}
731
.code-coverage-results span.result-bad {
732
        color: #a00;
733
}
734
.code-coverage-results span.result-ok {
735
        color: #fa0;
736
}
737
.code-coverage-results span.result-good {
738
        color: #0a0;
739
}
740

    
741
/** Elements **/
742
#url-rewriting-warning {
743
        display:none;
744
}