pulsar/static/syntax.less
Ben Ogle 1838ff2502 Use ‘flash’ class rather than ‘highlighted’.
Pull the flash into the base theme rather than the ui themes
2014-07-03 17:32:38 -07:00

36 lines
743 B
Plaintext

@import "syntax-variables";
.editor {
.lines {
.markup {
&.git-commit {
&.changed {
color: @syntax-color-modified;
}
&.deleted {
color: @syntax-color-removed;
}
&.inserted {
color: @syntax-color-added;
}
}
}
}
}
.define-selection-flash-color-if-not-defined() { @syntax-selection-flash-color: rgba(100, 255, 100, 0.7); }
.define-selection-flash-color-if-not-defined();
@-webkit-keyframes flash {
from { background-color: @syntax-selection-flash-color; }
to { background-color: null; }
}
.editor .flash.selection .region {
-webkit-animation-name: flash;
-webkit-animation-duration: .5s;
-webkit-animation-iteration-count: 1;
}