1
0
mirror of https://github.com/Rnhmjoj/solarized-dark-ui synced 2025-01-10 09:24:21 +01:00
solarized-dark-ui/stylesheets/editor.less
2014-02-27 12:35:41 +02:00

31 lines
829 B
Plaintext

@import "ui-variables";
@import "ui-mixins";
.editor.mini {
color: @text-color-highlight;
background-color: @input-background-color;
border-radius: @component-border-radius;
padding-left: @component-padding/2;
.placeholder-text {
color: @text-color-subtle;
}
.cursor { border-color: #fff; }
.selection .region { background-color: lighten(@input-background-color, 10%); }
}
.editor.editor-colors.mini.is-focused {
.selection .region { background-color: lighten(@app-background-color, 5%); }
transition: background-color 0.1s
}
@-webkit-keyframes highlight {
from { background-color: rgba(100, 255, 100, 0.7); }
to { background-color: null; }
}
.editor .highlighted.selection .region {
-webkit-animation-name: highlight;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
}