Dotclear

Changeset 1512:ef727a109ce6


Ignore:
Timestamp:
08/21/13 10:17:59 (11 years ago)
Author:
Franck Paul <carnet.franck.paul@…>
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.
Message:

Merged in pascalchevrel/dotclear/ticket1515 (pull request #46) - Fixes 1515: move hardcoded css from antispam filters to css file

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1511 r1512  
    3636} 
    3737 
    38 h1, h2, h3, h4, h5, h6, p { 
     38h1, h2, h3, .as_h3, h4, h5, h6, p { 
    3939     margin-top: 0; 
    4040     margin-bottom: 1rem; 
     
    5353     color: #d30e60; 
    5454} 
     55.page-title img { 
     56     padding-left: .6rem; 
     57     vertical-align: middle; 
     58} 
    5559#content > h2 { 
    5660     padding: 0 1.8rem .6rem; 
     
    5862     background: #fff url(bg_h2.png) repeat-x center bottom; 
    5963} 
    60 h3 { 
     64h3, .as_h3 { 
    6165     color: #575859; 
    6266     font-size: 1.4rem; 
     67} 
     68h4 { 
     69     font-size: 1.1em; 
     70     color: #575859; 
     71} 
     72h5 { 
     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; 
    6383} 
    6484p, div.p { 
     
    232252} 
    233253.two-cols .col { 
    234      width: 49%; 
     254     width: 47%; 
    235255     margin-left: 2%; 
    236256     float: left; 
    237257} 
    238 .two-cols .col:first-child { 
    239      width: 49%; 
    240      margin-left: 0; 
    241 } 
    242258.two-cols .col70{ 
    243      width: 69%; 
     259     width: 68%; 
    244260     margin-left: 0; 
    245261     float: left; 
    246262} 
    247 .two-cols .col30 { 
     263.col30 { 
    248264     width: 28%; 
    249265     margin-left: 2%; 
    250266     float: left; 
    251267} 
     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} 
    252278/* -------------------------------------------------------------- layout - onglets */ 
    253279.part-tabs ul { 
    254      padding: .5em 0 .3em 1rem; 
    255      border-bottom: 1px solid #ccc; 
     280     padding: .5em 0 .3em 1.2rem; 
     281     border-bottom: 1px solid #ddd; 
    256282} 
    257283.part-tabs li { 
     
    261287} 
    262288.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; 
    266292     border-bottom: none; 
    267      background: #efefef; 
    268293     text-decoration: none; 
    269      color: #000; 
    270      background-color:#ededed; 
     294     color: #333; 
     295     background-color:#E4E0EC; 
    271296} 
    272297.part-tabs li a:hover, .part-tabs li a:focus { 
     
    277302.part-tabs li.part-tabs-active a { 
    278303     background: #fff; 
    279      border: 1px solid #d30e60; 
    280      color: #d30e60; 
    281304     font-weight: bold; 
    282305     border-bottom-color: #fff; 
     306     padding-bottom: .7rem; 
    283307} 
    284308/* ------------------------------------------------------------------ main-menu */ 
     
    287311     float: left; 
    288312     margin:0; 
    289      padding-top: .5em; 
     313     padding-top: 4.5em; 
    290314     padding-bottom: 1em; 
    291315     background: #f7f7f7; 
     
    312336     background-repeat: no-repeat; 
    313337     background-position: 8px .3em; 
     338} 
     339#main-menu li.active { 
     340     background-color: #fff; 
    314341} 
    315342#main-menu a { 
     
    350377     background: #dfdfdf; 
    351378     border-color: #999; 
    352      color: #666; 
     379     color: #444; 
    353380     border-bottom-right-radius: .6em; 
    354381     border-top-right-radius: .6em; 
     
    372399     color: #000; 
    373400     font-variant: small-caps; 
    374 } 
    375 #favorites-menu a { 
    376      color: #333; 
     401     padding-top: .6rem; 
    377402} 
    378403/* ------------------------------------------------------------------ footer */ 
     
    395420#login-screen { 
    396421     display: block; 
    397      width: 18em; 
     422     width: 20em; 
    398423     margin: 1.5em auto 0; 
    399424     font-size: 1.4rem; 
     
    406431     margin-left: 0; 
    407432} 
    408 #login-screen fieldset, #login-screen .fieldset { 
     433#login-screen .fieldset { 
    409434     border: 1px solid #A8DC26; 
    410435     padding: 1em 1em 0 1em; 
    411436     border-radius: 4px; 
    412 } 
    413 #login-screen legend { 
    414      border: 1px solid #A8DC26; 
     437     background: #fff; 
    415438} 
    416439#login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 
     
    423446#login-screen #issue strong {font-weight: normal;} 
    424447 
    425  
    426448/* ------------------------------------------------------------------ dashboard */ 
    427449#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%; 
    435450     padding: 1em 0; 
    436      float: none; 
    437451} 
    438452#icons { 
     
    444458     width: 210px; 
    445459     text-align: center; 
    446      margin: 2em 0; 
     460     margin: 1em 0 2em; 
     461     padding: 1em 0; 
    447462     display:inline-block; 
     463     vertical-align: top; 
    448464} 
    449465#icons a, 
     
    457473#icons a span { 
    458474     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; 
    459495} 
    460496#icons a:focus span, #icons a:hover span { 
     
    462498} 
    463499#quick { 
    464      clear: left; 
    465500     margin-top: 2em; 
    466501} 
     
    471506#quick p.qinfo { 
    472507     margin: -.7em -1em 1em; 
    473      background: #eef url(info.png) no-repeat .2em .2em; 
     508     background: #f3f3ff url(info.png) no-repeat .2em .2em; 
    474509     border: 1px solid #99f; 
    475510     padding: .2em 1em .1em 24px; 
     
    477512} 
    478513#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; 
    484524} 
    485525#dashboard-items img { 
     
    522562#entry-content { 
    523563     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; 
    525573} 
    526574#entry-sidebar { 
    527575     width: 17em; 
    528576     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; 
    529585} 
    530586#comments { 
     
    564620} 
    565621#media-details { 
     622} 
     623.near-icon { 
    566624     margin-left: 70px; 
     625     margin-bottom: 3em; 
    567626} 
    568627#media-details ul { 
     
    699758/* -------------------------------------------------------------------- Themes */ 
    700759#themes { 
    701      border-bottom: 1px solid #ccc; 
    702      margin: 1em 0; 
     760     margin: 0; 
     761     width: 100%; 
     762     padding: 0; 
     763} 
     764#themes h3 { 
    703765} 
    704766#themes div.theme-details { 
    705      clear: left; 
    706767     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; 
    708775} 
    709776#themes div.theme-details:hover { 
    710      background: #eee; 
     777     background: #f0f0f0; 
    711778} 
    712779#themes div.theme-details div.theme-shot { 
    713      float: left; 
    714780} 
    715781#themes div.theme-details div.theme-shot img { 
    716782     display: block; 
    717      width: 57px; 
    718      height: 50px; 
    719783     border: 1px solid #ccc; 
     784     margin-bottom: 1.5em; 
    720785} 
    721786#themes div.theme-details div.theme-info { 
    722      margin-left: 67px; 
    723787} 
    724788#themes div.theme-details div.theme-info span.theme-desc { 
     
    729793} 
    730794#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 
    733804/* Themes list, JS version */ 
    734805#themes-wrapper { 
     806     display: table; 
     807} 
     808#themes-wrapper #themes { 
     809     display: table-cell; 
     810     vertical-align: top; 
     811     padding-left: 1em; 
    735812} 
    736813#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; 
    748830     width: 280px; 
    749831     height: 245px; 
    750832     border: 1px solid #ccc; 
    751833} 
    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; 
    760837} 
    761838#theme-box span.theme-version { 
     
    769846     font-weight:bold; 
    770847} 
    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 { 
    782852     float: left; 
    783853     width: 120px; 
    784854     height: 150px; 
    785      margin: 0 10px 20px; 
    786      padding: 10px 10px 0; 
     855     margin: 0 12px 24px; 
     856     padding: 12px 12px 0; 
    787857     text-align: center; 
    788858     background: #f3f3f3; 
    789      border: 1px solid #f3f3f3; 
     859     border: 1px solid #ddd; 
    790860     cursor: pointer; 
    791861     border-radius: 4px; 
    792862} 
    793 #themes div.theme-details-js label { 
     863#themes .theme-details-js label { 
    794864     cursor: pointer; 
    795865} 
    796 #themes div.theme-details-js.theme-selected { 
    797      background: #E5E3DA; 
     866#themes .theme-details-js.theme-selected { 
     867     background: #ddd; 
    798868     border: 1px solid #999; 
    799869} 
    800 #themes div.theme-details-js div.theme-shot img { 
     870#themes .theme-details-js .theme-shot img { 
    801871     width: 120px; 
    802872     height: 105px; 
    803873     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; 
    810874} 
    811875/* ----------------------------------------------------------  Plugins list */ 
     
    9381002     color: #fff; 
    9391003} 
    940 #content > .message, #content > .error { 
    941      margin-right: 14em 
    942 } 
    9431004/* ------------------------------------------------------------------ navigation */ 
    9441005.anchor-nav { 
     
    9501011.nav_prevnext { 
    9511012     margin-bottom: 2em; 
    952      color: #ccc; 
     1013     color: #fff; 
    9531014} 
    9541015.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; 
    9581020} 
    9591021a.back:before { 
    9601022     content: "\ab\a0"; 
    9611023} 
    962  
     1024a.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} 
    9631032/* ------------------------------------------------------------------ debug */ 
    9641033#debug { 
     
    9841053/* -------------------------------------------------------------------- CLASSES COMMUNES */ 
    9851054 
    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; 
    9881072} 
    9891073 
     
    10921176} 
    10931177 
    1094 th, td { 
     1178td { 
    10951179     border-width: 0 0 1px 0; 
    10961180     border-style: solid; 
    10971181     border-color: #e3e3e3; 
    1098      padding: .4rem .5rem; 
     1182     padding: .3em .5em; 
    10991183     vertical-align: top; 
    11001184} 
    11011185th { 
     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; 
    11021192     text-align: left; 
    1103      border-bottom-color: #aaa; 
     1193} 
     1194th.first img { 
     1195     padding-right: 24px; 
    11041196} 
    11051197.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; 
    11071205} 
    11081206table .maximal, table.maximal { 
     
    11221220} 
    11231221table.settings th, table.prefs th { 
    1124      background: #eef; 
     1222     background: #f3f3ff; 
    11251223} 
    11261224table.settings th:first-child, table.prefs th:first-child { 
     
    11451243     border: none; 
    11461244} 
    1147  
    1148 tr.line img.expand { 
    1149      margin-right: 10px; 
     1245tr.line img.expand, th img.expand { 
     1246     margin-right: 6px; 
    11501247     margin-bottom: -2px; 
    11511248} 
     
    11801277     padding: 0; 
    11811278} 
    1182 fieldset, .fieldset { 
     1279fieldset { 
    11831280     display: block; 
    11841281     margin: 0 0 1em 0; 
     
    11941291     border-width: 1px; 
    11951292     border-style: solid; 
    1196      border-color: #ccc; 
    1197      background: #f5f5f5; 
     1293     border-color: #333; 
     1294     background: #fff; 
    11981295     margin-bottom: 0.5em; 
     1296     border-radius: 3px; 
    11991297} 
    12001298optgroup { 
     
    12481346     font-style:italic; 
    12491347     font-weight: normal; 
     1348     text-transform: none; 
    12501349     color: #666; 
    12511350} 
     
    12591358} 
    12601359p.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 
     1365label.ib { 
     1366     display: inline-block; 
     1367} 
    12661368label.classic { 
    12671369     display: inline; 
     
    13121414a.form-control { 
    13131415     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; 
    13171417     padding-left: 20px; 
     1418     color: #000; 
    13181419} 
    13191420.constrained { 
     
    13321433a.submit { 
    13331434     display: inline-block; 
    1334      outline: none; 
    13351435     cursor: pointer; 
    13361436     text-align: center; 
    13371437     text-decoration: none; 
    13381438     padding: .1em .5em; 
    1339      text-shadow: 0 1px 1px rgba(0,0,0,.3); 
    13401439     border-radius: .2em; 
    13411440     margin-bottom: .1em; 
    1342 } 
     1441     font-size: 1.2rem; 
     1442 } 
     1443h4 a.button {font-weight: normal;} 
     1444 
    13431445/* validation */ 
    13441446input[type=submit], 
     
    13461448a.submit { 
    13471449     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 
    13521458} 
    13531459input[type=submit]:hover, 
     
    13571463input[type=button]:focus, 
    13581464a.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); 
    13641470} 
    13651471/* suppression et reset */ 
     
    13721478     background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf)); 
    13731479     background: -moz-linear-gradient(top,  #f5f5f5,  #dfdfdf); 
    1374      text-shadow: none; 
     1480     text-shadow:1px 1px 0px #fff; 
    13751481     } 
    13761482a.button:hover, 
     
    13821488input[type=submit].reset:focus, 
    13831489input[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; 
    13881494     } 
    13891495a.delete, 
     
    13911497input[type=submit].delete { 
    13921498     color: #c00; 
    1393      padding-bottom: .1em; 
     1499     padding-bottom: .2rem; 
    13941500} 
    13951501#entry-content .delete { 
     
    14191525     border:1px solid #83c41a; 
    14201526     padding:.6rem 1.8rem; 
    1421      text-shadow:1px 1px 0 #689324; 
    14221527     color: #000; 
    14231528     text-shadow: 1px 1px 0 #BBDB58; 
     
    14251530     font-size: 1.4rem; 
    14261531} 
    1427 .button.add:hover, .button.add:focus { 
     1532.button.add:hover, .button.add:active, .button.add:focus { 
    14281533     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) ); 
    14291534     background:-moz-linear-gradient( center top, #8cb82b 5%, #9dce2c 100% ); 
     
    14341539.button-add:focus { 
    14351540     outline: dotted 1px; 
    1436 } 
    1437 .button.add:active { 
    1438      position:relative; 
    1439      top:1px; 
    14401541} 
    14411542 
     
    14731574} 
    14741575 
     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 
    14751680/* --------------------------------------------------------------------------- 
    14761681     Media queries vite fait en attendant la reprise complète du layout 
    14771682---------------------------------------------------------------------------- */ 
    14781683@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} 
    14801686     #top h1 a:link { 
    14811687          background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px;  
     
    14951701          line-height: 3.2rem; 
    14961702     } 
     1703     #info-box1 {margin-left: 1rem;} 
    14971704     #info-box1 select {width: 14rem;} 
    14981705     #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 
     
    15131720     .smallscreen {display: none;} 
    15141721     #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} 
    15161725} 
    15171726@media screen and (max-width: 492px) { 
     
    15201729     .page-title, #info-boxes, .media-item {display: inline-block;} 
    15211730     div.media-list .media-item {width: 90%; float: none} 
     1731     #info-box1 select {width: 12rem; margin-right: .6rem;} 
    15221732     #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  
    1717     public $has_gui = true; 
    1818 
    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  
    2319     private $con; 
    2420     private $table; 
     
    151147               '<form action="'.html::escapeURL($url).'" method="post">'. 
    152148               '<h3>' . __('IP list') . '</h3>'. 
    153                '<div style="'.$this->style_list.'">'; 
     149               '<div class="antispam">'; 
    154150 
    155151               $res_global = ''; 
     
    163159 
    164160                    $disabled_ip = false; 
    165                     $p_style = $this->style_p; 
     161                    $p_style = ''; 
    166162                    if (!$rs->blog_id) { 
    167163                         $disabled_ip = !$core->auth->isSuperAdmin(); 
    168                          $p_style .= $this->style_global; 
     164                         $p_style .= ' global'; 
    169165                    } 
    170166 
    171167                    $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.'">'. 
    173169                    form::checkbox(array('delip[]',$type.'-ip-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_ip).' '. 
    174170                    html::escapeHTML($pattern). 
  • plugins/antispam/filters/class.dc.filter.ip.php

    r1510 r1512  
    120120 
    121121          '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 
     122 
     123          '<p>'. 
    122124          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               } 
    130131 
    131132          $res .= 
  • plugins/antispam/filters/class.dc.filter.words.php

    r1454 r1512  
    1717     public $name = 'Bad Words'; 
    1818 
    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  
    2319     private $con; 
    2420     private $table; 
     
    143139               '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 
    144140               '<h3>' . __('List of bad words') . '</h3>'. 
    145                '<div style="'.$this->style_list.'">'; 
     141               '<div class="antispam">'; 
    146142 
    147143               $res_global = ''; 
     
    150146               { 
    151147                    $disabled_word = false; 
    152                     $p_style = $this->style_p; 
     148 
     149                    $p_style = ''; 
     150 
    153151                    if (!$rs->blog_id) { 
    154152                         $disabled_word = !$core->auth->isSuperAdmin(); 
    155                          $p_style .= $this->style_global; 
     153                         $p_style .= ' global'; 
    156154                    } 
    157155 
    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.'">'. 
    159157                         form::checkbox(array('swd[]', 'word-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_word).' '. 
    160158                         html::escapeHTML($rs->rule_content). 
  • plugins/antispam/filters/class.dc.filter.words.php

    r1510 r1512  
    116116          $res .= 
    117117          '<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); 
    119119 
    120120          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)'); 
    123123          } 
    124124 
Note: See TracChangeset for help on using the changeset viewer.

Sites map