diff options
Diffstat (limited to 'themer/gen/themer-atom-ui/themer-dark-ui/styles/tabs.less')
-rw-r--r-- | themer/gen/themer-atom-ui/themer-dark-ui/styles/tabs.less | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/themer/gen/themer-atom-ui/themer-dark-ui/styles/tabs.less b/themer/gen/themer-atom-ui/themer-dark-ui/styles/tabs.less new file mode 100644 index 0000000..d7d1bcd --- /dev/null +++ b/themer/gen/themer-atom-ui/themer-dark-ui/styles/tabs.less @@ -0,0 +1,44 @@ + +.tab-bar { + background-color: @tab-bar-background-color; + border-bottom: 1px solid @base-border-color; + + .tab { + color: @text-color; + height: @tab-height; + line-height: @tab-height; + font-size: @font-size; + border-right: 1px solid @tab-border-color; + background-color: @tab-background-color; + &.active { + color: @text-color-selected; + background-color: @tab-background-color-active; + } + + &.modified:not(:hover) .close-icon { + top: 50%; + right: @component-padding + 4px; // 4px -> half of icon size + margin-top: -3px; + border-color: @text-color-info; + } + &.modified:hover .close-icon { + color: currentColor; + } + + .close-icon:hover { + color: @text-color-error; + } + &.active .close-icon:hover { + color: @text-color-error; + } + + &.is-dragging { + background: darken(@tab-background-color, 10%); + border-color: transparent; + opacity: .5; + & .close-icon { + visibility: hidden; + } + } + } +} |