Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
fix issue #1 and make tabs look better
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyRobot authored and JoshyRobot committed Feb 5, 2017
1 parent 1adbfa3 commit 72d6378
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion styles/editor.less
Expand Up @@ -21,7 +21,7 @@ atom-text-editor[mini] {

&,
// <-- Deprecated. The `&,` can be removed once the Shadow DOM can't be turned off in the settings.
&::shadow {
&.editor {
.placeholder-text {
color: @text-color-subtle;
}
Expand Down
8 changes: 5 additions & 3 deletions styles/tabs.less
Expand Up @@ -16,7 +16,7 @@
border: 1px solid @tab-bar-background-color;
border-bottom: 1px solid @base-border-color;

transition: background 0.25s;
transition: all 0.25s;

font-size: @font-size;
line-height: @tab-height;
Expand All @@ -32,6 +32,8 @@

&:not(.active):hover {
background: @kde-background-hover;
border: 1px solid @kde-background-hover;
border-bottom: 1px solid @base-border-color;
}

&:first-child {
Expand Down Expand Up @@ -71,9 +73,9 @@
// Styles get applied while dragging a tab
&.is-dragging {
opacity: 0.5;
background: darken(@tab-background-color, 10%);
background: @base-background-color;

border-color: transparent;
// border: none;
& .close-icon {
visibility: hidden;
}
Expand Down

0 comments on commit 72d6378

Please sign in to comment.