mirror of
https://github.com/atom/atom.git
synced 2026-02-06 04:34:55 -05:00
35 lines
792 B
Plaintext
35 lines
792 B
Plaintext
@import "./variables/ui-variables";
|
|
|
|
.title-bar {
|
|
height: 23px;
|
|
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue";
|
|
font-size: @title-bar-text-size;
|
|
color: @title-bar-text-focused;
|
|
-webkit-user-select: none;
|
|
|
|
padding: 0 10px 0 70px;
|
|
overflow: hidden;
|
|
|
|
.title {
|
|
flex: 0 1 auto;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
background-image: linear-gradient(@title-bar-gradient-focused);
|
|
border-bottom: 1px solid @title-bar-border-color-focused;
|
|
|
|
.is-blurred & {
|
|
color: @title-bar-text-blurred;
|
|
background-image: linear-gradient(@title-bar-gradient-blurred);
|
|
border-bottom-color: @title-bar-border-color-blurred;
|
|
}
|
|
}
|