Changeset 2152:e0cb51d6543f
- Timestamp:
- 09/29/13 15:16:01 (11 years ago)
- Branch:
- default
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/_charte.php
r2111 r2152 158 158 </div><!-- 159 159 --><div class="two-boxes even"> 160 <p><span class="step">2</span> S'il n'y a que deux boîtes, une autre class n'est pas nécessaire. S'il y en a plusieurs, il est conseillé de leur attribuer alternativement les class <code>"odd"</code>et <code>"even"</code> pour que les marges se placent correctement.</p>160 <p><span class="step">2</span> On peut assortir une boîte des class <code>"odd"</code> (nothing left) et <code>"even"</code> pour que les marges se placent correctement.</p> 161 161 </div><!-- 162 162 --><div class="two-boxes odd"> -
admin/media.php
r2099 r2152 409 409 { 410 410 echo 411 '<div class="two-boxes fieldset ">';411 '<div class="two-boxes fieldset even">'; 412 412 if ($user_ui_enhanceduploader) { 413 413 echo -
admin/preferences.php
r2021 r2152 543 543 echo '<h3>'.__('My dashboard').'</h3>'; 544 544 545 echo '<form action="preferences.php" method="post" id="favs-form" class="two-boxes ">';545 echo '<form action="preferences.php" method="post" id="favs-form" class="two-boxes odd">'; 546 546 547 547 echo '<div id="my-favs" class="fieldset"><h4>'.__('My favorites').'</h4>'; -
admin/style/default.css
r2142 r2152 149 149 } 150 150 /* ------------------------------------------------- layout: optionnal one/two-boxes */ 151 .one-box, .two-boxes, .three-boxes, .box {152 margin-bottom: 1em;153 }154 151 .one-box { 155 152 text-align: justify; 156 153 } 154 .two-boxes, .three-boxes, .box { 155 display: inline-block; 156 vertical-align: top; 157 margin: 0 1.5% 1em; 158 -moz-box-sizing: border-box; 159 -webkit-box-sizing: border-box; 160 box-sizing: border-box; 161 } 157 162 .two-boxes { 158 163 width: 47%; 159 display: inline-block; 160 vertical-align: top; 161 margin-right: 2%; 162 -moz-box-sizing: border-box; 163 -webkit-box-sizing: border-box; 164 box-sizing: border-box; 165 } 166 .two-boxes:first-child, .two-boxes.odd, .two-boxes.odd:last-child { 167 margin-right: 3%; 168 margin-left: 0; 169 } 170 .two-boxes.even:last-child, .two-boxes.even { 171 margin-left: 3%; 172 margin-right: 0; 173 } 164 } 174 165 .three-boxes { 175 166 width: 30%; 176 display: inline-block; 177 vertical-align: top; 178 margin-left: 1.5%; 179 margin-right: 1.5%; 180 -moz-box-sizing: border-box; 181 -webkit-box-sizing: border-box; 182 box-sizing: border-box; 183 } 184 .three-boxes:first-child, .three-boxes.first-child { 185 margin-left: 0; 186 } 187 .three-boxes:last-child, .three-boxes.last-child { 188 margin-right: 0; 189 } 190 /* boîtes intérieures distribuées horizontalement */ 167 } 191 168 .box { 192 display: inline-block; 193 vertical-align: top; 194 margin-right: 3%; 195 text-align: left; 196 } 197 .box:last-child { 169 margin-left: 0; 170 margin-right: 0; 171 } 172 .odd { 173 margin-left: 0; 174 } 175 .even { 198 176 margin-right: 0; 199 177 } … … 448 426 h1 a:link, h1 a:visited { 449 427 border: none; 428 } 429 .discrete a { 430 color: #333; 450 431 } 451 432 /* ---------------------------------------------------------------------------- … … 1474 1455 } 1475 1456 .box.small { 1476 width: 3 00px;1457 width: 320px; 1477 1458 } 1478 1459 .box.medium { 1479 width: 6 40px;1460 width: 660px; 1480 1461 } 1481 1462 .box.large { … … 2394 2375 display: block; 2395 2376 } 2377 /* ---------------------------------------------- Couleurs ajoutées via javascript 2378 /* color-picker.js */ 2379 .color-color-picker { 2380 border: 1px solid #000; 2381 width: 195px; 2382 background: #fff; 2383 } 2384 /* _blog_theme.js */ 2385 .select-button { 2386 font-weight: bold; 2387 } 2388 /* _media_item.js */ 2389 .color-div { 2390 border: 1px solid #ccc; 2391 } 2392 /* fadings ('color' est utilisé comme variable, pas comme text color) */ 2393 .colorBeginPassword, .colorBeginValidatorErr, .colorBeginUserMail { 2394 color: #fff; 2395 } 2396 .colorEndPassword, .colorEndError, .colorEndValidatorErr, .colorEndUserMail { 2397 color: #ffbaba; 2398 } 2399 .colorBeginMessage { 2400 color: #ccc; 2401 } 2402 .colorEndMessage, .colorBeginValidatorMsg { 2403 color: #676e78; 2404 } 2405 .colorBeginError { 2406 color: #ffdec8; 2407 } 2408 .colorBeginSuccess { 2409 color: #9BCA1C; 2410 } 2411 .colorEndSuccess { 2412 color: #bee74b; 2413 } 2414 .colorEndValidatorMsg { 2415 color: #ffcc00; 2416 } 2396 2417 /* ------------------------------------------------------------------------------------ 2397 2418 UN POIL DE MEDIA QUERIES … … 2433 2454 #top-info-user a.active { 2434 2455 padding: 2px 8px; 2456 background: #999; 2457 color: #FFF; 2458 border-width: 0; 2459 -webkit-border-radius: 6px; 2460 border-radius: 6px; 2435 2461 } 2436 2462 .three-boxes, .three-boxes .box, 2437 .three-boxes:first-child, .three-boxes.first-child,2438 .three-boxes:last-child, .three-boxes.last-child,2439 2463 .two-cols .col70, .two-cols .col30 { 2440 2464 width: 100%; … … 2457 2481 top: 77px; 2458 2482 } 2459 .one-box, .two-boxes, 2460 .one-box .box, .two-boxes .box, .two-boxes.odd, .two-boxes.even, 2461 .two-boxes:first-child, .two-boxes.odd, .two-boxes.odd:last-child, 2462 .two-boxes.even:last-child, .two-boxes.even, 2483 .one-box, .two-boxes, .two-boxes.odd, .two-boxes.even, .box, 2463 2484 .two-cols .col { 2464 2485 width: 100%; … … 2493 2514 display: inline; 2494 2515 } 2495 #content {2516 #content, .hide-mm #content { 2496 2517 margin: 0; 2497 2518 padding: 0 .5em !important; … … 2502 2523 #main #content > h2 { 2503 2524 margin: 0; 2504 padding: 6px 0;2525 padding: 6px 30px 6px 0; 2505 2526 } 2506 2527 #dashboard-boxes .box.medium, 2507 2528 #dashboard-boxes .box.small, 2508 2529 #dashboard-boxes .box.large { 2509 width: 90%;2530 width: 100%; 2510 2531 margin: 10px auto; 2511 2532 } 2512 2533 } 2513 @media screen and (max-width: 500px) {2534 @media screen and (max-width: 420px) { 2514 2535 h1, h1 a { 2515 2536 padding: 0; … … 2519 2540 display: none; 2520 2541 } 2542 #top-info-blog { 2543 margin-bottom: .5em; 2544 max-width: 75%; 2545 } 2521 2546 #top-info-blog select { 2522 2547 margin-bottom: .5em; 2523 margin-right: 0 !important;2524 }2525 #top-info-blog p {2526 display: block;2527 2548 } 2528 2549 #icons p { … … 2533 2554 } 2534 2555 } 2535 /* ---------------------------------------------- Couleurs ajoutées via javascript2536 /* color-picker.js */2537 .color-color-picker {2538 border: 1px solid #000;2539 width: 195px;2540 background: #fff;2541 }2542 /* _blog_theme.js */2543 .select-button {2544 font-weight: bold;2545 }2546 /* _media_item.js */2547 .color-div {2548 border: 1px solid #ccc;2549 }2550 /* fadings ('color' est utilisé comme variable, pas comme text color) */2551 .colorBeginPassword, .colorBeginValidatorErr, .colorBeginUserMail {2552 color: #fff;2553 }2554 .colorEndPassword, .colorEndError, .colorEndValidatorErr, .colorEndUserMail {2555 color: #ffbaba;2556 }2557 .colorBeginMessage {2558 color: #ccc;2559 }2560 .colorEndMessage, .colorBeginValidatorMsg {2561 color: #676e78;2562 }2563 .colorBeginError {2564 color: #ffdec8;2565 }2566 .colorBeginSuccess {2567 color: #9BCA1C;2568 }2569 .colorEndSuccess {2570 color: #bee74b;2571 }2572 .colorEndValidatorMsg {2573 color: #ffcc00;2574 } -
inc/admin/lib.pager.php
r2138 r2152 409 409 '<th scope="col">'.__('Date').'</th>'. 410 410 '<th scope="col" class="txt-center">'.__('Status').'</th>'. 411 '<th scope="col" abbr="entry">'.__('Entry title').'</th>'.411 '<th scope="col" abbr="entry">'.__('Entry').'</th>'. 412 412 '</tr>%s</table></div>'; 413 413 … … 469 469 470 470 $post_title = html::escapeHTML($this->rs->post_title); 471 if (mb_strlen($post_title) > 60) {472 $post_title = mb_strcut($post_title,0, 57).'...';471 if (mb_strlen($post_title) > 70) { 472 $post_title = mb_strcut($post_title,0,67).'...'; 473 473 } 474 474 $comment_title = sprintf(__('Edit the %1$s from %2$s'), … … 489 489 '<td class="nowrap count">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->comment_dt).'</td>'. 490 490 '<td class="nowrap status txt-center">'.$img_status.'</td>'. 491 '<td class="nowrap "><a href="'.$post_url.'">'.491 '<td class="nowrap discrete"><a href="'.$post_url.'">'. 492 492 html::escapeHTML($post_title).'</a>'. 493 493 ($this->rs->post_type != 'post' ? ' ('.html::escapeHTML($this->rs->post_type).')' : '').'</td>'; -
plugins/tags/style.css
r2079 r2152 10 10 .tag90 { font-size: 220%; } 11 11 .tag100 { font-size: 230%; } 12 13 12 table.tags { 14 13 margin-left: 3em; 15 } 16 17 14 } 18 15 tr.tagLetter span { 19 16 font-size : 250%; … … 24 21 top: 0.80em; 25 22 left: -2ex; 26 } 27 23 } 28 24 ul.metaList { 29 25 margin: 0 0 1em 0; 30 26 padding: 0; 31 }27 } 32 28 ul.metaList li { 33 29 margin: 0; … … 35 31 list-style: square; 36 32 list-style-position: inside; 37 } 38 33 } 39 34 a.metaRemove { 40 35 color : #999 !important; 41 36 border: none; 42 }37 } 43 38 a.metaRemove:hover, a.metaRemove:focus { 44 39 color : #06c !important; 45 } 46 40 } 47 41 .addMeta a { 48 42 border: none; 49 }43 } 50 44 .addMeta a:hover, .addMeta a:focus { 51 45 background: #fc0; 52 46 color: #000; 53 }47 } 54 48 .addMeta a.metaGetMore { 55 49 font-weight: bold; 56 }50 } 57 51 /* Auto Complete */ 58 52 .ac_results { … … 62 56 overflow: hidden; 63 57 z-index: 99999; 64 }58 } 65 59 .ac_results ul { 66 60 width: 100%; … … 69 63 padding: 0; 70 64 margin: 0; 71 }65 } 72 66 .ac_results li { 73 67 margin: 0px; … … 88 82 line-height: 16px; 89 83 overflow: hidden; 90 }84 } 91 85 .ac_loading { 92 86 background: transparent url('index.php?pf=tags/img/loader.gif') right center no-repeat; 93 }87 } 94 88 .ac_odd { 95 89 background-color: #eee; 96 }90 } 97 91 .ac_over { 98 92 background-color: #06c; 99 93 color: white; 100 } 101 #post_meta_input { 102 margin: 0 0.5em 0 0; 103 width: 13em; 104 } 94 } 105 95 #post_meta_input:focus { 106 96 -moz-box-sizing: content-box; 107 }108 #tags-edit input[type= button] {109 width: 3.5em;110 }97 } 98 #tags-edit input[type=text] { 99 width: 11.5em; 100 } 111 101 .tag-actions form { 112 102 display: inline-block; 113 103 margin-right: 1.5em; 114 }104 }
Note: See TracChangeset
for help on using the changeset viewer.