Changeset 1512:ef727a109ce6
- Timestamp:
- 08/21/13 10:17:59 (10 years ago)
- Branch:
- default
- Parents:
- 1508:60c4414bcd87 (diff), 1511:b8a3b61d4b84 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r1511 r1512 36 36 } 37 37 38 h1, h2, h3, h4, h5, h6, p {38 h1, h2, h3, .as_h3, h4, h5, h6, p { 39 39 margin-top: 0; 40 40 margin-bottom: 1rem; … … 53 53 color: #d30e60; 54 54 } 55 .page-title img { 56 padding-left: .6rem; 57 vertical-align: middle; 58 } 55 59 #content > h2 { 56 60 padding: 0 1.8rem .6rem; … … 58 62 background: #fff url(bg_h2.png) repeat-x center bottom; 59 63 } 60 h3 {64 h3, .as_h3 { 61 65 color: #575859; 62 66 font-size: 1.4rem; 67 } 68 h4 { 69 font-size: 1.1em; 70 color: #575859; 71 } 72 h5 { 73 font-size: 1em; 74 color: #575859; 75 } 76 #entry-sidebar h5 { 77 font-weight: normal; 78 color: #333; 79 } 80 .entry-status label img { 81 padding-left: .4rem; 82 vertical-align: text-top; 63 83 } 64 84 p, div.p { … … 232 252 } 233 253 .two-cols .col { 234 width: 4 9%;254 width: 47%; 235 255 margin-left: 2%; 236 256 float: left; 237 257 } 238 .two-cols .col:first-child {239 width: 49%;240 margin-left: 0;241 }242 258 .two-cols .col70{ 243 width: 6 9%;259 width: 68%; 244 260 margin-left: 0; 245 261 float: left; 246 262 } 247 . two-cols .col30 {263 .col30 { 248 264 width: 28%; 249 265 margin-left: 2%; 250 266 float: left; 251 267 } 268 .two-cols .col:first-child, 269 .two-cols .col30.first-col { 270 margin-left: 0; 271 margin-right: 2%; 272 } 273 .two-cols .col:last-child, 274 .two-cols .col70.last-col { 275 margin-left: 2%; 276 margin-right: 0; 277 } 252 278 /* -------------------------------------------------------------- layout - onglets */ 253 279 .part-tabs ul { 254 padding: .5em 0 .3em 1 rem;255 border-bottom: 1px solid # ccc;280 padding: .5em 0 .3em 1.2rem; 281 border-bottom: 1px solid #ddd; 256 282 } 257 283 .part-tabs li { … … 261 287 } 262 288 .part-tabs li a { 263 padding: .5em 1em;264 margin-right: .5em;265 border: 1px solid # ccc;289 padding: .5em 2em; 290 margin-right: -1px; 291 border: 1px solid #aaa; 266 292 border-bottom: none; 267 background: #efefef;268 293 text-decoration: none; 269 color: # 000;270 background-color:# ededed;294 color: #333; 295 background-color:#E4E0EC; 271 296 } 272 297 .part-tabs li a:hover, .part-tabs li a:focus { … … 277 302 .part-tabs li.part-tabs-active a { 278 303 background: #fff; 279 border: 1px solid #d30e60;280 color: #d30e60;281 304 font-weight: bold; 282 305 border-bottom-color: #fff; 306 padding-bottom: .7rem; 283 307 } 284 308 /* ------------------------------------------------------------------ main-menu */ … … 287 311 float: left; 288 312 margin:0; 289 padding-top: .5em;313 padding-top: 4.5em; 290 314 padding-bottom: 1em; 291 315 background: #f7f7f7; … … 312 336 background-repeat: no-repeat; 313 337 background-position: 8px .3em; 338 } 339 #main-menu li.active { 340 background-color: #fff; 314 341 } 315 342 #main-menu a { … … 350 377 background: #dfdfdf; 351 378 border-color: #999; 352 color: # 666;379 color: #444; 353 380 border-bottom-right-radius: .6em; 354 381 border-top-right-radius: .6em; … … 372 399 color: #000; 373 400 font-variant: small-caps; 374 } 375 #favorites-menu a { 376 color: #333; 401 padding-top: .6rem; 377 402 } 378 403 /* ------------------------------------------------------------------ footer */ … … 395 420 #login-screen { 396 421 display: block; 397 width: 18em;422 width: 20em; 398 423 margin: 1.5em auto 0; 399 424 font-size: 1.4rem; … … 406 431 margin-left: 0; 407 432 } 408 #login-screen fieldset, #login-screen.fieldset {433 #login-screen .fieldset { 409 434 border: 1px solid #A8DC26; 410 435 padding: 1em 1em 0 1em; 411 436 border-radius: 4px; 412 } 413 #login-screen legend { 414 border: 1px solid #A8DC26; 437 background: #fff; 415 438 } 416 439 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { … … 423 446 #login-screen #issue strong {font-weight: normal;} 424 447 425 426 448 /* ------------------------------------------------------------------ dashboard */ 427 449 #dashboard-main { 428 float: left;429 overflow: hidden;430 padding: 1em 2% 1em 0;431 width: 70%;432 }433 #dashboard-main.fullwidth {434 width: 100%;435 450 padding: 1em 0; 436 float: none;437 451 } 438 452 #icons { … … 444 458 width: 210px; 445 459 text-align: center; 446 margin: 2em 0; 460 margin: 1em 0 2em; 461 padding: 1em 0; 447 462 display:inline-block; 463 vertical-align: top; 448 464 } 449 465 #icons a, … … 457 473 #icons a span { 458 474 border-bottom: 1px dotted #f90; 475 color: #333; 476 } 477 #icons a img { 478 padding: 2em; 479 margin-bottom: .3em; 480 -moz-box-shadow: 0px 1px 0px 0px #ffffff; 481 -webkit-box-shadow: 0px 1px 0px 0px #ffffff; 482 box-shadow: 0px 1px 0px 0px #ffffff; 483 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) ); 484 background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% ); 485 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9'); 486 background-color:#f9f9f9; 487 -moz-border-radius:1em; 488 -webkit-border-radius:1em; 489 border-radius:1em; 490 border:1px solid #dcdcdc; 491 display:inline-block; 492 } 493 #icons a img:hover, #icons a:focus img { 494 background: #BBDB58; 459 495 } 460 496 #icons a:focus span, #icons a:hover span { … … 462 498 } 463 499 #quick { 464 clear: left;465 500 margin-top: 2em; 466 501 } … … 471 506 #quick p.qinfo { 472 507 margin: -.7em -1em 1em; 473 background: # eef url(info.png) no-repeat .2em .2em;508 background: #f3f3ff url(info.png) no-repeat .2em .2em; 474 509 border: 1px solid #99f; 475 510 padding: .2em 1em .1em 24px; … … 477 512 } 478 513 #dashboard-items { 479 float: left; 480 width: 27%; 481 overflow: hidden; 482 padding-bottom: 1em; 483 padding-top: 3em; 514 margin: 3em auto; 515 display: table; 516 width: 100%; 517 border-collapse: collapse; 518 } 519 .db-item { 520 display: table-cell; 521 padding: 1em 3em; 522 vertical-align: top; 523 border: 1px solid #ccc; 484 524 } 485 525 #dashboard-items img { … … 522 562 #entry-content { 523 563 margin-right: 19em; 524 margin-left: 1.2rem; 564 margin-left: 0; 565 } 566 .multi-part { 567 padding-left: 1.2rem; 568 } 569 #entry-content label { 570 text-transform: uppercase; 571 font-weight: bold; 572 margin-top: 2em; 525 573 } 526 574 #entry-sidebar { 527 575 width: 17em; 528 576 float: right; 577 } 578 #entry-sidebar input[type="text"], 579 #entry-sidebar select { 580 width: 14em; /* to prevent inline with label */ 581 } 582 .box { 583 border-bottom: 1px solid #ddd; 584 margin-bottom: 1em; 529 585 } 530 586 #comments { … … 564 620 } 565 621 #media-details { 622 } 623 .near-icon { 566 624 margin-left: 70px; 625 margin-bottom: 3em; 567 626 } 568 627 #media-details ul { … … 699 758 /* -------------------------------------------------------------------- Themes */ 700 759 #themes { 701 border-bottom: 1px solid #ccc; 702 margin: 1em 0; 760 margin: 0; 761 width: 100%; 762 padding: 0; 763 } 764 #themes h3 { 703 765 } 704 766 #themes div.theme-details { 705 clear: left;706 767 border-top: 1px solid #ccc; 707 padding: 1em 0; 768 padding: 12px; 769 display: inline-block; 770 vertical-align: top; 771 width: 284px; 772 } 773 .current-theme { 774 background: #eef; 708 775 } 709 776 #themes div.theme-details:hover { 710 background: # eee;777 background: #f0f0f0; 711 778 } 712 779 #themes div.theme-details div.theme-shot { 713 float: left;714 780 } 715 781 #themes div.theme-details div.theme-shot img { 716 782 display: block; 717 width: 57px;718 height: 50px;719 783 border: 1px solid #ccc; 784 margin-bottom: 1.5em; 720 785 } 721 786 #themes div.theme-details div.theme-info { 722 margin-left: 67px;723 787 } 724 788 #themes div.theme-details div.theme-info span.theme-desc { … … 729 793 } 730 794 #themes div.theme-details div.theme-actions { 731 margin-left: 67px; 732 } 795 } 796 #themes-actions { 797 border-bottom: 1px solid #999; 798 margin-bottom: 3em; 799 } 800 .theme-css { 801 display: block; 802 } 803 733 804 /* Themes list, JS version */ 734 805 #themes-wrapper { 806 display: table; 807 } 808 #themes-wrapper #themes { 809 display: table-cell; 810 vertical-align: top; 811 padding-left: 1em; 735 812 } 736 813 #theme-box { 737 border: 1px solid #999; 738 border-left: none; 739 padding: 5px; 740 float: right; 741 height: 420px; 742 width: 320px; 743 overflow: auto; 744 } 745 #theme-box div.theme-shot img { 746 display: block; 747 margin: 0 0 0 10px; 814 display: table-cell; 815 vertical-align: top; 816 padding: 0; 817 width: 312px; 818 border: 1px solid #ccc; 819 border-radius: 3px; 820 } 821 #theme-box .theme-shot, 822 #theme-box .theme-info, 823 #theme-box .theme-actions { 824 background: #eef; 825 padding: 1em 16px; 826 margin: 0; 827 } 828 #theme-box .theme-shot img { 829 display: block; 748 830 width: 280px; 749 831 height: 245px; 750 832 border: 1px solid #ccc; 751 833 } 752 #theme-box div.theme-info { 753 margin: 1em 0 0 10px; 754 } 755 #theme-box h3 { 756 margin: 0; 757 } 758 #theme-box div.theme-info span { 759 display: block; 834 #theme-box h4 { 835 color: #000; 836 background: #eef; 760 837 } 761 838 #theme-box span.theme-version { … … 769 846 font-weight:bold; 770 847 } 771 #theme-box div.theme-actions { 772 margin-left: 10px; 773 } 774 #themes-wrapper #themes { 775 border: 1px solid #999; 776 overflow: auto; 777 height: 420px; 778 padding: 5px; 779 margin: 0; 780 } 781 #themes div.theme-details-js { 848 #theme-box .theme-actions { 849 border-bottom: 1px solid #ccc; 850 } 851 #themes .theme-details-js { 782 852 float: left; 783 853 width: 120px; 784 854 height: 150px; 785 margin: 0 1 0px 20px;786 padding: 1 0px 10px 0;855 margin: 0 12px 24px; 856 padding: 12px 12px 0; 787 857 text-align: center; 788 858 background: #f3f3f3; 789 border: 1px solid # f3f3f3;859 border: 1px solid #ddd; 790 860 cursor: pointer; 791 861 border-radius: 4px; 792 862 } 793 #themes div.theme-details-js label {863 #themes .theme-details-js label { 794 864 cursor: pointer; 795 865 } 796 #themes div.theme-details-js.theme-selected {797 background: # E5E3DA;866 #themes .theme-details-js.theme-selected { 867 background: #ddd; 798 868 border: 1px solid #999; 799 869 } 800 #themes div.theme-details-js div.theme-shot img {870 #themes .theme-details-js .theme-shot img { 801 871 width: 120px; 802 872 height: 105px; 803 873 border: 1px solid #fff; 804 }805 #themes div.theme-details-js h3 {806 font-family: inherit;807 font-weight: normal;808 margin: 0;809 padding: 0;810 874 } 811 875 /* ---------------------------------------------------------- Plugins list */ … … 938 1002 color: #fff; 939 1003 } 940 #content > .message, #content > .error {941 margin-right: 14em942 }943 1004 /* ------------------------------------------------------------------ navigation */ 944 1005 .anchor-nav { … … 950 1011 .nav_prevnext { 951 1012 margin-bottom: 2em; 952 color: # ccc;1013 color: #fff; 953 1014 } 954 1015 .nav_prevnext a, a.back { 955 border: 1px solid #ccc; 956 padding: .2rem .5rem; 957 background-color: #eef; 1016 border: 1px solid #ddd; 1017 padding: .2rem 2rem; 1018 border-radius: 1rem; 1019 background-color: #f0f0f0; 958 1020 } 959 1021 a.back:before { 960 1022 content: "\ab\a0"; 961 1023 } 962 1024 a.onblog_link { 1025 color: #333; 1026 float: right; 1027 border: 1px solid #eee; 1028 padding: .2rem 2rem; 1029 border-radius: 1rem; 1030 background-color: #ffe; 1031 } 963 1032 /* ------------------------------------------------------------------ debug */ 964 1033 #debug { … … 984 1053 /* -------------------------------------------------------------------- CLASSES COMMUNES */ 985 1054 986 .no-margin { 987 margin: 0; 1055 .no-margin, #entry-content label.no-margin { 1056 margin: 0; 1057 } 1058 .border-top { 1059 border-top: 1px solid #999; 1060 padding-top: 1em; 1061 margin-top: 1em; 1062 } 1063 .fieldset { 1064 background: #fff; 1065 border: 1px solid #aaa; 1066 border-radius: 6px; 1067 padding: 1em .7em .5em; 1068 margin-bottom: 1em; 1069 } 1070 .fieldset h3 { 1071 color: #333; 988 1072 } 989 1073 … … 1092 1176 } 1093 1177 1094 t h, td {1178 td { 1095 1179 border-width: 0 0 1px 0; 1096 1180 border-style: solid; 1097 1181 border-color: #e3e3e3; 1098 padding: . 4rem .5rem;1182 padding: .3em .5em; 1099 1183 vertical-align: top; 1100 1184 } 1101 1185 th { 1186 border-width: 1px 0 1px 0; 1187 border-style: solid; 1188 border-color: #ccc; 1189 background: #f3f3ff; 1190 padding: .3em .5em; 1191 vertical-align: top; 1102 1192 text-align: left; 1103 border-bottom-color: #aaa; 1193 } 1194 th.first img { 1195 padding-right: 24px; 1104 1196 } 1105 1197 .noborder td, td.noborder, .noborder th, th.noborder { 1106 border-width: 0; 1198 border-width: 0 0 1px 0; 1199 border-color: #ddd; 1200 line-height: 2.4rem; 1201 padding-bottom: 0; 1202 } 1203 .noborder p { 1204 margin-bottom: 0; 1107 1205 } 1108 1206 table .maximal, table.maximal { … … 1122 1220 } 1123 1221 table.settings th, table.prefs th { 1124 background: # eef;1222 background: #f3f3ff; 1125 1223 } 1126 1224 table.settings th:first-child, table.prefs th:first-child { … … 1145 1243 border: none; 1146 1244 } 1147 1148 tr.line img.expand { 1149 margin-right: 10px; 1245 tr.line img.expand, th img.expand { 1246 margin-right: 6px; 1150 1247 margin-bottom: -2px; 1151 1248 } … … 1180 1277 padding: 0; 1181 1278 } 1182 fieldset , .fieldset{1279 fieldset { 1183 1280 display: block; 1184 1281 margin: 0 0 1em 0; … … 1194 1291 border-width: 1px; 1195 1292 border-style: solid; 1196 border-color: # ccc;1197 background: #f 5f5f5;1293 border-color: #333; 1294 background: #fff; 1198 1295 margin-bottom: 0.5em; 1296 border-radius: 3px; 1199 1297 } 1200 1298 optgroup { … … 1248 1346 font-style:italic; 1249 1347 font-weight: normal; 1348 text-transform: none; 1250 1349 color: #666; 1251 1350 } … … 1259 1358 } 1260 1359 p.form-note.info { 1261 background: #eef url(info.png) no-repeat .3em .2em; 1262 border: 1px solid #99f; 1263 } 1264 .form-note a {border-bottom: 1px solid #99f;} 1265 1360 background: #f5eaff url(info.png) no-repeat .3em .3em; 1361 border: 1px solid #ddbaff; 1362 } 1363 .form-note a {border-bottom: 1px solid #ddbaff;} 1364 1365 label.ib { 1366 display: inline-block; 1367 } 1266 1368 label.classic { 1267 1369 display: inline; … … 1312 1414 a.form-control { 1313 1415 display: none; 1314 font-weight: bold; 1315 background: url(magnifier.png) no-repeat 0 0; 1316 color: green; 1416 background: url(../images/expand.png) no-repeat .4rem center; 1317 1417 padding-left: 20px; 1418 color: #000; 1318 1419 } 1319 1420 .constrained { … … 1332 1433 a.submit { 1333 1434 display: inline-block; 1334 outline: none;1335 1435 cursor: pointer; 1336 1436 text-align: center; 1337 1437 text-decoration: none; 1338 1438 padding: .1em .5em; 1339 text-shadow: 0 1px 1px rgba(0,0,0,.3);1340 1439 border-radius: .2em; 1341 1440 margin-bottom: .1em; 1342 } 1441 font-size: 1.2rem; 1442 } 1443 h4 a.button {font-weight: normal;} 1444 1343 1445 /* validation */ 1344 1446 input[type=submit], … … 1346 1448 a.submit { 1347 1449 color: #fff; 1348 border: 1px solid #2373A8; 1349 background: #2373A8; 1350 background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8)); 1351 background: -moz-linear-gradient(top, #2C8FD1, #2373A8); 1450 text-shadow: 0 -1px 1px #1A87B9; 1451 background:#25A6E1; 1452 background:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%); 1453 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#25A6E1),color-stop(100%,#188BC0)); 1454 background:linear-gradient(top,#25A6E1 0%,#188BC0 100%); 1455 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#188BC0',GradientType=0); 1456 border:1px solid #2C8FD1; 1457 1352 1458 } 1353 1459 input[type=submit]:hover, … … 1357 1463 input[type=button]:focus, 1358 1464 a.submit:focus { 1359 background: #2373A8;1360 background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));1361 background: -moz-linear-gradient(top, #2373A8, #2C8FD1);1362 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1');1363 border: 1px solid #2C8FD1;1465 background:#188BC0; 1466 background:-moz-linear-gradient(top,#188BC0 0%,#25A6E1 100%); 1467 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#188BC0),color-stop(100%,#25A6E1)); 1468 background:linear-gradient(top,#188BC0 0%,#25A6E1 100%); 1469 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#25A6E1',GradientType=0); 1364 1470 } 1365 1471 /* suppression et reset */ … … 1372 1478 background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf)); 1373 1479 background: -moz-linear-gradient(top, #f5f5f5, #dfdfdf); 1374 text-shadow: none;1480 text-shadow:1px 1px 0px #fff; 1375 1481 } 1376 1482 a.button:hover, … … 1382 1488 input[type=submit].reset:focus, 1383 1489 input[type=submit].delete:focus { 1384 background: #dfdfdf;1385 background: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#f5f5f5));1386 background: -moz-linear-gradient(top, #dfdfdf, #f5f5f5);1387 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5');1490 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) ); 1491 background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% ); 1492 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9'); 1493 background-color:#e9e9e9; 1388 1494 } 1389 1495 a.delete, … … 1391 1497 input[type=submit].delete { 1392 1498 color: #c00; 1393 padding-bottom: . 1em;1499 padding-bottom: .2rem; 1394 1500 } 1395 1501 #entry-content .delete { … … 1419 1525 border:1px solid #83c41a; 1420 1526 padding:.6rem 1.8rem; 1421 text-shadow:1px 1px 0 #689324;1422 1527 color: #000; 1423 1528 text-shadow: 1px 1px 0 #BBDB58; … … 1425 1530 font-size: 1.4rem; 1426 1531 } 1427 .button.add:hover, .button.add: focus {1532 .button.add:hover, .button.add:active, .button.add:focus { 1428 1533 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) ); 1429 1534 background:-moz-linear-gradient( center top, #8cb82b 5%, #9dce2c 100% ); … … 1434 1539 .button-add:focus { 1435 1540 outline: dotted 1px; 1436 }1437 .button.add:active {1438 position:relative;1439 top:1px;1440 1541 } 1441 1542 … … 1473 1574 } 1474 1575 1576 /* ------------------------------------------------------- Filters */ 1577 #filters-form { 1578 border: 1px dashed #999; 1579 border-radius: .6rem; 1580 margin-bottom: 2em; 1581 padding: .5em 1em 0; 1582 } 1583 #filters-form .table { 1584 display: table; 1585 width: 100%; 1586 padding: 0; 1587 margin-bottom: 1em; 1588 margin-top: 1.5em; 1589 } 1590 #filters-form .cell { 1591 padding: 0 2em 0 0; 1592 display: table-cell; 1593 vertical-align: top; 1594 } 1595 #filters-form .filters-options { 1596 padding-left: 2em; 1597 border-left: 1px solid #ccc; 1598 } 1599 #filters-form label.ib, span.ib { 1600 width:7em; 1601 display: inline-block; 1602 } 1603 #filters-form label.ibw, span.ibw { 1604 width: 9em; 1605 display: inline-block; 1606 } 1607 #filters-form select { 1608 width: 14em; 1609 } 1610 1611 /* ---------------------------------------------------- Pagination */ 1612 .pagination { 1613 height: 22px; 1614 margin-top: 1em; 1615 line-height: 22px; 1616 padding: 0 1rem; 1617 border: 1px solid #ddd; 1618 overflow: hidden; 1619 background: #e1e1e1; 1620 background: -moz-linear-gradient(center top , #f2f2f2, #e1e1e1); 1621 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e1e1e1)); 1622 -moz-border-radius: 4px; 1623 -webkit-border-radius: 4px; 1624 border-radius: 4px; 1625 clear: left; 1626 } 1627 .pagination a, .pagination strong { 1628 height: 20px; 1629 border: none; 1630 padding: 2px 6px; 1631 background-color : transparent; 1632 background-position : 50% 50%; 1633 background-repeat: no-repeat; 1634 } 1635 .pagination a:hover, .pagination strong { 1636 border-color : #ccc; 1637 background-color: #fff; 1638 } 1639 1640 /* --------------------------------------------------------------- password indcator */ 1641 .pw-table { 1642 display: table; 1643 margin-bottom: 1em; 1644 } 1645 .pw-cell { 1646 display: table-cell; 1647 margin-bottom: 1em; 1648 } 1649 #pwindicator { 1650 display: table-cell; 1651 vertical-align: bottom; 1652 padding-left: 1.5em; 1653 height: 3.8em; 1654 } 1655 #pwindicator .bar { 1656 height: 6px; 1657 margin-bottom: 4px; 1658 } 1659 .pw-very-weak .bar { 1660 background: #900; 1661 width: 30px; 1662 } 1663 .pw-weak .bar { 1664 background: #c00; 1665 width: 60px; 1666 } 1667 .pw-mediocre .bar { 1668 background: #f60; 1669 width: 90px; 1670 } 1671 .pw-strong .bar { 1672 background: #060; 1673 width: 120px; 1674 } 1675 .pw-very-strong .bar { 1676 background: #0c0; 1677 width: 150px; 1678 } 1679 1475 1680 /* --------------------------------------------------------------------------- 1476 1681 Media queries vite fait en attendant la reprise complète du layout 1477 1682 ---------------------------------------------------------------------------- */ 1478 1683 @media screen and (max-width: 920px) { 1479 #top, #top h1 a {width: 42px !important; height:100%; overflow: hidden;} 1684 #top, #top h1 a {width: 42px !important; height:100%; overflow: hidden; 1685 } 1480 1686 #top h1 a:link { 1481 1687 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px; … … 1495 1701 line-height: 3.2rem; 1496 1702 } 1703 #info-box1 {margin-left: 1rem;} 1497 1704 #info-box1 select {width: 14rem;} 1498 1705 #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { … … 1513 1720 .smallscreen {display: none;} 1514 1721 #help-button {width:20px; overflow: hidden;} 1515 #info-box1 {margin-left: 1rem;} 1722 #info-box2 {float:none;} 1723 #dashboard-items div {display: block;margin-bottom: 1em; padding: 0 1em;} 1724 #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px} 1516 1725 } 1517 1726 @media screen and (max-width: 492px) { … … 1520 1729 .page-title, #info-boxes, .media-item {display: inline-block;} 1521 1730 div.media-list .media-item {width: 90%; float: none} 1731 #info-box1 select {width: 12rem; margin-right: .6rem;} 1522 1732 #info-box1 p.nomobile, label.nomobile {display: none;} 1523 #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px} 1524 } 1733 } -
plugins/antispam/filters/class.dc.filter.ip.php
r1454 r1512 17 17 public $has_gui = true; 18 18 19 private $style_list = 'height: 200px; overflow: auto; margin-bottom: 1em; ';20 private $style_p = 'margin: 1px 0 0 0; padding: 0.2em 0.5em; ';21 private $style_global = 'background: #ccff99; ';22 23 19 private $con; 24 20 private $table; … … 151 147 '<form action="'.html::escapeURL($url).'" method="post">'. 152 148 '<h3>' . __('IP list') . '</h3>'. 153 '<div style="'.$this->style_list.'">';149 '<div class="antispam">'; 154 150 155 151 $res_global = ''; … … 163 159 164 160 $disabled_ip = false; 165 $p_style = $this->style_p;161 $p_style = ''; 166 162 if (!$rs->blog_id) { 167 163 $disabled_ip = !$core->auth->isSuperAdmin(); 168 $p_style .= $this->style_global;164 $p_style .= ' global'; 169 165 } 170 166 171 167 $item = 172 '<p style="'.$p_style.'"><label class="classic" for="'.$type.'-ip-'.$rs->rule_id.'">'.168 '<p class="'.$p_style.'"><label class="classic" for="'.$type.'-ip-'.$rs->rule_id.'">'. 173 169 form::checkbox(array('delip[]',$type.'-ip-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_ip).' '. 174 170 html::escapeHTML($pattern). -
plugins/antispam/filters/class.dc.filter.ip.php
r1510 r1512 120 120 121 121 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 122 123 '<p>'. 122 124 form::hidden(array('ip_type'),$type). 123 '<label class="classic" for="addip_'.$type.'">'.__('Add an IP address: ').' '. 124 form::field(array('addip', 'addip_'.$type),18,255). 125 '</label>'; 126 if ($core->auth->isSuperAdmin()) { 127 $res .= '<label class="classic" for="globalip_'.$type.'">'.form::checkbox(array('globalip', 'globalip_'.$type),1).' '. 128 __('Global IP (used for all blogs)').'</label> '; 129 } 125 '<label class="classic" for="addip_'.$type.'">'.__('Add an IP address: ').'</label> '. 126 form::field(array('addip', 'addip_'.$type),18,255); 127 if ($core->auth->isSuperAdmin()) { 128 $res .= '<label class="classic" for="globalip_'.$type.'">'.form::checkbox(array('globalip', 'globalip_'.$type),1).' '. 129 __('Global IP (used for all blogs)').'</label> '; 130 } 130 131 131 132 $res .= -
plugins/antispam/filters/class.dc.filter.words.php
r1454 r1512 17 17 public $name = 'Bad Words'; 18 18 19 private $style_list = 'height: 200px; overflow: auto; margin-bottom: 1em; ';20 private $style_p = 'margin: 1px 0 0 0; padding: 0.2em 0.5em; ';21 private $style_global = 'background: #ccff99; ';22 23 19 private $con; 24 20 private $table; … … 143 139 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 144 140 '<h3>' . __('List of bad words') . '</h3>'. 145 '<div style="'.$this->style_list.'">';141 '<div class="antispam">'; 146 142 147 143 $res_global = ''; … … 150 146 { 151 147 $disabled_word = false; 152 $p_style = $this->style_p; 148 149 $p_style = ''; 150 153 151 if (!$rs->blog_id) { 154 152 $disabled_word = !$core->auth->isSuperAdmin(); 155 $p_style .= $this->style_global;153 $p_style .= ' global'; 156 154 } 157 155 158 $item = '<p style="'.$p_style.'"><label class="classic" for="word-'.$rs->rule_id.'">'.156 $item = '<p class="'.$p_style.'"><label class="classic" for="word-'.$rs->rule_id.'">'. 159 157 form::checkbox(array('swd[]', 'word-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_word).' '. 160 158 html::escapeHTML($rs->rule_content). -
plugins/antispam/filters/class.dc.filter.words.php
r1510 r1512 116 116 $res .= 117 117 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 118 '<p><label class="classic" for="swa">'.__('Add a word ').' '.form::field('swa',20,128).'</label>';118 '<p><label class="classic" for="swa">'.__('Add a word ').'</label> '.form::field('swa',20,128); 119 119 120 120 if ($core->auth->isSuperAdmin()) { 121 $res .= '<label class="classic" for="globalsw">'.form::checkbox('globalsw',1).' '.122 __('Global word (used for all blogs)') .'</label> ';121 $res .= '<label class="classic" for="globalsw">'.form::checkbox('globalsw',1).'</label> '. 122 __('Global word (used for all blogs)'); 123 123 } 124 124
Note: See TracChangeset
for help on using the changeset viewer.