- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note: See TracChangeset
for help on using the changeset viewer.