html { background:#fff; } body, h1,h2,h3,h4,h5,h6, ul,ol,li,dl,dt,dd, p,pre,blockquote, form,input,textarea,button,img { padding:0; margin:0; } body { font: 13px/1.5 Arial, Helvetica, sans-serif; color: #333; } h1 { font-size:1.9em; margin:1.1em 0 0.5em; } h2 { font-size:1.5em; color:#222;} h3 { font-size:1.2em; color:#322; font-weight:normal; margin:0.95em 0 0.4em; } h4 { font-size:1.1em; color:#222; font-weight:normal; margin:0.5em 0 0.2em; } h5, h6 { font-size:1em; margin:0.4em 0 0.15em; } ul { list-style:none; } ol { padding-left:2em; } a { color:#ee8833; text-decoration:none; font-weight:bold; } a:hover { color: #ff9933; text-decoration: underline; } img { border:none; } textarea { border: 1px solid #ddd; overflow: auto; /* rm default vertical scrollbar in ie */ } input { height:20px; line-height:20px; border: 1px solid #ddd; margin:3px 0; } input, button { font-size:13px;/*for ff*/ font-family:Arial, Helvetica, sans-serif;/*for ff*/ display:inline-block;/*for ie*/ } input[type=checkbox] { height:auto; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {/*for input type="number" in chrome: to hide up/download arrow*/ -webkit-appearance: none; margin: 0; } input::-moz-focus-inner, button::-moz-focus-inner {/*Remove button padding in FF*/ border: 0; padding: 0; } input[type=submit], input.submit, button { color: #333; height:23px; line-height:21px; padding:0 3px; background: #efefef; border: 1px solid #ddd; border-radius: 3px; -moz-border-radius:3px; } input[type=submit], input.submit { margin-top:8px; } input[type=submit]:hover, button:hover { cursor:pointer; background: #FFF; } input[type="file"] { border:none; height:24px; line-height:24px; } label { display: inline-block; margin:2px 0px; } iframe { display:block; width:100%; } pre, code { font-family: Consolas,"Liberation Mono",Courier,monospace; } pre { white-space:pre-wrap; word-wrap: break-word; } table { border-spacing: 0; border-collapse: collapse; width:100%; table-layout:fixed; margin:8px 0 40px; } th { text-align:left; font-weight:bold; } td, th { padding:5px 3px; word-wrap:break-word; border-bottom:1px solid #eee; } td { color: #333; } tr.hl { background-color: #f8f8f8; }/*highlight*/ table img { vertical-align:middle; } p { margin:0.5em 0; } /*common class*/ .fleft { float:left } .fright { float:right } .clear { clear:both; } .show { display:block } .hide { display:none } .error { color:red; } .errorlist { color: red; } .ovhd { overflow:hidden; } .bold { font-weight:bold; } .label { color:#333; font-size:12px; font-style:normal; } .w100 { width: 100%; } .notification { padding:5px; background:#FDF; margin:10px 0; } .tip { color:#808080; font-size:12px; } .vh { visibility:hidden; } .al-rt { text-align:right; } .op, .more { font-weight:normal; font-size:12px; color:#080; } .op { font-size:13px; } .no-deco, .no-deco:hover { text-decoration:none; } .input-disabled { background:#ebebe4; } .no-bold { font-weight:normal; } ul.with-bg li { padding-left:10px; line-height:20px; background: #fff url('../img/li.gif') no-repeat scroll left 6px; } #paginator { margin:10px; } .tri-bg { /*triangle bg, */ display:inline-block; font-size:0; line-height: 0; width:0; height:0; border-color: transparent; } .tri-down-bg { padding-top: 1px; border-width: 3px 3px 0; border-style: solid dashed dashed; border-top-color: #bbb; } .tri-right-bg { padding-right: 1px; border-width: 3px 0 3px 3px; border-style: dashed dashed dashed solid; border-left-color: #bbb; } .info-item { border: 1px solid #eee; border-radius: 2px; margin-bottom: 12px; } .info-item h3, .info-item p { margin:0; } .info-item-top { padding: 4px 10px; background: #f8f8f8; border-bottom: 1px solid #eee; border-top-left-radius: 1px; border-top-right-radius: 1px; } .info-item-bottom { padding: 8px 10px; } .info-item p.not-last { margin-bottom:0.4em; } /* container */ #header, #main, #footer { width:950px; } #header, #main { margin:0 auto; } #header { font-size: 14px; font-weight: bold; overflow:hidden; padding-bottom:8px; border-bottom:1px solid #ddd; margin-bottom:25px; } #main { min-height: 400px; _height: 400px; } #title-panel h2 { margin-bottom:0.45em; } #left-panel { float:right; width:230px; padding-left:10px; } #right-panel { float:left; width:670px; } #right-panel h3:first-child, #left-panel h3:first-child { margin-top: 0px; } /* info-bar */ #info-bar, #sharelink-infobar { color: #fff; padding:1px 25px 2px 10px; background: #000; } #info-bar { position:relative; } #info-bar .close { cursor:pointer; position:absolute; right:5px; top:5px; } /* top-bar */ #top-bar { padding-bottom:21px; } .top-bar-inner { background:#2d2d2d; } .top-bar-con { color:#fff; font-weight:bold; height:24px; width:950px; margin:0 auto; } .top-bar-con a { color:#ddd; font-weight:normal; padding:0 2px; } .top-bar-con a, .top-bar-con span { display:inline-block; height:24px; line-height:24px; vertical-align:middle; } .top-bar-con a.avatar-link { height:16px; } .top-bar-con .avatar { border-radius: 2px; -moz-border-radius: 2px; } .top-bar-con a.cur { background:#000; } .top-bar-con span { margin-right:3px; } .top-bar-con a:hover { text-decoration:none; background:#a0a; } .top-bar-con a.avatar-link:hover { background:none; } #account-context .tri-bg { height:0; } #account-context-selector { position:absolute; left:2px; top:21px; border:1px solid #bbb; background:#fff; min-width:65px; padding:5px 0; box-shadow: 0 2px 4px rgba(0,0,0,.2); z-index: 1000; -moz-box-shadow: -1px 1px 1px rgba(0,0,0,.2); -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.2); } #account-context-selector a { color:#000; display:block; padding:0 5px; } #account-context-selector a:hover { background:#eee; } /* header */ #logo { margin-right:30px; } #header .nav { float:left; padding-top:16px; } #header .nav li { float: left; height:21px; margin:0 10px; } #header .nav a, #header .nav a:visited { color:#8A948F; font-weight:bold; text-decoration:none; } #header .nav a.cur { color:#000; } #header .nav a:hover { color: #ff9933; text-decoration: underline; } /* footer */ #footer { color:#636363; font-size:12px; padding:20px 0 10px; margin:80px auto 25px; border-top:1px solid #DDD; } #footer .items { width:65%; } #footer .other-info { width:30%; } #footer .item { float:left; width:28%; padding:0 3% 0 2%; } #footer .item h4 { font-size:12px; color:#636363; padding-bottom:3px; } #footer a { color:#888; font-weight:normal; } /* for messages like 'contact added successfully' */ .messages { position:absolute; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2); } .messages .info, .messages .success{ padding:5px; background:#C4ECA9; margin:0; } .messages .error{ padding:5px; background:#FDF; margin:0; color:#000; } /* narrow-panel: for pages like 'login' */ .narrow-panel { width:320px; min-height:15em; padding:30px; border: 1px solid #ddd; border-radius:4px; -moz-border-radius:4px; margin:5em auto 0; } .narrow-panel h2, .narrow-panel h3 { margin:0 0 0.9em; border-bottom:1px solid #ddd; } .narrow-panel h2 { font-size:1.3em; } .narrow-panel input { width:318px; height:1.8em; margin:0 0 0.6em; } .narrow-panel input.submit { width:3em; margin:8px 0 0; } .narrow-panel .note { color: #666666; font-size: 11px; margin: 2px 0 5px; } .login-form a { font-size:12px; vertical-align:middle; } /*text-panel: for pages with few text*/ .text-panel { font-size:16px; text-align:center; padding-top:7em; } /* simplemodal popup */ #basic-modal-content {display:none;} #simplemodal-overlay { background-color:#000; } #simplemodal-container { padding: 20px; background-color:#fff; border-radius:4px; -moz-border-radius:4px; } #simplemodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; font-size:12px; margin-bottom:12px; padding:4px 6px 6px;} #simplemodal-container a {color:#ddd;} #simplemodal-container a.modalCloseImg {background:url(../img/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;} #simplemodal-container .ui-menu-item a {/*for tip item of autocomplete*/ color:#e83; font-weight:normal; } #simplemodal-container .jstree a { color:#000; font-weight:normal; } #simplemodal-container h3 { word-wrap:break-word; margin:0 0 4px; } .simplemodal-close { margin-left:5px; } #dialog-delete-confirm { text-align:center; } #confirm-con { margin-bottom:6px; } /*ui-autocomplete*/ .ui-autocomplete { background:#fff; overflow:auto; } .ui-menu-item { background-image:none; } /* for article */ .article { padding:40px 200px 40px 60px; font-size:14px; line-height:1.6; color:#333; } .article h2, .article h3, .article h4, .article h5, .article h6 { margin: 1.2em 0 0.4em; color:#333; font-weight:bold; } .article h1 + p, .article h2 + p, .article h3 + p, .article h4 + p, .article h5 + p, .article h6 + p, .article h1 + pre, .article h2 + pre, .article h3 + pre, .article h4 + pre, .article h5 + pre, .article h6 + pre, .article h1 + ul, .article h2 + ul, .article h3 + ul, .article h4 + ul, .article h5 + ul, .article h6 + ul, .article h1 + ol, .article h2 + ol, .article h3 + ol, .article h4 + ol, .article h5 + ol, .article h6 + ol { margin-top: 0; } .article p { margin:0.8em 0; } .article ul { list-style-type:disc; padding-left:2em; } .article ul, .article ol { margin:0.5em 0; } .article code { font-size:12px; white-space: nowrap; padding: 1px 5px 0; background-color: #F8F8F8; border: 1px solid #dadada; border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; margin: 0 2px; } .article pre { font-size:13px; padding:5px 10px; background:#f8f8f8; border:1px solid #ddd; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; margin:1em 0; } .article pre code { white-space:pre-wrap; padding:0; margin:0; border:none; } .article a { font-weight:normal; } .article blockquote { color: #777; padding: 0 15px; border-left: 4px solid #DDD; margin: 10px 0; } .article table { margin:0.8em 0; width:auto; } .article tr:nth-child(2n) { background-color: #F8F8F8; } .article th, .article td { padding:6px 13px; border:1px solid #ccc; } /* for separate pages */ /*myhome*/ .home-profile .avatar { float:left; margin:0 15px 0 9px; } .mygroup { float:left; width:69px; text-align:center; word-wrap:break-word; vertical-align:top; margin:0 0px 5px 0; } .mygroup a { display:inline-block; width:100%; } #repo-create, #contact-add, #group-add, #org-user-add, #group-member-add { padding-left:21px; height:27px; background:#f5f5f5 url('../img/add.png') scroll no-repeat 3px 48%; } #repo-create-form { padding:0 20px; } .empty-repo-tips { width: 60%; margin: 25px auto; } #repo-name, #repo-desc, .repo-create-encryption .passwd, #id_contact_email, #id_contact_name, #id_note { width:260px; margin-bottom:5px; } #repo-desc { height:70px; } #repo-create-form select[name="permission"] { display:block; width:262px; margin-bottom:10px; } #repos-tabs { font-size:1em; padding:0; border:0; min-height:150px; margin-bottom:75px; } #repos-tabs .ui-tabs-nav { padding:0; } #repos-tabs .ui-tabs-nav li { border:0; background:none; } #repos-tabs .ui-tabs-nav li a { color:#8A948F; font-weight:normal; padding:.3em 0; margin-right:0.6em; } #repos-tabs .ui-tabs-nav .ui-state-active a { color:#DD4B39; border-bottom:2px solid #DD4B39; } #repos-tabs .ui-tabs-nav li a:hover { color:#DD4B39; } #repos-tabs .ui-tabs-panel { padding:0; } .event-item { margin:10px 0 15px; } .event-item .txt { width:610px; padding-bottom:8px; border-bottom:1px solid #eee; } .event-hd .time { color:#888; } .event-item .avatar { border-radius:3px; } /* avatar */ .avatar-op .avatar, .home-profile .avatar, .mygroup .avatar, .group .avatar { border-radius: 4px; -moz-border-radius: 4px; } .avatar-op h3 { border:none; margin-bottom:2px; } .avatar-op .upload-new-avatar-hd { margin-top:15px; } /*user-basic-info*/ #user-basic-info h2 { margin:12px 0 15px; } #user-basic-info label { text-align:right; width:5.5em; margin-right:1em; } #user-basic-info .avatar, #user-basic-info textarea { vertical-align:text-top; } #user-basic-info .avatar, #user-basic-info .text-input, #user-basic-info textarea { margin-bottom:8px; } #user-basic-info .text-input, #user-basic-info textarea { width:260px; } #user-basic-info textarea { height:70px; } #user-basic-info .submit { margin-left:6.5em; } /*repo page*/ #repo-basic-info { color:#333; background:#fafafa; border:1px solid #ddd; border-radius:3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; margin: 10px 0; } #repo-basic-info .desc, #repo-basic-info .size { padding:5px 10px; margin:0; } #repo-basic-info .desc { border-bottom:1px solid #ddd; } .path { margin: 1.4em 0 0; } .access-notice { margin: 0.8em 0 0.4em; } .repo-op { text-align:right; } .repo-op button, #repo-download-btn { height:25px; background:#f5f5f5 scroll no-repeat 3px 48%; } #recycle-btn { background:#f5f5f5 scroll no-repeat 3px 40%; } #upload-file { padding-left:19px; background-image:url('../img/upload.png'); } #add-new-dir { padding-left:23px; background-image:url('../img/folder-add.png'); } #add-new-file { padding-left:23px; background-image:url('../img/new-file-icon.png'); } .repo-file-list-outer-container, .commit-list-outer-container { padding:3px; background:#eee; border-radius:3px; margin:10px 0 25px; } .repo-file-list-inner-container, .commit-list-inner-container { min-height:250px; background:#fff; border:1px solid #ddd; border-radius:3px; } .repo-file-list-not-show { padding-left:10px; } .repo-file-list-topbar { padding:8px 10px; border-bottom:1px solid #ddd; } .repo-file-list-topbar .path { line-height:25px; margin:0; } .repo-file-list { margin:15px 0 0; } .displayed-op { display:inline; margin-right:8px; } .repo-file-list .more-op-icon { cursor:pointer; } .repo-file-list .hidden-op { position:absolute; left:18px; background:#fff; padding:6px 1px; border:1px solid #eee; border-radius:5px; z-index:10; } .hidden-op li a { display:block; padding:0 12px; } .op-target { color:#c39; } #mv-form { width:500px; padding:10px 20px; } #mv-form .con { padding:5px; height:280px; overflow:auto; border:1px solid #eee; margin:10px 0 20px; } #mv-form h4 span { margin-right:20px; margin-bottom:3px; } #mv-form .tri-right-bg { border-left-color:#333; } #mv-form .tri-down-bg { border-top-color:#333; } #rename-form .new-name { min-width:180px; margin-top:6px; } .icon-container { text-align:center; } #repo-download-btn, #recycle-btn { font-size:14px; height:26px; padding:0 5px 0 20px; } #repo-download-btn { background-image: url('../img/download-16.png'); } #recycle-btn { background-image: url('../img/delete-16.png'); margin-right:10px; } #repo-latest-commit, #file-commit-info { word-wrap:break-word; border: 1px solid #C5D5DD; border-radius: 4px; margin-top:10px; } #file-commit-info { margin-top:16px; } #repo-latest-commit .commit-msg, #repo-latest-commit .meta-info, #file-commit-info .latest-commit, #file-commit-info .contributors { padding:4px 10px; margin:0; } #repo-latest-commit .commit-msg, #file-commit-info .latest-commit { width:928px; padding:8px 10px; background: #E6F1F6; border-bottom: 1px solid #D8E6EC; border-top-left-radius:3px; border-top-right-radius:3px; } #repo-latest-commit .commit-msg .more { margin-left:10px; } #file-commit-info .contributors { color:#666; } #file-commit-info .contributors .avatar { margin-right:5px; } #repo-latest-commit .author .avatar, #file-commit-info .avatar { border-radius:3px; } #repo-latest-commit .author .avatar, #repo-latest-commit .author .name, #repo-latest-commit .time, #file-commit-info .name, #file-commit-info .avatar, #file-commit-info span { vertical-align:middle; } #repo-latest-commit .time { color:#666; margin-left:5px; } .lsch { font-size:12px; font-weight:normal; color:#666; text-decoration:underline; } #ls-ch {/*repo commit details container*/ min-width:300px; min-height:300px; max-width:850px; max-height:550px; overflow:auto; } #ls-ch .commit-time, .commit-time { color:#333; font-size:13px; font-weight:normal; } #ls-ch ul { padding:0 0 6px 0; } #ls-ch a { color:#e83; font-weight:normal; } #dirs { /* file mv */ margin-top:8px; } /* repo-history */ #back { margin-top:3px; } .commit-list { margin:0 0 20px; } .commit-list .time { padding-left:10px; } .commit-list .avatar { border-radius:2px; } /*repo-share-form*/ #email, #email_or_group, #share-link, #added-member-name { width:260px; height:80px; } #repo-share-form select[name="permission"] { display:block; width:262px; margin:5px 0; } /* group-join-form */ #id_group_join_msg { width:260px; height:80px; } #recommend-msg, #recommend-groups { width:450px; } #recommend-groups { margin-bottom:5px; } #recommend-msg { height:55px; } /* group, org */ .group-list { margin-top:20px; } .group { width:315px; margin:0 17px 15px 0; } .group .txt { color:#333; width:250px; } .group h4 { margin:0 0 4px; } .group p { margin:0; } .group .item-name { display:inline-block; width:5em; color:#666; } .member { _height:21px; } .member .avatar { border-radius: 2px; -moz-border-radius: 2px; margin-right: 5px; } .member .avatar, .member .name { vertical-align:middle; } #user-profile { width:318px; position:absolute; left:365px; top:50px; z-index:10; padding:15px;; min-height:130px; border:1px solid #ddd; background:#fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2); -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2); } /* notification admin */ .cur-note { color: red; font-size: 75%; } /*user-profile*/ .user-profile .pic { width:80px; text-align:center; } .user-profile .avatar { border-radius:4px; -moz-border-radius:4px; margin-bottom:5px; } .user-profile .txt { width:225px; word-wrap:break-word; } .user-profile .txt p { margin-bottom:4px; } .user-profile .intro { color:#444; font-size:12px; margin-top:10px; } /* group message and replies */ #group-reply { margin-top:50px; } .msg-num { font-size:12px; color:#333; } #message, #comment-input { font: 13px/1.5 Arial, Helvetica, sans-serif; word-wrap: break-word; width: 600px; height: 80px; margin-top: 4px; } #group-reply .submit { margin-top:3px; } .msg-list { width:602px; margin-top: 10px; } .msg { word-wrap: break-word; padding: 10px 0 5px; min-height: 48px; _min-height: 48px; } .msg .txt { width:540px; } .msg-hd { padding:2px 3px; background:#fafafa; margin-bottom:2px; } .msg-hd .time, .msg-hd .group, .comment-hd .time { color: #808080; } .msg-hd .group { margin-left:30px; } .msg-bd a { font-weight: normal; } .msg-bd .op { padding:0; background:none; border:none; } .msg-bd .recommend, .msg-bd .at { color:#808; } .reply-list { color:#444; font-size:12px; width:90%; } .reply-list li { margin:5px 0; } .reply-list .txt { width: 93%; } .reply-input { width:82%; padding:0 1px; } .reply-at { font-size:12px; } .reply-at:hover { color:#f93; } /*file upload*/ .upload-file-panel { width:400px; margin:70px auto 0; } #upload-file-form { margin-top:10px; } #task-progress-bar {/*for progress container*/ width:95%; height:1em; } #task-progress-bar .ui-progressbar-value {/*for progress*/ background:#e83; margin:0; } #task-progress-bar, #upload-cancel { margin-top:8px; } /* file view online, file edit */ .file-op { color:#444; text-align:right; } #shared-link { display: inline-block; border:0; } .file-op, .file-share-from { margin-top:0.8em; } .file-op a { font-weight:normal; margin-left:2px; } .file-op button { color:#444; margin-top:3px; } #file { padding:3px; background:#dedede; border-radius:3px; -moz-border-radius:3px; margin-top:12px; } #file-op { padding:8px 10px; background:#fff; text-align:right; border:1px solid #ccc; } #file-op button { padding:0 8px; } #file-view { border: 1px solid #ccc; border-top:none; } .file-view-tip { height: 150px; padding:10px; background:#fff; } #docu-view { font-size:14px;/*override .ace_editor*/ line-height:1.6em; font-family: Consolas,"Liberation Mono",Courier,monospace;/*override .ace_editor*/ min-height: 200px; } #docu-view .ace_gutter { height:auto;/*for ie8, in case that docu has only a few lines*/ } #image-view { padding:1px; background:#fff; border:1px solid #eee; } #docu-view, #svg-view, #pdf, #md-view { background:#fff; } #md-view { min-height:120px; } #svg-view { min-height:500px;/*for ff*/ } #doc-view { min-height:700px; _height:700px; } #pdf-op-bar { padding:10px 0 7px; margin-bottom:3px; border-bottom:1px solid #ddd; } #pdf-op-bar button { color:#000; border-color:#aaa; margin:0 5px; } #pdf-page { margin:0 10px; } #page-number { padding:0 3px; min-width:16px; width:30px; text-align:right; border-radius:3px; -moz-border-radius:3px; } #op-after-edit { margin-top:18px; } #op-after-edit button { padding:3px 10px; height:auto; } #file-edit-cancel { color:#900; } /* shareadmin */ .view-link-alert p { display: inline-block; } /*bottom bar*/ #bottom-bar button { color:#fff; background:#646464; font-size:15px; } /* File comment */ #file-comment { width:400px; position:fixed; right:10px; bottom:40px; border:1px solid #cbcbcb; padding:0 15px; box-shadow: 0 2px 4px rgba(0,0,0,.2); -moz-box-shadow: -1px 1px 1px rgba(0,0,0,.2); -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.2); background:#fff; overflow:auto; } #comment-input { width:315px; max-width:315px;/*limit width when drag*/ padding-left:1px; height:36px; margin:0; } .comment { width:380px; padding:15px 0; border-top:1px solid #e8e8e8; } .comment .txt { width:318px; } #file-comment-form { width:380px; margin:15px 0; } .comment-bd { word-wrap:break-word; } #comment-caret { position:fixed; right:27px; bottom:26px; } #comment-outer-caret, #comment-inner-caret { height:0; width:1px; border:14px solid; border-color:#CBCBCB transparent; border-bottom-width:0; z-index:100; margin:0 auto; } #comment-inner-caret { border-top-color:#fff; position:relative; top:-15px; left:-14px; } .bulb-tips { background-image: url('../img/bulb_yellow.png'); background-repeat: no-repeat; background-position: left center; padding-left: 25px; }