mirror of
https://github.com/atom/atom.git
synced 2026-02-06 04:34:55 -05:00
55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
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;
|
|
}
|
|
|
|
[title-bar-style="combined"] & {
|
|
display: none;
|
|
position: absolute;
|
|
}
|
|
}
|
|
|
|
[title-bar-style="combined"] .tab-bar {
|
|
height: 37px;
|
|
padding-left: 80px;
|
|
background-image: linear-gradient(@title-bar-gradient-focused);
|
|
|
|
.tab {
|
|
top: 7px;
|
|
border-radius: 3px 3px 0 0 !important;
|
|
&:after {
|
|
border-radius: 3px 3px 0 0 !important;
|
|
}
|
|
}
|
|
}
|