gitlabhq/app/assets/stylesheets/commits.css.scss

161 lines
2.6 KiB
SCSS
Raw Normal View History

2012-01-26 23:13:19 +01:00
/**
*
* COMMIT SHOw
*
*/
2012-01-16 20:07:57 +01:00
2011-11-12 12:04:43 +01:00
.diff_file {
border:1px solid #CCC;
margin-bottom:1em;
.diff_file_header {
padding:5px 5px;
border-bottom:1px solid #CCC;
background: #eee;
}
.diff_file_content {
overflow:auto;
overflow-y:hidden;
background:#fff;
color:#333;
font-size: 12px;
font-family: 'Menlo', 'Courier New', 'andale mono','lucida console',monospace;
2011-11-12 12:04:43 +01:00
}
.diff_file_content_image {
background:#eee;
text-align:center;
img {
padding:100px;
max-width:300px;
}
}
}
.diff_file_content{
table {
border:none;
margin:0px;
padding:0px;
2012-01-26 23:13:19 +01:00
tr {
td {
font-size:12px;
}
}
}
2011-11-12 12:04:43 +01:00
.old_line, .new_line {
margin:0px;
padding:0px;
border:none;
background:#F7F7F7;
2012-01-20 08:51:48 +01:00
color:#aaa;
2011-11-12 12:04:43 +01:00
padding: 0px 5px;
border-right: 1px solid #ccc;
2011-11-30 23:24:28 +01:00
text-align:right;
min-width:35px;
max-width:35px;
width:35px;
2012-01-13 15:40:34 +01:00
moz-user-select: none;
-khtml-user-select: none;
user-select: none;
a {
float:left;
width:35px;
font-weight:normal;
2012-01-20 08:51:48 +01:00
color:#aaa;
&:hover {
text-decoration:underline;
}
}
}
.line_content {
white-space:pre;
height:14px;
margin:0px;
padding:0px;
border:none;
&.new {
2012-02-11 23:29:16 +01:00
background: #CFD;
}
&.old {
background: #FDD;
}
2012-02-11 23:29:16 +01:00
&.matched {
color:#ccc;
background:#fafafa;
}
2011-11-12 12:04:43 +01:00
}
}
/** COMMIT BLOCK **/
.commit-title{display: block;}
.commit-title{margin-bottom: 10px}
.commit-author, .commit-committer{display: block;color: #999; font-weight: normal; font-style: italic;}
.commit-author strong, .commit-committer strong{font-weight: bold; font-style: normal;}
/** bordered list **/
ul.bordered-list {
margin:5px 0px;
padding:0px;
li {
2011-12-02 11:57:18 +01:00
padding: 5px 0;
border-bottom: 1px solid #EEE;
overflow: hidden;
display: block;
margin:0px;
}
}
ul.bordered-list li:last-child { border:none }
.line_holder {
&:hover {
td {
background: #FFFFCF !important;
}
}
}
2012-01-20 08:51:48 +01:00
2012-01-21 14:22:42 +01:00
2012-01-28 10:54:11 +01:00
/** FLASH **/
#flash_container {
height:45px;
position:fixed;
z-index:10001;
top:0px;
width:100%;
margin-bottom:15px;
overflow:hidden;
background:white;
cursor:pointer;
border-bottom:1px solid #777;
h4 {
color:#444;
font-size:22px;
padding-top:5px;
margin:2px;
2012-01-20 08:51:48 +01:00
}
}
2012-02-06 21:32:04 +01:00
.project-refs-form.commit-refs-form .chzn-container {
position: relative;
top: 0;
left: 0;
margin-right: 10px;
}
2012-02-14 23:10:01 +01:00
li.commit {
.avatar {
width:24px;
top:-3px;
margin-right:10px;
margin-left:10px;
}
code {
padding:4px;
}
}