Files
Gogs/public/less/_user.less

121 lines
1.6 KiB
Plaintext
Raw Normal View History

.user {
&:not(.icon) {
padding-top: 15px;
padding-bottom: @footer-margin * 2;
}
2015-08-19 03:36:16 +08:00
&.settings {
2015-09-10 11:40:34 -04:00
.list {
2015-08-19 03:40:23 +08:00
.item.ui.grid {
margin-top: 15px;
2015-08-19 03:36:16 +08:00
}
}
2015-09-10 11:40:34 -04:00
.email.list {
.item:not(:first-child) {
border-top: 1px solid #eaeaea;
height: 50px;
.button {
margin-top: -10px;
}
}
2017-04-07 15:08:53 -04:00
.item .ui.primary.label {
margin-top: -5px;
}
}
&.sshkeys,
&.applications {
.right.floated.button {
padding-top: 1rem;
padding-bottom: 1rem;
}
2015-09-10 11:40:34 -04:00
}
2017-04-06 00:14:30 -04:00
&.security {
.two-factor .toggle.button {
margin-top: -5px;
}
}
&.repositories .repos {
padding: 0;
.item {
padding: 15px;
height: 46px;
.button {
margin-top: -5px;
}
}
}
2017-04-06 00:14:30 -04:00
&.organizations .orgs {
&.non-empty {
padding: 0;
}
.item {
padding: 10px;
.button {
margin-top: 5px;
margin-right: 8px;
}
}
}
2015-08-19 03:36:16 +08:00
}
2015-11-16 11:11:59 -05:00
&.profile {
.ui.card {
.profile-avatar {
height: 287px;
}
.header {
word-break: break-all;
}
2015-11-16 11:11:59 -05:00
.username {
display: block;
}
.extra.content {
padding: 0;
ul {
margin: 0;
padding: 0;
li {
padding: 10px;
list-style: none;
&:not(:last-child) {
border-bottom: 1px solid #eaeaea;
}
.octicon {
margin-left: 1px;
margin-right: 5px;
}
&.follow {
.ui.button {
width: 100%;
}
}
2015-11-16 11:11:59 -05:00
}
}
}
}
2015-11-17 02:18:05 -05:00
.ui.repository.list {
margin-top: 25px;
}
2015-11-16 11:11:59 -05:00
}
&.followers {
.header.name {
font-size: 20px;
line-height: 24px;
vertical-align: middle;
}
.follow {
.ui.button {
padding: 8px 15px;
}
}
}
}