1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-20 18:32:41 +00:00
Files
seahub/media/css/seahub.css
2012-07-14 21:11:02 +08:00

658 lines
13 KiB
CSS

body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,blockquote,form,input,textarea,button,img { margin:0; padding:0; }
ul > li { list-style:none; }
a { color:#ee8833; text-decoration:none; font-weight:bold; }
a:hover { color: #ff9933; text-decoration: underline; }
img { border:none; }
h2 { font-size:18px; color:#808; }
h3 { font-size:15px; color:#808; font-weight:normal; margin:12px 0 2px; }
h4 { font-size:14px; color:#000; font-weight:normal; margin:2px 0 0; }
ol { padding-left:2em; }
/* input button */
textarea { border: 1px solid #80B0B0; }
input {
height:20px;
line-height:20px;
margin:3px 0;
border: 1px solid #80B0B0;
}
input,
button {
font-size:13px;/*for ff*/
display:inline-block;/*for ie*/
}
input[type=checkbox] {
height:auto;
}
input[type=submit],
input.submit,
button {
color: #080;
height:23px;
line-height:21px;
padding:0 3px;
background: #EEE;
border: 1px solid #80B0B0;
border-radius: 3px;
-moz-border-radius:3px;
margin-top:8px;
}
button {
margin:0;
}
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; }
/* table */
table {
border-spacing: 0;
border-collapse: collapse;
width:100%;
table-layout:fixed;
margin:5px 0 20px;
}
td, th {
padding:4px 3px;
word-wrap:break-word;
}
th { color:#333; text-align:left; }
tr.even { background-color: #FAFAFA; }
tr.odd { background-color: #EBEBEB; }
tr.hl { background-color: #ddddff; }/*highlight*/
.even th { background:#eee; }
.odd th { background:#ddd; }
tr.first { background-color: #00FF00; }
table img {
vertical-align:middle;
}
/*common class*/
.error { color:red; }
.fleft { float:left }
.fright { float:right }
.clear { clear:both; }
.show { display:block }
.hide { display:none }
.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;
}
#paginator { margin-top:10px; }
/* container */
#wrapper { font: 13px/1.5 Arial, Helvetica, sans-serif; }
#header, #main, #footer, .top-bar-in { width:950px; }
#header, #main, .top-bar-in { margin:0 auto; }
#header {
font-size: 14px;
font-weight: bold;
overflow:hidden;
padding-bottom:8px;
border-bottom:1px solid #ddd;
margin-bottom:15px;
}
#main {
min-height: 400px;
_height: 400px;
padding-top: 10px;
}
#left-panel { float:right; width:220px; }
#right-panel { float:left; width:680px; }
.side {
color:#333;
width:220px;
word-wrap: break-word;
}
.main {
width:680px;
}
/* info-bar */
#info-bar { height: 30px; color: #fff; background: #000; }
#info-bar .info { margin: 5px 0 auto 1em; float: left; }
#info-bar .close { margin: 7px 5px auto 0; float: right; background: url(../img/close-16.png); height: 16px; width:16px; }
/* top-bar */
#top-bar { height:20px; padding-bottom:21px; background:#fff url('../img/dropshadow.png') repeat-x center bottom; }
.top-bar { height:20px; color:#fff; text-align:right; font-weight:bold; background:#606; }
.top-bar a { color:#ddd; font-weight:normal; }
.top-bar a.avatar-link {
display:inline-block;
height:16px;
}
.top-bar .avatar {
border-radius: 2px;
-moz-border-radius: 2px;
}
.top-bar a.cur { text-decoration:underline; }
.top-bar a,
.top-bar span {
vertical-align:middle;
}
.top-bar span {
margin-right:3px;
}
.top-bar a:hover { background:#A0A; }
.top-bar a.avatar-link:hover {
background:none;
}
/* 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:#080;
font-weight:normal;
}
/* main */
.path, .access-notice { margin: 12px 0 6px 0; }
.with-bg li {
padding-left:10px;
line-height:20px;
background: #fff url('../img/li.gif') no-repeat scroll left 6px;
}
/* avatar */
.avatar-op {
width:321px;
margin:45px 0 0 300px;
}
.avatar-op h2,
.upload-file-panel h3 {
padding:2px 5px;
background:#E9F1F4;
border-radius:3px;
-moz-border-radius:3px;
}
.avatar-op-con {
padding-left:5px;
}
.avatar-op .avatar,
.home-profile .avatar {
border-radius: 4px;
-moz-border-radius: 4px;
}
.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;
}
/*narrow-panel: for form pages*/
.narrow-panel {
width:25em;
min-height:15em;
padding:2.5em;
background:#E9F1F4;
border-radius:4px;
-moz-border-radius:4px;
margin:5em auto 0;
}
.narrow-panel h2,
.narrow-panel h3 {
margin-top:0;
}
.narrow-panel h2 {
margin-bottom:10px;
}
.narrow-panel input {
width:24em;
height:1.8em;
margin:0 0 0.6em;
}
.narrow-panel input.submit {
width:3em;
color: #080;
height:23px;
line-height:21px;
padding:0 3px;
background: #EEE;
border: 1px solid #80B0B0;
margin:8px 0 3px;
}
.login-form a {
vertical-align:middle;
}
/*text-panel: for pages with few text*/
.text-panel {
font-size:16px;
text-align:center;
padding-top:7em;
}
/* popup dialog */
#basic-modal-content {display:none;}
#simplemodal-overlay { background-color:#000; }
#simplemodal-container { background-color:#fff; border:3px solid #080; padding: 18px; }
#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 {
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;
}
.ui-menu-item {
background-image:none;
}
/*myhome*/
.home-profile {
margin:3px 0 15px;
}
.home-profile .avatar {
float:left;
margin:0 15px 0 11px;
}
.mygroup {
display:inline-block;
width:70px;
text-align:center;
word-wrap:break-word;
vertical-align:top;
margin:0 0px 5px 0;
}
.mygroup .tips {
display: inline-block;
font-size: 0.9em;
color: red;
}
.new-reply {
padding: 5px;
background-color: #FDF;
}
.new-reply a {
color: #000;
font-weight: normal;
}
/*repo page*/
.repo-top-bar {
margin-bottom:-5px;
}
.repo-op {
margin-top:12px;
}
.repo-op a {
font-weight: normal;
margin-left:8px;
background:#fff scroll no-repeat left 50%;
}
.repo-op .upload-file {
padding-left:17px;
background-image:url('../img/upload.png');
}
#add-new-dir {
padding-left:20px;
background-image:url('../img/folder-add.png');
}
.more-op {
cursor:pointer;
}
.op-list {
position:absolute;
left:18px;
background:#fff;
padding:6px 1px;
border:1px solid #eee;
border-radius:5px;
-moz-border-radius:5px;
z-index:10;
}
.op-list li {
padding:0 12px;
}
.op-target {
color:#c39;
}
#rename-form .new-name {
margin-top:8px;
}
.latest-commit .more:hover {
text-decoration:none;
}
.icon-container {
text-align:center;
}
.latest-commit-time-author {
color:#333;
font-size:13px;
font-weight:normal;
}
.latest-commit {
word-wrap:break-word;
}
.latest-commit .author {
font-style:italic;
}
.latest-commit .time {
color:#666;
margin-left:2px;
}
.repo-history {
font-weight:normal;
font-size:16px;
margin: 4px 0 12px 0;
}
.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 ul {
padding:0 0 6px 0;
}
/*file mv*/
#dirs {
margin-top:8px;
}
/*repo-share-form*/
#email,
#email_or_group,
#share-link,
#added-member-name {
width:260px;
height:80px;
}
/*contact*/
.contact-list-link {
font-size:13px;
}
.contact-list-link:hover {
text-decoration:none;
}
/* group, org */
.group-list {
margin-top:20px;
}
.group {
width:315px;
margin:0 25px 15px 0;
}
.group .txt {
color:#333;
width:250px;
}
.group h4 {
margin:0 0 4px;
}
.group .item-name {
display:inline-block;
width:5em;
color:#666;
}
.group-member .avatar,
.org-member .avatar {
border-radius: 2px;
-moz-border-radius: 2px;
margin-right: 5px;
}
.group-member .avatar,
.group-member-name,
.org-member .avatar,
.org-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);
}
#member-add {
font-size:13px;
padding-left:18px;
text-decoration:underline;
background:transparent url('../img/add.png') scroll no-repeat left 50%;
margin-top:2px;
}
/* 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 {
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 {
color: #808080;
}
.msg-bd .op:hover {
text-decoration:none;
}
.msg-bd p a {
color: #666666;
font-weight: normal;
}
.reply-list {
color:#444;
width:90%;
padding:2px 0 2px 0;
}
.reply-list a {
color:#666;
font-weight:normal;
font-size:12px;
}
.reply-form .text-input {
width:82%;
}
/*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 preview */
#file-content {
border: 1px solid #999;
padding: 5px;
min-height: 200px;
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
.img-preview {
max-width: 550px;
max-height: 550px;
}