indefero/www/media/idf/css/style.css
Loic d'Anterroches fa5fe0d610 Fixed ticket 36, attach a file to a ticket.
It is now possible to attach a file to a ticket.
2008-11-12 20:40:58 +01:00

564 lines
9.1 KiB
CSS

/*
# ***** BEGIN LICENSE BLOCK *****
# This file is part of InDefero, an open source project management application.
# Copyright (C) 2008 Céondo Ltd and contributors.
#
# InDefero is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# InDefero is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# ***** END LICENSE BLOCK ***** */
h2.top {
margin-top: 0;
}
.yui-g {
padding: 0 1em;
}
.right {
text-align: right;
}
.dellink {
float: right;
position: relative;
margin-top: -1.6em;
}
.dellink a {
color: #a00;
}
a.userw {
color: #000;
}
.mono {
font-family: monospace;
}
.soft {
color: #777;
}
.soft a {
color: #777;
}
div.context {
padding-left: 1em;
}
/**
* Form
*/
form.star {
display: inline;
}
table.form th, table.form td {
border: none;
vertical-align: top;
}
table.form th {
text-align: right;
font-weight: normal;
}
.px-message-error {
padding-left: 37px;
background: url("../img/dialog-error.png");
background-repeat: no-repeat;
background-position: 3px 0;
color: #c00;
font-weight: bold;
padding-bottom: 5px;
}
ul.errorlist {
color: #c00;
font-weight: bold;
}
div.user-messages {
border: 1px solid rgb(229, 225, 169);
background-color: #fffde3;
margin-bottom: 1em;
margin-left: -1px;
width: 90%;
}
/**
* Recent issues
*/
table.recent-issues {
width: 90%;
}
table.recent-issues th {
background-color: #e4e8E0;
vertical-align: top;
border-color: #d3d7cf;
}
table.recent-issues tr {
border-left: 1px solid #d3d7cf;
border-right: 1px solid #d3d7cf;
border-bottom: 1px solid #d3d7cf;
}
table.recent-issues td {
border: none;
vertical-align: top;
}
table.recent-issues tfoot th {
text-align: right;
}
table.recent-issues tfoot th a {
color: #000;
font-weight: normal;
}
table.recent-issues th a.px-current-page {
font-weight: bold;
text-decoration: none;
}
span.px-sort {
font-weight: normal;
font-size: 70%;
white-space: nowrap;
padding-left: 1em;
}
span.px-header-title {
white-space: nowrap;
}
/**
* Issue
*/
a.issue-c {
text-decoration: line-through;
}
pre.issue-comment-text {
font-family: monospace;
line-height: 1.2; /* to be nice also with links */
}
div.issue-comment {
border-left: 3px solid #8ae234;
border-bottom: 1px solid #d3d7cf;
border-right: 1px solid #d3d7cf;
padding: 0.5em;
}
.issue-comment-focus {
border-right: 3px solid #8ae234 !important;
}
div.issue-comment-first {
border-top: 1px solid #d3d7cf;
}
div.issue-comment-signin {
-moz-border-radius: 0 0 3px 3px;
-webkit-border-radius: 0 0 3px 3px;
background-color: #d3d7cf;
padding: 4px;
}
div.issue-comment-signin a {
color: #000;
}
div.issue-changes {
background-color: #d3d7cf;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
padding: 4px;
width: 60%;
}
div.issue-submit-info {
background-color: #d3d7cf;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
padding: 0.5em;
margin-bottom: 1em;
}
div.issue-submit-info h2 {
margin-top: 0;
}
span.label {
color: #204a87;
padding-left: 0.5em;
}
a.label {
color: #204a87;
text-decoration: none;
}
.label {
color: #204a87;
}
span.nobrk {
white-space: nowrap;
}
hr { visibility: hidden; }
div.attach {
border-top: 2px solid #d3d7cf;
width: 40%;
}
textarea {
font-family: monospace;
}
h1.title {
font-weight: normal;
}
h1.project-title {
font-weight: normal;
float: right;
z-index: 100;
text-align: right;
padding-right: 5px;
}
.note {
font-size: 80%;
}
.smaller {
font-size: 90%;
}
span.active {
font-weight: bold;
}
.helptext {
font-size: 80%;
color: #555753;
}
div.container {
clear: both;
}
.sep {
margin: 0 0.3em;
}
/**
* Tabs
*/
#main-tabs a {
background-color: #d3d7cf;
-moz-border-radius: 3px 3px 0 0;
-webkit-border-radius: 3px 3px 0 0;
padding: 4px 4px 0 4px;
text-decoration: none;
color: #2e3436;
font-weight: 600;
}
#main-tabs a.active {
background-color: #a5e26a;
}
#sub-tabs {
background-color: #a5e26a;
-moz-border-radius: 0 3px 3px 3px;
-webkit-border-radius: 0 3px 3px 3px;
padding: 4px;
}
#sub-tabs a {
color: #2e3436;
}
#sub-tabs a.active {
text-decoration: none;
}
/**
* Tree list
*/
table.tree-list {
width: 100%;
}
table.tree-list th {
background-color: #e4e8E0;
vertical-align: top;
border-color: #d3d7cf;
}
table.tree-list tr {
border-left: 1px solid #d3d7cf;
border-right: 1px solid #d3d7cf;
border-bottom: 1px solid #d3d7cf;
}
table.tree-list td {
border: none;
vertical-align: top;
}
table.tree-list tfoot th, table.code tfoot th {
text-align: right;
font-weight: normal;
}
table.tree-list tfoot th a, table.code tfoot th a {
color: #000;
font-weight: normal;
}
table.tree-list tfoot th ul, table.code tfoot th ul {
text-align: left;
font-size: 85%;
}
table.tree-list tr.log {
border-bottom: 1px solid #e7ebe3;
/* background-color: #eef2ea !important; */
}
table.tree-list tr.extra {
/* border-bottom: 1px solid #e7ebe3; */
/* background-color: #eef2ea !important; */
}
table td.fileicon {
width: 20px;
}
/**
* Autocomplete.
*/
.ac_results {
padding: 0px;
border: 1px solid black;
background-color: white;
overflow: hidden;
z-index: 99999;
text-align: left;
}
.ac_results ul {
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
}
.ac_results li {
margin: 0px;
padding: 2px 5px;
cursor: default;
display: block;
/*
if width will be 100% horizontal scrollbar will apear
when scroll mode will be used
*/
/*width: 100%;*/
font: menu;
font-size: 12px;
/*
it is very important, if line-height not setted or setted
in relative units scroll will be broken in firefox
*/
line-height: 16px;
overflow: hidden;
}
.ac_loading {
background: white url('../img/indicator.gif') right center no-repeat;
}
.ac_odd {
background-color: #eee;
}
.ac_over {
background-color: #4e9a06;
color: white;
}
/**
* Commit
*/
table.commit th, table.commit td {
border: none;
vertical-align: top;
}
table.commit th {
text-align: right;
font-weight: normal;
}
table.commit td, table.commit th {
padding: 3px;
}
/**
* syntax highlighting of diffs
*/
table.diff {
border-bottom: 1px solid #d3d7cf;
width: 100%;
}
table.diff th {
background-color: #e4e8E0;
vertical-align: top;
border-color: #d3d7cf;
}
table.diff tr {
border-left: 1px solid #d3d7cf;
border-right: 1px solid #d3d7cf;
border-bottom: none;
border-top: none;
}
table.diff td {
font-size: 90%;
vertical-align: top;
padding: 1px;
border-color: inherit;
}
table.diff td.diff-lc {
text-align: right;
padding: 1px 5px;
border-color: inherit;
border-top: 1px solid #d3d7cf;
border-bottom: 1px solid #d3d7cf;
width: 3em;
}
td.diff-a {
background-color: #dfd;
}
td.diff-r {
background-color: #fdd;
}
td.diff-a, td.diff-r, td.diff-c {
border-bottom: none;
border-top: none;
}
table.diff tr.diff-next {
background-color: #e4e8E0;
vertical-align: top;
text-align: right;
border-color: #d3d7cf;
}
table.diff tr.diff-next td {
padding: 1px 5px;
}
/**
* view file content
*/
table.code {
border-bottom: 1px solid #d3d7cf;
border-top: 1px solid #d3d7cf;
width: 100%;
}
table.code th {
background-color: #e4e8E0;
vertical-align: top;
border-color: #d3d7cf;
}
table.code tr {
border-left: 1px solid #d3d7cf;
border-right: 1px solid #d3d7cf;
border-bottom: none;
border-top: none;
}
table.code td {
font-size: 90%;
vertical-align: top;
padding: 1px;
border-color: inherit;
}
table.code td.code {
border: none;
/* Whitespace hacking from: http://ln.hixie.ch/ */
white-space: pre; /* CSS2 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP printers */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
padding-left: 5px;
}
table.code td.code-lc {
text-align: right;
padding: 1px 5px;
border-color: inherit;
border-top: 1px solid #d3d7cf;
border-bottom: 1px solid #d3d7cf;
width: 3em;
}
table.code td.code-lc a {
color: #555753;
text-decoration: none;
}
/**
* Download
*/
div.download-file {
padding: 1em 1em 1em 3em;
background: url("../img/down-large.png");
background-repeat: no-repeat;
background-position: 1em 1em;
font-size: 140%;
margin-bottom: 3em;
background-color: #bbe394;
width: 40%;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}