/* # -- BEGIN LICENSE BLOCK --------------------------------------- # # This file is part of Dotclear 2. # # Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear # Licensed under the GPL version 2.0 license. # See LICENSE file or # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html # # -- END LICENSE BLOCK ----------------------------------------- */ body { font: 76%/1.5em Helvetica,Arial,sans-serif; color: #333; background: #f5f5f5; margin: 0; padding: 0; } body.auth { background: #fff; } a img,:link img,:visited img { border:none } a, a:link, a:visited { color: #2373A8; text-decoration: none; border-bottom: 1px dotted #f90; } a:hover, a:active, a:focus { text-decoration: underline; } h1, h2, h3, h4, h5, h6, p { margin-top: 0; margin-bottom: 0.6em; } h2 { color: #666; font-size: 1.4em; padding: 4px 0; } h3 { color: #333; font-size: 1.2em; } p, div.p { margin: 0 0 1em 0; } hr { height: 1px; border-width: 1px 0 0 0; border-color: #999; border-style: solid; } pre, code { font: 100% "Andale Mono","Courier New",monospace; } pre { white-space: pre; white-space: -moz-pre-wrap; white-space: -hp-pre-wrap; white-space: -o-pre-wrap; white-space: -pre-wrap; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; } abbr { cursor: help; } /* LAYOUT -------------------------------------------------------- */ #top { margin: 0; padding: 0; background: #575859 url(dc_bg.png) repeat-x 0 3em; } #top h1 { padding: 0; margin: 0; height: 3em; text-indent: -1000px; background: transparent url(dc_logo.png) no-repeat 0 50%; } #top h1 a { position: absolute; top: 3px; left: 0; width: 130px; height: 60px; border: none; outline: none; color: #fff; } #info-box { background: #575859; position: absolute; left: 13em; top: 3px; margin: 0; padding: 3px 3px 4px 0; color: #fff; } #info-box2 { background: #575859; position: absolute; right: 1em; top: 3px; margin: 0; padding: 3px 3px 4px 0; color: #fff; } #info-box div, #info-box2 div { margin: 0; padding: 0; } #info-box div div, #info-box2 div div { display: inline; } #info-box>form>div, #info-box2>form>div { line-height: 1.5; } #info-box select { width: 20em; } #info-box a img, #info-box2 a img { vertical-align: middle; padding-left: .3em; } #info-box a, #info-box2 a { background: #575859; font-weight: bold; color: #fff; border-bottom-color: #ccc; } #info-box a {margin-left: 2em;} #wrapper { width: 100%; } #main { width: 100%; float: right; margin-left: -13em; margin-top: 0; } #content { margin-left: 13em; margin-bottom: 4em; margin-top: .5em; margin-right: 1.5em; padding-top: 10px; padding-left: 1em; padding-right: 1em; background: #fff; -webkit-border-radius: .5em; -moz-border-radius: .5em; border-radius: .5em; border: 1px solid #ddd; } #content:after {clear:both; content:""; display:block; height:0; font-size:0;} #main-menu { font-size: .95em; width: 13em; float: left; margin-top: .5em; margin-bottom: 10px; } #main-menu h3 { margin: 0 0 0.5em 0; padding: .5em 0 0 .5em; text-transform: uppercase; color: #666; } #main-menu ul { margin: 0 0 1em 0; padding: 0; list-style: none; } #main-menu li { display: block; margin: 0.5em 0 0 0; padding: .2em 0 0 32px; background-repeat: no-repeat; background-position: 12px .2em; } #main-menu a { font-weight: bold; } #main-menu .active a { border-bottom-style: solid; border-bottom: none; } #main-menu li.active { background-color: #fff; border: 1px solid #ccc; border-right: none; border-left: none; margin-right: -.76em; padding: .4em 0 .1em 32px; background-position: 12px .4em; } #main-menu #dashboard-menu li { margin-left: 0; } /* favoris en haut */ #fav-add { position: absolute; top: 3.5em; right: 2em; } #footer { clear: both; padding: .75em 2em; margin: 6em 1em .5em 1em; -webkit-border-radius: .3em; -moz-border-radius: .3em; border-radius: .3em; background: #575859 url(dc_logo_small.png) no-repeat right bottom; color: #fff; } #footer p { margin: 0; padding: 0 1em; text-align: center; font-size: 1.1em; } #footer a { color: #f5f5f5; } #footer p span.credit { font-size: .85em; font-weight: normal; } #debug { position: absolute; top: 0; width: 100%; height: 4px; background: #d99; } #debug div { display: none; padding: 3px 0.5em 2px; } #debug p { margin: 0.5em 0; } #debug:hover { height: auto; } #debug:hover div { display: block; } /* DASHBOARD */ #dashboard-main { float: left; overflow: hidden; padding: 1em 1%; width: 66%; } #dashboard-main #icons { overflow: hidden; padding-bottom: 1em; } #dashboard-main #icons p { float: left; width: 32%; text-align: center; margin: 2em 0 0 0; } #dashboard-main #icons span { display: block; } #dashboard-main #icons a { border-bottom-width: 0; } #dashboard-main #icons span a { border-bottom-width: 1px; } #dashboard-main #quick { clear: left; margin-top: 2em; } #dashboard-main #quick h3 { margin-bottom: 0.2em; font-size: 1.2em; } #dashboard-main #quick p.qinfo { margin: -1em -1em 1em; padding: 1em; background: #ebeadd; } #dashboard-items { float: left; width: 29%; overflow: hidden; margin-left: 2%; padding-bottom: 1em; padding-top: 3em; } #dashboard-items p img { vertical-align: middle; } #dashboard-items ul { display: block; padding-left: 1.5em; list-style: square; } #dashboard-items li { margin: 0.25em 0 0 0; color: #666; } #dashboard-items #news dt { font-weight: bold; margin: 0 0 0.4em 0; } #dashboard-items #news dd { margin: 0 0 1em 0; } #dashboard-items #news dd p { margin: 0.2em 0 0 0; } #upg-notify { } #upg-notify ul { padding-left: 15px; } #upg-notify li { color: #fff; } /* POST */ #entry-sidebar { width: 200px; float: right; } #entry-content { margin-right: 220px; } #comments { clear: both; } /* CATEGORIES */ #categories { margin: 1em 0 2em; } #categories ul { list-style: none; margin: 0 0 0 0; padding: 0 0 0 0; } #categories ul li { margin: .5em 0; padding: .3em 1.5em; border: 1px solid #ccc; border-left: 1em solid #E5E3DA; -moz-border-radius: .3em; -webkit-border-radius: .3em; border-radius: .3em; } #categories ul li h4 { margin: 0; } #categories ul li h4 span { font-weight: normal; } #categories ul li p { margin: 0; } select#del_cat { width: 100%; } /* MEDIA */ #media-icon { float: left; } #media-details { margin-left: 70px; } #media-details ul { display: block; margin-left: 0; padding: 0; } #media-details li { list-style: square inside; margin: 0; padding: 0; } #media-original-image { overflow: auto; } #media-original-image.overheight { height: 500px; } #add-file-f { position: relative; } #add-file-f .more-file { position:absolute; right: 0.5em; background: #999; color: #fff; border: none; } /* favorites */ #my-favs ul { list-style-type: none; margin-left: 0; padding-left: 0; line-height: 1.2; } #my-favs ul li { display: block; float: left; width: 170px; margin-bottom: 2.5em; } #my-favs label {height: 2.5em;width:140px;margin-top:.3em;} #my-favs label input {display:inline;} #my-favs img { display: block; } #my-favs input.position { margin: 0 0 .4em .2em; } #available-favs input, #available-favs label, #available-favs label span { white-space: normal; display: inline; } #default-favs h3 { margin-top: 2em; margin-bottom: 1em; } .fav-list { list-style-type: none; margin-left: 0; padding-left: 0; } .fav-list li { line-height: 2; margin-left: 0; padding-left: 0; position: relative; } .fav-list li img { vertical-align: middle; margin-right: .2em; } #available-favs label span.zoom { display: none; } #available-favs li:hover label span.zoom { display: block; position: absolute; bottom: 0; left: 10em; background-color: #f5f5f5; border: 1px solid #ddd; padding: .2em; -moz-border-radius: .5em; -webkit-border-radius: .5em; border-radius: .5em; } /* Help */ #help { margin-top: 2em; background: #f5f5f5; z-index: 100; } #help-button { position: absolute; top: 6.2em; right: 0px; cursor: pointer; background: #fc3; border: 1px solid #dde; border-right: none; font-size: 1.1em; font-weight: bold; text-transform: capitalize; padding: .33em .75em .33em 1em; -moz-border-radius: 1em 0 0 1em; -webkit-border-top-left-radius: 1em; -webkit-border-bottom-left-radius: 1em; color: #444; } .help-box { display: none; } .help-box ul { padding-left: 20px; margin-left: 0; } #content.with-help #help-button { right: 282px; } #content.with-help #help { display: block; position: absolute; top: 40px; right: 0; width: 280px; border-left: 2px solid #fc3; margin-top: 0; padding: 10px 0 0 0; overflow: auto; } #content.with-help .help-content { padding: 0 5px 1em 5px; } /* POPUP */ body.popup #wrapper { background-position: -130px 0; } body.popup #top h1 { background-position: -130px 0; } body.popup #main { margin-left: -35px; } body.popup #content { margin-left: 35px; } body.popup #footer { background-position: -130px 0; } body.popup #footer p { margin-left: 35px; border: none; } /* CLASSES -------------------------------------------------------- */ p.top-add { text-align: right; margin: 0; } p.top-add a { padding: .3em 1em .3em .5em; font-weight: bold; } p.top-add a img { padding-right: .3em; vertical-align: middle; } /* -------------- aide ----------- */ .help-content dt { font-weight: bold; color: #626262; margin: 0; } .help-content dd { margin: 0.3em 0 1.5em 0; } .clear { clear: both; } .lclear { clear: left; } div.clearer { height: 1px; font-size: 1px; } .hide { display: none; } .right { text-align: right; } .frame-shrink { border: 1px solid #666; padding: 0.5em; margin-bottom: 1em; height: 120px; overflow: auto; } .grid { background: transparent repeat url('grid.png') 0 0; } .line p { margin: 0; } div.error, p.error, div.message, p.message, div.static-msg, p.static-msg { padding: 0.5em 0.5em 0.5em 40px; margin-bottom: 1em; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; } p.error, p.message, p.static-msg { padding-top: 1em; padding-bottom: 1em; } div.error, p.error { background: #e5bfbf url(msg-error.png) no-repeat 5px 5px; color: #600; } div.message, p.message, div.static-msg, p.static-msg { background: #666 url(msg-std.png) no-repeat 5px 5px; color: #fff; } div.message a, p.message a, div.static-msg a, p.static-msg a { color: #fff; } .offline { color: #666; } ul.nice { margin: 1em 0; padding: 0 0 0 2em; list-style: square; } ul.nice li { margin:0; padding: 0; } .three-cols { } .three-cols .col { width: 32.3%; float: left; margin-left: 1%; } .three-cols .col:first-child { width: 33.3%; margin-left: 0; } .two-cols { position: static; } .two-cols .col { width: 49%; margin-left: 2%; float: left; } .two-cols .col:first-child { width: 49%; margin-left: 0; } .two-cols .col70{ width: 69%; margin-left: 0; float: left; } .two-cols .col30 { width: 28%; margin-left: 2%; float: left; } .comment { border-top: 2px solid #ccc; margin-bottom: 1em; padding: 2em 0 1em 0; position: relative; } .comment form p { margin: 0; position: absolute; top: 2px; right: 0; } /* -------- onglets ------ */ .part-tabs ul { padding: .3em 0 1px 1em; border-bottom: 1px solid #999; } .part-tabs li { list-style: none; margin: 0; display: inline; } .part-tabs li a { padding: .3em 0.5em; margin-right: .5em; border: 1px solid #999; border-bottom: none; background: #dfdfdf; text-decoration: none; -webkit-border-top-left-radius: .3em; -webkit-border-top-right-radius: .3em; -moz-border-radius-topleft: .3em; -moz-border-radius-topright: .3em; border-top-left-radius: .3em; border-top-right-radius: .3em; color: #000; } .part-tabs li.part-tabs-link a { background: #ffe; } .part-tabs li a:hover, .part-tabs li a:focus { color: #000; background: #fff; border-bottom-color: #fff; } .part-tabs li.part-tabs-active a { background: #fff; border-bottom: 1px solid #fff; color: #000; font-weight: bold; } /* Themes list */ #themes { border-bottom: 1px solid #ccc; margin: 1em 0; } #themes div.theme-details { clear: left; border-top: 1px solid #ccc; padding: 1em 0; } #themes div.theme-details:hover { background: #eee; } #themes div.theme-details div.theme-shot { float: left; } #themes div.theme-details div.theme-shot img { display: block; width: 57px; height: 50px; border: 1px solid #ccc; } #themes div.theme-details div.theme-info { margin-left: 67px; } #themes div.theme-details div.theme-info span.theme-desc { display: block; } #themes div.theme-details div.theme-info span.theme-version { color: #666; } #themes div.theme-details div.theme-actions { margin-left: 67px; } /* Themes list, JS version */ #themes-wrapper { } #theme-box { border: 1px solid #999; border-left: none; padding: 5px; float: right; height: 400px; width: 300px; overflow: auto; } #theme-box div.theme-shot img { display: block; margin: 0 0 0 10px; width: 280px; height: 245px; border: 1px solid #ccc; } #theme-box div.theme-info { margin: 1em 0 0 10px; } #theme-box h3 { margin: 0; } #theme-box div.theme-info span { display: block; } #theme-box span.theme-version { color: #666; } #theme-box span.theme-parent-ok { color: #666; } #theme-box span.theme-parent-missing { color: #c00; font-weight:bold; } #theme-box div.theme-actions { margin-left: 10px; } #themes-wrapper #themes { border: 1px solid #999; overflow: auto; height: 400px; padding: 5px; margin: 0; } #themes div.theme-details-js { float: left; width: 120px; height: 150px; margin: 0 10px 20px; padding: 10px 10px 0; text-align: center; background: #f3f3f3; border: 1px solid #f3f3f3; cursor: pointer; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } #themes div.theme-details-js label { cursor: pointer; } #themes div.theme-details-js.theme-selected { background: #E5E3DA; border: 1px solid #999; } #themes div.theme-details-js div.theme-shot img { width: 120px; height: 105px; border: 1px solid #fff; } #themes div.theme-details-js h3 { font-family: inherit; font-weight: normal; margin: 0; padding: 0; } /* Plugins list */ #plugins td.action { vertical-align: middle; } .media-list { position: static; } .media-col-0 { clear: left; } .media-item { position: relative; border-top: 1px solid #ccc; margin-bottom: 1em; padding: 5px 0; } div.media-list .media-item { width: 49%; float: left; margin-right: 1%; } a.media-icon { display: block; border-bottom: none; float: left; } .media-icon img { display: block; } .media-item ul { display: block; list-style: none; margin: 0 0 0 60px; padding: 0; } li.media-action { display: block; position: absolute; top: 5px; right: 5px; height: 16px; } li.media-action a { border: none; } li.media-action form { display: inline; } li.media-action input { border: none; } .zip-dl { background: transparent url(package.png) no-repeat 0 50%; padding: 5px 0 5px 20px; } select.l10n option { padding-left: 16px; } option.avail10n { background: transparent url(../images/check-on.png) no-repeat 0 50%; } /* TABLES -------------------------------------------------------- */ table { font-size: 1em; border-collapse: collapse; margin: 0 0 1em 0; } tr.line:hover { background: #ddd; } th, td { border-width: 0 0 1px 0; border-style: solid; border-color: #ccc; padding: 3px 5px; vertical-align: top; } th { text-align: left; border-bottom-color: #666; } .noborder td, td.noborder, .noborder th, th.noborder { border-width: 0; } table .maximal, table.maximal { width: 100%; } table .minimal { width: 1px; } table .nowrap { white-space: nowrap; vertical-align: top; } td.status { vertical-align: middle; } td.status img { margin-bottom: -2px; } td.status a { border: none; } tr.line img.expand { margin-right: 10px; margin-bottom: -2px; } tr.line input { vertical-align: middle; } tr.expand td { border-bottom: none; } td.expand { padding: 1em; } .dragable { border-collapse: separate; } .dragable tbody td { } .handle { padding: 0; } .handler { cursor: move; background: transparent url(drag.png) no-repeat 0 50%; padding-left: 15px; } /* FORMS -------------------------------------------------------- */ form { display: block; margin: 0; padding: 0; } fieldset { display: block; margin: 0 0 1em 0; padding: 1em 0.5em; border-width: 1px 0; border-style: solid; border-color: #ccc; background: #f5f5f5; } legend { font-weight: bold; padding: 0.2em 0.6em; border-width: 1px; border-style: solid; border-color: #ccc; background: #f5f5f5; margin-bottom: 0.5em; } optgroup { font-weight: bold; font-style: normal; } option { font-weight: normal; } input, textarea, select { background: #f9f9f9; color: #000; border-width: 1px; border-style: solid; border-color: #000 #ccc #ccc #000; } input, textarea, select, option { font: 1em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif; } input[type=text], input[type=password], textarea { padding: 2px 0; margin-right: .3em; } input[type=checkbox], input[type=radio] { border: none; } textarea { padding: 2px 0; } input[type=checkbox], input[type=radio] { margin: 0; padding: 0; background: transparent; } label { display: block; } label input, label select, label span { display: block; } p.form-note { margin-top: -1em; color: #C71585; font-style: italic; } label.classic { display: inline; } label.classic input, label span input, label.classic select, label span select { display: inline; } label.area, p.area { width: inherit !important; } .area textarea { display: block; width: 100%; } label.required { font-weight: bold; } label.required abbr { color: red; font-size: 1.3em; } /* à supprimer quand tous les formulaires auront été corrigés */ label.required:before { content: '* '; color: #c00; } p.field { position: relative; } p.field label { display: block; width: 14em; } p.field input, p.field select { display: inline; position: absolute; left: 15em; top: 0; } label .maximal, textarea.maximal, input.maximal { width: 100%; } a.form-control { display: none; font-weight: bold; background: url(magnifier.png) no-repeat 0 0; color: green; padding-left: 20px; } fieldset.constrained { margin: 0; padding: 0; border: none; background: transparent; } #login-screen { display: block; width: 18em; margin: 30px auto 0; font-size: 1.1em; } #login-screen h1 { text-indent: -2000px; background: transparent url(dotclear-logo.png) no-repeat top left; height: 46px; } #login-screen fieldset { border: 1px solid #999; padding: 1em 10px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } #login-screen input[type=text], #login-screen input[type=password] { width: 100%; } /* ------------------ Tous les boutons -------------------- */ h2 a.button { color: #333; font-weight: normal; font-size: .75em; vertical-align: middle; } /* commun */ input[type=submit], input[type=reset], input[type=button], a.button, a.button.add, a.back { display: inline-block; outline: none; cursor: pointer; text-align: center; text-decoration: none; padding: .1em .75em .1em; text-shadow: 0 1px 1px rgba(0,0,0,.3); -webkit-border-radius: .2em; -moz-border-radius: .2em; border-radius: .2em; } /* validation */ input[type=submit], input[type=button], a.button.add { color: #fff; border: 1px solid #2373A8; background: #2373A8; background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8)); background: -moz-linear-gradient(top, #2C8FD1, #2373A8); } input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, input[type=submit]:focus, input[type=reset]:focus, input[type=button]:focus, a.button.add:hover, a.button.add:focus { background: #2373A8; background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1)); background: -moz-linear-gradient(top, #2373A8, #2C8FD1); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1'); border: 1px solid #2C8FD1; } /* suppression et reset */ a.button, a.back, input[type=submit].reset, input[type=submit].delete { border: 1px solid #999; background: #f5f5f5; color: #000; background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5)); background: -moz-linear-gradient(top, #f5f5f5, #e5e5e5); text-shadow: none; } a.button:hover, a.back:hover, input[type=submit].reset:hover, input[type=submit].delete:hover, a.button:focus, a.back:focus, input[type=submit].reset:focus, input[type=submit].delete:focus { background: #e5e5e5; background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#f5f5f5)); background: -moz-linear-gradient(top, #e5e5e5, #f5f5f5); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5'); } a.delete, input.delete, input[type=submit].delete { color: #c00; font-weight: bold; } a.delete:hover, input.delete:hover, input[type=submit].delete:hover, a.delete:focus, input.delete:focus, input[type=submit].delete:focus { border-color: #c00; } /* finasseries */ input[type=button] { padding: .1em .1em; } #info-box a.button { padding: 0 .5em; margin-left: 2em; } a.back:before { content: "\ab\a0"; }