Repository navigation
Expand file tree
/
Copy pathdock.less
More file actions
132 lines (104 loc) · 2.74 KB
/
Copy pathdock.less
File metadata and controls
132 lines (104 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
@import "variables";
// Dock overrides
// Here ALL the overrides when a pane/panel gets used as a dock item
// It's not too high of a priority, but still good to check (and fix) once in a while
// Git Panel (in bottom dock) ----------------------------------------------
atom-dock.bottom {
.github-Git {
flex-direction: row;
}
.github-StagingView {
display: contents; // make these invisible to layout
}
.github-Git > div {
flex: 1;
}
.github-StagedChanges {
border-left: 1px solid @base-border-color;
border-right: 1px solid @base-border-color;
}
.github-StagingView-header {
flex-wrap: wrap;
}
.github-StagingView-group:first-child .github-StagingView-header {
border-top: 1px solid @base-border-color;
}
.github-RecentCommits {
max-height: none;
border-left: 1px solid @base-border-color;
}
}
// GitHub Pane (in left/right dock) ----------------------------------------------
atom-dock.left .github-IssueishDetailView,
atom-dock.right .github-IssueishDetailView {
// Header
&-header {
display: block;
padding: @component-padding;
background-color: @tool-panel-background-color;
}
&-avatar { position: absolute; }
&-avatarImage {
width: 20px;
height: 20px;
}
&-headerRow:nth-child(1) {
padding-left: 25px; // space for avatar
overflow: hidden;
}
&-title {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
&-checkoutButton {
margin: @component-padding 0 0 0;
}
&-tablist { flex-wrap: wrap; }
&-tab { padding: @component-padding/2 @component-padding; }
&-tab-icon { display: none; }
// [Overview]
&-overview {
font-size: .9em;
& > .github-DotComMarkdownHtml,
.timeline-item {
padding: @component-padding;
}
}
// [Build Status]
&-buildStatus { padding: 0; }
.github-PrStatuses {
&-header { border-top: none; }
&-header,
&-list-item {
border-radius: 0;
border-left: none;
border-right: none;
}
}
// [Commits]
.github-PrCommitsView-commitWrapper {
padding: 0;
}
.github-PrCommitView-container {
font-size: .9em;
border-left: none;
border-right: none;
&:first-child {
border-top: none;
border-radius: 0;
}
&:last-child {
border-bottom: none;
border-radius: 0;
}
}
}
// Commit Detail (in left/right dock) ----------------------------------------------
atom-dock.left .github-CommitDetailView,
atom-dock.right .github-CommitDetailView {
&-header { background-color: @tool-panel-background-color; }
&-commit { padding: @component-padding @component-padding 0 @component-padding; }
&-meta { margin-bottom: @component-padding; }
&-moreText { padding: @component-padding 0; }
}