diff options
Diffstat (limited to 'public/css/gogs.css')
-rw-r--r--[-rwxr-xr-x] | public/css/gogs.css | 856 |
1 files changed, 140 insertions, 716 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 0014c5fa..ba8a134f 100755..100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1,714 +1,3 @@ -@font-face { - font-family: 'octicons'; - src: url('../fonts/octicons.eot?#iefix&v=30e752e9a0821a0a098947055eeece0b0f46bc34') format('embedded-opentype'), url('../fonts/octicons.woff?v=30e752e9a0821a0a098947055eeece0b0f46bc34') format('woff'), url('../fonts/octicons.ttf?v=30e752e9a0821a0a098947055eeece0b0f46bc34') format('truetype'), url('../fonts/octicons.svg?v=30e752e9a0821a0a098947055eeece0b0f46bc34#octicons') format('svg'); - font-weight: normal; - font-style: normal; -} -.octicon, -.mega-octicon { - font: normal normal normal 16px/1 octicons; - display: inline-block; - text-decoration: none; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.mega-octicon { - font-size: 32px; -} -.octicon-alert:before { - content: '\f02d'; -} -/* */ -.octicon-arrow-down:before { - content: '\f03f'; -} -/* */ -.octicon-arrow-left:before { - content: '\f040'; -} -/* */ -.octicon-arrow-right:before { - content: '\f03e'; -} -/* */ -.octicon-arrow-small-down:before { - content: '\f0a0'; -} -/* */ -.octicon-arrow-small-left:before { - content: '\f0a1'; -} -/* */ -.octicon-arrow-small-right:before { - content: '\f071'; -} -/* */ -.octicon-arrow-small-up:before { - content: '\f09f'; -} -/* */ -.octicon-arrow-up:before { - content: '\f03d'; -} -/* */ -.octicon-microscope:before, -.octicon-beaker:before { - content: '\f0dd'; -} -/* */ -.octicon-bell:before { - content: '\f0de'; -} -/* */ -.octicon-bold:before { - content: '\f0e2'; -} -/* */ -.octicon-book:before { - content: '\f007'; -} -/* */ -.octicon-bookmark:before { - content: '\f07b'; -} -/* */ -.octicon-briefcase:before { - content: '\f0d3'; -} -/* */ -.octicon-broadcast:before { - content: '\f048'; -} -/* */ -.octicon-browser:before { - content: '\f0c5'; -} -/* */ -.octicon-bug:before { - content: '\f091'; -} -/* */ -.octicon-calendar:before { - content: '\f068'; -} -/* */ -.octicon-check:before { - content: '\f03a'; -} -/* */ -.octicon-checklist:before { - content: '\f076'; -} -/* */ -.octicon-chevron-down:before { - content: '\f0a3'; -} -/* */ -.octicon-chevron-left:before { - content: '\f0a4'; -} -/* */ -.octicon-chevron-right:before { - content: '\f078'; -} -/* */ -.octicon-chevron-up:before { - content: '\f0a2'; -} -/* */ -.octicon-circle-slash:before { - content: '\f084'; -} -/* */ -.octicon-circuit-board:before { - content: '\f0d6'; -} -/* */ -.octicon-clippy:before { - content: '\f035'; -} -/* */ -.octicon-clock:before { - content: '\f046'; -} -/* */ -.octicon-cloud-download:before { - content: '\f00b'; -} -/* */ -.octicon-cloud-upload:before { - content: '\f00c'; -} -/* */ -.octicon-code:before { - content: '\f05f'; -} -/* */ -.octicon-color-mode:before { - content: '\f065'; -} -/* */ -.octicon-comment-add:before, -.octicon-comment:before { - content: '\f02b'; -} -/* */ -.octicon-comment-discussion:before { - content: '\f04f'; -} -/* */ -.octicon-credit-card:before { - content: '\f045'; -} -/* */ -.octicon-dash:before { - content: '\f0ca'; -} -/* */ -.octicon-dashboard:before { - content: '\f07d'; -} -/* */ -.octicon-database:before { - content: '\f096'; -} -/* */ -.octicon-clone:before, -.octicon-desktop-download:before { - content: '\f0dc'; -} -/* */ -.octicon-device-camera:before { - content: '\f056'; -} -/* */ -.octicon-device-camera-video:before { - content: '\f057'; -} -/* */ -.octicon-device-desktop:before { - content: '\f27c'; -} -/* */ -.octicon-device-mobile:before { - content: '\f038'; -} -/* */ -.octicon-diff:before { - content: '\f04d'; -} -/* */ -.octicon-diff-added:before { - content: '\f06b'; -} -/* */ -.octicon-diff-ignored:before { - content: '\f099'; -} -/* */ -.octicon-diff-modified:before { - content: '\f06d'; -} -/* */ -.octicon-diff-removed:before { - content: '\f06c'; -} -/* */ -.octicon-diff-renamed:before { - content: '\f06e'; -} -/* */ -.octicon-ellipsis:before { - content: '\f09a'; -} -/* */ -.octicon-eye-unwatch:before, -.octicon-eye-watch:before, -.octicon-eye:before { - content: '\f04e'; -} -/* */ -.octicon-file-binary:before { - content: '\f094'; -} -/* */ -.octicon-file-code:before { - content: '\f010'; -} -/* */ -.octicon-file-directory:before { - content: '\f016'; -} -/* */ -.octicon-file-media:before { - content: '\f012'; -} -/* */ -.octicon-file-pdf:before { - content: '\f014'; -} -/* */ -.octicon-file-submodule:before { - content: '\f017'; -} -/* */ -.octicon-file-symlink-directory:before { - content: '\f0b1'; -} -/* */ -.octicon-file-symlink-file:before { - content: '\f0b0'; -} -/* */ -.octicon-file-text:before { - content: '\f011'; -} -/* */ -.octicon-file-zip:before { - content: '\f013'; -} -/* */ -.octicon-flame:before { - content: '\f0d2'; -} -/* */ -.octicon-fold:before { - content: '\f0cc'; -} -/* */ -.octicon-gear:before { - content: '\f02f'; -} -/* */ -.octicon-gift:before { - content: '\f042'; -} -/* */ -.octicon-gist:before { - content: '\f00e'; -} -/* */ -.octicon-gist-secret:before { - content: '\f08c'; -} -/* */ -.octicon-git-branch-create:before, -.octicon-git-branch-delete:before, -.octicon-git-branch:before { - content: '\f020'; -} -/* */ -.octicon-git-commit:before { - content: '\f01f'; -} -/* */ -.octicon-git-compare:before { - content: '\f0ac'; -} -/* */ -.octicon-git-merge:before { - content: '\f023'; -} -/* */ -.octicon-git-pull-request-abandoned:before, -.octicon-git-pull-request:before { - content: '\f009'; -} -/* */ -.octicon-globe:before { - content: '\f0b6'; -} -/* */ -.octicon-graph:before { - content: '\f043'; -} -/* */ -.octicon-heart:before { - content: '\2665'; -} -/* ♥ */ -.octicon-history:before { - content: '\f07e'; -} -/* */ -.octicon-home:before { - content: '\f08d'; -} -/* */ -.octicon-horizontal-rule:before { - content: '\f070'; -} -/* */ -.octicon-hubot:before { - content: '\f09d'; -} -/* */ -.octicon-inbox:before { - content: '\f0cf'; -} -/* */ -.octicon-info:before { - content: '\f059'; -} -/* */ -.octicon-issue-closed:before { - content: '\f028'; -} -/* */ -.octicon-issue-opened:before { - content: '\f026'; -} -/* */ -.octicon-issue-reopened:before { - content: '\f027'; -} -/* */ -.octicon-italic:before { - content: '\f0e4'; -} -/* */ -.octicon-jersey:before { - content: '\f019'; -} -/* */ -.octicon-key:before { - content: '\f049'; -} -/* */ -.octicon-keyboard:before { - content: '\f00d'; -} -/* */ -.octicon-law:before { - content: '\f0d8'; -} -/* */ -.octicon-light-bulb:before { - content: '\f000'; -} -/* */ -.octicon-link:before { - content: '\f05c'; -} -/* */ -.octicon-link-external:before { - content: '\f07f'; -} -/* */ -.octicon-list-ordered:before { - content: '\f062'; -} -/* */ -.octicon-list-unordered:before { - content: '\f061'; -} -/* */ -.octicon-location:before { - content: '\f060'; -} -/* */ -.octicon-gist-private:before, -.octicon-mirror-private:before, -.octicon-git-fork-private:before, -.octicon-lock:before { - content: '\f06a'; -} -/* */ -.octicon-logo-gist:before { - content: '\f0ad'; -} -/* */ -.octicon-logo-github:before { - content: '\f092'; -} -/* */ -.octicon-mail:before { - content: '\f03b'; -} -/* */ -.octicon-mail-read:before { - content: '\f03c'; -} -/* */ -.octicon-mail-reply:before { - content: '\f051'; -} -/* */ -.octicon-mark-github:before { - content: '\f00a'; -} -/* */ -.octicon-markdown:before { - content: '\f0c9'; -} -/* */ -.octicon-megaphone:before { - content: '\f077'; -} -/* */ -.octicon-mention:before { - content: '\f0be'; -} -/* */ -.octicon-milestone:before { - content: '\f075'; -} -/* */ -.octicon-mirror-public:before, -.octicon-mirror:before { - content: '\f024'; -} -/* */ -.octicon-mortar-board:before { - content: '\f0d7'; -} -/* */ -.octicon-mute:before { - content: '\f080'; -} -/* */ -.octicon-no-newline:before { - content: '\f09c'; -} -/* */ -.octicon-octoface:before { - content: '\f008'; -} -/* */ -.octicon-organization:before { - content: '\f037'; -} -/* */ -.octicon-package:before { - content: '\f0c4'; -} -/* */ -.octicon-paintcan:before { - content: '\f0d1'; -} -/* */ -.octicon-pencil:before { - content: '\f058'; -} -/* */ -.octicon-person-add:before, -.octicon-person-follow:before, -.octicon-person:before { - content: '\f018'; -} -/* */ -.octicon-pin:before { - content: '\f041'; -} -/* */ -.octicon-plug:before { - content: '\f0d4'; -} -/* */ -.octicon-repo-create:before, -.octicon-gist-new:before, -.octicon-file-directory-create:before, -.octicon-file-add:before, -.octicon-plus:before { - content: '\f05d'; -} -/* */ -.octicon-primitive-dot:before { - content: '\f052'; -} -/* */ -.octicon-primitive-square:before { - content: '\f053'; -} -/* */ -.octicon-pulse:before { - content: '\f085'; -} -/* */ -.octicon-question:before { - content: '\f02c'; -} -/* */ -.octicon-quote:before { - content: '\f063'; -} -/* */ -.octicon-radio-tower:before { - content: '\f030'; -} -/* */ -.octicon-repo-delete:before, -.octicon-repo:before { - content: '\f001'; -} -/* */ -.octicon-repo-clone:before { - content: '\f04c'; -} -/* */ -.octicon-repo-force-push:before { - content: '\f04a'; -} -/* */ -.octicon-gist-fork:before, -.octicon-repo-forked:before { - content: '\f002'; -} -/* */ -.octicon-repo-pull:before { - content: '\f006'; -} -/* */ -.octicon-repo-push:before { - content: '\f005'; -} -/* */ -.octicon-rocket:before { - content: '\f033'; -} -/* */ -.octicon-rss:before { - content: '\f034'; -} -/* */ -.octicon-ruby:before { - content: '\f047'; -} -/* */ -.octicon-search-save:before, -.octicon-search:before { - content: '\f02e'; -} -/* */ -.octicon-server:before { - content: '\f097'; -} -/* */ -.octicon-settings:before { - content: '\f07c'; -} -/* */ -.octicon-shield:before { - content: '\f0e1'; -} -/* */ -.octicon-log-in:before, -.octicon-sign-in:before { - content: '\f036'; -} -/* */ -.octicon-log-out:before, -.octicon-sign-out:before { - content: '\f032'; -} -/* */ -.octicon-squirrel:before { - content: '\f0b2'; -} -/* */ -.octicon-star-add:before, -.octicon-star-delete:before, -.octicon-star:before { - content: '\f02a'; -} -/* */ -.octicon-stop:before { - content: '\f08f'; -} -/* */ -.octicon-repo-sync:before, -.octicon-sync:before { - content: '\f087'; -} -/* */ -.octicon-tag-remove:before, -.octicon-tag-add:before, -.octicon-tag:before { - content: '\f015'; -} -/* */ -.octicon-tasklist:before { - content: '\f0e5'; -} -/* */ -.octicon-telescope:before { - content: '\f088'; -} -/* */ -.octicon-terminal:before { - content: '\f0c8'; -} -/* */ -.octicon-text-size:before { - content: '\f0e3'; -} -/* */ -.octicon-three-bars:before { - content: '\f05e'; -} -/* */ -.octicon-thumbsdown:before { - content: '\f0db'; -} -/* */ -.octicon-thumbsup:before { - content: '\f0da'; -} -/* */ -.octicon-tools:before { - content: '\f031'; -} -/* */ -.octicon-trashcan:before { - content: '\f0d0'; -} -/* */ -.octicon-triangle-down:before { - content: '\f05b'; -} -/* */ -.octicon-triangle-left:before { - content: '\f044'; -} -/* */ -.octicon-triangle-right:before { - content: '\f05a'; -} -/* */ -.octicon-triangle-up:before { - content: '\f0aa'; -} -/* */ -.octicon-unfold:before { - content: '\f039'; -} -/* */ -.octicon-unmute:before { - content: '\f0ba'; -} -/* */ -.octicon-versions:before { - content: '\f064'; -} -/* */ -.octicon-watch:before { - content: '\f0e0'; -} -/* */ -.octicon-remove-close:before, -.octicon-x:before { - content: '\f081'; -} -/* */ -.octicon-zap:before { - content: '\26A1'; -} -/* ⚡ */ .emoji { width: 1.5em; height: 1.5em; @@ -717,16 +6,18 @@ } body { font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif, '微软雅黑'; - background-color: #FAFAFA; + background-color: #fff; overflow-y: scroll; } img { border-radius: 3px; } -pre { +pre, +code { font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } -pre.raw { +pre.raw, +code.raw { padding: 7px 12px; margin: 10px 0; background-color: #f8f8f8; @@ -736,7 +27,8 @@ pre.raw { line-height: 1.5; overflow: auto; } -pre.wrap { +pre.wrap, +code.wrap { white-space: pre-wrap; /* CSS 3 */ word-break: break-word; @@ -1098,6 +390,11 @@ footer .container .links > *:first-child { width: 95%; } } +/* Overrides some styles of the Highlight.js plugin */ +.hljs { + background: inherit !important; + padding: 0 !important; +} .markdown { overflow: hidden; font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; @@ -1827,6 +1124,14 @@ footer .container .links > *:first-child { .repository .metas .ui.list a .text:hover { color: #000; } +.repository .header-wrapper { + background-color: #FAFAFA; + margin-top: -15px; + padding-top: 15px; +} +.repository .header-wrapper .ui.tabs.divider { + border-bottom: none; +} .repository .filter.menu .label.color { margin-left: 15px; padding: 0 8px; @@ -1992,6 +1297,30 @@ footer .container .links > *:first-child { .repository.new.issue .comment.form .content { margin-left: 4em; } +.repository.new.issue .comment.form .content:before, +.repository.new.issue .comment.form .content:after { + right: 100%; + top: 20px; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} +.repository.new.issue .comment.form .content:before { + border-right-color: #D4D4D5; + border-width: 9px; + margin-top: -9px; +} +.repository.new.issue .comment.form .content:after { + border-right-color: #f7f7f7; + border-width: 8px; + margin-top: -8px; +} +.repository.new.issue .comment.form .content:after { + border-right-color: #fff; +} .repository.new.issue .comment.form .content .markdown { font-size: 14px; } @@ -2007,7 +1336,7 @@ footer .container .links > *:first-child { } .repository.view.issue .title h1 { font-weight: 300; - font-size: 3rem; + font-size: 2.3rem; margin-bottom: 5px; } .repository.view.issue .title h1 .ui.input { @@ -2088,12 +1417,34 @@ footer .container .links > *:first-child { .repository.view.issue .comment-list .comment .content .header { font-weight: normal; padding: auto 15px; + position: relative; color: #767676; background-color: #f7f7f7; border-bottom: 1px solid #eee; border-top-left-radius: 3px; border-top-right-radius: 3px; } +.repository.view.issue .comment-list .comment .content .header:before, +.repository.view.issue .comment-list .comment .content .header:after { + right: 100%; + top: 20px; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} +.repository.view.issue .comment-list .comment .content .header:before { + border-right-color: #D4D4D5; + border-width: 9px; + margin-top: -9px; +} +.repository.view.issue .comment-list .comment .content .header:after { + border-right-color: #f7f7f7; + border-width: 8px; + margin-top: -8px; +} .repository.view.issue .comment-list .comment .content .header .text { max-width: 78%; padding-top: 10px; @@ -2161,6 +1512,10 @@ footer .container .links > *:first-child { .repository.view.issue .ui.segment.metas { margin-top: -3px; } +.repository.view.issue .ui.participants img { + margin-top: 5px; + margin-right: 5px; +} .repository .comment.form .ui.comments { margin-top: -12px; max-width: 100%; @@ -2168,6 +1523,30 @@ footer .container .links > *:first-child { .repository .comment.form .content .field:first-child { clear: none; } +.repository .comment.form .content .form:before, +.repository .comment.form .content .form:after { + right: 100%; + top: 20px; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} +.repository .comment.form .content .form:before { + border-right-color: #D4D4D5; + border-width: 9px; + margin-top: -9px; +} +.repository .comment.form .content .form:after { + border-right-color: #f7f7f7; + border-width: 8px; + margin-top: -8px; +} +.repository .comment.form .content .form:after { + border-right-color: #fff; +} .repository .comment.form .content .tab.segment { border: none; padding: 0; @@ -2257,6 +1636,30 @@ footer .container .links > *:first-child { .repository.compare.pull .choose.branch .octicon { padding-right: 10px; } +.repository.compare.pull .comment.form .content:before, +.repository.compare.pull .comment.form .content:after { + right: 100%; + top: 20px; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} +.repository.compare.pull .comment.form .content:before { + border-right-color: #D4D4D5; + border-width: 9px; + margin-top: -9px; +} +.repository.compare.pull .comment.form .content:after { + border-right-color: #f7f7f7; + border-width: 8px; + margin-top: -8px; +} +.repository.compare.pull .comment.form .content:after { + border-right-color: #fff; +} .repository .filter.dropdown .menu { margin-top: 1px!important; } @@ -2773,6 +2176,27 @@ footer .container .links > *:first-child { width: 15px; height: 15px; } +#avatar-arrow:before, +#avatar-arrow:after { + right: 100%; + top: 20px; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; +} +#avatar-arrow:before { + border-right-color: #D4D4D5; + border-width: 9px; + margin-top: -9px; +} +#avatar-arrow:after { + border-right-color: #f7f7f7; + border-width: 8px; + margin-top: -8px; +} #transfer-repo-modal .ui.message, #delete-repo-modal .ui.message { width: 100%!important; |