This repository was archived by the owner on Aug 25, 2018. It is now read-only.
File tree 2 files changed +55
-1
lines changed 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 175
175
border-color : @level-3-color ;
176
176
}
177
177
}
178
+
179
+
180
+
181
+ // GitHub package ---------------------------------------------------
182
+
183
+ .github {
184
+
185
+ // Fix focus styles
186
+ // Since it's not possible to add a padding to <atom-text-editor>
187
+ // a pseudo element is used to add the border when focused.
188
+ &-CommitView-editor atom- text- editor.is-focused {
189
+ box-shadow : none ;
190
+ & :before {
191
+ content : " " ;
192
+ position : absolute ;
193
+ top : -2px ;
194
+ left : -2px ;
195
+ right : -2px ;
196
+ bottom : -2px ;
197
+ border : 2px solid ;
198
+ border-color : inherit ;
199
+ border-radius : @component-border-radius ;
200
+ }
201
+ }
202
+
203
+ // Add focus styles since :focus doesn't work
204
+ &-CommitView-coAuthorEditor {
205
+ & .is-focused {
206
+ .focus ();
207
+ }
208
+ & .is-open {
209
+ border-top-left-radius : 0 ;
210
+ border-top-right-radius : 0 ;
211
+ }
212
+
213
+
214
+ .Select-option {
215
+ & .is-focused {
216
+ border-bottom-left-radius : 0 ;
217
+ border-bottom-right-radius : 0 ;
218
+ color : @accent-text-color ;
219
+ background-color : @accent-color ;
220
+ }
221
+ }
222
+ .Select-menu-outer {
223
+ left : -2px ;
224
+ right : -2px ;
225
+ bottom : 100% ;
226
+ border : 2px solid @accent-color ;
227
+ background-color : @overlay-background-color ;
228
+ }
229
+ }
230
+
231
+ }
Original file line number Diff line number Diff line change 55
55
@panel-heading-background-color : @level-2-color ;
56
56
@panel-heading-border-color : @base-border-color ;
57
57
58
- @overlay-background-color : @level-2-color ;
58
+ @overlay-background-color : mix ( @level-2-color , @level-3-color ) ;
59
59
@overlay-border-color : @base-border-color ;
60
60
61
61
@button-background-color : @level-1-color ;
You can’t perform that action at this time.
0 commit comments