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

98 lines
1.8 KiB
SCSS
Raw Normal View History

2011-11-12 12:04:43 +01:00
/** Notes **/
#notes-list {
display:block;
list-style:none;
margin:0px;
padding:0px;
}
.issue_notes {
.note_content {
float:left;
width:400px;
}
}
/* Note textare */
#note_note {
height:100px;
width:97%;
font-size:14px;
}
#new_note {
#note_note {
height:25px;
}
.attach_holder {
display:none;
}
}
2012-02-06 01:15:45 +01:00
.note .delete-note { display:none; }
.note:hover .delete-note { display:block; }
.note {padding: 10px 0; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
.note img{float: left; margin-right: 10px;}
.note span.note-title{display: block;}
.note span.note-title{margin-bottom: 10px}
.note span.note-author{color: #999; font-weight: normal; font-style: italic;}
.note span.note-author strong{font-weight: bold; font-style: normal;}
2012-02-12 18:47:37 +01:00
.note p { color:$style_color; }
.note .note-author { color: $style_color;}
2011-11-27 14:12:48 +01:00
.note .note-title { margin-left:55px; }
2011-12-28 00:29:53 +01:00
p.notify_controls input{
margin: 5px;
}
p.notify_controls span{
font-weight: 700;
}
2012-02-06 01:15:45 +01:00
tr.line_notes_row {
border-bottom:1px solid #DDD;
ul {
margin:0;
li {
padding:0;
border:none;
}
}
}
.line_notes_row, .per_line_form { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.per_line_form {
background:#f5f5f5;
form { margin: 0; }
td {
border-bottom:1px solid #ddd;
}
}
td .line_note_link {
position:absolute;
margin-left:-70px;
margin-top:-10px;
z-index:10;
background: url("comment_add.png") no-repeat left 0;
width:32px;
height:32px;
opacity: 0.0;
filter: alpha(opacity=0);
&:hover {
opacity: 1.0;
filter: alpha(opacity=100);
}
}
.diff_file_content tr.line_holder:hover > td { background: $hover !important; }
.diff_file_content tr.line_holder:hover > td .line_note_link {
opacity: 1.0;
filter: alpha(opacity=100);
}