diff --git a/lib/views/remote-selector-view.js b/lib/views/remote-selector-view.js
index 9dd3624372..4f31aa36fb 100644
--- a/lib/views/remote-selector-view.js
+++ b/lib/views/remote-selector-view.js
@@ -15,8 +15,8 @@ export default class RemoteSelectorView extends React.Component {
// todo: ask Ash how to test this before merging.
return (
-
-
+
+
Select a Remote
This repository has multiple remotes hosted at GitHub.com.
Select a remote to see pull requests associated
diff --git a/styles/git-tab.less b/styles/git-tab.less
index 54d6ff2bcf..26a955d4ed 100644
--- a/styles/git-tab.less
+++ b/styles/git-tab.less
@@ -17,31 +17,39 @@
-webkit-user-select: none;
cursor: default;
- &.no-repository {
- padding: @component-padding * 3;
- text-align: center;
- }
-
&.is-loading {
color: @text-color-subtle;
}
- &.no-repository {
+ &.no-repository,
+ &.too-many-changes,
+ &.unsupported-directory {
display: flex;
justify-content: center;
font-size: 1.25em;
+ padding: @component-padding * 3;
+ text-align: center;
> * {
margin: @component-padding 0;
}
- .git-logo-path {
- fill: mix(@base-background-color, @text-color, 66%); // 2/3 of bg color
+ h1 {
+ margin-bottom: @component-padding * 3;
}
- .btn.btn-primary {
+ button {
overflow: hidden;
text-overflow: ellipsis;
}
}
+
+ &-LargeIcon:before {
+ margin-right: 0;
+ margin-bottom: @component-padding * 5;
+ width: auto;
+ height: auto;
+ font-size: 8em;
+ color: mix(@base-background-color, @text-color, 66%); // 2/3 of bg color
+ }
}
diff --git a/styles/github-login-view.less b/styles/github-login-view.less
index 974ff37e4f..9559a89ac8 100644
--- a/styles/github-login-view.less
+++ b/styles/github-login-view.less
@@ -1,40 +1,47 @@
-.github-GithubLoginView-Container {
- height: 100%;
- display: flex;
-}
-
.github-GithubLoginView {
- height: 100%;
+ flex: 1;
display: flex;
+ flex-direction: column;
+ font-size: 1.25em;
.github-GithubLoginView-Subview {
flex: 1;
display: flex;
flex-direction: column;
- align-self: center;
- align-items: center;
- padding: 20px;
+ justify-content: center;
+ text-align: center;
+ padding: @component-padding * 3;
- > button, > input {
- margin: @component-padding;
+ > * {
+ margin: @component-padding 0;
}
- }
- p {
- text-align: center;
- font-size: @font-size * 1.25;
- margin: 0;
+ h1 {
+ margin-bottom: @component-padding * 3;
+ }
- &:first-child {
- margin-bottom: 20px;
+ button {
+ width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
- a {
- color: @text-color-info;
+ ol {
+ text-align: left;
+ padding: @component-padding 0;
+
+ a {
+ color: @text-color-info;
+ }
}
- }
- input[type=text] {
- width: 100%;
+ ul {
+ list-style: none;
+ padding-left: 0;
+
+ li:not(:last-child) {
+ margin-bottom: @component-padding;
+ }
+ }
}
}
diff --git a/styles/github-tab.less b/styles/github-tab.less
index d837b1fb1b..5d9dc35114 100644
--- a/styles/github-tab.less
+++ b/styles/github-tab.less
@@ -33,27 +33,35 @@
> * {
margin: @component-padding 0;
}
+
+ h1 {
+ margin-bottom: @component-padding * 3;
+ }
}
.github-RemoteSelector {
ul {
list-style: none;
padding-left: 0;
+
+ li:not(:last-child) {
+ margin-bottom: @component-padding;
+ }
}
button {
width: 100%;
- margin-bottom: 10px;
overflow: hidden;
text-overflow: ellipsis;
}
}
- &-largeGitHubLogo:before {
+ &-LargeIcon:before {
margin-right: 0;
+ margin-bottom: @component-padding * 5;
width: auto;
height: auto;
- font-size: 6em;
+ font-size: 8em;
color: mix(@base-background-color, @text-color, 66%); // 2/3 of bg color
}
}