This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
glasnost/glasnost-web/css/default.css

413 lines
5.8 KiB
CSS

/* part of glasnost UI -- may be overrided by templates CSS
*
* note: everything is not defined here, sometimes defaults
* are sane.
*
* For a complete list of glasnost CSS classes, please read:
* http://glasnost.entrouvert.org/articles/25
*/
@import url("calendar.css");
@import url("balloonHelp.css");
@import url("imap.css");
div.alert {
font-weight: bold;
font-size: 120%;
/*border: 2px solid red;*/
}
/*** buttons ***/
a.button, input.button {
background-color: white;
border: 1px solid black;
color: black;
font-family: sans-serif;
font-size: 80%;
font-weight: bold;
margin: 0px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
padding-top: 2px;
text-align: center;
text-decoration: none;
}
a.button:hover,
input.button:hover {
background: #e0e0e0; /* light grey */
color: black;
}
input {
/* padding-left: 3px; */
border: 1px solid black;
}
input.button {
/* hide rest from IE5 and IE5.5 */
voice-family: "\"}\"";
voice-family: inherit;
padding-top: 2px;
padding-bottom: 2px;
}
input.button:hover {
background: #e0e0e0; /* light grey */
}
/*** diffs ***/
div.diff-context {
}
div.diff-error {
font-size: 80%;
}
div.diff-new {
background-color: #80ff80;
border-style: none;
border-width: thin;
width: 100%;
}
div.diff-old {
background-color: #ffff80;
border-style: none;
border-width: thin;
width: 100%;
}
hr {
clear: both;
}
hr.diff {
}
span.diff-equal {
white-space: pre;
}
span.diff-new {
background-color: #80ff80;
white-space: pre;
}
span.diff-old {
background-color: #ffff80;
white-space: pre;
}
/*** fields ***/
a.online-help {
display: block;
}
/*** Spip ***/
a.spip-note, a.footnote-reference, a.fn-backref {
font-size: 80%;
position: relative;
top: -2px;
}
div.spip-notes, div.footnotes {
margin-top: 2em;
padding-top: 1.5em;
border-top: 1px dashed black;
border-bottom: 1px dashed black;
font-size: 80%;
}
table.rst,
table.objects-table,
table.spip {
border: 1px solid black;
border-collapse: collapse;
}
table.rst th,
table.objects-table th,
table.spip th {
text-align: center;
}
table.rst td,
table.objects-table td,
table.spip td {
border: 1px solid black;
padding-left: 5px;
padding-right: 5px;
text-align: left;
vertical-align: middle;
}
div.preview {
margin: 1em;
padding: 1em;
border: 2px inset black;
font-size: 80%;
}
div.preview h2 {
margin: 0;
border-bottom: 1px solid black;
}
div.election-results {
text-align: center;
}
div.election-results table {
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
}
table.election-details,
table.election-votes,
table.election-pairwise-matrix,
table.election-ratings {
border: 1px solid black;
border-collapse: collapse;
}
table.election-details td,
table.election-votes td,
table.election-pairwise-matrix td,
table.election-ratings td {
border: 1px solid black;
color: black;
text-align: center;
}
table.election-details th,
table.election-votes th,
table.election-pairwise-matrix th,
table.election-ratings th {
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
border: 1px solid black;
text-align: center;
}
table.election-details caption,
table.election-votes caption,
table.election-pairwise-matrix caption,
table.election-ratings caption,
table.election-results caption {
display: none;
}
table.election-results th {
text-align: right;
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
}
table.election-results td {
text-align: center;
}
th.owned-vote {
background-color: #e0e0e0;
}
p#powered-by-glasnost {
position: fixed;
margin: 0;
padding: 0;
bottom: 0px;
right: 0px;
z-index: 2;
}
p#powered-by-glasnost a {
background: white;
border: 1px solid black;
text-decoration: none;
color: black;
font-size: 75%;
padding-right: 5px;
padding-left: 5px;
}
.error-message {
color: red;
display: block;
}
div.clear {
clear: both;
}
div.row {
clear: both;
padding-top: 5px;
}
div.row span.label,
div.row label {
float: left;
width: 20%;
text-align: right;
padding-right: 1em;
font-weight: bold;
}
div.row .formw {
float: right;
margin-left: auto;
text-align: left;
}
div.cell,
table.cell,
fieldset.cell,
span.cell,
input.cell,
select.cell {
text-align: left;
float: right;
width: 76%;
}
.cell .cell {
text-align: left;
float: none;
width: auto;
}
div.cell ul {
margin: 0;
padding: 0;
list-style-type: none;
}
div.cell ul.inline li {
display: inline;
}
fieldset.inline span {
display: inline;
}
table.cell {
margin: 0;
padding: 0;
margin: 0;
padding: 0;
position: relative;
left: -3px;
}
div.buttons-bar {
padding-top: 1em;
clear: both;
}
div.buttons-bar input,
div.buttons-bar a {
margin-right: 0.5em;
}
div.comment-block {
margin-left: 2em;
margin-top: 6px;
}
div.comment-block h3 {
margin: 0;
}
div.comment-block span.comment-author {
font-size: 80%;
}
div.comment-block div.comment {
margin: 0;
margin-top: 4px;
}
div.comment-block a {
font-size: 80%;
}
fieldset {
border: 0;
padding: 0;
margin: 0;
}
fieldset span.cell,
fieldset input.cell,
fieldset select.cell,
fieldset div.cell {
width: auto;
text-align: left;
float: none;
}
span.spellcheck {
cursor: help;
border-bottom: 1px dashed red;
}
div.comments {
margin-left: 2em;
margin-top: 2em;
}
div.comment {
border-left: 1px solid black;
padding-left: 1em;
margin-bottom: 1em;
}
div.comment h4 {
margin: 0;
padding: 0;
font-size: 110%;
border-bottom: 1px solid black;
}
div.comment .comment-infos {
float: right;
padding: 0px 5px;
margin-left: 5px;
margin-bottom: 5px;
border: 1px solid black;
border-top: none;
font-size: 80%;
text-align: right;
}
div.comment .comment-author,
div.comment .comment-time {
display: block;
}
h2, h3, h4, h5, h6 {
clear: both;
}
div.row div.fullwidth,
div.row span.fullwidth {
text-align: inherit;
width: inherit;
clear: both;
float: none;
}