diff options
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/github.min.css | 1 | ||||
-rwxr-xr-x | public/css/gogs.css | 79 |
2 files changed, 74 insertions, 6 deletions
diff --git a/public/css/github.min.css b/public/css/github.min.css new file mode 100644 index 00000000..7b3600c9 --- /dev/null +++ b/public/css/github.min.css @@ -0,0 +1 @@ +.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8}.hljs-comment,.hljs-template_comment,.diff .hljs-header,.hljs-javadoc{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.javascript .hljs-title,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:#099}.hljs-string,.hljs-tag .hljs-value,.hljs-phpdoc,.tex .hljs-formula{color:#d14}.hljs-title,.hljs-id,.coffeescript .hljs-params,.scss .hljs-preprocessor{color:#900;font-weight:bold}.javascript .hljs-title,.lisp .hljs-title,.clojure .hljs-title,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.haskell .hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag,.hljs-tag .hljs-title,.hljs-rules .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body{color:#008080}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in,.lisp .hljs-title,.clojure .hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa}
\ No newline at end of file diff --git a/public/css/gogs.css b/public/css/gogs.css index dd12ec53..cfa11341 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1258,9 +1258,16 @@ body { } #issue .issue-child .panel-heading .user, #issue .issue-closed a.user, -#issue .issue-opened a.user { +#issue .issue-opened a.user, +#issue .issue-reference a.user { font-weight: bold; } + +#issue .issue-child .issue-content .user .avatar { + height: 21px; + width: 21px; +} + #issue .issue-line { border-color: #CCC; } @@ -1280,18 +1287,26 @@ body { width: 60%; } #issue .issue-closed .issue-content, -#issue .issue-opened .issue-content { +#issue .issue-opened .issue-content, +#issue .issue-reference .issue-content { line-height: 42px; } #issue .issue-closed, -#issue .issue-opened { +#issue .issue-opened, +#issue .issue-reference { border-bottom: 2px solid #CCC; margin-bottom: 24px; padding-bottom: 24px; } + +#issue .issue-reference { + padding-bottom: 6px; +} + #issue .issue-closed .label-danger, -#issue .issue-opened .label-success { - margin: 0 .8em; +#issue .issue-opened .label-success, +#issue .issue-reference .label-primary { + margin: 0.8em; } #issue .milestone-item .actions { margin-top: 10px; @@ -1779,4 +1794,56 @@ body { color: #444; font-weight: bold; line-height: 30px; -}
\ No newline at end of file +} + +.issue-main .attachments { + margin: 0px 10px 10px 10px; +} + +.issue-main .attachments .attachment-label { + margin-right: 5px; +} + +.attachment-preview { + position: absolute; + top: 0px; + bottom: 0px; + + margin: 5px; + padding: 8px; + + background: #fff; + border: 1px solid #d8d8d8; + box-shadow: 0 0 5px 1px #d8d8d8; +} + +.attachment-preview-img { + border: 1px solid #d8d8d8; +} + +#attachments-button { + float: left; +} + +#attached { + margin: 10px 0 15px; +} + +#attached-list .label { + display: inline-block; + vertical-align: top; + margin-right: 10px; + padding-right: 0; +} + +#attached-list .label .attachment-remove { + cursor: pointer; +} + +#attached-list .label .attachment-remove:hover { + background: #d8d8d8; +} + +#issue-create-form #attached { + margin-bottom: 0; +} |