Skip to content

Commit

Permalink
Fix missing less sources for oauth (go-gitea#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk authored and lunny committed Mar 17, 2017
1 parent 1476bf9 commit 925b252
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 33 deletions.
64 changes: 32 additions & 32 deletions public/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,23 @@ footer .ui.language .menu {
#create-page-form form textarea {
width: 50%!important;
}
.signin .oauth2 div {
display: inline-block;
}
.signin .oauth2 div p {
margin: 10px 5px 0 0;
float: left;
}
.signin .oauth2 a {
margin-right: 5px;
}
.signin .oauth2 a:last-child {
margin-right: 0px;
}
.signin .oauth2 img {
width: 32px;
height: 32px;
}
.user.activate form,
.user.forgot.password form,
.user.reset.password form,
Expand Down Expand Up @@ -1414,17 +1431,6 @@ footer .ui.language .menu {
.repository.file.editor .commit-form-wrapper {
padding-left: 64px;
}
.repository.file.editor .tab[data-tab="write"] {
padding: 0 !important;
}
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
border: none !important;
}
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
border-left: none;
border-right: none;
border-bottom: none;
}
.repository.file.editor .commit-form-wrapper .commit-avatar {
float: left;
margin-left: -64px;
Expand Down Expand Up @@ -2557,6 +2563,17 @@ footer .ui.language .menu {
.CodeMirror .cm-comment {
background: inherit !important;
}
.repository.file.editor .tab[data-tab="write"] {
padding: 0 !important;
}
.repository.file.editor .tab[data-tab="write"] .editor-toolbar {
border: none !important;
}
.repository.file.editor .tab[data-tab="write"] .CodeMirror {
border-left: none;
border-right: none;
border-bottom: none;
}
.organization {
padding-top: 15px;
padding-bottom: 80px;
Expand Down Expand Up @@ -2764,6 +2781,10 @@ footer .ui.language .menu {
.user.notification .octicon.blue {
color: #2185d0;
}
.user.link-account:not(.icon) {
padding-top: 15px;
padding-bottom: 5px;
}
.dashboard {
padding-top: 15px;
padding-bottom: 80px;
Expand Down Expand Up @@ -3013,24 +3034,3 @@ footer .ui.language .menu {
.ui.user.list .item .description a:hover {
text-decoration: underline;
}
.user.link-account:not(.icon) {
padding-top: 15px;
padding-bottom: 5px;
}
.signin .oauth2 div {
display: inline-block;
}
.signin .oauth2 div p {
margin: 10px 5px 0 0;
float: left;
}
.signin .oauth2 a {
margin-right: 5px;
}
.signin .oauth2 a:last-child {
margin-right: 0px;
}
.signin .oauth2 img {
width: 32px;
height: 32px;
}
23 changes: 22 additions & 1 deletion public/less/_form.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,27 @@
}
}

.signin {
.oauth2{
div {
display: inline-block;
p {
margin: 10px 5px 0 0;
float: left;
}
}
a {
margin-right: 5px;
&:last-child {
margin-right: 0px;
}
}
img {
width: 32px;
height: 32px;
}
}
}
.user.activate,
.user.forgot.password,
.user.reset.password,
Expand Down Expand Up @@ -85,7 +106,7 @@
.header {
padding-left: 0 !important;
text-align: center;
}
}
}
}

Expand Down
4 changes: 4 additions & 0 deletions public/less/_user.less
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,8 @@
}
}
}
&.link-account:not(.icon) {
padding-top: 15px;
padding-bottom: 5px;
}
}

0 comments on commit 925b252

Please sign in to comment.