diff options
author | Unknwon <u@gogs.io> | 2015-11-13 12:05:48 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-13 12:05:48 -0500 |
commit | 0f438ef0b3fe641df102212becb32cdfb4dd3305 (patch) | |
tree | 55eca7cea3b5b5ff2592426eb9374459c5fef323 /public/less/_dashboard.less | |
parent | a6c7716742943aa492545716b629a566c4d923de (diff) | |
download | gitea-0f438ef0b3fe641df102212becb32cdfb4dd3305.tar.gz gitea-0f438ef0b3fe641df102212becb32cdfb4dd3305.zip |
new dashboard ui
Diffstat (limited to 'public/less/_dashboard.less')
-rw-r--r-- | public/less/_dashboard.less | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less index 19264b0953..2a3d973427 100644 --- a/public/less/_dashboard.less +++ b/public/less/_dashboard.less @@ -2,6 +2,7 @@ padding-top: 15px; padding-bottom: @footer-margin * 2; + &.feeds, &.issues { .context.user.menu { z-index: 101; @@ -52,4 +53,67 @@ } } } +} + +&.feeds { + .news { + .ui.avatar { + margin-top: 13px; + } + p { + line-height: 1em; + } + .time-since { + font-size: 13px; + } + .issue.title { + line-height: 1em; + width: 80%; + } + .push.news .content ul { + font-size: 13px; + list-style: none; + padding-left: 10px; + + img { + margin-bottom: -2px; + } + .text.truncate { + width: 80%; + margin-bottom: -5px; + } + } + } + + .list { + .header { + padding-top: 10px; + padding-bottom: 5px; + } + ul { + list-style: none; + margin: 0; + padding-left: 0; + + li { + &:not(:last-child) { + border-bottom: 1px solid #EAEAEA; + } + + &.private { + background-color: #fcf8e9; + } + + a { + padding: 6px 1.2em; + display: block; + + .octicon { + margin-right: 6px; + color: #888; + } + } + } + } + } }
\ No newline at end of file |