1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-01 23:38:37 +00:00
seahub/media/css/seahub.css

257 lines
7.2 KiB
CSS
Raw Normal View History

2012-03-22 12:33:27 +00:00
body,div,h1,h2,h3,h4,h5,h6,p,ul,li,blockquote,form,input,button,img { margin:0; padding:0; }
2011-03-19 05:15:02 +00:00
ul > li { list-style:none; }
.error { color:red; }
.float_left { float:left; }
2012-03-22 12:33:27 +00:00
.clear { clear:both; }
2011-03-19 05:15:02 +00:00
.fleft { float:left }
.fright { float:right }
.cleft { clear:left }
.show { display:block }
.hide { display:none }
.errorlist { color: red; }
2012-03-22 12:33:27 +00:00
.ovhd { overflow:hidden; }
.bold { font-weight:bold; }
.mgb10 { margin-bottom:10px; }
2012-05-04 13:36:36 +00:00
.mgt10 { margin-top:10px; }
.center { text-align:center; }
2011-03-19 05:15:02 +00:00
.label { color:#333; font-size:12px; font-style:normal; }
a { color:#ee8833; text-decoration:none; font-weight:bold; }
a:hover { color: #ff9933; text-decoration: underline; }
2012-05-05 12:35:08 +00:00
img { border:none; }
2011-03-19 05:15:02 +00:00
/* table */
table { border-spacing: 0; border-collapse: collapse; width:100%; table-layout:fixed; margin:3px 0 5px; }
2012-04-01 06:25:25 +00:00
td, th { padding: 3px; word-break:break-word; }
2012-03-30 05:49:32 +00:00
th { /*color:#808;*/ color:#333; text-align:left; }
2012-03-22 12:33:27 +00:00
tr.even { background-color: #FAFAFA; }
2012-03-30 05:49:32 +00:00
tr.odd { background-color: #EBEBEB; }
.even th { background:#eee; }
.odd th { background:#ddd; }
2012-03-22 12:33:27 +00:00
tr.first { background-color: #00FF00; }
2011-03-19 05:15:02 +00:00
/* container */
2011-11-25 09:11:11 +00:00
#wrapper { font: 13px/1.5 Arial, Helvetica, sans-serif; }
2011-10-12 16:17:48 +00:00
#header, #main, #footer { width:950px; }
#header, #main { margin:0 auto; }
2012-05-05 02:51:18 +00:00
#header { font-size: 14px; font-weight: bold; margin-bottom:12px; }
2011-03-19 05:15:02 +00:00
#left-panel { float:left; width:120px; }
#right-panel { float:right; width:800px; }
2011-10-12 16:17:48 +00: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:hover { background:#A0A; }
2011-03-19 05:15:02 +00:00
/* #header */
2012-05-05 02:51:18 +00: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-05 12:35:08 +00:00
#header .nav { border-bottom: 1px solid #ddd; margin-top:8px; }
2011-03-19 05:15:02 +00:00
#header .nav li { float: left; height: 18px; padding: 0px 25px 4px 0; background: none; }
#header .nav a, #header .nav a:visited { color:#8A948F; font-weight:bold; text-decoration:none; }
2012-03-22 12:33:27 +00:00
#header .nav a.cur { color: #000; }
2011-03-19 05:15:02 +00:00
#header .nav a:hover { color: #ff9933; text-decoration: underline; }
/* footer */
#footer a { color:#333; text-decoration:none; }
/* main */
2012-03-23 03:47:36 +00:00
h2 { font-size:18px; color:#808; margin-bottom:8px; }
2012-03-22 12:33:27 +00:00
h3 { font-size:14px; color:#808; font-weight:normal; }
2011-03-19 05:15:02 +00:00
ol { margin:0; padding:0px 0 0 2em; list-style-position:inside; }
2011-11-25 08:02:55 +00:00
ul > li { background: url('../img/li.gif') no-repeat scroll; background-position:left 6px; padding-left:10px; }
2011-03-19 05:15:02 +00:00
/* #main ul.ui-tabs-nav > li { background: none; } */
#main ol > li { }
#main li { line-height:20px; }
#main img.click { margin-left:2px; cursor:pointer; }
/* 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 12:33:27 +00:00
input {
height:20px;
line-height:20px;
margin:2px 0;
border: 1px solid #80B0B0;
}
2012-05-04 13:36:36 +00:00
input[type=checkbox] {
height:auto;
}
2012-04-18 03:26:07 +00: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;
}
input[type=submit]:hover,
button:hover {
cursor:pointer;
background: #FFF;
}
2012-03-22 12:33:27 +00:00
button {
margin:0;
}
label { display: inline-block; margin:2px 0px; }
2012-04-09 07:10:15 +00:00
#user-add-form label,
.reg label,
.pwd_change label {
2012-03-22 12:33:27 +00:00
width:5em;
text-align:right;
}
2012-04-09 07:10:15 +00:00
#user-add-form .submit,
.reg .submit {
2012-03-22 12:33:27 +00:00
margin-left:5em;
}
.login .submit {
margin-left:3em;
}
2012-03-23 03:47:36 +00:00
.login .error {
margin:3px 0 0 3em;
}
2012-04-09 07:10:15 +00:00
.pwd_change label {
width:6em;
2012-04-09 06:43:10 +00:00
}
2012-04-09 07:10:15 +00:00
.pwd_change .submit {
margin-left:6em;
2012-04-09 06:43:10 +00:00
}
2011-03-19 05:15:02 +00:00
/* form */
/* forms */
2011-10-18 07:41:48 +00:00
/* popup dialog */
#basic-modal-content {display:none;}
#simplemodal-overlay {background-color:#000; cursor:wait;}
#simplemodal-container { background-color:#fff; border:3px solid #080; padding: 8px; }
#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 05:06:01 +00:00
#simplemodal-container h3 {color:#84b8d9;}
/* home */
#home-snapshot { border:1px solid #000; float:right; margin:0 0 0 20px; }
2011-11-25 08:02:55 +00:00
strong { color:#808; font-weight: normal; }
2011-12-30 12:18:26 +00:00
.home-page h2 { color: #e83; }
2011-12-03 06:43:33 +00:00
#main-show {
2012-01-01 15:45:09 +00:00
margin: 0 0 25px 50px; padding: 10px 10px;
2011-11-26 14:25:46 +00:00
border-radius: 3px; -moz-border-radius: 3px;
2011-12-03 06:43:33 +00:00
box-shadow: rgba(0, 0, 0, 0.0976562) 0px 8px 16px;
-webkit-box-shadow: rgba(0, 0, 0, 0.0976562) 0px 8px 16px;
-moz-box-shadow: rgba(0, 0, 0, 0.0976562) 0px 8px 16px;
width: 800px;
2012-01-01 15:45:09 +00:00
height: 235px;
2011-11-25 08:02:55 +00:00
}
#main-show #feature-list {
margin: 0 0 0 20px;
font-size: 16px;
2012-01-01 15:45:09 +00:00
color: #808;
2011-11-25 08:02:55 +00:00
}
#main-show #feature-list li {
background-position:left 11px;
line-height: 32px;
}
2011-12-30 12:18:26 +00:00
#seafile-show .show-item {
margin: 20px 0 0 0;
width: 420px; height: 140px; float: left;
padding: 10px;
2012-01-01 15:45:09 +00:00
border: 1px solid #f0f0f0;
border-radius: 10px; -moz-border-radius: 10px;
2011-12-30 12:18:26 +00:00
}
#seafile-show .show-item2 {
margin: 20px 0 0 50px; width: 420px; height: 140px; float: left;
padding: 10px;
2012-01-01 15:45:09 +00:00
border: 1px solid #f0f0f0;
border-radius: 10px; -moz-border-radius: 10px;
2011-12-30 12:18:26 +00:00
}
#seafile-show img { float: left; margin: 0 8px 8px 0; }
2012-01-01 15:45:09 +00:00
#seafile-show p { color: #444; font-size: 15px; margin-left: 10px; }
2011-11-25 08:02:55 +00:00
#seafile-what {
2011-12-30 12:18:26 +00:00
margin-top: 20px;
2011-11-25 08:02:55 +00:00
float: left;
width: 440px;
}
#seafile-history {
float: left;
2011-12-30 12:18:26 +00:00
margin: 20px 0 0 70px;
2011-11-25 08:02:55 +00:00
width: 440px;
}
2011-12-03 06:43:33 +00:00
div.home-page h2 { font-style: italic; }
2012-01-02 04:49:05 +00:00
/* help pages */
.help-page { width: 550px; }
2012-02-11 03:12:54 +00:00
.help-page img { display: block; margin: 20px auto; }
#id_repo_id { width:300px; }
span.small-action-link { font-size: 9px; }
input.ccnet_id { width: 400px; }
.notification {
padding:5px;
width:580px;
background:#FDF;
margin:10px 0;
}
.repo-list {
margin-bottom: 12px;
}
2012-03-28 02:38:12 +00:00
/*repo page*/
2012-05-05 12:35:08 +00:00
#repo-page h2 {
margin-bottom:16px;
}
2012-05-04 13:36:36 +00:00
#repo-page .side {
2012-05-05 05:57:42 +00:00
color:#333;
2012-05-05 12:35:08 +00:00
width:260px;
2012-05-04 13:36:36 +00:00
}
#repo-page .main {
2012-05-05 12:35:08 +00:00
width:650px;
2012-05-04 13:36:36 +00:00
}
2012-05-05 05:57:42 +00:00
#repo-page .more {
font-weight:normal;
font-size:12px;
color:#080;
}
2012-05-05 12:35:08 +00:00
.latest-commit {
word-wrap:break-word;
2012-05-04 13:36:36 +00:00
}
2012-05-05 12:35:08 +00:00
.latest-commit .author {
2012-05-04 13:36:36 +00:00
font-style:italic;
}
2012-05-05 12:35:08 +00:00
.latest-commit .time {
2012-05-04 13:36:36 +00:00
color:#666;
margin-left:2px;
2012-03-28 02:38:12 +00:00
}
2012-04-24 08:15:29 +00:00
.tip {
color:#808080;
font-size:12px;
2012-03-30 05:49:32 +00:00
}
2012-04-24 08:15:29 +00:00
.simplemodal-close {
margin-left:5px;
2012-03-30 05:49:32 +00:00
}
2012-05-05 05:57:42 +00:00
#repo-history-hd {
font-weight:normal;
font-size:16px;
margin-bottom:14px;
}
2012-05-07 08:33:36 +00: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 08:33:36 +00:00
}
#repo-share-form a {
color:#e83;
font-weight:normal;
2012-05-07 08:33:36 +00:00
}