diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-07-26 00:24:27 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-07-26 00:24:27 -0400 |
commit | 8dd07c0ddd99ae626a1ec8c06f75f27fed51269f (patch) | |
tree | 261d3c9911dabc58c1ac54e4e36b3dee24d2032b /public/ng/css | |
parent | 0a739cf9ac901f54484c34bba8322418dedb09b0 (diff) | |
download | gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.tar.gz gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.zip |
New UI merge in progress
Diffstat (limited to 'public/ng/css')
-rw-r--r-- | public/ng/css/font-awesome.min.css | 4 | ||||
-rw-r--r-- | public/ng/css/github.min.css | 1 | ||||
-rw-r--r-- | public/ng/css/gogs.css | 1257 | ||||
-rw-r--r-- | public/ng/css/ui.css | 814 |
4 files changed, 2076 insertions, 0 deletions
diff --git a/public/ng/css/font-awesome.min.css b/public/ng/css/font-awesome.min.css new file mode 100644 index 0000000000..3d920fc87c --- /dev/null +++ b/public/ng/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.1.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-square:before,.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}
\ No newline at end of file diff --git a/public/ng/css/github.min.css b/public/ng/css/github.min.css new file mode 100644 index 0000000000..7b3600c93b --- /dev/null +++ b/public/ng/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/ng/css/gogs.css b/public/ng/css/gogs.css new file mode 100644 index 0000000000..7afba6b628 --- /dev/null +++ b/public/ng/css/gogs.css @@ -0,0 +1,1257 @@ +html, +body { + height: 100%; +} +.octicon, +.fa { + width: 16px; + text-align: center; +} +.fa { + font-size: 14px; +} +.container { + max-width: 1170px; + padding: 0 1.5em; + margin: auto; +} +img.avatar-16 { + width: 16px; + height: 16px; + vertical-align: middle; +} +img.avatar-24 { + width: 24px; + height: 24px; + vertical-align: middle; +} +img.avatar-30 { + width: 30px; + height: 30px; + vertical-align: middle; +} +#wrapper { + padding: 0; + margin: 0 0 -55px 0; + min-height: 100%; +} +#footer { + background-color: white; + border-top: 1px solid #d6d6d6; + clear: both; + width: 100%; + color: #888888; +} +#footer .container { + padding: 15px; +} +#footer .official, +#footer .version { + color: #888888; +} +#footer-links > * { + border-left: 1px solid #d6d6d6; + padding-left: 8px; + margin-left: 5px; +} +#footer-links > *:first-child { + border-left: none; +} +#footer-lang { + position: relative; +} +#footer-lang .drop-down { + top: -64px; + left: -2px; + position: absolute; + height: 59px; + z-index: 100; + font-size: 12px; + width: 120%; +} +#footer-lang .drop-down li > a { + padding: 3px 9px; +} +#header { + background-color: #428bca; + height: 44px; +} +#header > .menu-line > li > a { + display: inline-block; + color: #ffffff; +} +#header > .menu-line > li > a:hover { + background-color: transparent; + color: #fff65f; +} +#header > .menu-line > li.head { + color: #ffffff; +} +#header > .menu-line > li.hover a:after { + bottom: -9px; + color: #ffffff; +} +#header > .menu-line > li.current > a { + color: #fff65f; + font-weight: bold; +} +#header-nav-user { + height: 44px; +} +#header-nav-user img { + margin: -4px 10px 0 0; + border-radius: 3px; +} +#header-nav-sign-out > a:hover { + color: #ff908b !important; +} +#header-nav-logo { + padding: 6px 1.2em; +} +#header-nav-explore, +#header-nav-help { + font-size: 14px; +} +#header-new-repo-menu { + width: 180px; + background-color: #FFF; + top: 44px; + border-top: none; + left: -66px; +} +#header-new-repo-menu .octicon { + margin-right: 6px; + font-size: 1.1em; +} +.switching-list { + width: 100%; + list-style: none; +} +.switching-list > li { + border-bottom: 1px solid #eaeaea; +} +.switching-list > li:last-child { + border-bottom: none; +} +.switching-list > li > a { + padding: .4em 1.2em; + display: block; + color: #444; +} +.switching-list > li > a:hover { + background-color: #428bca !important; + color: #fff !important; +} +.social-buttons .btn { + border: none; + font-size: 16px; + border-radius: 4px; + margin-right: 12px; + font-family: 'PT Sans Narrow', sans-serif; + padding: 5px 12px; + color: #FFF; +} +.social-buttons .btn .fa { + margin-right: 6px; + font-size: 16px; +} +.social-buttons .twitter { + background-color: #1c6399; +} +.social-buttons .twitter:hover { + background-color: #1c5487; +} +.social-buttons .github { + background-color: #444; +} +.social-buttons .github:hover { + background-color: #333; +} +.social-buttons .google { + background-color: #C03D20; +} +.social-buttons .google:hover { + background-color: #D56060; +} +.social-buttons .weibo { + background-color: #bf1324; +} +.social-buttons .weibo:hover { + background-color: #b94c4a; +} +.social-buttons .qq { + background-color: #03a2ef; +} +.social-buttons .qq:hover { + background-color: #3cb3ff; +} +.main-wrapper { + padding: 20px 0 40px; +} +.markdown { + background-color: white; + font-size: 14px; + line-height: 24px; +} +.markdown .markdown-body { + padding-left: 24px; + padding-right: 16px; +} +.markdown a { + color: #428BCA; +} +.markdown h1, +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + line-height: 1.7; + padding: 15px 0 0; + margin: 0 0 15px; + color: #444; + font-weight: bold; +} +.markdown h1, +.markdown h2 { + border-bottom: 1px solid #E0E0E0; +} +.markdown h2 { + border-bottom: 1px solid #E0E0E0; +} +.markdown h1 { + color: #000; + font-size: 33px; +} +.markdown h2 { + color: #333; + font-size: 28px; +} +.markdown h3 { + font-size: 22px; +} +.markdown h4 { + font-size: 18px; +} +.markdown h5 { + font-size: 14px; +} +.markdown h6 { + font-size: 14px; +} +.markdown table { + border-collapse: collapse; + border-spacing: 0; + display: block; + overflow: auto; + width: 100%; + margin: 0 0 9px; +} +.markdown table th { + font-weight: 700; +} +.markdown table th, +.markdown table td { + border: 1px solid #DDD; + padding: 6px 13px; +} +.markdown table tr { + background-color: #FFF; + border-top: 1px solid #CCC; +} +.markdown table tr:nth-child(2n) { + background-color: #f8f8f8; +} +.markdown ul li { + list-style: inside; +} +.markdown li { + line-height: 1.6; + margin-top: 6px; +} +.markdown li:first-child { + margin-top: 0; +} +.markdown dl dt { + font-style: italic; + margin-top: 9px; +} +.markdown dl dd { + margin: 0 0 9px; + padding: 0 9px; +} +.markdown blockquote, +.markdown blockquote p { + font-size: 14px; + background-color: #f5f5f5; +} +.markdown > pre { + line-height: 1.6; + overflow: auto; + border: 1px solid #ddd; + border-radius: .25em; + margin: 5px 0; +} +.markdown > pre.linenums { + padding: 0; +} +.markdown > pre > ol.linenums { + list-style: none; + padding: 0; +} +.markdown > pre > ol.linenums > li { + margin-top: 2px; +} +.markdown > pre.nums-style > ol.linenums { + list-style-type: decimal; + padding: 0 0 0 40px; + -webkit-box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc; + box-shadow: inset 40px 0 0 #f5f5f5, inset 41px 0 0 #ccc; +} +.markdown > pre > code { + white-space: pre; + word-wrap: normal; +} +.markdown > pre > ol.linenums > li { + padding: 0 10px; +} +.markdown > pre > ol.linenums > li:first-child { + padding-top: 12px; +} +.markdown > pre > ol.linenums > li:last-child { + padding-bottom: 12px; +} +.markdown > pre.nums-style > ol.linenums > li { + border-left: 1px solid #ddd; +} +.markdown hr { + border: none; + color: #ccc; + height: 4px; + padding: 0; + margin: 15px 0; + border-bottom: 2px solid #EEE; +} +.markdown blockquote:last-child, +.markdown ul:last-child, +.markdown ol:last-child, +.markdown > pre:last-child, +.markdown > pre:last-child, +.markdown p:last-child { + margin-bottom: 0; +} +.markdown img { + max-width: 100%; +} +.markdown .btn { + color: #fff; +} +.markdown .anchor-wrap { + /*margin-top: -50px;*/ + /*padding-top: 50px;*/ +} +.markdown h1 a, +.markdown h2 a, +.markdown h3 a { + text-decoration: none; +} +.markdown h1 a.anchor, +.markdown h2 a.anchor, +.markdown h3 a.anchor, +.markdown h4 a.anchor, +.markdown h5 a.anchor, +.markdown h6 a.anchor { + text-decoration: none; + line-height: 1; + padding-left: 0; + margin-left: -24px; + top: 15%; +} +.markdown a span.octicon { + font-size: 16px; + line-height: 1; + display: inline-block; + text-decoration: none; + -webkit-font-smoothing: antialiased; + margin-right: 8px; +} +.markdown a span.octicon-link { + opacity: 0; + color: #444; +} +.markdown h1:hover .octicon-link, +.markdown h2:hover .octicon-link, +.markdown h3:hover .octicon-link, +.markdown h4:hover .octicon-link, +.markdown h5:hover .octicon-link, +.markdown h6:hover .octicon-link { + display: inline-block; + opacity: 1; +} +/* Author: jmblog */ +/* Project: https://github.com/jmblog/color-themes-for-google-code-prettify */ +/* GitHub Theme */ +/* Pretty printing styles. Used with prettify.js. */ +/* SPAN elements with the classes below are added by prettyprint. */ +/* plain text */ +.pln { + color: #333333; +} +@media screen { + /* string content */ + .str { + color: #dd1144; + } + /* a keyword */ + .kwd { + color: #333333; + } + /* a comment */ + .com { + color: #999988; + font-style: italic; + } + /* a type name */ + .typ { + color: #445588; + } + /* a literal value */ + .lit { + color: #445588; + } + /* punctuation */ + .pun { + color: #333333; + } + /* lisp open bracket */ + .opn { + color: #333333; + } + /* lisp close bracket */ + .clo { + color: #333333; + } + /* a markup tag name */ + .tag { + color: navy; + } + /* a markup attribute name */ + .atn { + color: teal; + } + /* a markup attribute value */ + .atv { + color: #dd1144; + } + /* a declaration */ + .dec { + color: #333333; + } + /* a variable name */ + .var { + color: teal; + } + /* a function name */ + .fun { + color: #990000; + } +} +/* Use higher contrast and text-weight for printable form. */ +@media print, projection { + .str { + color: #006600; + } + .kwd { + color: #006; + font-weight: bold; + } + .com { + color: #600; + font-style: italic; + } + .typ { + color: #404; + font-weight: bold; + } + .lit { + color: #004444; + } + .pun, + .opn, + .clo { + color: #444400; + } + .tag { + color: #006; + font-weight: bold; + } + .atn { + color: #440044; + } + .atv { + color: #006600; + } +} +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; +} +#promo-wrapper { + padding-top: 50px; + background-color: #428bca; +} +#promo-logo { + margin-right: 50px; + padding-bottom: 50px; +} +#promo-logo img { + max-width: 250px; +} +#promo-content { + color: #FFF; + margin-left: 300px; +} +#promo-content h1, +#promo-content h2 { + font-family: 'PT Sans Narrow', sans-serif; + line-height: 60px; + margin-bottom: 0; + text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5); +} +#promo-content h1 { + font-size: 96px; + line-height: 96px; + margin-bottom: 30px; +} +#promo-content h2 { + font-size: 52px; + line-height: 70px; + font-weight: normal; +} +#promo-form { + padding: 40px 0; +} +#promo-form .ipt-large { + border: none; + border-radius: 4px; + font-size: 18px; + margin-right: 12px; +} +#promo-form .ipt-large:focus { + box-shadow: 0 0 3px #FFF; +} +#promo-form .btn-large { + border-radius: 4px; + font-size: 18px; + margin-right: 12px; +} +#promo-social { + padding-bottom: 60px; +} +#promo-social .qq { + box-shadow: 0 0 1px #1c6399; +} +#feature-wrapper { + font-family: Lato, sans-serif; + font-size: 18px; + padding: 50px 0 100px 0; +} +#feature-wrapper .octicon { + color: #d9453d; + font-size: 60px; + height: 60px; + width: 60px; + line-height: 60px; + margin-right: 12px; + vertical-align: middle; + display: inline-block; +} +#feature-wrapper b { + color: #000; + font-size: 24px; + display: inline-block; + line-height: 60px; +} +#feature-wrapper p { + margin: 1em 0; + line-height: 40px; + padding-right: 30px; +} +#feature-wrapper a { + color: #d9453d; +} +#feature-wrapper a:hover { + color: #ff635a; +} +#feature-wrapper .grid-1-2 { + margin-bottom: 30px; +} +/* +The dashboard page style +*/ +#dashboard-header { + border-bottom: 1px solid #d6d6d6; + height: 69px; +} +#dashboard-header > .menu-line > li { + padding: 12px 0; +} +#dashboard-header > .menu-line > li.right > a { + font-size: 1.2em; + color: #444444; +} +#dashboard-header > .menu-line > li.right > a:hover { + background-color: transparent; + color: #d9453d; +} +#dashboard-header > .menu-line > li.right > a .octicon { + margin-right: 6px; +} +#dashboard-header > .menu-line > li.right .current { + border-bottom: 2px solid #D26911; +} +#dashboard-selection-menu a img { + margin: -4px 10px 0 0; +} +#dashboard { + padding: 24px 0; +} +#dashboard-sidebar .panel-header h4 { + margin: 0; +} +#dashboard-sidebar > .panel { + margin-bottom: 24px; + border-bottom-left-radius: .3em; + border-bottom-right-radius: .3em; +} +#dashboard-sidebar-menu { + border-top-left-radius: .3em; + border-top-right-radius: .3em; + width: 100%; + height: 35px; +} +#dashboard-sidebar-menu > li { + border: 1px solid #d6d6d6; + float: left; + margin-right: -1px; + border-bottom: none; +} +#dashboard-sidebar-menu > li > a { + padding-top: .4em; + padding-bottom: .4em; +} +#dashboard-sidebar-menu > li.first { + border-top-left-radius: .3em; +} +#dashboard-sidebar-menu > li.first > a { + border-top-left-radius: .3em; +} +#dashboard-sidebar-menu > li.drop { + border: none; + float: right; +} +#dashboard-sidebar-menu > li.js-tab-nav-show { + background-color: #EEEEEE; +} +#dashboard-sidebar-menu > li.last { + border-top-right-radius: .3em; +} +#dashboard-sidebar-menu > li.last > a { + border-top-right-radius: .3em; +} +#dashboard-my-repo li { + border-bottom: 1px solid #EAEAEA; +} +#dashboard-my-repo li.private { + background-color: #fcf8e9; +} +#dashboard-my-repo li:last-child { + border-bottom: none; +} +#dashboard-my-repo li a { + padding: 6px 1.2em; + display: block; +} +#dashboard-my-repo li a .octicon { + margin-right: 6px; + color: #888; +} +#dashboard-my-repo li a:hover .repo-name { + text-decoration: underline; +} +#dashboard-my-repo .repo-name { + font-size: 1.1em; +} +#dashboard-my-repo .repo-star { + color: #888; +} +#dashboard-my-repo .repo-contrib-header { + border-top: 1px solid #d6d6d6; +} +#dashboard-my-repo .panel-header .octicon { + margin-right: 6px; + font-size: 12px; +} +#dashboard-my-repo .repo-count { + margin-left: 4px; +} +#dashboard-my-org, +#dashboard-my-mirror { + display: none; +} +#dashboard-new-repo { + width: 50px; + height: 35px; + padding-top: 6px; + margin-right: 1px; + border-top-left-radius: .3em; + border-top-right-radius: .3em; +} +#dashboard-new-repo .octicon { + font-size: 2em; +} +#dashboard-new-repo-menu { + top: 35px; + width: 180px; + background-color: #FFF; + left: -132px; +} +#dashboard-new-repo-menu .octicon { + margin-right: 6px; + font-size: 1.1em; +} +#dashboard-selection-menu > .drop-down { + top: 56px; +} +#dashboard-switch-menu { + border-bottom-left-radius: .3em; + border-bottom-right-radius: .3em; +} +#dashboard-switch-menu > li > a img { + margin-top: 0; +} +#dashboard-switch-menu > li > a .octicon { + margin-right: 12px; +} +#dashboard-switch-menu > li:last-child > a { + border-bottom-left-radius: .3em; + border-bottom-right-radius: .3em; +} +#dashboard-switch-menu > li.org > a .octicon { + opacity: 0; +} +#dashboard-switch-menu > li.checked > a { + font-weight: bold; +} +#dashboard-switch-menu > li.checked > a .octicon { + opacity: 1; +} +#dashboard-news .news { + margin-right: 2.4em; + padding-bottom: 1em; + margin-bottom: 1em; + border-bottom: 1px solid #E6E6E6; + min-height: 30px; +} +#dashboard-news .news .mega-octicon { + color: #CCC; +} +#dashboard-news .news .avatar { + margin: 0 1.2em; +} +#dashboard-news .news .news-content, +#dashboard-news .news .news-time { + color: #888; +} +#dashboard-news .push-news .news-content li { + margin-left: 1em; +} +#dashboard-news .push-news .news-content li img { + margin-bottom: -2px; +} +/* +The register and sign-in page style +*/ +#sign-wrapper { + padding: 60px 0; +} +.sign-panel { + background-color: #ffffff; +} +.sign-form.form-align .field { + margin: 1.2em 0 2em 0; +} +.sign-form.form-align .ipt-large { + width: 300px; +} +.sign-form.form-align label, +.sign-form.form-align .form-label { + width: 160px; +} +.sign-form.form-align .alert { + margin: 0 30px 24px 30px; +} +.sign-form.form-align:hover { + box-shadow: 0 0 6px #CCC; +} +.sign-form.container { + padding: 0; + width: 600px; + margin-bottom: 80px; +} +#sign-up-form .panel-content { + margin-top: 1.2em; +} +#sign-up-form h2 { + margin: .5em 1em; +} +#sign-social { + position: relative; + margin: 40px 0; +} +#sign-social .or { + position: absolute; + width: 30px; + top: -52px; + left: 50%; + background-color: #FFF; + margin-left: -15px; +} +/* repository main */ +#repo-header { + height: 69px; + border-bottom: 1px solid #d6d6d6; + background-color: #ffffff; +} +#repo-header-name { + line-height: 66px; + color: #888888; + font-size: 1.6em; + font-weight: normal; +} +#repo-header-name i { + margin-right: 12px; + vertical-align: middle; +} +#repo-header-name .divider { + margin: 0 4px; +} +#repo-header-meta { + line-height: 66px; +} +#repo-header-meta li > a { + padding: 0; +} +#repo-header-meta li > a:hover { + background-color: transparent; +} +#repo-header-meta a > .btn { + font-size: 1.05em; + margin-left: 16px; + line-height: 16px; +} +#repo-header-meta a > .btn i { + margin-right: 6px; +} +#repo-header-meta a > .btn .num { + margin-left: 6px; +} +#repo-header-download-btn > .btn > i { + margin-right: 0 !important; +} +#repo-header-download-btn:hover:after, +#repo-header-download-btn:hover .btn { + background-color: #383838; + color: #FFF; +} +#repo-header-download-btn:after { + background-color: #444444; + padding: 9px 16px 8px 0; + margin-left: -8px !important; + color: #FFF; + border-top: 1px solid #444444; + border-bottom: 1px solid #444444; + border-top-right-radius: .25em; + border-bottom-right-radius: .25em; +} +#repo-header-download-drop { + line-height: 24px; + width: 440px; + top: 50px; + left: -354px; + padding: 20px; + box-sizing: border-box; +} +#repo-header-download-drop .btn > i { + margin-right: 6px; +} +#repo-content { + padding: 18px 0; +} +#repo-clone-url { + border-right: none; + width: 196px; + border-left: none; +} +#repo-clone-help { + line-height: 48px; +} +#repo-clone-zip { + line-height: 48px; +} +#repo-clone-zip a { + cursor: pointer; + color: white; + overflow: visible; + padding: .6em 1.2em; +} +#repo-clone-zip .btn { + margin: 0 6px; +} +#repo-desc { + font-size: 1.2em; +} +#repo-sidebar-nav .label { + font-size: 12px; + line-height: 1.4em; + margin-top: 2px; +} +#repo-sidebar-nav i { + margin-right: 6px; +} +#repo-file-nav { + padding: .6em 0 1em 0; +} +#repo-file-nav > li > a { + padding-left: 0; +} +#repo-file-nav > li > a:hover { + background-color: transparent; +} +#repo-file-nav li.repo-jump > a { + padding-right: 0; +} +#repo-file-nav li.repo-jump > a .btn { + margin-left: -1px; +} +#repo-branch-switch > a .btn { + padding-right: 30px; +} +#repo-branch-switch > a:after { + position: absolute; + top: 12px; + right: 30px; + margin-left: 0; + color: #444444; +} +#repo-branch-switch > .drop-down { + top: 40px; + left: 0; +} +#repo-branch-filter-ipt { + width: 100%; + border-left: none; + border-right: none; + box-sizing: border-box; +} +#repo-branch-tag .tab-nav { + border-bottom: 1px solid #EAEAEA; +} +#repo-branch-tag .tab-nav a { + padding: .3em .8em; +} +#repo-branch-tag .tab-nav .js-tab-nav-show { + background-color: #EEE; + font-weight: bold; +} +#repo-branch-list li i, +#repo-tag-list li i { + margin-right: 12px; + opacity: 0; +} +#repo-branch-list li.checked i, +#repo-tag-list li.checked i { + opacity: 1; +} +#repo-tag-list { + display: none; +} +#repo-bread .bread { + padding-right: 0; + font-size: 16px; + font-weight: bold; +} +#repo-main { + padding-right: 40px; + box-sizing: border-box; +} +#repo-files-table { + margin-bottom: 20px; +} +#repo-files-table th, +#repo-files-table td { + text-align: left; + line-height: 32px; +} +#repo-files-table td.icon { + width: 16px; + padding-right: .1em; + padding-left: 1em; +} +#repo-files-table td.name { + max-width: 120px; +} +#repo-files-table td.name .text-truncate { + max-width: 100%; +} +#repo-files-table td.age { + max-width: 120px; + text-align: right; +} +#repo-files-table td.msg { + max-width: 440px; +} +#repo-files-table td.msg .text-truncate { + max-width: 100%; +} +#repo-files-table td.age, +#repo-files-table td.size, +#repo-files-table td.msg a { + color: #888; +} +#repo-files-table td.msg a:hover { + color: #428BCA; + text-decoration: underline; +} +#repo-files-table tbody { + background-color: #FFF; +} +#repo-files-table tbody tr:hover { + background-color: #ffffEE; +} +#repo-files-table thead { + background-color: #F0F0F0; +} +#repo-files-table thead .author a { + margin: 0 .4em; +} +#repo-files-table thead .last-commit strong { + color: #444; +} +#repo-files-table thead .last-commit .text-truncate { + margin-left: .4em; +} +#repo-files-table thead .last-commit .text-truncate, +#repo-files-table thead .age { + font-weight: normal; + color: #888; +} +#repo-readme { + margin-bottom: 80px; +} +#repo-bare-start { + margin-bottom: 100px; +} +#repo-bare-start .panel-content { + background-color: #FFF; +} +#repo-bare-start pre { + margin: 0 40px; +} +.repo-bare #repo-bare-start h2 { + margin-top: 30px; + margin-bottom: 24px; +} +.repo-bare #repo-header-meta { + display: none; +} +.repo-bare #repo-clone-ssh { + margin-left: 200px; +} +.repo-bare #repo-clone-copy { + margin-right: 200px; +} +.repo-bare #repo-clone-help { + width: 100%; +} +.repo-bare #repo-clone-url { + width: 520px; +} +/* repository create */ +#repo-create-form { + width: 800px; + margin: 60px auto 150px auto; + background: white; +} +#repo-create-form h2 { + margin: .5em 1em; +} +#repo-create-form .field { + margin: 1.2em 0 2em 0; +} +#repo-create-form .ipt { + width: 540px; +} +#repo-create-form textarea { + height: 120px; +} +#repo-create-form .avatar { + vertical-align: middle; + margin-right: .6em; + width: 28px; + height: 28px; +} +#repo-create-form:hover { + box-shadow: 0px 0px 6px #CCC; +} +#repo-create-cancel { + margin-left: 4em; +} +#repo-create-owner-list { + top: 30px; + left: 0; +} +#repo-create-owner-list .octicon { + margin-right: 12px; + opacity: 0; +} +#repo-create-owner-list .avatar { + width: 20px; + height: 20px; +} +#repo-create-owner-list li.checked .octicon { + opacity: 1; +} +.file-name { + margin-left: 1em; +} +.file-size { + font-size: 13px; + color: #888; + margin-left: 1em; +} +.code-view { + overflow: auto; + overflow-x: auto; + overflow-y: hidden; +} +.code-view table { + width: 100%; +} +.code-view table td { + padding: 0; +} +.code-view .lines-num { + text-align: right; + color: #999; + background: #f5f5f5; + width: 1%; +} +.code-view .lines-num span { + font-family: Monaco, Menlo, Consolas, "Courier New", monospace; + line-height: 18px; + padding: 0 8px 0 10px; + cursor: pointer; + display: block; + margin-top: 2px; + font-size: 12px; +} +.code-view .lines-code > pre { + border: none; + background: none; + border-left: 1px solid #ddd; +} +.code-view .lines-code > pre > ol.linenums > li { + padding: 0 10px; +} +.code-view .lines-code > pre > ol.linenums > li.active { + background: #ffffdd; +} +#setting-wrapper { + padding-bottom: 100px; +} +#setting-menu { + box-sizing: border-box; +} +#setting-menu li > a { + border-left: 2px solid #FFF; + background-color: #FFF; +} +#setting-menu li:hover { + border-color: #EAEAEA; +} +#setting-menu li:hover a { + border-left: 2px solid #EFEFEF; + background-color: #EFEFEF !important; + color: #000 !important; +} +#setting-menu li.current a { + color: #000 !important; + font-weight: bold; + border-left: 2px solid #d26911; +} +.setting-content { + margin-left: 32px; +} +#user-profile-form { + background-color: #FFF; + padding: 30px 0; +} +#user-profile-form label, +#user-profile-form .form-label { + width: 240px; +} +#user-profile-form .ipt { + width: 360px; +} +#user-profile-form .field { + margin-bottom: 24px; +} +#user-ssh-panel { + margin-bottom: 20px; +} +#user-ssh-panel .switching-list { + background-color: #FFF; +} +#user-ssh-panel .switching-list li { + padding: 8px 20px; +} +#user-ssh-panel .switching-list li.ssh:hover { + background-color: #ffffEE; +} +#user-ssh-panel .active-icon { + width: 10px; + height: 10px; + border-radius: 6px; + padding: 0; + margin-right: 20px; + margin-top: 10px; +} +#user-ssh-panel .ssh-content { + margin-left: 24px; +} +#user-ssh-panel .ssh-content .octicon { + margin-right: 4px; +} +#user-ssh-panel .ssh-content .print, +#user-ssh-panel .ssh-content .activity { + color: #888; +} +#user-ssh-panel .ssh-delete-btn { + margin-top: 6px; +} +#user-ssh-add-form .panel-body { + background-color: #FFF; + padding: 30px 0; +} +#user-ssh-add-form .ipt { + width: 500px; +} +#user-ssh-add-form textarea { + height: 120px; + margin-left: 3px; +} +#user-ssh-add-form .field { + margin-bottom: 24px; +} diff --git a/public/ng/css/ui.css b/public/ng/css/ui.css new file mode 100644 index 0000000000..f32261234f --- /dev/null +++ b/public/ng/css/ui.css @@ -0,0 +1,814 @@ +* { + padding: 0; + margin: 0; +} +html { + font-size: 13px; + font-family: Helvetica, "Microsoft Yahei", Menlo, Monaco, Consolas, "Courier New", monospace; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + line-height: 24px; + color: #444444; + background-color: #fafafa; +} +input, +textarea, +select, +option, +button { + font-family: Helvetica, "Microsoft Yahei", Menlo, Monaco, Consolas, "Courier New", monospace; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +main, +nav, +section, +summary, +.block { + display: block; +} +.inline { + display: inline; +} +.inline-block { + display: inline-block; +} +.dis-table { + display: table; +} +.dis-table-cell { + display: table-cell; +} +.dis-flex { + display: flex; +} +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden], +template .hidden { + display: none; +} +.opacity { + opacity: 0; +} +.opacity-half { + opacity: .5; +} +a, +.text-link { + color: #428bca; + text-decoration: none; +} +a:hover, +.text-link:hover { + color: #399ade; + text-decoration: none; +} +a:focus, +.text-link:focus { + outline: none; +} +b, +strong, +.text-bold { + font-weight: bold; +} +dfn, +.text-italic { + font-style: italic; +} +h1, +.text-h1 { + font-size: 2em; + margin-bottom: 0.67em; +} +h2, +.text-h2 { + font-size: 1.6em; + margin-bottom: 0.625em; +} +h3, +.text-h3 { + font: 1.2em; + margin-bottom: 0.5em; +} +h4, +h5, +h6, +.text-h4, +.text-h5, +.text-h6 { + font-size: 1em; + margin-bottom: .3em; +} +small, +.text-small { + font-size: .8em; +} +sub, +sup, +.text-sup, +.text-sub { + font-size: .7em; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup, +.text-sup { + top: -0.5em; +} +sub, +.text-sub { + bottom: -0.25em; +} +.figure, +.blockquote { + margin: 1em 1.5em; +} +pre { + overflow: auto; + margin: 0; + padding: .4em 1em; +} +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +.list-no-style { + list-style: none; +} +img { + border: none; +} +svg:not(:root) { + overflow: hidden; +} +label { + font-weight: bold; +} +input, +.ipt { + padding: .6em; + line-height: normal; + border: 1px solid #bbbbbb; +} +input:focus, +.ipt:focus { + background-color: #f2fffc; + outline: none; +} +button { + overflow: visible; + padding: .6em 1.2em; +} +button, +select { + text-transform: none; +} +button:focus, +select:focus { + outline: none; +} +button, +input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + -moz-appearance: button; + cursor: pointer; + background-color: #888888; + color: #fafafa; + border: none; +} +button:hover, +input[type="button"]:hover, +input[type="reset"]:hover, +input[type="submit"]:hover { + background-color: #444444; + color: #ffffff; +} +button[disabled], +html input[disabled] { + cursor: default; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; +} +input[type="search"] { + -webkit-appearance: textfield; + -moz-appearance: textfield; + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} +fieldset { + border: 1px solid #bbbbbb; + margin: 0 2px; + padding: 0.4em 0.8em 0.8em; +} +legend { + border: 0; + padding: 0; +} +textarea { + overflow: auto; + border: 1px solid #bbbbbb; + padding: .6em; +} +textarea:focus { + background-color: #f2fffc; + outline: none; +} +optgroup { + font-weight: bold; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +td, +th { + padding: 0; +} +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; + border: none; + border-bottom: 1px solid #dddddd; + margin-bottom: .75em; +} +p code { + color: #b63b2c; +} +.radius { + border-radius: .25em; +} +.text-truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + display: inline-block; + vertical-align: top; +} +pre { + line-height: 1.6; + overflow: auto; + padding: 0; +} +.left { + float: left; +} +.right { + float: right; +} +.clear::after { + clear: both; + content: " "; + width: 0; + height: 0; + display: block; +} +.hide { + display: none; +} +.grid-1-12 { + width: 8.33%; +} +.grid-2-12, +.grid-1-6 { + width: 16.67%; +} +.grid-3-12, +.grid-1-4 { + width: 25%; +} +.grid-4-12, +.grid-1-3 { + width: 33%; +} +.grid-5-12 { + width: 41.67%; +} +.grid-6-12, +.grid-1-2 { + width: 50%; +} +.grid-7-12 { + width: 58.33%; +} +.grid-8-12, +.grid-2-3 { + width: 66.67%; +} +.grid-9-12, +.grid-3-4 { + width: 75%; +} +.grid-10-12, +.grid-5-6 { + width: 83.33%; +} +.grid-11-12 { + width: 91.67%; +} +*[class*="grid-"] { + box-sizing: content-box; +} +.grid-1-5 { + width: 20%; +} +.grid-2-5 { + width: 40%; +} +.grid-3-5 { + width: 60%; +} +.grid-4-5 { + width: 80%; +} +.btn-small { + font-size: 10.8px; + padding: .4em .9em; +} +.btn-large { + font-size: 14.4px; +} +.btn-green { + background-color: #65ad4e; + border: 1px solid #65ad4e; +} +.btn-green:hover { + background-color: #71bf57; + color: #FFF; +} +.btn-blue { + background-color: #428bca; + border: 1px solid #428bca; +} +.btn-blue:hover { + background-color: #539cdb; + color: #FFF; +} +.btn-red { + background-color: #d9453d; + border: 1px solid #d9453d; +} +.btn-red:hover { + background-color: #ff635a; + color: #FFF; +} +.btn-orange { + background-color: #df7514; + border: 1px solid #df7514; +} +.btn-orange:hover { + background-color: #df8229; + color: #FFF; +} +.btn-black { + background-color: #444444; + border: 1px solid #444444; +} +.btn-black:hover { + background-color: #383838; + color: #FFF; +} +.btn-gray { + background-color: #f0f0f0; + color: #444444; + border: 1px solid #d0d0d0; +} +.btn-gray:hover { + background-color: #fafafa; + color: #444444; +} +.btn-active { + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset, 0 0 4px rgba(0, 0, 0, 0.15) inset; +} +.btn-radius { + border-radius: .25em; +} +.btn-left-radius { + border-top-left-radius: .25em; + border-bottom-left-radius: .25em; +} +.btn-right-radius { + border-top-right-radius: .25em; + border-bottom-right-radius: .25em; +} +.btn-block { + display: block; + width: 100%; + box-sizing: content-box; + text-align: center; +} +.btn-disabled { + opacity: .6; + cursor: not-allowed; + box-shadow: none; + background-image: none !important; + border: none; +} +.btn-disabled:hover { + background-image: none !important; + color: #ffffff; +} +.ipt:focus { + border-color: #428bca; +} +.ipt-radius { + border-radius: .25em; +} +.ipt-small { + font-size: 9.6px; +} +.ipt-large { + font-size: 14.4px; +} +.ipt-disabled, +input[disabled] { + background-color: #f2f2f2 !important; + color: #888; + cursor: not-allowed; +} +.ipt-disabled:focus, +input[disabled]:focus { + background-color: #f2f2f2 !important; +} +.ipt-readonly:focus, +input[readonly]:focus { + background-color: #f2f2f2 !important; +} +.ipt-error { + border-color: #b63b2c !important; + background-color: #fff0f0 !important; +} +.form label { + margin-right: 1em; +} +.form .help { + color: #999999; + padding-top: .6em; + display: inline-block; +} +.form-stack label { + display: block; +} +.form-stack .field { + margin-bottom: 1em; +} +.form-align label, +.form-align .form-label { + display: inline-block; + width: 120px; + text-align: right; + margin-right: 1em; +} +.form-align .field { + margin-bottom: 1em; +} +label.req:after { + content: "*"; + color: #d9453d; +} +ul.menu > li { + list-style: none; +} +ul.menu > li > a { + padding: .8em 1.2em; +} +ul.menu > li > a:hover { + background-color: #eaeaea; + color: #444444; +} +ul.menu > li.current > a, +ul.menu > li.hover > a { + color: #444444; +} +ul.menu > li.head { + font-weight: bold; + padding: .8em 1.2em; +} +ul.menu > li.down:hover > ul.menu-down { + display: block; +} +ul.menu > li.border-bottom { + border-bottom: 1px solid #bbbbbb; + height: 0; + margin: .5em 0; +} +ul.menu-line > li, +ul.menu-line > li > a { + display: inline-block; +} +ul.menu-line > li.down { + position: relative; +} +ul.menu-line > li.down > a:after { + content: "\25BE"; + margin-left: .4em; +} +ul.menu-line > li.down > ul.menu-down { + top: 2.1em; + width: 150%; +} +ul.menu-line > li.hover { + position: relative; +} +ul.menu-line > li.hover > a:after { + position: absolute; + content: "\25B4"; + left: 50%; + bottom: -1.1em; + margin-left: -4px; +} +ul.menu-vertical > li > a, +ul.menu-down > li > a, +ul.menu-vertical > li.head, +ul.menu-down > li.head { + display: block; + padding: .4em 1.2em; +} +ul.menu-vertical > li.down, +ul.menu-down > li.down { + position: relative; +} +ul.menu-vertical > li.down > a:after, +ul.menu-down > li.down > a:after { + content: "\25B8"; + position: absolute; + right: .6em; +} +ul.menu-vertical > li.hover, +ul.menu-down > li.hover { + position: relative; +} +ul.menu-vertical > li.hover > a:after, +ul.menu-down > li.hover > a:after { + content: "\25B8"; + position: absolute; + left: .5em; +} +ul.menu-border, +ul.menu-down { + border: 1px solid #bbbbbb; +} +ul.menu-border > li.head, +ul.menu-down > li.head { + border-bottom: 1px solid #bbbbbb; +} +ul.menu-down { + position: absolute; + display: none; + z-index: 99; + box-shadow: 0 0 2px #666666; + background-color: #ffffff; +} +ul.menu-radius { + border-radius: .3em; +} +ul.menu-radius > li:first-child { + border-top-left-radius: .3em; + border-top-right-radius: .3em; +} +ul.menu-radius > li:first-child > a { + border-top-left-radius: .2em; + border-top-right-radius: .2em; +} +ul.menu-radius > li:last-child { + border-bottom-left-radius: .3em; + border-bottom-right-radius: .3em; +} +ul.menu-radius > li:last-child > a { + border-bottom-left-radius: .2em; + border-bottom-right-radius: .2em; +} +.drop { + position: relative; +} +.drop:hover > .drop-down { + position: absolute; + top: 0; + left: 0; + width: 200%; + display: block; +} +.drop > .drop-down { + display: none; + border: 1px solid #bbbbbb; + box-shadow: 0 0 3px #666666; + background-color: #ffffff; +} +.drop-bottom:after { + content: "\25BE"; + margin-left: .4em; +} +.drop-top:after { + content: "\25B4"; + margin-left: .4em; +} +.panel { + border: 1px solid #cccccc; +} +.panel .panel-header { + font-size: 16px; + padding: .6em 1.2em; + background-color: #eeeeee; + border-bottom: 1px solid #cccccc; +} +.panel .panel-body .panel-desc { + margin-bottom: 20px; +} +.panel .panel-content { + padding: 1em 1.2em; +} +.panel .panel-footer { + padding: .6em 1.2em; + background-color: #eeeeee; + border-top: 1px solid #cccccc; +} +.panel.panel-radius { + border-radius: .3em; +} +.panel.panel-radius .panel-header { + border-top-left-radius: .3em; + border-top-right-radius: .3em; +} +.panel.panel-radius .panel-footer { + border-bottom-left-radius: .3em; + border-bottom-right-radius: .3em; +} +.panel.panel-warning { + border-color: #F0C36D; +} +.panel.panel-warning > .panel-header { + background-color: #F9EDBE; + border-color: #F0C36D; +} +.label { + padding: 2px 6px; + color: #ffffff; +} +.label-red { + background-color: #d9453d; +} +.label-blue { + background-color: #428bca; +} +.label-gray { + background-color: #999999; +} +.label-green { + background-color: #65ad4e; +} +.label-orange { + background-color: #df7514; +} +.label-black { + background-color: #444444; +} +.label-radius { + border-radius: .2em; +} +.label-link { + color: #ffffff; +} +.label-link:hover { + color: #ffffff; +} +.breads .bread:after { + content: "/"; + font-weight: bold; + margin: 0 4px 0 7px; + color: #444444; +} +.breads .bread:last-child:after { + content: ""; + margin: 0; +} +.alert { + padding: .6em 1.5em; + margin-bottom: 10px; +} +.alert i { + margin-right: 8px; +} +.alert-radius { + border-radius: .25em; +} +.alert-red { + color: #d9453d; + border: 1px solid #be2d25; + background-color: #fae9e8; +} +.alert-blue { + color: #428bca; + border: 1px solid #3071a9; + background-color: #f5f9fc; +} +.alert-green { + color: #65ad4e; + border: 1px solid #508a3e; + background-color: #edf6eb; +} +.alert-gray { + color: #999999; + border: 1px solid #808080; + background-color: #f2f2f2; +} +.alert-orange { + color: #df7514; + border: 1px solid #b05c10; + background-color: #fcecdd; +} +table th, +table td { + padding: .3em .6em; + line-height: 30px; +} +.table-border { + border: 1px solid #d6d6d6; +} +.table-border tr { + border-top: 1px solid #eaeaea; +} +.table-border tr th, +.table-border tr td { + border-top: 1px solid #eaeaea; +} +.table-border tr:first-child { + border-top: none; +} +.table-border thead { + border-bottom: 1px solid #d6d6d6; +} +.table-block { + width: 100%; + box-sizing: border-box; +} +.table-radius { + border-collapse: separate !important; + border-radius: .3em; +} +.table-radius thead:first-child { + border-top-left-radius: .3em; + border-top-right-radius: .3em; +} +.table-radius thead:first-child tr:first-child { + border-top-left-radius: .3em; +} +.table-radius thead:first-child tr:first-child > th:first-child { + border-top-left-radius: .3em; +} +.table-radius thead:first-child tr:first-child > th:last-child { + border-top-right-radius: .3em; +} +.table-radius tbody { + border-bottom-left-radius: .3em; + border-bottom-right-radius: .3em; +} +.table-radius tbody tr:last-child { + border-bottom-left-radius: .3em; + border-bottom-right-radius: .3em; +} +.table-radius tbody tr:last-child > td:first-child { + border-bottom-left-radius: .3em; +} +.table-radius tbody tr:last-child > td:last-child { + border-bottom-right-radius: .3em; +} |