Add the CSS, including resets

This commit is contained in:
Eric Davis 2011-03-05 19:09:41 -08:00
parent c23f73e9fe
commit a0c777ee79
7 changed files with 2064 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#context-menu ul { background:#F4F4F4 none repeat scroll 0 0;}
#context-menu a { border: none; }
#context-menu li a:hover { border: none; background-color:#f4f4f4; color:#333333; }
#context-menu li.folder a:hover { background-color:#f4f4f4; }

View File

@ -0,0 +1,46 @@
/* IE6 how i love to hate thee */
#account-nav li a {
width:45px;
}
#account-nav li li a {
width:150px;
}
.title-bar {
zoom:1;
}
.title-bar-extras label {
float:none;
display:inline;
padding-right:10px;
}
.issue-dropdown li.hover {
background-color:#fff;
}
.issue-dropdown li.hover ul {
display:block;
left:112px;
}
body .file-thumbs a {
width:150px;
}
#history .journal {
zoom:1;
}
body #history .wiki {
overflow:hidden;
zoom:1;
}
#main-menu li li {
height:30px;
}
#main-menu li li li {
height:auto;
}
a.has-thumb.active {
background:none;
}
.title-bar-extras ul {
background-image:none;
border-top:1px solid #154E5D;
}

View File

@ -0,0 +1,48 @@
/* These will be included for IE6 & IE7 */
.title-bar h2 {
height:21px;
}
td.dropdown {
z-index:50;
position:relative;
}
body .title-bar-extras {
overflow:hidden;
}
#main-menu a {
height:30px;
}
#main-menu, .title-bar {
z-index:4;
}
.title-bar .button-large ul {
z-index:15;
}
form.tooltip-active {
z-index:14;
}
#main-menu li li a span {
position:absolute;
right:0;
top:0;
display:block;
}
#main-menu li li li a span {
right:10px;
}
body .file-thumbs a {
max-width:150px;
}
#watchers {
position:relative;
z-index:5;
}
div.attachments {
position:relative;
z-index:4;
}

1755
public/stylesheets/main.css Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
/* Reset some Redmine styles */
.tabular p { height: auto; }
#query_form_content { padding: 0; border: none; }
#account { float:none; }
#top-menu { padding: 0; }
#top-menu a { margin-right: 0px; }
#wrapper { background: none; }
#main {background:#f3f3f3;}
#main-menu { bottom: auto; }
#main-menu li { float: none; margin: 0;}
#main-menu li a { font-weight:normal; background: none; color: #222222; text-decoration: none; padding: 0 0 0 24px}
#main-menu li a:hover { background: none; color: #222222; text-decoration: none; }
ul.projects ul {border: none; }
#sidebar { float:none; min-height: 0px; width: 100%; position: static; }
#main-menu .calendar {border: none; cursor: pointer; font-family:'lucida grande','lucida sans unicode',tahoma,arial,sans-serif;}
/* Reset Questions */
div.question { background: none; border: none; margin-bottom: 15px; padding: 0;}

View File

@ -0,0 +1,38 @@
/*
* CSS Reset
* Based on http://meyerweb.com/eric/tools/css/reset/
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
ins {
text-decoration: underline;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* Helper classes */
.clearfix {
clear:both;
}

View File

@ -0,0 +1,151 @@
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
position: fixed;
z-index:100;
top: 0px;
left: 0px;
height:100%;
width:100%;
}
.TB_overlayMacFFBGHack {background: url(../images/macFFBgHack.png) repeat;}
.TB_overlayBG {
background-color:#000;
filter:alpha(opacity=75);
-moz-opacity: 0.75;
opacity: 0.75;
}
* html #TB_overlay { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_window {
position: fixed;
background: #ffffff;
z-index: 102;
display:none;
border: 3px solid #277D94;
text-align:left;
top:50%;
left:50%;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
}
* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_window img#TB_Image {
display:block;
margin: 15px 0 0 15px;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
border-top: 1px solid #666;
border-left: 1px solid #666;
}
#TB_caption{
height:25px;
padding:7px 30px 10px 25px;
float:left;
}
#TB_closeWindow{
height:25px;
padding:11px 25px 10px 0;
float:right;
}
#TB_closeAjaxWindow{
margin:3px;
float:right;
height:16px;
width:16px;
overflow:hidden;
}
#TB_closeWindowButton {
background:url(../images/close.png) no-repeat;
height:16px;
width:16px;
text-indent:-9999em;
display:block;
}
#TB_ajaxWindowTitle{
float:left;
padding:5px 0 5px 15px;
margin-bottom:1px;
font-size:18px;
font-weight:bold;
}
#TB_title{
background-color:#277D94;
height:40px;
color:#fff;
}
#TB_ajaxContent{
clear:both;
text-align:left;
line-height:1.4em;
overflow:auto;
}
#TB_ajaxContent.TB_modal{
padding:15px;
}
#TB_ajaxContent p{
padding:5px 0px 5px 0px;
}
#TB_load{
position: fixed;
display:none;
height:13px;
width:208px;
z-index:103;
top: 50%;
left: 50%;
margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}
* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
#TB_HideSelect{
z-index:99;
position:fixed;
top: 0;
left: 0;
background-color:#fff;
border:none;
filter:alpha(opacity=0);
-moz-opacity: 0;
opacity: 0;
height:100%;
width:100%;
}
* html #TB_HideSelect { /* ie6 hack */
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
#TB_iframeContent{
clear:both;
border:none;
margin-bottom:-1px;
margin-top:1px;
_margin-bottom:1px;
}