1
0
mirror of https://github.com/Rnhmjoj/solarized-dark-ui synced 2025-01-25 11:44:19 +01:00
solarized-dark-ui/styles/editor.less

31 lines
852 B
Plaintext
Raw Normal View History

2013-09-12 01:29:14 +02:00
@import "ui-variables";
@import "ui-mixins";
2015-02-05 21:31:07 +01:00
atom-text-editor[mini] {
2013-09-12 01:29:14 +02:00
color: @text-color-highlight;
background-color: @input-background-color;
border-radius: @component-border-radius;
padding-left: @component-padding/2;
2014-02-27 00:50:08 +01:00
.placeholder-text {
color: @text-color-subtle;
}
2013-09-12 01:29:14 +02:00
.cursor { border-color: #fff; }
.selection .region { background-color: lighten(@input-background-color, 10%); }
2013-09-12 01:29:14 +02:00
}
2015-02-05 21:31:07 +01:00
atom-text-editor[mini].is-focused {
.selection .region { background-color: lighten(@app-background-color, 5%); }
2014-02-27 00:30:56 +01:00
transition: background-color 0.1s
2013-09-12 01:29:14 +02:00
}
@-webkit-keyframes highlight {
from { background-color: rgba(100, 255, 100, 0.7); }
to { background-color: null; }
}
2015-02-05 21:31:07 +01:00
atom-text-editor::shadow .highlighted.selection .region {
2013-09-12 01:29:14 +02:00
-webkit-animation-name: highlight;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: 1;
}