summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-16 11:11:59 -0500
committerUnknwon <u@gogs.io>2015-11-16 11:11:59 -0500
commit5dc3dd17049a5c097122c6159aa7a915658c263a (patch)
tree5ab99c59f6b9cf55f4e4de5b0cf5619d95c81355 /public
parent134d8e7681d098b8b37d4ee47cea0e03d643965d (diff)
downloadgitea-5dc3dd17049a5c097122c6159aa7a915658c263a.tar.gz
gitea-5dc3dd17049a5c097122c6159aa7a915658c263a.zip
fix #1960
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css34
-rw-r--r--public/less/_base.less3
-rw-r--r--public/less/_explore.less44
-rw-r--r--public/less/_user.less25
4 files changed, 79 insertions, 27 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 6300dfaa66..db86e3de34 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -848,6 +848,9 @@ pre.raw {
.ui .text.yellow {
color: #FBBD08 !important;
}
+.ui .text.gold {
+ color: #a1882b !important;
+}
.ui .text.left {
text-align: left !important;
}
@@ -2688,6 +2691,23 @@ footer .container .links > *:first-child {
.user.settings .email.list .item:not(:first-child) .button {
margin-top: -10px;
}
+.user.profile .ui.card .username {
+ display: block;
+}
+.user.profile .ui.card .extra.content {
+ padding: 0;
+}
+.user.profile .ui.card .extra.content ul {
+ margin: 0;
+ padding: 0;
+}
+.user.profile .ui.card .extra.content ul li {
+ padding: 10px;
+ list-style: none;
+}
+.user.profile .ui.card .extra.content ul li:not(:last-child) {
+ border-bottom: 1px solid #eaeaea;
+}
.dashboard {
padding-top: 15px;
padding-bottom: 80px;
@@ -2820,24 +2840,26 @@ footer .container .links > *:first-child {
padding-top: 15px;
padding-bottom: 80px;
}
-.explore.repositories .ui.repository.list .item {
+.ui.repository.list .item {
+ padding-bottom: 25px;
+}
+.ui.repository.list .item:not(:first-child) {
border-top: 1px solid #eee;
padding-top: 25px;
- padding-bottom: 25px;
}
-.explore.repositories .ui.repository.list .item .ui.header {
+.ui.repository.list .item .ui.header {
font-size: 1.5rem;
padding-bottom: 10px;
}
-.explore.repositories .ui.repository.list .item .ui.header .metas {
+.ui.repository.list .item .ui.header .metas {
color: #888;
font-size: 13px;
font-weight: normal;
}
-.explore.repositories .ui.repository.list .item .ui.header .metas span:not(:last-child) {
+.ui.repository.list .item .ui.header .metas span:not(:last-child) {
margin-right: 5px;
}
-.explore.repositories .ui.repository.list .item .time {
+.ui.repository.list .item .time {
font-size: 12px;
color: #808080;
}
diff --git a/public/less/_base.less b/public/less/_base.less
index fca214b396..086c687709 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -139,6 +139,9 @@ pre {
&.yellow {
color: #FBBD08 !important;
}
+ &.gold {
+ color: #a1882b !important;
+ }
&.left {
text-align: left !important;
diff --git a/public/less/_explore.less b/public/less/_explore.less
index 5d6be53777..b510c71a10 100644
--- a/public/less/_explore.less
+++ b/public/less/_explore.less
@@ -1,30 +1,32 @@
.explore {
padding-top: 15px;
padding-bottom: @footer-margin * 2;
+}
- &.repositories {
- .ui.repository.list {
- .item {
- border-top: 1px solid #eee;
- padding-top: 25px;
- padding-bottom: 25px;
- .ui.header {
- font-size: 1.5rem;
- padding-bottom: 10px;
- .metas {
- color: #888;
- font-size: 13px;
- font-weight: normal;
- span:not(:last-child) {
- margin-right: 5px;
- }
- }
- }
- .time {
- font-size: 12px;
- color: #808080;
+.ui.repository.list {
+ .item {
+ padding-bottom: 25px;
+
+ &:not(:first-child) {
+ border-top: 1px solid #eee;
+ padding-top: 25px;
+ }
+
+ .ui.header {
+ font-size: 1.5rem;
+ padding-bottom: 10px;
+ .metas {
+ color: #888;
+ font-size: 13px;
+ font-weight: normal;
+ span:not(:last-child) {
+ margin-right: 5px;
}
}
}
+ .time {
+ font-size: 12px;
+ color: #808080;
+ }
}
} \ No newline at end of file
diff --git a/public/less/_user.less b/public/less/_user.less
index c403e3580d..bf0de5068a 100644
--- a/public/less/_user.less
+++ b/public/less/_user.less
@@ -18,4 +18,29 @@
}
}
}
+
+ &.profile {
+ .ui.card {
+ .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;
+ }
+ }
+ }
+ }
+ }
+ }
} \ No newline at end of file