Stylesheet cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10133 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
42570c4426
commit
95457c434e
@ -281,12 +281,12 @@ span.search_for_watchers a, span.add_attachment a {padding-left:16px; background
|
|||||||
.highlight.token-3 { background-color: #aaf;}
|
.highlight.token-3 { background-color: #aaf;}
|
||||||
|
|
||||||
.box{
|
.box{
|
||||||
padding:6px;
|
padding:6px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
background-color:#f6f6f6;
|
background-color:#f6f6f6;
|
||||||
color:#505050;
|
color:#505050;
|
||||||
line-height:1.5em;
|
line-height:1.5em;
|
||||||
border: 1px solid #e4e4e4;
|
border: 1px solid #e4e4e4;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.square {
|
div.square {
|
||||||
@ -447,45 +447,45 @@ p.pagination {margin-top:8px;}
|
|||||||
|
|
||||||
/***** Tabular forms ******/
|
/***** Tabular forms ******/
|
||||||
.tabular p{
|
.tabular p{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 3px 0 3px 0;
|
padding: 3px 0 3px 0;
|
||||||
padding-left: 180px; /* width of left column containing the label elements */
|
padding-left: 180px; /* width of left column containing the label elements */
|
||||||
min-height: 1.8em;
|
min-height: 1.8em;
|
||||||
clear:left;
|
clear:left;
|
||||||
}
|
}
|
||||||
|
|
||||||
html>body .tabular p {overflow:hidden;}
|
html>body .tabular p {overflow:hidden;}
|
||||||
|
|
||||||
.tabular label{
|
.tabular label{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
float: left;
|
float: left;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
/* width of left column */
|
/* width of left column */
|
||||||
margin-left: -180px;
|
margin-left: -180px;
|
||||||
/* width of labels. Should be smaller than left column to create some right margin */
|
/* width of labels. Should be smaller than left column to create some right margin */
|
||||||
width: 175px;
|
width: 175px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabular label.floating{
|
.tabular label.floating{
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 270px;
|
width: 270px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabular label.block{
|
.tabular label.block{
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-left: 0px !important;
|
margin-left: 0px !important;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
float: none;
|
float: none;
|
||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabular label.inline{
|
.tabular label.inline{
|
||||||
float:none;
|
float:none;
|
||||||
margin-left: 5px !important;
|
margin-left: 5px !important;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
label.no-css {
|
label.no-css {
|
||||||
@ -688,44 +688,42 @@ p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}
|
|||||||
#content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
|
#content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
|
||||||
#content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
|
#content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
|
||||||
#content .tabs ul li {
|
#content .tabs ul li {
|
||||||
float:left;
|
float:left;
|
||||||
list-style-type:none;
|
list-style-type:none;
|
||||||
white-space:nowrap;
|
white-space:nowrap;
|
||||||
margin-right:4px;
|
margin-right:4px;
|
||||||
background:#fff;
|
background:#fff;
|
||||||
position:relative;
|
position:relative;
|
||||||
margin-bottom:-1px;
|
margin-bottom:-1px;
|
||||||
}
|
}
|
||||||
#content .tabs ul li a{
|
#content .tabs ul li a{
|
||||||
display:block;
|
display:block;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
line-height:1.3em;
|
line-height:1.3em;
|
||||||
padding:4px 6px 4px 6px;
|
padding:4px 6px 4px 6px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-bottom: 1px solid #bbbbbb;
|
border-bottom: 1px solid #bbbbbb;
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
color:#999;
|
color:#999;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
border-top-left-radius:3px;
|
border-top-left-radius:3px;
|
||||||
border-top-right-radius:3px;
|
border-top-right-radius:3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .tabs ul li a:hover {
|
#content .tabs ul li a:hover {
|
||||||
background-color: #ffffdd;
|
background-color: #ffffdd;
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .tabs ul li a.selected {
|
#content .tabs ul li a.selected {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 1px solid #bbbbbb;
|
border: 1px solid #bbbbbb;
|
||||||
border-bottom: 1px solid #fff;
|
border-bottom: 1px solid #fff;
|
||||||
color:#444;
|
color:#444;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .tabs ul li a.selected:hover {
|
#content .tabs ul li a.selected:hover {background-color: #fff;}
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
|
div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
|
||||||
|
|
||||||
@ -753,39 +751,6 @@ button.tab-right {
|
|||||||
border-top-right-radius:3px;
|
border-top-right-radius:3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Auto-complete *****/
|
|
||||||
div.autocomplete {
|
|
||||||
position:absolute;
|
|
||||||
width:400px;
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
}
|
|
||||||
div.autocomplete ul {
|
|
||||||
list-style-type:none;
|
|
||||||
margin:0;
|
|
||||||
padding:0;
|
|
||||||
}
|
|
||||||
div.autocomplete ul li {
|
|
||||||
list-style-type:none;
|
|
||||||
display:block;
|
|
||||||
margin:-1px 0 0 0;
|
|
||||||
padding:2px;
|
|
||||||
cursor:pointer;
|
|
||||||
font-size: 90%;
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
border-left: 1px solid #ccc;
|
|
||||||
border-right: 1px solid #ccc;
|
|
||||||
background-color:white;
|
|
||||||
}
|
|
||||||
div.autocomplete ul li.selected { background-color: #ffb;}
|
|
||||||
div.autocomplete ul li span.informal {
|
|
||||||
font-size: 80%;
|
|
||||||
color: #aaa;
|
|
||||||
}
|
|
||||||
|
|
||||||
#parent_issue_candidates ul li {width: 500px;}
|
|
||||||
#related_issue_candidates ul li {width: 500px;}
|
|
||||||
|
|
||||||
/***** Diff *****/
|
/***** Diff *****/
|
||||||
.diff_out { background: #fcc; }
|
.diff_out { background: #fcc; }
|
||||||
.diff_out span { background: #faa; }
|
.diff_out span { background: #faa; }
|
||||||
@ -793,10 +758,10 @@ div.autocomplete ul li span.informal {
|
|||||||
.diff_in span { background: #afa; }
|
.diff_in span { background: #afa; }
|
||||||
|
|
||||||
.text-diff {
|
.text-diff {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background-color:#f6f6f6;
|
background-color:#f6f6f6;
|
||||||
color:#505050;
|
color:#505050;
|
||||||
border: 1px solid #e4e4e4;
|
border: 1px solid #e4e4e4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Wiki *****/
|
/***** Wiki *****/
|
||||||
@ -819,9 +784,7 @@ div.wiki .external {
|
|||||||
background-image: url(../images/external.png);
|
background-image: url(../images/external.png);
|
||||||
}
|
}
|
||||||
|
|
||||||
div.wiki a.new {
|
div.wiki a.new {color: #b73535;}
|
||||||
color: #b73535;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.wiki ul, div.wiki ol {margin-bottom:1em;}
|
div.wiki ul, div.wiki ol {margin-bottom:1em;}
|
||||||
|
|
||||||
@ -853,7 +816,6 @@ div.wiki ul.toc ul { margin: 0; padding: 0; }
|
|||||||
div.wiki ul.toc li { list-style-type:none; margin: 0;}
|
div.wiki ul.toc li { list-style-type:none; margin: 0;}
|
||||||
div.wiki ul.toc li li { margin-left: 1.5em; }
|
div.wiki ul.toc li li { margin-left: 1.5em; }
|
||||||
div.wiki ul.toc li li li { font-size: 0.8em; }
|
div.wiki ul.toc li li li { font-size: 0.8em; }
|
||||||
|
|
||||||
div.wiki ul.toc a {
|
div.wiki ul.toc a {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@ -870,35 +832,30 @@ div.wiki img { vertical-align: middle; }
|
|||||||
|
|
||||||
/***** My page layout *****/
|
/***** My page layout *****/
|
||||||
.block-receiver {
|
.block-receiver {
|
||||||
border:1px dashed #c0c0c0;
|
border:1px dashed #c0c0c0;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
padding: 15px 0 15px 0;
|
padding: 15px 0 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mypage-box {
|
.mypage-box {
|
||||||
margin:0 0 20px 0;
|
margin:0 0 20px 0;
|
||||||
color:#505050;
|
color:#505050;
|
||||||
line-height:1.5em;
|
line-height:1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.handle {
|
.handle {cursor: move;}
|
||||||
cursor: move;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.close-icon {
|
a.close-icon {
|
||||||
display:block;
|
display:block;
|
||||||
margin-top:3px;
|
margin-top:3px;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
width:12px;
|
width:12px;
|
||||||
height:12px;
|
height:12px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
background-image:url('../images/close.png');
|
background-image:url('../images/close.png');
|
||||||
}
|
|
||||||
|
|
||||||
a.close-icon:hover {
|
|
||||||
background-image:url('../images/close_hl.png');
|
|
||||||
}
|
}
|
||||||
|
a.close-icon:hover {background-image:url('../images/close_hl.png');}
|
||||||
|
|
||||||
/***** Gantt chart *****/
|
/***** Gantt chart *****/
|
||||||
.gantt_hdr {
|
.gantt_hdr {
|
||||||
@ -953,11 +910,11 @@ background-image:url('../images/close_hl.png');
|
|||||||
|
|
||||||
/***** Icons *****/
|
/***** Icons *****/
|
||||||
.icon {
|
.icon {
|
||||||
background-position: 0% 50%;
|
background-position: 0% 50%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
padding-bottom: 3px;
|
padding-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-add { background-image: url(../images/add.png); }
|
.icon-add { background-image: url(../images/add.png); }
|
||||||
@ -1038,42 +995,17 @@ div.issue table img.gravatar {
|
|||||||
margin: 0 0.5em 0 0;
|
margin: 0 0.5em 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 img.gravatar {
|
h2 img.gravatar {margin: -2px 4px -4px 0;}
|
||||||
margin: -2px 4px -4px 0;
|
h3 img.gravatar {margin: -4px 4px -4px 0;}
|
||||||
}
|
h4 img.gravatar {margin: -6px 4px -4px 0;}
|
||||||
|
td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;}
|
||||||
h3 img.gravatar {
|
#activity dt img.gravatar {float: left; margin: 0 1em 1em 0;}
|
||||||
margin: -4px 4px -4px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 img.gravatar {
|
|
||||||
margin: -6px 4px -4px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
td.username img.gravatar {
|
|
||||||
margin: 0 0.5em 0 0;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
#activity dt img.gravatar {
|
|
||||||
float: left;
|
|
||||||
margin: 0 1em 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Used on 12px Gravatar img tags without the icon background */
|
/* Used on 12px Gravatar img tags without the icon background */
|
||||||
.icon-gravatar {
|
.icon-gravatar {float: left; margin-right: 4px;}
|
||||||
float: left;
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#activity dt,
|
#activity dt, .journal {clear: left;}
|
||||||
.journal {
|
|
||||||
clear: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.journal-link {
|
.journal-link {float: right;}
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 img { vertical-align:middle; }
|
h2 img { vertical-align:middle; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user