Changeset - 539f3da5d965
[Not reviewed]
stable
0 1 0
Andrej Shadura (andrewsh) - 10 years ago 2015-04-22 11:59:47
andrew@shadura.me
css: make 'add comment' button look more like a button (issue #77)
1 file changed with 23 insertions and 13 deletions:
0 comments (0 inline, 0 general) First comment
kallithea/public/css/style.css
Show inline comments
 
@@ -4931,7 +4931,7 @@ table.code-difftable .lineno a {
 
    font: 11px Consolas, Monaco, Inconsolata, Liberation Mono, monospace !important;
 
    letter-spacing: -1px;
 
    text-align: right;
 
    padding-right: 2px;
 
    padding-right: 8px;
 
    cursor: pointer;
 
    display: block;
 
    width: 30px;
 
@@ -4957,7 +4957,7 @@ table.code-difftable .code td {
 
    padding: 0;
 
}
 
table.code-difftable .code pre {
 
    margin: 0;
 
    margin: 0 0 0 12px;
 
    padding: 0;
 
    min-height: 17px;
 
    line-height: 17px;
 
@@ -4965,33 +4965,43 @@ table.code-difftable .code pre {
 
}
 

	
 
.add-bubble {
 
    position: relative;
 
    display: none;
 
    float: left;
 
    width: 0px;
 
    height: 0px;
 
}
 

	
 
tr.line.add td.code:hover .add-bubble,
 
tr.line.del td.code:hover .add-bubble,
 
tr.line.unmod td.code:hover .add-bubble {
 
    display: inherit;
 
    left: -8px;
 
    box-sizing: border-box;
 
}
 

	
 
tr.line.add:hover td .add-bubble,
 
tr.line.del:hover td .add-bubble,
 
tr.line.unmod:hover td .add-bubble {
 
    display: block;
 
}
 

	
 
.add-bubble div {
 
    position: relative;
 
    left: -32px;
 
    width: 32px;
 
    height: 32px;
 
    background: #577632;
 
    width: 16px;
 
    height: 16px;
 
    cursor: pointer;
 
    padding: 0 2px 2px 0.5px;
 
    border: 1px solid #577632;
 
    border-radius: 3px;
 
    box-sizing: border-box;
 
}
 

	
 
.add-bubble div:before {
 
    font-size: 14px;
 
    color: #577632;
 
    color: #ffffff;
 
    font-family: "kallithea";
 
    content: '\e80c';
 
}
 

	
 
.add-bubble div:hover {
 
    transform: scale(1.2, 1.2);
 
}
 

	
 
div.comment:target>.comment-wrapp {
 
    border: solid 2px #ee0 !important;
 
}
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now