1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00
Files
seahub/media/css/seahub.css

239 lines
5.9 KiB
CSS
Raw Normal View History

2012-05-12 20:42:27 +08:00
body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,blockquote,form,input,button,img { margin:0; padding:0; }
2011-03-19 13:15:02 +08:00
ul > li { list-style:none; }
.error { color:red; }
.fleft { float:left }
.fright { float:right }
2012-05-12 20:42:27 +08:00
.clear { clear:both; }
2011-03-19 13:15:02 +08:00
.show { display:block }
.hide { display:none }
.errorlist { color: red; }
2012-03-22 20:33:27 +08:00
.ovhd { overflow:hidden; }
.bold { font-weight:bold; }
2012-05-12 20:42:27 +08:00
.mgb5 { margin-bottom:5px; }
.mgb10 { margin-bottom:10px; }
2012-05-04 21:36:36 +08:00
.mgt10 { margin-top:10px; }
2011-03-19 13:15:02 +08:00
.label { color:#333; font-size:12px; font-style:normal; }
.w100 {
width: 100%;
}
.notification {
padding:5px;
width:580px;
background:#FDF;
margin:10px 0;
}
2012-05-12 20:42:27 +08:00
.tip {
color:#808080;
font-size:12px;
}
2011-03-19 13:15:02 +08:00
a { color:#ee8833; text-decoration:none; font-weight:bold; }
a:hover { color: #ff9933; text-decoration: underline; }
2012-05-05 20:35:08 +08:00
img { border:none; }
2012-05-12 20:42:27 +08:00
h2 { font-size:18px; color:#808; margin-bottom:8px; }
h3 { font-size:15px; color:#808; font-weight:normal; margin:10px 0 6px; }
2012-05-12 20:42:27 +08:00
ol { padding-left:2em; }
2011-03-19 13:15:02 +08:00
/* table */
2012-05-12 20:42:27 +08:00
table {
border-spacing: 0;
border-collapse: collapse;
width:100%;
table-layout:fixed;
margin:5px 0 20px;
2012-05-12 20:42:27 +08:00
}
2012-04-01 14:25:25 +08:00
td, th { padding: 3px; word-break:break-word; }
2012-05-12 20:42:27 +08:00
th { color:#333; text-align:left; }
2012-03-22 20:33:27 +08:00
tr.even { background-color: #FAFAFA; }
2012-03-30 13:49:32 +08:00
tr.odd { background-color: #EBEBEB; }
.even th { background:#eee; }
.odd th { background:#ddd; }
2012-03-22 20:33:27 +08:00
tr.first { background-color: #00FF00; }
2011-03-19 13:15:02 +08:00
/* container */
2011-11-25 17:11:11 +08:00
#wrapper { font: 13px/1.5 Arial, Helvetica, sans-serif; }
2011-10-13 00:17:48 +08:00
#header, #main, #footer { width:950px; }
#header, #main { margin:0 auto; }
#header {
font-size: 14px;
font-weight: bold;
border-bottom: 1px solid #ddd;
}
2012-05-12 20:42:27 +08:00
#main {
min-height: 400px;
padding-top: 10px;
2012-05-12 20:42:27 +08:00
}
2012-05-17 14:11:22 +08:00
#left-panel { float:right; width:220px; }
#right-panel { float:left; width:680px; }
2011-10-13 00:17:48 +08:00
#footer { color:#999; padding-top:2px; margin:25px auto; border-top:1px solid #DDD; }
/* 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-in { width:950px; margin:0 auto; }
.top-bar a { color:#ddd; font-weight:normal; }
.top-bar a.cur { background:#A0A; }
2011-10-13 00:17:48 +08:00
.top-bar a:hover { background:#A0A; }
2012-05-12 20:42:27 +08:00
/* header */
2012-05-12 17:06:25 +08:00
#header .top-info { margin-bottom:5px;}
2012-05-05 10:51:18 +08:00
#other-info { color: #ccc; text-align:right; }
#other-info .wish { font-style:italic; margin-bottom:10px; }
#other-info .version { font-size: 12px; }
2012-05-12 20:42:27 +08:00
#header .nav li { float: left; height: 18px; padding: 0px 25px 4px 0; }
2011-03-19 13:15:02 +08:00
#header .nav a, #header .nav a:visited { color:#8A948F; font-weight:bold; text-decoration:none; }
2012-03-22 20:33:27 +08:00
#header .nav a.cur { color: #000; }
2011-03-19 13:15:02 +08:00
#header .nav a:hover { color: #ff9933; text-decoration: underline; }
/* footer */
#footer a { color:#333; text-decoration:none; }
/* main */
.with-bg li {
2012-05-12 20:42:27 +08:00
padding-left:10px;
line-height:20px;
background: #fff url('../img/li.gif') no-repeat scroll left 6px;
}
2011-03-19 13:15:02 +08:00
/* profile */
.avatar_op .pic { float:left; margin-right:15px; }
.avatar_op .text { float:left; }
#main .avatar_op ul { padding:0; }
#main .avatar_op ul label { display:none; }
#main .avatar_op ul ul label { display:block; }
#main .avatar_op li { padding:0; background:none; }
#main .avatar_op ul ul li { float:left; margin-right:5px; }
.avatar { float:left; width:120px; }
.ele_info { float:right; width:450px; }
/* input button */
textarea { border: 1px solid #80B0B0; }
2012-03-22 20:33:27 +08:00
input {
height:20px;
line-height:20px;
margin:2px 0;
border: 1px solid #80B0B0;
}
2012-05-04 21:36:36 +08:00
input[type=checkbox] {
height:auto;
}
2012-04-18 11:26:07 +08:00
input[type=submit],
button {
color: #080;
height:23px;
padding:2px 3px;
background: #EEE;
border: 1px solid #80B0B0;
border-radius: 3px;
-moz-border-radius:3px;
margin-top:5px;
}
2012-05-12 20:42:27 +08:00
button {
margin:0;
}
2012-04-18 11:26:07 +08:00
input[type=submit]:hover,
button:hover {
cursor:pointer;
background: #FFF;
}
2012-03-22 20:33:27 +08:00
label { display: inline-block; margin:2px 0px; }
2012-04-09 15:10:15 +08:00
#user-add-form label,
.reg label,
.pwd_change label {
2012-03-22 20:33:27 +08:00
width:5em;
text-align:right;
}
2012-04-09 15:10:15 +08:00
#user-add-form .submit,
.reg .submit {
2012-03-22 20:33:27 +08:00
margin-left:5em;
}
.login .submit {
margin-left:3em;
}
2012-03-23 11:47:36 +08:00
.login .error {
margin:3px 0 0 3em;
}
2012-04-09 15:10:15 +08:00
.pwd_change label {
width:6em;
2012-04-09 14:43:10 +08:00
}
2012-04-09 15:10:15 +08:00
.pwd_change .submit {
margin-left:6em;
2012-04-09 14:43:10 +08:00
}
2011-10-18 15:41:48 +08:00
/* popup dialog */
#basic-modal-content {display:none;}
2012-05-12 20:42:27 +08:00
#simplemodal-overlay { background-color:#000; }
#simplemodal-container { background-color:#fff; border:3px solid #080; padding: 10px; }
2011-10-18 15:41:48 +08:00
#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;}
2011-11-25 13:06:01 +08:00
#simplemodal-container h3 {color:#84b8d9;}
2012-05-12 20:42:27 +08:00
.simplemodal-close {
margin-left:5px;
}
2012-05-12 20:42:27 +08:00
#dialog-delete-confirm {
text-align:center;
}
/*myhome*/
.mygroup {
float:left;
width:70px;
text-align:center;
margin:0 3px 5px 0;
}
2012-05-12 20:42:27 +08:00
2012-03-28 10:38:12 +08:00
/*repo page*/
2012-05-05 20:35:08 +08:00
#repo-page h2 {
margin-bottom:16px;
}
2012-05-04 21:36:36 +08:00
#repo-page .side {
2012-05-05 13:57:42 +08:00
color:#333;
2012-05-17 14:11:22 +08:00
width:220px;
2012-05-04 21:36:36 +08:00
}
#repo-page .main {
2012-05-17 14:11:22 +08:00
width:680px;
2012-05-04 21:36:36 +08:00
}
#repo-page .more {
2012-05-05 13:57:42 +08:00
font-weight:normal;
font-size:12px;
color:#080;
}
2012-05-05 20:35:08 +08:00
.latest-commit {
word-wrap:break-word;
2012-05-04 21:36:36 +08:00
}
2012-05-05 20:35:08 +08:00
.latest-commit .author {
2012-05-04 21:36:36 +08:00
font-style:italic;
}
2012-05-05 20:35:08 +08:00
.latest-commit .time {
2012-05-04 21:36:36 +08:00
color:#666;
margin-left:2px;
2012-03-28 10:38:12 +08:00
}
2012-05-05 13:57:42 +08:00
#repo-history-hd {
font-weight:normal;
font-size:16px;
margin-bottom:14px;
}
2012-05-07 16:33:36 +08:00
/*repo-share-form*/
#to_email {
width:260px;
height:80px;
}
#repo-share-form .ui-autocomplete {
background:#fff;
}
#repo-share-form .ui-menu-item {
background-image:none;
2012-05-07 16:33:36 +08:00
}
#repo-share-form a {
color:#e83;
font-weight:normal;
2012-05-07 16:33:36 +08:00
}
/*contact*/
.contact-op-form label {
width:6em;
text-align:right;
}
.contact-op-form .submit {
margin-left:6em;
}
/* group */
.group-member-icon {
border-radius: 4px;
-moz-border-radius: 4px;
margin-right:5px;
}
.group-member-icon,
.group-member-name {
vertical-align:middle;
}