mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
@@ -21,7 +21,7 @@ atom-text-editor {
|
||||
left: 0;
|
||||
height: 0;
|
||||
width: 0;
|
||||
content: " ";
|
||||
content: "";
|
||||
border: solid transparent;
|
||||
border-left-color: @syntax-color-removed;
|
||||
border-width: @size;
|
||||
@@ -37,22 +37,19 @@ atom-text-editor {
|
||||
}
|
||||
|
||||
.gutter.git-diff-icon .line-number {
|
||||
width: 100%;
|
||||
border-left: none;
|
||||
padding-left: 0.4em;
|
||||
border-left-width: 0;
|
||||
padding-left: 1.4em; // space for diff icon
|
||||
|
||||
&:before {
|
||||
.octicon-font();
|
||||
.octicon-font();
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: -.05em;
|
||||
|
||||
// make sure it doesnt affect the gutter line height.
|
||||
height: 0px;
|
||||
position: absolute;
|
||||
top: .2em;
|
||||
left: .4em;
|
||||
height: 0px; // make sure it doesnt affect the gutter line height.
|
||||
width: 1em;
|
||||
content: " ";
|
||||
padding-right: 0.4em;
|
||||
font-size: .95em;
|
||||
font-size: .75em;
|
||||
}
|
||||
|
||||
&.git-line-modified:before {
|
||||
@@ -70,13 +67,12 @@ atom-text-editor {
|
||||
border: none; // reset triangle
|
||||
content: @dash;
|
||||
color: @syntax-color-removed;
|
||||
position: relative;
|
||||
}
|
||||
&.git-line-removed:before {
|
||||
top: .6em;
|
||||
top: 1em;
|
||||
}
|
||||
&.git-previous-line-removed:before {
|
||||
top: -.6em;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user