summaryrefslogtreecommitdiffstats
path: root/public/less/_user.less
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-21 04:24:11 -0800
committerUnknwon <u@gogs.io>2015-12-21 04:24:11 -0800
commita49af93fafe824cdd375318d15de420b3ed61e79 (patch)
tree1508c0bbd9f9caf2c3af8163e4e9abe326093558 /public/less/_user.less
parentc62a6b7a1238524225ec9c214dc5eac7da017663 (diff)
downloadgitea-a49af93fafe824cdd375318d15de420b3ed61e79.tar.gz
gitea-a49af93fafe824cdd375318d15de420b3ed61e79.zip
#1692 APIs: Users Followers
- User profile un/follow - List user's followers/following
Diffstat (limited to 'public/less/_user.less')
-rw-r--r--public/less/_user.less31
1 files changed, 29 insertions, 2 deletions
diff --git a/public/less/_user.less b/public/less/_user.less
index 3aa8e3b5be..3e37011cfb 100644
--- a/public/less/_user.less
+++ b/public/less/_user.less
@@ -1,6 +1,8 @@
.user {
- padding-top: 15px;
- padding-bottom: @footer-margin * 2;
+ &:not(.icon) {
+ padding-top: 15px;
+ padding-bottom: @footer-margin * 2;
+ }
&.settings {
.list {
@@ -38,6 +40,17 @@
&:not(:last-child) {
border-bottom: 1px solid #eaeaea;
}
+
+ .octicon {
+ margin-left: 1px;
+ margin-right: 5px;
+ }
+
+ &.follow {
+ .ui.button {
+ width: 100%;
+ }
+ }
}
}
}
@@ -47,4 +60,18 @@
margin-top: 25px;
}
}
+
+ &.followers {
+ .header.name {
+ font-size: 20px;
+ line-height: 24px;
+ vertical-align: middle;
+ }
+
+ .follow {
+ .ui.button {
+ padding: 8px 15px;
+ }
+ }
+ }
}