Skip to content

Commit

Permalink
Merge upstream tag v1.12.3
Browse files Browse the repository at this point in the history
- commit 'b3008ca765fb56b290232e9907908bb1a3f0a002'

# Conflicts:
#	package.json
  • Loading branch information
Csaba Maulis committed Jun 23, 2018
2 parents f1046b3 + b3008ca commit 33cb94b
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "solarized-one-light-ui",
"theme": "ui",
"version": "1.12.0",
"version": "1.12.3",
"description": "Solarized One light UI Theme for Atom. A perfect companion for the Solarized Dark Syntax Theme.",
"keywords": [
"light",
Expand Down Expand Up @@ -71,7 +71,7 @@
"stickyHeaders": {
"title": "Make tree-view project headers sticky",
"type": "boolean",
"default": "true",
"default": "false",
"order": 5
}
}
Expand Down
25 changes: 23 additions & 2 deletions styles/config.less
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,31 @@
background: @button-background-color-selected;
}

// Fix sticky header from covering auto-revealed items
.list-item.selected {
// Fix sticky header from covering auto-revealed files
.entry.file.selected {
padding-top: @ui-tab-height;
margin-top: -@ui-tab-height;
}

// Fix sticky header from covering auto-revealed directories when using up/down keys
// for directories, scroll test moves to .header, see https://github.com/atom/tree-view/blob/d2857ad4d7eeb7dad5cf94b33257a8740211480e/lib/tree-view.coffee#L839
.entry.directory.selected:not(.project-root) {
& > .header {
padding-top: @ui-tab-height;
margin-top: -@ui-tab-height;
}
&::before {
margin-top: @ui-tab-height;
}
}

// Fix above directory is not being clickable
.entry.directory {
z-index: 1;
position: relative;
&.selected {
z-index: 0;
}
}
}
}
54 changes: 54 additions & 0 deletions styles/packages.less
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,57 @@
border-color: @level-3-color;
}
}



// GitHub package ---------------------------------------------------

.github {

// Fix focus styles
// Since it's not possible to add a padding to <atom-text-editor>
// a pseudo element is used to add the border when focused.
&-CommitView-editor atom-text-editor.is-focused {
box-shadow: none;
&:before {
content: "";
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
border: 2px solid;
border-color: inherit;
border-radius: @component-border-radius;
}
}

// Add focus styles since :focus doesn't work
&-CommitView-coAuthorEditor {
&.is-focused {
.focus();
}
&.is-open {
border-top-left-radius: 0;
border-top-right-radius: 0;
}


.Select-option {
&.is-focused {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
color: @accent-text-color;
background-color: @accent-color;
}
}
.Select-menu-outer {
left: -2px;
right: -2px;
bottom: 100%;
border: 2px solid @accent-color;
background-color: @overlay-background-color;
}
}

}
2 changes: 1 addition & 1 deletion styles/ui-variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
@panel-heading-background-color: @level-2-color;
@panel-heading-border-color: @base-border-color;

@overlay-background-color: @level-2-color;
@overlay-background-color: mix(@level-2-color, @level-3-color);
@overlay-border-color: @base-border-color;

@button-background-color: @level-1-color;
Expand Down

0 comments on commit 33cb94b

Please sign in to comment.