mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-31 06:40:39 +00:00
361 lines
8.0 KiB
CSS
361 lines
8.0 KiB
CSS
body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,blockquote,form,input,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; 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-break: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;
|
|
}
|
|
|
|
/* 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;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
#main {
|
|
min-height: 400px;
|
|
_height: 400px;
|
|
padding-top: 10px;
|
|
}
|
|
#left-panel { float:right; width:220px; }
|
|
#right-panel { float:left; width:680px; }
|
|
#main-panel { width:100%; }
|
|
.side {
|
|
color:#333;
|
|
width:220px;
|
|
}
|
|
.main {
|
|
width:680px;
|
|
}
|
|
#footer { color:#999; padding-top:2px; margin:25px auto; border-top:1px solid #DDD; }
|
|
|
|
/* 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 */
|
|
#header .top-info { margin-bottom:13px;}
|
|
#other-info { color: #ccc; text-align:right; }
|
|
#other-info .wish { font-style:italic; margin-bottom:10px; }
|
|
#other-info .version { font-size: 12px; }
|
|
#header .nav li { float: left; height: 18px; padding: 0px 25px 4px 0; }
|
|
#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 a { color:#333; text-decoration:none; }
|
|
/* main */
|
|
h2.subject {}
|
|
p.path, p.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;
|
|
}
|
|
/* profile */
|
|
.avatar-op {
|
|
width:321px;
|
|
margin:45px 0 0 300px;
|
|
}
|
|
.avatar-op h2 {
|
|
padding:2px 5px;
|
|
background:#E9F1F4;
|
|
border-radius:3px;
|
|
-moz-border-radius:3px;
|
|
}
|
|
.avatar-op-con {
|
|
padding-left:5px;
|
|
}
|
|
.avatar-op .avatar {
|
|
border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
}
|
|
.upload-new-avatar-hd {
|
|
margin-top:15px;
|
|
}
|
|
/*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 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 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*/
|
|
.mygroup {
|
|
display:inline-block;
|
|
width:70px;
|
|
text-align:center;
|
|
word-wrap:break-word;
|
|
vertical-align:top;
|
|
margin:0 0px 5px 0;
|
|
}
|
|
|
|
/*repo page*/
|
|
.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;
|
|
}
|
|
h2.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;
|
|
}
|
|
/*repo-share-form*/
|
|
#to_email,
|
|
#added-member-name {
|
|
width:260px;
|
|
height:80px;
|
|
}
|
|
/*contact*/
|
|
.contact-list-link {
|
|
font-size:13px;
|
|
}
|
|
.contact-list-link:hover {
|
|
text-decoration:none;
|
|
}
|
|
/* group */
|
|
.group-member .avatar {
|
|
border-radius: 2px;
|
|
-moz-border-radius: 2px;
|
|
margin-right: 5px;
|
|
}
|
|
.group-member .avatar,
|
|
.group-member-name {
|
|
vertical-align:middle;
|
|
}
|
|
#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%; }
|