1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00
seahub/media/css/seahub.css

2068 lines
41 KiB
CSS
Raw Normal View History

2016-05-09 06:34:09 +00:00
/**
* depends on bootstrap
*
* html { box-sizing: border-box; }
* body { background: #fff; }
* p { margin-top:0; margin-bottom:1rem; }
*
**/
/**
* CONTENTS
2016-03-16 07:47:33 +00:00
*
* Font Icons
* icon-xx ...............Font Awesome 3.2.1 by Dave Gandy
* sf2-icon-xx ...........seafile-font2
*
2016-03-16 07:47:33 +00:00
* Reset
* tags ..................reset styles of tags
*
* Helper
* common class ..........common class
*
2016-08-20 02:16:02 +00:00
* UI Widgets(ui widgets)
* path
* btn-group
* paginator
* caret
* tabnav
* jquery tabs
* left-right-tabs
* side-tabnav
2016-05-20 07:02:29 +00:00
* (...)
2016-08-20 02:16:02 +00:00
* messages
* narrow-panel
* new-narrow-panel
* text-panel
* tab-tabs
* tab-popup
* op-confirm ()
* simplemodal
* ui-autocomplete ()
* article
* obv-btn
* sf-popover
* user-item
* sf-dropdown
* discussions/comments
* custom select2
* custom magnificPopup
*
* Container
* Container ......... common container styles
*
2016-08-20 02:16:02 +00:00
* Separate pages
*
*/
/*
* z-index:
2016-04-27 06:48:25 +00:00
* sf-popover: 20
*
*/
2015-08-27 03:46:20 +00:00
/****** sf2-icon-xx ********/
@font-face {
font-family: 'seafile-font2';
src:url('sf_font2/seafile-font2.eot');
src:url('sf_font2/seafile-font2.eot?#iefix') format('embedded-opentype'),
url('sf_font2/seafile-font2.woff') format('woff'),
url('sf_font2/seafile-font2.ttf') format('truetype'),
url('sf_font2/seafile-font2.svg#seafile-font2') format('svg');
2015-08-27 03:46:20 +00:00
font-weight: normal;
font-style: normal;
}
2015-08-29 04:10:02 +00:00
[class^="sf2-icon-"],
[class*=" sf2-icon-"] {
2015-08-27 03:46:20 +00:00
font-family: 'seafile-font2';
speak: none;
font-weight: normal;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
}
.sf2-icon-histogram:before { content:"\e000"; }
2015-09-17 08:30:42 +00:00
.sf2-icon-wrench:before { content:"\e001"; }
.sf2-icon-clock:before { content:"\e002"; }
2015-08-29 04:10:02 +00:00
.sf2-icon-bell:before { content:"\e003"; }
2015-08-27 03:46:20 +00:00
.sf2-icon-contacts:before { content:"\e004"; }
2015-08-31 07:26:08 +00:00
.sf2-icon-recycle:before { content:"\e005"; }
2015-08-27 03:46:20 +00:00
.sf2-icon-delete:before { content:"\e006"; }
2015-09-17 08:30:42 +00:00
.sf2-icon-monitor:before { content:"\e007"; }
2015-08-27 03:46:20 +00:00
.sf2-icon-download:before { content:"\e008"; }
2015-09-17 08:30:42 +00:00
.sf2-icon-file:before { content:"\e009"; }
.sf2-icon-folder:before { content:"\e00a"; }
.sf2-icon-msgs:before { content:"\e00b"; }
.sf2-icon-group:before { content:"\e00c"; }
.sf2-icon-library:before { content:"\e00d"; }
.sf2-icon-link:before { content:"\e00e"; }
.sf2-icon-user:before { content:"\e00f"; }
.sf2-icon-organization:before { content:"\e010"; }
2015-08-27 03:46:20 +00:00
.sf2-icon-share:before { content:"\e011"; }
2015-09-17 08:30:42 +00:00
.sf2-icon-star:before { content:"\e012"; }
2015-08-31 07:26:08 +00:00
.sf2-icon-history:before { content:"\e014"; }
2015-09-17 08:30:42 +00:00
.sf2-icon-cog1:before { content:"\e015"; }
2015-08-31 07:26:08 +00:00
.sf2-icon-trash:before { content:"\e016"; }
.sf2-icon-security:before { content:"\e017"; }
2015-08-31 07:26:08 +00:00
.sf2-icon-edit:before { content:"\e018"; }
2018-09-21 06:16:15 +00:00
.sf2-icon-draft:before { content:"\e018"; }
2016-07-26 07:03:15 +00:00
.sf2-icon-edit2:before { content:"\e018"; } /* for some reason */
2015-08-31 07:26:08 +00:00
.sf2-icon-eye:before { content:"\e019"; }
2015-09-17 08:30:42 +00:00
.sf2-icon-caret-down:before { content:"\e01a"; }
.sf2-icon-cog2:before { content:"\e01b"; }
.sf2-icon-minus:before { content:"\e01c"; }
.sf2-icon-x1:before { content:"\e01d"; }
.sf2-icon-tick:before { content:"\e01e"; }
.sf2-icon-x2:before { content:"\e01f"; }
2015-12-08 07:59:48 +00:00
.sf2-icon-user2:before { content:"\e020"; }
.sf2-icon-msgs2:before { content:"\e021"; }
/*.sf2-icon-group-settings:before { content:"\e022"; }*/
2016-01-15 09:59:51 +00:00
.sf2-icon-comment:before { content:"\e023"; }
2018-09-19 01:57:17 +00:00
.sf2-icon-wiki:before { content:"\e013"; }
2016-01-15 09:59:51 +00:00
.sf2-icon-wiki2:before { content:"\e024"; }
2016-02-23 06:34:58 +00:00
.sf2-icon-grid-view:before { content:"\e025"; }
.sf2-icon-list-view:before { content:"\e026"; }
2018-09-19 01:57:17 +00:00
.sf2-icon-wiki-view:before { content:"\e013"; }
.sf2-icon-plus:before { content: "\e027"; }
.sf2-icon-copy:before { content: "\e028"; }
.sf2-icon-move:before { content: "\e029"; }
2016-03-25 07:03:55 +00:00
.sf2-icon-reply:before { content: "\e02a"; }
2016-07-18 09:20:03 +00:00
.sf2-icon-invite:before { content: "\e02b"; }
2016-07-27 03:55:19 +00:00
.sf2-icon-lock:before { content: "\e02c"; }
.sf2-icon-unlock:before { content: "\e02d"; }
.sf2-icon-admin-log:before { content: "\e02e"; }
.sf2-icon-info:before { content: "\e02f"; }
2017-08-07 05:56:25 +00:00
.sf2-icon-logout:before { content: "\e030"; }
2017-12-23 06:09:40 +00:00
.sf2-icon-menu:before { content: "\e031"; }
.sf2-icon-more:before { content: "\e032"; }
.sf2-icon-plus2:before { content: "\e033"; }
.sf2-icon-upload:before { content: "\e034"; }
.sf2-icon-x3:before { content: "\e035"; }
2018-10-15 07:51:29 +00:00
.sf2-icon-two-columns:before { content:"\e036"; }
2015-08-29 04:10:02 +00:00
/******* tags **********/
2017-12-05 09:53:45 +00:00
html, body {
height:100%;
overflow:hidden;
}
2012-08-21 08:01:18 +00:00
body,
ul,ol,li,dl,dt,dd,
2016-04-03 15:08:59 +00:00
pre,blockquote,
2013-04-20 11:19:38 +00:00
form,input,textarea,select,button,img {
2012-08-21 08:01:18 +00:00
padding:0;
margin:0;
}
body, input, textarea, button, select {
2018-09-15 09:47:09 +00:00
font-size: 13px;
line-height: 1.5;
2024-05-30 09:39:25 +00:00
color: #212529;
2016-06-23 08:48:29 +00:00
word-wrap:break-word;
2012-07-28 07:25:08 +00:00
}
input, button, select { line-height:19px;/*for ff*/ }
2016-05-09 06:34:09 +00:00
h1, h2, h3, h4, h5, h6 {
line-height:1.5; /* overwrite bootstrap */
}
2016-04-03 15:08:59 +00:00
h1 { font-size:1.9em; }
2016-05-09 06:34:09 +00:00
h2 { font-size:1.5em; color:#222; font-weight:bold; }
2024-05-30 09:39:25 +00:00
h3 { font-size:16px; color:#212529; font-weight:normal; }
2016-04-03 15:08:59 +00:00
h4 { font-size:1.1em; color:#222; font-weight:normal; }
2016-05-09 06:34:09 +00:00
h5, h6 { font-size:1em; }
ul { list-style:none; }
dl { margin:1.5em 0; }
2016-05-09 06:34:09 +00:00
dt { color:#666; margin:24px 0 2px; font-weight:normal; }
dd { margin-bottom:.8em; color:#222; }
2016-03-30 12:48:56 +00:00
a {
color:#eb8205;
text-decoration:none;
font-weight:bold;
}
a.normal {font-weight: normal;}
2016-03-30 12:48:56 +00:00
a:focus, a:hover {
2016-04-01 10:54:14 +00:00
color: #eb8205;
2016-03-31 09:20:06 +00:00
}
2012-05-05 12:35:08 +00:00
img { border:none; }
textarea {
overflow: auto; /* rm default vertical scrollbar in ie */
resize: vertical; /* for drag */
2013-03-12 13:48:47 +00:00
outline:0;
}
2016-03-30 12:48:56 +00:00
textarea, input { border: 1px solid #ccc; }
input {
margin:3px 0;
}
input, button { display:inline-block;/*for ie*/ }
input[type=text],
input[type=password] {
2016-05-09 06:34:09 +00:00
box-sizing:content-box;
height:22px;
2012-11-12 06:12:49 +00:00
}
2016-05-20 07:25:40 +00:00
select, button {
2016-05-11 08:55:41 +00:00
box-sizing:border-box;
}
2012-11-12 06:12:49 +00:00
button,
input[type=submit],
input[type=button],
input.submit,
2016-05-10 10:05:51 +00:00
.sf-btn-link,
2014-07-09 09:51:07 +00:00
.fileinput-button,
2015-01-25 10:47:42 +00:00
select {
2014-02-10 12:06:22 +00:00
padding:5px 6px;
/*
2014-02-10 12:06:22 +00:00
background:-webkit-linear-gradient(top, #fafafb, #eeeeee);
background:-moz-linear-gradient(top, #fafafb, #eeeeee);
background:linear-gradient(top, #fafafb, #eeeeee);
*/
2014-02-10 12:06:22 +00:00
border: 1px solid #c5c5c5;
border-radius: 2px;
2012-11-12 09:06:45 +00:00
}
2016-05-10 10:05:51 +00:00
.sf-btn-link {
display:inline-block;
2024-05-30 09:39:25 +00:00
color:#212529;
2015-07-28 04:22:52 +00:00
line-height:19px;
text-decoration:none;
font-weight:normal;
}
.big-btn-link {
font-size:14px;
line-height:1.5;
padding:6px 20px;
border-radius:3px;
}
2016-05-10 10:05:51 +00:00
.sf-btn-link:hover {
2024-05-30 09:39:25 +00:00
color:#212529;
2015-07-28 04:22:52 +00:00
text-decoration:none;
}
input[type=radio] {
border:0;/*for ie*/
}
input:focus,
button:focus,
select:focus,
textarea:focus {
2016-03-30 12:48:56 +00:00
border-color: #66afe9;
outline: none;
}
input[type="checkbox"]:focus,
input[type="radio"]:focus {
outline:#66afe9 auto 1px;
}
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;
}
2016-03-30 12:48:56 +00:00
input[type=submit],
input.submit,
button.submit {
margin-top:8px;
}
input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover,
button:hover,
2016-05-10 10:05:51 +00:00
.sf-btn-link:hover,
2016-03-30 12:48:56 +00:00
.fileinput-button:hover {
cursor:pointer;
background:#fff;
}
input[type="file"] {
border:none;
height:24px;
line-height:24px;
}
2012-08-21 08:01:18 +00:00
label {
display: inline-block;
2012-10-22 08:22:55 +00:00
margin:4px 0px;
2012-08-21 08:01:18 +00:00
}
iframe { display:block; width:100%; }
2012-07-28 07:25:08 +00:00
pre, code {
font-family: Consolas,"Liberation Mono",Courier,monospace;
2012-07-28 07:25:08 +00:00
}
pre {
white-space:pre-wrap;
word-wrap: break-word;
}
2012-05-12 12:42:27 +00:00
table {
width:100%;
2012-07-20 05:02:14 +00:00
margin:8px 0 40px;
2012-05-12 12:42:27 +00:00
}
caption {
font-size:1.1em;
font-weight:bold;
margin-bottom:.6em;
}
th {
text-align:left;
font-weight:normal;
color:#9c9c9c;
}
th, td {
padding:5px 3px;
border-bottom:1px solid #eee;
}
td {
2024-05-30 09:39:25 +00:00
color: #212529;
font-size:14px;
2016-06-23 08:48:29 +00:00
word-break:break-all; /* mainly for lib/folder/file name */
}
table img { vertical-align:middle; }
2016-05-09 06:34:09 +00:00
/* custom scrollbar */
::-webkit-scrollbar {
height: 9px;
width: 9px;
}
::-webkit-scrollbar-button {
display: block;
height: 4px;
}
::-webkit-scrollbar-track-piece {
background: #e9e9eb;
}
::-webkit-scrollbar-track-piece:vertical:start {
border-radius:5px 5px 0 0;
}
::-webkit-scrollbar-track-piece:vertical:end {
border-radius:0 0 5px 5px;
}
::-webkit-scrollbar-track-piece:horizontal:start {
border-radius:5px 0 0 5px;
}
::-webkit-scrollbar-track-piece:horizontal:end {
border-radius:0 5px 5px 0;
}
::-webkit-scrollbar-thumb:vertical,
::-webkit-scrollbar-thumb:horizontal {
background: #ccc;
border-radius: 5px;
display: block;
}
/********** common class ***********/
2017-09-26 08:25:30 +00:00
.fleft { float:left; }
.fright { float:right; }
.clear { clear:both; }
2017-12-05 09:53:45 +00:00
.d-flex { display:flex; }
.fd-col { flex-direction:column; }
.flex-auto { flex:auto; }
.flex-1 { flex:1; }
2017-09-26 08:25:30 +00:00
.show { display:block; }
.inline-block { display: inline-block; }
2017-09-26 08:25:30 +00:00
.hide { display:none; }
2012-07-28 07:25:08 +00:00
.error { color:red; }
2017-09-26 08:25:30 +00:00
.errorlist { color:red; }
.error-tip { text-align:center; margin-top:5em; }
.ovhd { overflow:hidden; }
2017-12-05 09:53:45 +00:00
.ov-auto { overflow:auto; }
.ov-vb { overflow:visible; }
.bold { font-weight:bold; }
.no-bold { font-weight:normal; }
.w100 { width: 100%; }
2017-12-05 09:53:45 +00:00
.h100 { height: 100%; }
.vh { visibility:hidden; }
.vam { vertical-align:middle; }
2017-12-05 09:53:45 +00:00
.hl { background-color: #f8f8f8; } /* highlight */
.tip { color:#808080; font-size:12px; }
2016-07-12 08:34:20 +00:00
.tick-green { color:green; }
2024-05-30 09:39:25 +00:00
.label { color:#212529; font-size:12px; font-style:normal; }
.italic { font-style:italic; }
.alc { text-align: center;}
.cspt { cursor:pointer; }
2015-07-28 07:46:16 +00:00
.pos-rel { position:relative; }
/** for input, textarea in form **/
.input, .textarea {
width:260px;
padding:2px 3px;
border-radius:2px;
margin-bottom:5px;
}
.textarea { height:70px; }
2015-10-13 06:53:11 +00:00
/* loading implemented with css */
@-moz-keyframes loading {
0% {
-moz-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-webkit-keyframes loading {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loading {
0% {
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
.loading-icon {
display:inline-block;
width:26px;
height:26px;
2015-10-13 06:53:11 +00:00
border:2px solid #eee;
border-left-color:#aaa;
border-radius:50%;
-moz-animation:loading 0.9s infinite linear;
-webkit-animation:loading 0.9s infinite linear;
animation:loading 0.9s infinite linear;
}
.loading-tip {
display:block;
margin:1em auto;
}
.op,
.more {
font-weight:normal;
font-size:12px;
}
.op { font-size:13px; padding-right:2px; }
.op-target { color:#ee8204; word-wrap:break-word; }
.op-icon {
font-size:20px;
line-height:1;
color:#888;
cursor:pointer;
margin-right:3px;
vertical-align:middle;
}
2015-08-29 04:10:02 +00:00
.op-icon.sf2-x,
.op-icon.sf2-x:hover {
color:#f89a68;
}
.op-icon.sf2-x:hover,
.op-icon.sf2-x:focus {
text-decoration: underline;
}
2015-09-12 07:18:23 +00:00
.sf2-icon-edit {
2015-09-07 00:30:36 +00:00
font-size:16px;
2015-09-12 07:18:23 +00:00
opacity:0.7;
2015-09-07 00:30:36 +00:00
}
2015-09-12 07:18:23 +00:00
.sf2-icon-edit:hover {
2015-09-07 00:30:36 +00:00
opacity:1;
}
2016-04-14 06:34:31 +00:00
a.op-icon:focus {
outline:none;
text-decoration:none;
}
.op-icon:hover {/** for <a> **/
color:#888;
text-decoration:none;
}
2017-11-25 07:10:57 +00:00
.full-width-btn {
width:100%;
2013-03-12 13:48:47 +00:00
padding:.5em 0;
2017-11-25 07:10:57 +00:00
background:#efefef;
border:0;
2013-03-12 13:48:47 +00:00
color:#777;
}
2017-11-25 07:10:57 +00:00
.full-width-btn:hover {
2013-03-12 13:48:47 +00:00
color:#000;
background:#dfdfdf;
}
2012-08-21 08:01:18 +00:00
.no-deco,
.no-deco:hover,
.no-deco:focus {
text-decoration:none;
}
.input-disabled {/* for type="password/text" etc*/
2012-07-28 07:25:08 +00:00
background:#ebebe4;
}
.btn-disabled { /*for <input type="submit" />, <button>*/
color:#999;
}
.btn-disabled:hover,
input.btn-disabled:hover {/*for input*/
cursor:default;
background: #efefef;
}
2014-11-14 03:23:58 +00:00
.modalCloseImg {
background:transparent url('../img/bg.png') no-repeat scroll 0 0;
}
.add {
2015-08-29 04:10:02 +00:00
color:#909090;
margin-right:3px;
2012-08-21 08:01:18 +00:00
}
.placeholder { /*for ie */
color: #aaa;
line-height:1.5;
}
input:-moz-placeholder,
textarea:-moz-placeholder {/* for FF */
color: #aaa;
line-height:1.5;
}
::-webkit-input-placeholder {/*for chrome, safari */
line-height:1.5;
}
.avatar {
border-radius:3px;
}
2016-03-08 05:36:58 +00:00
.avatar-circle {
border-radius:1000px;
}
.empty-tips {
padding: 30px 40px;
background-color: #FAFAFA;
border: solid 1px #DDD;
border-radius: 3px;
box-shadow: inset 0 0 8px #EEE;
margin-top:5.5em;
}
.ellipsis {
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}
2016-05-17 04:05:54 +00:00
.split {
border-left:2px solid #888;
padding-left:1em;
margin-left:1em;
}
2017-12-27 04:01:56 +00:00
/**** btn with link styles ****/
.sf-link-btn {
color:#eb8205;
border:none;
padding:0;
background:none;
}
.sf-link-btn:focus,
.sf-link-btn:hover {
color:#eb8205;
background:none;
text-decoration:underline;
}
/*******ui widgets**************/
/**** path ****/
.path-bar {
font-size:1rem;
margin:0; /* for merge with tabs */
padding:0.6rem 0rem 0.5rem;
2016-06-23 08:48:29 +00:00
word-break:break-all;
}
2016-07-19 09:26:45 +00:00
.path-split {
display:inline-block;
padding:0 5px;
color:#818a91;
}
2016-08-20 02:16:02 +00:00
/**** paginator ****/
2013-03-12 13:48:47 +00:00
#paginator {
text-align:center;
margin:10px 0;
font-size:14px;
}
#paginator .pg {
font-weight:normal;
margin:0 3px;
}
#paginator .prev {
margin-right:30px;
}
#paginator .prev,
#paginator .next {
text-decoration:underline;
}
#paginator .next {
margin-left:30px;
}
/**** caret ****/
.outer-caret,
.inner-caret {
height:0;
2014-10-22 07:13:00 +00:00
width:0;
border-width:14px 14px 0; /* default: arrow to the bottom */
border-style:dashed solid; /* 'dashed' for firefox */
border-color:#CBCBCB transparent;
z-index:100;
margin:0 auto;
}
.inner-caret {
border-top-color:#fff;
position:relative;
top:-15px;
left:-14px;
}
2014-10-21 06:51:44 +00:00
.up-outer-caret,
.up-outer-caret .inner-caret {
2014-10-22 07:13:00 +00:00
border-width:0 10px 10px;
2014-10-21 06:51:44 +00:00
}
.up-outer-caret .inner-caret {
border-bottom-color:#fff;
top:1px;
2014-10-22 07:13:00 +00:00
left:-10px;
2014-10-21 06:51:44 +00:00
}
.up-outer-caret {
position:absolute;
2014-10-22 07:13:00 +00:00
top:-11px;
2014-10-21 06:51:44 +00:00
}
.right-outer-caret,
.right-outer-caret .inner-caret {
border-width:10px 0 10px 10px;
border-color: transparent transparent transparent #CBCBCB;
}
.right-outer-caret {
position:absolute;
right:-11px;
}
.right-outer-caret .inner-caret {
border-left-color:#fff;
top:-10px;
left:-11px;
}
.bottom-outer-caret,
.bottom-outer-caret .inner-caret {
border-width:10px 10px 0;
}
.bottom-outer-caret {
position:absolute;
bottom:-11px;
}
.bottom-outer-caret .inner-caret {
border-top-color:#fff;
top:-11px;
left:-10px;
}
/**** tabnav *****/
2013-03-02 07:51:16 +00:00
.tabnav-tabs,
.tabnav-tab {
2013-02-21 11:59:58 +00:00
display:inline-block;
}
2013-03-02 07:51:16 +00:00
.tabnav-tabs,
.tabnav-tab {
*display:inline;
}
/**** jquery tabs ****/
.ui-tabs { position: relative; padding: .2em; zoom: 1; }
.ui-tabs .ui-tabs-panel { display:block; padding: 1em 1.4em; }
.ui-tabs .ui-tabs-hide { display:none; }
/**** left-right-tabs ****/
2016-12-03 09:29:41 +00:00
.nav-con-tabs {
padding:0;
2016-12-03 09:29:41 +00:00
overflow:hidden;
}
2016-12-03 09:29:41 +00:00
.nav-con-tabs .tabs-panel {
2016-08-22 07:15:55 +00:00
padding:0;
}
/**** side-tabnav ****/
.logo-container {
padding: .5rem 1rem;
background: #f4f4f7;
border-bottom: 1px solid #e8e8e8;
}
.side-textnav .hd {
padding-bottom:4px;
border-bottom:1px solid #ddd;
margin-bottom:1em;
}
@media (max-width: 767px) {
.side-nav {
background: #fff;
display:flex;
flex-direction:column;
width:300px;
max-width: calc(100% - 40px);
2016-04-03 16:10:47 +00:00
position:fixed;
left:-300px;
top:0;
2016-04-03 16:10:47 +00:00
bottom:0;
z-index:1002;
box-shadow:0 0 4px #ccc;
2017-12-05 09:53:45 +00:00
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
transition: all 0.3s ease;
2016-04-03 16:10:47 +00:00
}
2017-12-05 09:53:45 +00:00
.side-nav-shown {
left:0;
}
}
2017-12-05 09:53:45 +00:00
.side-nav {
padding:0;
2017-12-05 09:53:45 +00:00
overflow:hidden;
border-right:1px solid #eee;
}
.side-nav:hover {
overflow-y:auto;
}
.home-side-nav {
2017-12-05 09:53:45 +00:00
flex:auto;
display:flex;
flex-direction:column;
justify-content:space-between; /* make .side-nav-footer on the bottom */
overflow:hidden; /* for ff */
border-right:1px solid #eee;
2016-05-18 06:48:23 +00:00
}
2016-05-07 06:15:39 +00:00
.side-nav-con {
padding:20px;
overflow:hidden;
}
@media (max-width: 767px) {
.side-nav-con {
overflow-y:auto;
}
2016-05-07 09:01:31 +00:00
}
.side-nav-con:hover {
overflow-y:auto;
2016-05-07 06:15:39 +00:00
}
.side-nav-footer {
2017-12-05 09:53:45 +00:00
display:flex;
flex-shrink:0;
padding:12px 20px 16px;
background:#f8f8f8;
2016-05-07 06:15:39 +00:00
border-top:1px solid #eee;
}
2017-12-05 09:53:45 +00:00
.side-nav-footer .item {
2016-05-20 07:02:29 +00:00
color:#666;
2016-05-07 06:15:39 +00:00
font-weight: normal;
2017-12-05 09:53:45 +00:00
margin-right:10px;
}
.side-nav-footer .last-item {
margin-left:auto;
}
.side-tabnav .hd {
margin-bottom:0.5em;
}
2014-02-08 08:09:21 +00:00
.side-tabnav h3.hd,
2014-04-10 07:59:03 +00:00
.side-tabnav .hd h3 {
color:#f7941d;
}
.side-tabnav .hd h3 {
margin-bottom:0;
}
.side-tabnav .hd .avatar { /*for 'group'*/
2014-02-10 08:56:19 +00:00
vertical-align:middle;
2015-08-27 03:46:20 +00:00
border-radius:1000px;
2014-02-10 08:56:19 +00:00
margin:0 6px 0 4px;
}
.side-tabnav .grp-name { /*for 'group'*/
display:inline-block;
max-width:130px;
font-weight:normal;
}
.side-tabnav-tabs {
margin-bottom:1em;
}
2014-02-28 09:52:46 +00:00
.side-tabnav-tabs .tab {
border-radius:2px;
overflow:hidden;
}
.side-tabnav-tabs .tab a { /* for IE 11: no border-radius here */
display:block;
2014-02-08 08:09:21 +00:00
font-size:15px;
2015-08-29 04:10:02 +00:00
padding:4px 4px 4px 0;
2024-05-30 09:39:25 +00:00
color:#212529;
font-weight:normal;
2014-01-23 02:49:37 +00:00
}
2016-05-20 07:02:29 +00:00
.side-tabnav-tabs .tab a:focus {
text-decoration:none;
}
2017-08-31 09:26:52 +00:00
.side-tabnav-tabs .tab ul a {
font-size:14px;
2015-12-03 11:55:27 +00:00
line-height:24px;
padding:0;
}
.side-tabnav-tabs .tab a:hover {
2015-08-29 04:10:02 +00:00
background-color:#feefb8;
text-decoration:none;
}
2019-06-06 06:42:44 +00:00
.side-tabnav-tabs .tab [class^="sf2-icon-"],
.side-tabnav-tabs .tab [class^="sf3-font-"] {
2013-12-19 05:52:42 +00:00
display:inline-block;
2015-08-29 04:10:02 +00:00
width:42px;
margin-right:5px;
2015-08-29 04:10:02 +00:00
text-align:center;
vertical-align:middle;
font-size:24px;
line-height:1;
color:#999;
}
2016-05-05 06:00:22 +00:00
.side-nav-toggle {
2017-12-05 09:53:45 +00:00
font-size:1.5rem;
2017-12-25 02:55:04 +00:00
color:#999;
2017-12-05 09:53:45 +00:00
margin-right:15px;
2016-05-05 06:00:22 +00:00
}
2018-02-06 07:25:18 +00:00
#group-nav .sharp,
#share-admin-nav .sharp {
2016-04-03 15:08:59 +00:00
display:inline-block;
width:42px;
margin-right:5px;
text-align:right;
color:#aaa;
}
2018-02-06 07:25:18 +00:00
#group-nav .toggle-icon,
#share-admin-nav .toggle-icon {
2015-12-03 11:55:27 +00:00
color:#999;
}
.side-tabnav-tabs .tab-cur a,
.side-tabnav-tabs .tab-cur a:hover {
2014-01-23 02:49:37 +00:00
background-color:#feac74;
}
2015-08-29 04:10:02 +00:00
.side-tabnav-tabs .tab-cur [class^="sf2-icon-"],
2019-06-06 06:42:44 +00:00
.side-tabnav-tabs .tab-cur [class^="sf3-font-"],
2015-12-03 11:55:27 +00:00
.side-tabnav-tabs .tab-cur a,
2018-02-06 07:25:18 +00:00
#group-nav .tab-cur .sharp,
#share-admin-nav .tab-cur .sharp {
color:#fff;
}
2015-12-03 11:55:27 +00:00
.side-tabnav-tabs .tab-cur a {
2015-08-29 04:10:02 +00:00
font-weight:bold;
2015-08-27 03:46:20 +00:00
}
2013-12-17 09:49:11 +00:00
.side-textnav .hd {
2015-08-27 03:46:20 +00:00
margin:2em 0 .5em;
2013-12-17 09:49:11 +00:00
}
.side-textnav-tabs .tab a {
2015-08-27 03:46:20 +00:00
display:block;
2013-12-17 09:49:11 +00:00
padding:10px 0;
2015-08-27 03:46:20 +00:00
font-weight:normal;
2013-12-17 09:49:11 +00:00
color:#999;
border-bottom:1px solid #eee;
margin-bottom:3px;
}
.side-textnav-tabs .tab-cur a,
.side-textnav-tabs .tab a:hover {
color:#de3f1c;
2015-08-27 03:46:20 +00:00
text-decoration:none;
2013-12-17 09:49:11 +00:00
}
.side-search-form {
margin-top:25px;
}
.side-search-form .input {
width:calc(100% - 12px);
padding:2px 5px;
background:#fafafa;
box-shadow:inset 0 1px 2px rgba(0,0,0,0.075);
}
.side-search-form .input:focus {
background:#fff;
}
/**** checkbox ****/
.checkbox-label {
display:block;
}
2017-06-26 08:08:54 +00:00
/**** messages ****/
.messages {
position:fixed;
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);
2016-04-13 03:52:58 +00:00
z-index:999; /* for repo.html: to show on top of fixed-hd */
-webkit-transition: top 0.5s ease;
-moz-transition: top 0.5s ease;
transition: top 0.5s ease;
}
2015-01-22 09:15:17 +00:00
.messages .info {
padding:5px;
background:#f9edbe;
margin:0;
}
.messages .success {
padding:5px;
background:#C4ECA9;
margin:0;
}
.messages .error {
padding:5px;
background:#FDF;
margin:0;
color:#000;
}
/**** narrow-panel ****/
.narrow-panel {
width:320px;
min-height:15em;
padding:30px;
border: 1px solid #ddd;
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:312px;
padding:2px 3px;
border-radius:2px;
margin:0 0 0.6em;
}
.narrow-panel input.submit {
width:auto; /*for fr,de etc*/
height:28px;
padding:4px 5px;
margin:8px 0 0;
}
.narrow-panel .note {
color: #666666;
font-size: 11px;
margin: 2px 0 5px;
}
2016-08-20 02:16:02 +00:00
/**** new-narrow-panel ****/
.new-narrow-panel {
width:388px;
2014-02-13 08:42:41 +00:00
border:1px solid #d5d5d5;
border-radius:4px;
box-shadow:0 3px 2px #f5f5f5;
margin:5em auto;
}
@media (max-width: 387px) {
.new-narrow-panel {
width:100%;
}
}
.new-narrow-panel .hd {
color:#fff;
font-size:16px;
padding:5px 20px;
background:#feab79;
2014-02-13 08:42:41 +00:00
border-bottom:1px solid #d5d5d5;
}
.new-narrow-panel .con {
padding:30px 0 60px;
2018-09-15 09:47:09 +00:00
width:268px;
margin:0 auto;
}
.new-narrow-panel .input {
font-size:14px;
margin:5px 0 20px;
}
/**** wide panel ****/ /* e.g. repo decrypt page */
.wide-panel {
width: 928px;
2015-01-25 10:47:42 +00:00
padding: 10px 10px 15px;
border: 1px solid #DDD;
border-radius: 3px;
margin: 2em auto 0;
}
/**** text-panel ****/ /* e.g. logout */
.text-panel {
font-size:16px;
text-align:center;
padding-top:7em;
}
/**** tab-tabs ****/ /* tabs in tab, e.g. myhome libs */
.tab-tabs,
.tab-popup-tabs {
font-size:1em;
padding:0;
border:0;
min-height:150px;
}
.tab-tabs {
margin-bottom:75px;
}
.tab-tabs .tab-tabs-nav {
padding-top:0;
}
2017-12-05 09:53:45 +00:00
.cur-view-path .tab-tabs-nav {
font-size:15px;
}
.tab-tabs-nav .tab {
float:left;
border:0;
background:none;
}
.tab-tabs-nav .tab.long-tab {
margin-left:.4em;
}
.tab-tabs-nav .tab .a {
color:#8A948F;
font-weight:normal;
padding:.3em 0;
margin-right:0.6em;
}
.tab-tabs-nav .ui-state-active .a {
color:#DD4B39;
border-bottom:2px solid #DD4B39;
}
.tab-tabs-nav .tab .a:hover {
color:#DD4B39;
}
2017-12-05 09:53:45 +00:00
.cur-view-path .tab-tabs-nav .ui-state-active .a,
.cur-view-path .tab-tabs-nav .a:hover {
color:#eb8205;
text-decoration:none;
border-bottom-color:#eb8205;
}
.tab-tabs .ui-tabs-panel {
padding:0;
}
/**** simplemodal ****/
#basic-modal-content {
display:none;
}
#simplemodal-overlay {
background-color:#000;
}
#simplemodal-container {
2015-01-25 10:47:42 +00:00
padding: 20px;
background-color:#fcfcfc;
-moz-border-radius:4px;
2016-05-20 07:25:40 +00:00
border-radius:4px;
2016-04-01 10:03:47 +00:00
-webkit-box-sizing:content-box;
2016-05-20 07:25:40 +00:00
box-sizing:content-box;
}
#simplemodal-container a {
font-weight:normal;
}
#simplemodal-container table {
margin:0;
}
.modalCloseImg {
position:absolute;
width:28px;
height:28px;
background-position:0 -1173px;
cursor:pointer;
top:-14px;
right:-14px;
z-index:3200;
}
#simplemodal-container h3 {
font-size:1.5em;
word-wrap:break-word;
margin:0 0 10px;
}
#simplemodal-container h3,
#simplemodal-container h4,
#simplemodal-container label {
font-weight:bold;
}
#simplemodal-container label {
margin:8px 0 4px;
}
#simplemodal-container .radio-item,
2016-03-23 06:52:31 +00:00
#simplemodal-container .checkbox-label {
2018-09-03 10:51:54 +00:00
font-weight:normal;
2016-03-23 06:52:31 +00:00
margin:4px 0;
}
.simplemodal-close {
margin-left:5px;
}
#confirm-popup {
min-width:255px;
}
/**** article ****/
.article {
padding:40px 200px 40px 60px;
font-size:14px;
line-height:1.6;
2024-05-30 09:39:25 +00:00
color:#212529;
}
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
margin: 1.2em 0 0.4em;
2024-05-30 09:39:25 +00:00
color:#212529;
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;
}
.article ul,
.article ol {
2016-05-09 06:34:09 +00:00
padding-left:2em;
margin:0.5em 0;
}
.article code {
font-size:12px;
white-space: pre-wrap;
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;
2015-01-25 10:47:42 +00:00
padding: 0 15px;
border-left: 4px solid #DDD;
margin: 1.2em 0;
}
.article table {
table-layout:auto;
width:auto;
margin:0.8em 0;
}
.article tr:nth-child(2n) {
background-color: #F8F8F8;
}
.article th,
.article td {
padding:6px 13px;
border:1px solid #ccc;
}
2016-04-27 06:48:25 +00:00
/**** sf-popover ****/ /* e.g. top notice popup, group members popup */
.sf-popover-container {
2016-03-16 07:47:33 +00:00
position:relative;
}
2016-04-27 06:48:25 +00:00
.sf-popover {
2015-12-11 12:41:16 +00:00
width:240px;
background:#fff;
border:1px solid #c9c9c9;
border-radius:3px;
2016-03-22 08:09:40 +00:00
box-shadow:0 0 4px #ccc;
2016-03-16 07:47:33 +00:00
position:absolute;
z-index: 20;
2015-12-11 12:41:16 +00:00
}
2016-04-27 06:48:25 +00:00
.sf-popover-hd {
2015-12-11 12:41:16 +00:00
padding:5px 0 3px;
border-bottom:1px solid #dfdfe1;
margin:0 10px;
}
2016-04-27 06:48:25 +00:00
.sf-popover-title {
2015-12-11 12:41:16 +00:00
text-align:center;
}
2016-04-27 06:48:25 +00:00
.sf-popover-close {
2015-12-11 12:41:16 +00:00
font-size:16px;
color:#b9b9b9;
margin:4px 0 0;
}
2016-04-27 06:48:25 +00:00
.sf-popover-con {
2016-04-23 04:28:26 +00:00
padding:0 10px;
2015-12-11 12:41:16 +00:00
overflow:auto;
}
2016-04-27 06:48:25 +00:00
a.sf-popover-item {
2016-04-23 04:28:26 +00:00
display:block;
2016-04-17 02:23:28 +00:00
color:#444;
font-weight:normal;
line-height:31px;
2016-04-23 04:28:26 +00:00
text-decoration:none;
padding:0 10px;
margin:5px -10px;
2016-04-17 02:23:28 +00:00
}
/********** Container ***********/
#header {
background-color: #f8fafd;
border-bottom: 1px solid #eee;
z-index: 100;
width: 100%;
height: 49px;
font-size: 14px;
padding: .5rem 1rem;
justify-content: space-between;
flex-shrink: 0;
2016-03-31 03:00:14 +00:00
}
#wide-panel-noframe {
padding-top:16px;
2016-03-22 08:09:40 +00:00
}
#right-panel {
padding-top:16px;
padding-bottom:20px;
2016-03-31 13:32:00 +00:00
}
#right-panel h3:first-child {
margin-top: 0px;
2015-12-27 14:09:52 +00:00
}
#right-panel .hd,
.tabnav,
.repo-file-list-topbar,
.commit-list-topbar,
.file-audit-list-topbar,
.wiki-top {
padding:9px 10px;
background:#f2f2f2;
margin-bottom:.5em;
border-radius:2px;
2015-12-27 14:09:52 +00:00
}
#right-panel .hd,
.tabnav,
.wiki-top {
padding-bottom:0;
height:48px;
2015-12-27 14:09:52 +00:00
}
.commit-list-topbar,
.file-audit-list-topbar,
.repo-file-list-topbar {
margin-bottom:0;
2018-07-31 08:59:46 +00:00
}
#right-panel .hd h3,
#right-panel h3.hd {
line-height:30px;
margin-bottom:0;
}
#right-panel .hd .tab {
padding-bottom:0;
margin-bottom:0;
top:0;
}
#right-panel .hd .a,
2014-02-26 03:55:54 +00:00
.tabnav-tab a,
.wiki-nav .link {
display:inline-block;
2014-02-08 08:23:20 +00:00
font-size:15px;
2024-05-30 09:39:25 +00:00
color:#212529;
line-height:1.5;
font-weight:normal;
padding: 4px 10px 9px;
border-bottom: 3px solid transparent;
margin-left:5px;
}
.tabnav-tab-cur a,
.tabnav-tab a:hover,
2014-02-26 03:55:54 +00:00
.wiki-nav .cur-item .link,
.wiki-nav .link:hover,
#right-panel .hd .ui-state-active .a,
#right-panel .hd .a:hover {
color:#eb8205;
text-decoration:none;
border-bottom-color: #eb8205;
}
.tabnav button,
2016-07-19 07:52:16 +00:00
.repo-file-list-topbar .op-btn {
height:29px;
background:#fff;
line-height:17px;
}
/* info-bar */
2012-08-18 09:00:44 +00:00
#info-bar {
2017-05-06 09:37:29 +00:00
color:#1f0600;
2014-04-17 03:29:21 +00:00
padding:1px 25px 1px 10px;
2017-05-06 09:37:29 +00:00
background:#fddaa4;
2018-04-16 10:32:49 +00:00
position:relative;
2012-08-18 09:00:44 +00:00
}
#info-bar .close {
position:absolute;
right:5px;
top:5px;
font-size:16px;
margin:0;
2012-08-18 09:00:44 +00:00
}
2012-10-10 03:54:49 +00:00
#info-bar-info {
margin:3px 0;
2012-10-10 03:54:49 +00:00
}
2014-02-11 02:31:06 +00:00
#info-bar-info a {
2014-04-17 03:29:21 +00:00
color:#a68558;
2014-02-11 02:31:06 +00:00
text-decoration:underline;
}
2011-10-12 16:17:48 +00:00
/* top-bar */
2017-08-07 05:56:25 +00:00
#logout-icon {
2017-12-05 09:53:45 +00:00
margin:5px 0 0 25px;
2017-08-07 05:56:25 +00:00
font-size:22px;
line-height:1;
color:#999;
}
2017-12-05 09:53:45 +00:00
@media (max-width: 390px) {
#logout-icon {
2017-12-23 06:09:40 +00:00
margin-left:10px;
2017-12-05 09:53:45 +00:00
}
}
2014-01-17 05:34:55 +00:00
#account {
position:relative;
2018-09-21 06:16:15 +00:00
margin-left: 8px;
2013-06-26 08:26:04 +00:00
}
2014-01-17 05:34:55 +00:00
#account .avatar {
2013-06-26 08:26:04 +00:00
vertical-align:middle;
2014-01-17 05:34:55 +00:00
border-radius:1000px;
}
#my-info {
2017-12-05 09:53:45 +00:00
display:inline-block;
color:#d6d6d6;
}
@media (max-width:767px) {
#account {
margin:5px 0 0 10px;
2017-12-05 09:53:45 +00:00
}
.account-toggle {
font-size:22px;
line-height:1;
color:#999;
margin-top:8px;
}
}
.account-popup .avatar {
2014-01-17 05:34:55 +00:00
float:left;
}
.account-popup .txt {
2014-01-17 05:34:55 +00:00
margin-left:45px;
line-height: 36px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.account-popup {
right:0;
2017-12-05 09:53:45 +00:00
top:52px;
font-size:13px;
}
.account-popup .outer-caret {
top:-10px;
2017-12-05 09:53:45 +00:00
right:16px;
}
2016-04-27 06:48:25 +00:00
.account-popup .sf-popover-con {
2016-04-23 04:28:26 +00:00
padding:0;
}
.account-popup .item {
display:block;
padding:8px 18px;
border-bottom:1px solid #ddd;
}
.account-popup a.item {
2024-05-30 09:39:25 +00:00
color:#212529;
font-weight:normal;
}
.account-popup a.item:hover {
background:#fafafa;
text-decoration:none;
}
2014-01-17 05:34:55 +00:00
#account .manage {
position:absolute;
left:60px;
top:-16px;
}
2014-01-17 05:34:55 +00:00
#account .manage .a:hover {
text-decoration:none;
}
2012-11-02 03:39:34 +00:00
#lang-context-selector {
position:absolute;
2017-05-04 07:06:45 +00:00
top:23px;
white-space:nowrap;
2017-05-04 07:06:45 +00:00
width:auto;
min-width:200px;
}
#lang-context-selector .sf-popover-con {
padding:10px;
}
2016-03-15 11:57:08 +00:00
#lang-context-selector a {
color:#000;
display:block;
padding:1px 5px;
font-weight:normal;
2023-12-21 07:59:19 +00:00
line-height: 1.5;
}
2016-03-15 11:57:08 +00:00
#lang-context-selector a:hover {
background:#eee;
text-decoration:none;
}
2012-05-12 12:42:27 +00:00
/* header */
2012-07-12 08:05:43 +00:00
#logo {
margin-right:30px;
}
2012-08-21 08:01:18 +00:00
2016-08-20 02:16:02 +00:00
/*** separate pages ***/
/* login */
#lang {
font-weight: normal;
font-size: 13px;
margin-top: 12px;
}
#lang-context:hover {
text-decoration:none;
}
.captcha {
float:right;
}
2017-07-15 06:16:21 +00:00
#refresh-captcha {
margin:10px 3px 0 5px;
}
#id_captcha_1 {
width:auto;
2017-06-29 09:24:46 +00:00
height:36px;
padding:2px 10px;
border-radius:3px;
margin:0;
}
.login-panel {
2017-07-15 06:16:21 +00:00
background:#f5f6f7;
2017-06-29 09:24:46 +00:00
border-radius:3px;
2017-07-15 06:16:21 +00:00
padding:20px 60px;
2017-06-29 09:24:46 +00:00
width:390px;
margin:0 auto;
2017-07-15 06:16:21 +00:00
box-shadow:0 0 8px #a7a6a9;
2017-06-29 09:24:46 +00:00
}
2023-12-21 07:59:19 +00:00
#log-in-panel {
padding: 30px 25px 15px;
width: 336px;
}
2017-06-29 09:24:46 +00:00
@media (max-width:389px) {
.login-panel {
width:100%;
padding-left: calc((100% - 270px)/2);
padding-right: calc((100% - 270px)/2);
}
}
2017-07-15 06:16:21 +00:00
.login-panel-logo {
2017-06-29 09:24:46 +00:00
display:block;
2023-12-21 07:59:19 +00:00
margin:0 auto 32px;
2017-07-15 06:16:21 +00:00
}
.login-panel-hd {
font-size:18px;
font-weight:normal;
text-align:center;
margin:5px 0 15px;
2017-06-29 09:24:46 +00:00
}
.login-panel .input {
margin:0;
border:1px solid #cdcdcd;
padding:2px 10px;
height:36px;
width:248px;
font-size:14px;
}
2023-12-21 07:59:19 +00:00
#log-in-panel .input {
width: 264px;
height: 34px;
border-radius: 3px;
font-size: 13px;
}
#toggle-show-password {
height: 40px;
line-height: 40px;
2023-12-21 07:59:19 +00:00
position: absolute;
right: 10px;
cursor: pointer;
color: #999;
}
#toggle-show-password:hover {
color: #666;
}
#log-in-panel .remember-me {
font-size: 12px;
}
2017-06-29 09:24:46 +00:00
.login-panel .name-input {
border-radius: 3px 3px 0 0;
border-bottom-width:0;
}
.login-panel .passwd-input {
border-radius: 0 0 3px 3px;
margin-bottom:10px;
}
.login-panel .remember {
margin:20px 0 10px;
}
.login-panel .submit {
margin:20px 0 15px;
background-image: none;
2017-06-29 09:24:46 +00:00
height:42px;
}
.login-panel .submit:focus {
border-color: #f19645;
2017-06-29 09:24:46 +00:00
}
.login-panel-bottom-container {
margin-top:10px;
text-align:right;
}
#login-with-wechat {
color: #a6a6a6;
}
.login-with-wechat-deco {
border-bottom: 1px solid #a6a6a6;
}
2023-12-21 07:59:19 +00:00
#login-bottom {
font-size: 12px;
line-height: 1;
margin-top: 20px;
}
#login-bottom .bottom-item {
border-right: 1px solid #eb8205;
}
2018-06-14 08:51:13 +00:00
#signup-form .input {
margin-bottom:5px;
}
2012-05-12 12:42:27 +00:00
/*myhome*/
#quota-bar {
display:block;
height:1em;
border:1px solid #ddd;
margin:5px 0;
border-radius:2px;
overflow:hidden;/* for usage > 100% */
}
#quota-bar .usage {
display:inline-block;
height:100%;
vertical-align:top;
}
#my-usage,
#quota-usage {
background:#ddd;
}
#share-usage {
background:#eee;
}
#usage-details {
font-size:12px;
color:#888;
}
2013-03-28 04:02:52 +00:00
#traffic-stat {
2024-05-30 09:39:25 +00:00
color: #212529;
2013-03-27 14:02:32 +00:00
font-weight: normal;
2012-06-27 11:56:11 +00:00
}
#notices-loading,
#trash-more-loading {
text-align:center;
width:100%;
2012-07-19 06:05:33 +00:00
}
#trash-more {
margin-bottom:30px;
}
#notices-more {
margin: -20px 0 20px;
}
/* avatar */
.avatar-op .avatar {
border-radius: 4px;
-moz-border-radius: 4px;
2013-05-14 04:08:11 +00:00
}
.group .avatar {
background:#fdfdfd;
border-radius: 1000px;
}
.avatar-op h3 {
border:none;
margin-bottom:2px;
}
.avatar-op .upload-new-avatar-hd {
margin-top:15px;
}
2012-09-18 03:52:51 +00:00
.path { margin: 1.4em 0 0; }
.access-notice { margin: 0.8em 0 0.4em; }
2015-11-27 02:55:56 +00:00
.file-audit-list-topbar .path,
2015-08-17 06:35:13 +00:00
.commit-list-topbar .path,
2012-09-15 13:01:06 +00:00
.repo-file-list-topbar .path {
2014-02-21 10:32:56 +00:00
font-size:14px;
2012-09-15 13:01:06 +00:00
line-height:25px;
margin:0;
}
#repo-latest-commit .avatar {
2012-09-15 13:01:06 +00:00
vertical-align:middle;
2012-03-28 02:38:12 +00:00
}
2012-09-17 04:57:29 +00:00
#repo-latest-commit .time {
2012-09-15 13:01:06 +00:00
color:#666;
margin-left:5px;
2012-05-05 05:57:42 +00:00
}
2012-09-17 06:30:36 +00:00
.commit-time {
2024-05-30 09:39:25 +00:00
color:#212529;
2012-09-15 13:01:06 +00:00
font-size:13px;
font-weight:normal;
2012-10-17 03:55:15 +00:00
margin-top: 0em;
2012-09-15 13:01:06 +00:00
}
/* file upload */
.fileupload-buttonbar .cancel {
*margin-left:5px;
}
2014-11-14 03:23:58 +00:00
.fileupload-progress {
margin-top:5px;
}
.fileinput-button {
display:inline-block;
line-height:19px;
position:relative;
overflow:hidden;
2015-01-25 10:47:42 +00:00
}
.fileinput-button .icon-plus {
font-size:13px;
2024-05-30 09:39:25 +00:00
color:#212529;
2015-01-25 10:47:42 +00:00
}
2016-04-20 10:00:38 +00:00
.fileinput-button input {
position: absolute;
2015-01-25 10:47:42 +00:00
top: 0;
right: 0;
margin: 0;
height:27px;
opacity: 0;
filter: alpha(opacity=0);
cursor: pointer;
2015-01-25 10:47:42 +00:00
}
2016-05-09 06:34:09 +00:00
.fileupload-table {
margin-bottom:0;
2016-12-23 03:58:03 +00:00
table-layout: fixed;
2015-01-25 10:47:42 +00:00
}
2016-05-09 06:34:09 +00:00
.fileupload-table .name,
.fileupload-table .error {
padding-left:7px;
margin:0;
}
2014-11-14 03:23:58 +00:00
.template-upload .btn {
background: transparent;
border: none;
color: #e83;
}
2016-05-11 08:55:41 +00:00
.template-upload .btn {
font-size:1em;
padding:0;
}
.ui-progressbar,
.progress {
background-color: #F7F7F7;
background-image: linear-gradient(to bottom, #F5F5F5, #F9F9F9);
background-repeat: repeat-x;
border-radius: 4px 4px 4px 4px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
height: 1em;
overflow: hidden;
}
.template-upload .progress {
width:90%;
}
.ui-progressbar-value,
.progress .bar {
background:#e83;
height:100%;
}
.fade {
opacity:0;
visibility:hidden;/*for ie*/
}
.fade.in {
opacity:1;
visibility:visible;/*for ie*/
}
#upload-file-form .tip {
padding-left:1.5em;
*padding-left:1.9em;
margin-top:5px;
}
2014-11-14 03:23:58 +00:00
2012-09-15 13:01:06 +00:00
/* repo-history */
2012-09-21 07:32:52 +00:00
#back {
margin-top:3px;
2012-09-15 13:01:06 +00:00
}
2015-11-27 02:55:56 +00:00
.file-audit-list,
2012-09-15 13:01:06 +00:00
.commit-list {
2015-09-21 08:42:45 +00:00
margin-bottom:20px;
2012-09-15 13:01:06 +00:00
}
2015-11-27 02:55:56 +00:00
.file-audit-list .user,
2012-09-15 13:01:06 +00:00
.commit-list .time {
padding-left:10px;
}
2015-11-27 02:55:56 +00:00
.file-audit-list .avatar,
2012-09-15 13:01:06 +00:00
.commit-list .avatar {
border-radius:2px;
}
2015-12-03 03:56:43 +00:00
.file-access-hd,
2015-09-22 09:24:01 +00:00
.repo-trash-hd,
.repo-snapshot-hd {
margin-bottom:10px;
}
.repo-snapshot-commit {
margin-bottom:6px;
}
2015-09-22 09:24:01 +00:00
#online-gc {
margin-left:5px;
}
#mods-enable-form {
width:266px;
}
.ellipsis-op-target {
display:inline-block;
vertical-align:bottom;
}
#confirm-popup .op-target {
2016-01-28 06:33:17 +00:00
max-width:200px;
}
/*file upload*/
#upload-file-form .files-add input {
2012-12-07 03:22:41 +00:00
cursor:pointer;
position: absolute;
top: 0;
margin: 0;
opacity: 0;
2013-03-04 09:41:43 +00:00
filter: alpha(opacity=0);
}
#upload-file-form .MultiFile-label {
padding:4px 0;
border-bottom:1px solid #ebebeb;
}
#upload-file-form .MultiFile-remove {
padding:0 4px;
color:#000;
font-weight:bold;
border:1px solid #eee;
}
#upload-file-form .MultiFile-remove:hover {
text-decoration:none;
}
.upload-progress-con,
.upload-cancel {
margin-top:.8em;
}
.upload-progress-bar {/*for progress container*/
height:1em;
margin-top:-3px;
}
.upload-progress-bar .ui-progressbar-value {/*for progress*/
background:#e83;
margin:0;
}
2012-10-24 07:40:25 +00:00
#text-diff-output {
padding:3px;
2012-07-13 09:26:33 +00:00
background:#dedede;
border-radius:3px;
-moz-border-radius:3px;
2012-09-17 04:57:29 +00:00
margin-top:12px;
2012-08-10 13:35:58 +00:00
}
.user-role-select,
.user-status-select {
position:relative;/*for long text in other lang in 'share admin'*/
padding:3px 2px;
2012-08-10 13:35:58 +00:00
background:#fff;
border:1px solid #ddd;
border-radius:2px;
2012-07-13 09:26:33 +00:00
}
/* text file diff */
.file-modification-hd .modifier,
.file-modification-hd .time {
font-weight:normal;
font-size:13px;
color:#666;
}
.file-modification-hd a {
margin:0 3px 0 5px;
}
.file-modification-hd .avatar,
.file-modification-meta-info .span {
vertical-align:middle;
2018-08-01 03:26:00 +00:00
}
.file-modification-hd .time {
margin-left:5px;
2012-07-13 09:26:33 +00:00
}
#text-diff-output {
font-size:14px;
font-family:monospace;
2017-02-21 10:23:14 +00:00
}
#text-diff-output .blank-file,
#text-diff-output .diff-con {
background:#fff;
border:1px solid #ccc;
margin:0;
2017-02-16 09:37:12 +00:00
}
#text-diff-output .blank-file {
padding:2em 1em;
2017-02-16 09:37:12 +00:00
}
#text-diff-output th {
text-align: center;
2012-10-20 03:48:19 +00:00
}
#text-diff-output td {
2012-10-24 07:40:25 +00:00
font-size:12px;
word-wrap:break-word;
padding:2px 3px;
border-bottom:none;
}
#text-diff-output .diff-header {
text-align:right;
vertical-align:top; /* make the line number stay there even its right td gets multi lines of content */
background-color:#ebebeb;
border-right:1px solid #eee;
2012-10-20 03:48:19 +00:00
}
2012-10-24 07:40:25 +00:00
.diff-add {
color: #080;
2012-10-20 03:48:19 +00:00
}
2012-10-24 07:40:25 +00:00
.diff-sub {
color: #c00;
}
.diff-chg {
color: #c3f;
2012-10-20 03:48:19 +00:00
}
2013-03-15 08:57:33 +00:00
/* search */
2016-04-20 13:26:39 +00:00
.search-input {
margin:0;
2013-03-08 08:45:04 +00:00
border:1px solid #ddd;
border-radius:3px;
2013-03-04 09:25:47 +00:00
}
2016-04-20 13:26:39 +00:00
.search-form .search-submit { /* the icon submit */
position:absolute;
right:1px;
top:1px;
width:30px;
2013-03-09 12:44:28 +00:00
height:24px;
2016-04-20 13:26:39 +00:00
padding:0;
2013-03-08 08:45:04 +00:00
border:0;
margin:0;
2016-04-20 13:26:39 +00:00
background:#fff;
2013-03-04 09:25:47 +00:00
}
2016-04-20 13:26:39 +00:00
.search-form .icon-search {
font-size:16px;
color:#aaa;
2013-03-04 09:25:47 +00:00
}
2013-04-20 11:19:38 +00:00
.search-form .icon-caret-down {
color:#bbb;
cursor:pointer;
line-height:24px;
}
#advanced-search-form {
2013-04-20 11:19:38 +00:00
position:absolute;
width:500px;
padding:18px;
2016-04-20 13:26:39 +00:00
background:#fff;
border:1px solid #ddd;
border-radius:3px;
box-shadow:0 0 10px #ddd;
z-index:100;/* for pages with jquery tabs*/
}
#advanced-search-form .search-input {
width:98%;
2016-04-21 03:30:24 +00:00
padding:1px 3px;
}
#advanced-search-form .submit {
margin-bottom:0;
}
.search-scales {
margin-top:8px;
2013-04-20 11:19:38 +00:00
}
.search-scales .item {
width:48%;
2013-04-20 11:19:38 +00:00
}
.search-repos {
border-bottom:1px dotted #ddd;
margin-bottom:3px;
2013-04-20 11:19:38 +00:00
}
2018-06-22 06:17:44 +00:00
.search-time-range {
border-top:1px dotted #ddd;
margin-top:3px;
padding-top:3px;
}
.custom-ftype-options {
font-size:13px;
padding:2px 0;
background:#fafafa;
}
.custom-ftype-options .checkbox-label {
display:inline-block;
margin:0 10px 0 0;
}
.custom-ftype-options .fileext-input {
width:70%;
2013-04-20 11:19:38 +00:00
}
2017-12-05 09:53:45 +00:00
@media (max-width:400px) {
.custom-ftype-options .fileext-input {
width:95%;
}
}
.top-search-link {
margin-top:5px;
}
.top-search-link .icon-search {
font-size:19px;
line-height:1;
color:#999;
}
2016-04-20 13:26:39 +00:00
#top-search-form {
position:relative;
2017-12-05 09:53:45 +00:00
margin-top:3px;
}
2016-04-20 13:26:39 +00:00
#top-search-form .search-input {
width:155px;
2016-04-21 03:30:24 +00:00
padding:1px 30px 1px 5px;
2013-03-04 09:25:47 +00:00
}
2013-09-07 03:44:21 +00:00
#search-form,
2017-12-11 06:41:20 +00:00
#search-link-form,
2013-09-23 07:57:54 +00:00
#search-user-form,
2017-01-19 09:24:00 +00:00
#search-group-form,
2016-04-20 13:26:39 +00:00
#search-repo-form {
padding:10px;
background:#f7f7f8;
border-radius:2px;
2016-06-23 08:48:29 +00:00
margin-bottom:1.2rem;
}
#search-form {
margin-top:30px;
}
#search-form .input_and_submit {
display:inline-block;
2016-04-20 13:26:39 +00:00
position:relative;
2017-12-05 09:53:45 +00:00
width:60%;
2013-03-04 09:25:47 +00:00
}
#search-form .advanced-search {
color:#666;
font-size:16px;
cursor:pointer;
margin-left:4px;
}
2013-03-08 08:45:04 +00:00
#search-form .search-input {
2017-12-05 09:53:45 +00:00
width:calc(100% - 35px);
2016-04-21 03:30:24 +00:00
height:24px;
2016-04-20 13:26:39 +00:00
padding:0 30px 0 5px;
2013-03-04 09:25:47 +00:00
}
2013-03-09 06:15:53 +00:00
#search-results a {
font-weight: normal;
}
#search-results b {
font-weight: bold;
}
2013-03-09 06:15:53 +00:00
.search-results-item {
margin-top:15px;
2013-03-09 06:15:53 +00:00
}
.search-results-item .main-con {
margin-left:45px;
2013-03-09 06:15:53 +00:00
}
2015-05-29 03:05:33 +00:00
.search-results-item .parent-dir-link {
color:#888;
2013-03-09 06:15:53 +00:00
}
.search-results-item .time {
color:#666;
2013-03-12 13:48:47 +00:00
}
.search-results-item .highlight-content {
margin:0;
}
2013-12-17 09:49:11 +00:00
.help-con {
2016-05-13 03:10:18 +00:00
padding:20px;
2013-12-17 09:49:11 +00:00
}
2016-06-17 07:19:46 +00:00
.help-con img {
max-width: 80%;
margin: 5px 0;
2016-06-17 07:19:46 +00:00
}
2016-05-13 03:10:18 +00:00
#right-panel.help-con .hd {
2014-04-15 08:34:20 +00:00
font-weight:normal;
margin-bottom:15px;
}
.go-back {
position: absolute;
left: -41px;
top: 9px;
padding: 0 5px;
font-size: 25px;
color:#ccc;
}
.go-back:hover {
color:#f93;
text-decoration: none;
}
#set-quota-form {
min-width:255px;
}
#set-quota-form .input {
width:180px;
}
/* pwd strength */
#pwd_strength {
2024-05-09 07:56:44 +00:00
margin: 0px;
}
#pwd_strength span {
display:inline-block;
width:70px;
border:1px solid #fff;
background:#e4e4e4;
color:#cecece;
text-align:center;
vertical-align:middle;
line-height:16px;
}
/* user profile */
#user-profile {
2015-07-09 03:55:39 +00:00
width: 290px;
border: 1px solid #eee;
border-radius: 5px;
2016-09-20 05:19:09 +00:00
margin: 50px auto 0;
2015-07-09 03:55:39 +00:00
}
#user-profile .avatar {
2016-09-20 05:19:09 +00:00
display: block;
border-radius: 1000px;
margin: 8px auto;
}
.user-profile-nickname {
2016-09-20 05:19:09 +00:00
padding: 0 15px 8px;
2015-07-09 03:55:39 +00:00
margin: 0;
font-size: 18px;
2016-09-20 05:19:09 +00:00
text-align: center;
2015-07-09 03:55:39 +00:00
}
.user-profile-info {
padding: 8px 15px;
2015-07-09 03:55:39 +00:00
border-top: 1px solid #eee;
}
.user-profile-info-icon {
display:inline-block;
width:1.4em;
2015-07-09 03:55:39 +00:00
}
2016-04-25 13:00:25 +00:00
/* link audit */
#link-audit-form .email-input {
margin-bottom:5px;
}
#link-audit-form .get-code-btn {
margin-bottom:20px;
}
/* two-factor-auth */
.two-factor-auth-wizard-btns {
margin-top:8px;
}
.two-factor-auth-backup-token-list {
margin-bottom:1rem;
}
.input.two-factor-auth-login-token-input {
margin-bottom:15px;
}
2016-08-08 05:59:25 +00:00
#id_generator-token,
#id_sms-number,
#id_validation-token {/* token input */
2016-08-08 03:44:17 +00:00
width: 260px;
padding: 2px 3px;
border-radius: 2px;
}
2016-08-11 03:32:18 +00:00
/* terms & conditions */
#tc-content {
padding-top:0;
padding-left:0;
}
/* policy, terms link */
.privacy-policy-link {
display: flex;
align-items: center;
justify-content: center;
margin-top: 50px;
}
.privacy-policy-link-text {
color: #666666;
font-size: 12px;
}
.privacy-policy-link-split {
width: 1px;
background: #6e7687;
height: 12px;
}