2018-10-15 15:51:29 +08:00
|
|
|
#wrapper, .wrapper {
|
2018-09-19 21:19:11 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* for top bottom layout*/
|
|
|
|
#header {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* for left right layout */
|
|
|
|
#main {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
2018-09-21 14:16:15 +08:00
|
|
|
min-height: 0;
|
2018-09-19 21:19:11 -05:00
|
|
|
}
|
|
|
|
|
2018-09-12 17:01:48 +08:00
|
|
|
.side-panel {
|
2019-02-20 11:54:25 +08:00
|
|
|
flex: 0 0 22%;
|
2018-09-19 21:19:11 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
2018-09-19 21:19:11 -05:00
|
|
|
|
2018-09-12 17:01:48 +08:00
|
|
|
.main-panel {
|
2019-02-20 11:54:25 +08:00
|
|
|
flex: 1 0 78%;
|
2018-09-19 21:19:11 -05:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
.side-panel {
|
|
|
|
position:fixed;
|
|
|
|
left:-300px;
|
2018-09-25 09:13:06 +08:00
|
|
|
z-index: 99; /* important! */
|
2018-09-19 21:19:11 -05:00
|
|
|
width:300px;
|
|
|
|
height:100%;
|
|
|
|
background:#f8f8f8;
|
|
|
|
-webkit-transition: all 0.3s ease;
|
|
|
|
-moz-transition: all 0.3s ease;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.side-panel-north,
|
|
|
|
.main-panel-north {
|
2019-02-20 11:54:25 +08:00
|
|
|
position: relative;
|
2018-09-25 09:13:06 +08:00
|
|
|
padding: .5rem 1rem;
|
2018-09-19 21:19:11 -05:00
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
2018-09-12 17:01:48 +08:00
|
|
|
background: #f4f4f7;
|
|
|
|
border-bottom: 1px solid #e8e8e8;
|
|
|
|
}
|
|
|
|
|
2019-02-13 18:09:01 +08:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.side-panel-north {
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-panel-north {
|
|
|
|
padding-bottom: 0.25rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-19 21:19:11 -05:00
|
|
|
.side-panel-center,
|
|
|
|
.main-panel-center {
|
2018-09-12 17:01:48 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-09-19 21:19:11 -05:00
|
|
|
flex: 1;
|
2018-10-25 13:36:06 +08:00
|
|
|
min-height: 0;
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
|
|
|
|
2018-09-19 21:19:11 -05:00
|
|
|
.side-panel-center,
|
|
|
|
.side-panel-footer {
|
|
|
|
min-height: 0;
|
|
|
|
border-right: 1px solid #eee;
|
2018-09-12 17:01:48 +08:00
|
|
|
}
|
2018-09-19 21:19:11 -05:00
|
|
|
|
2018-09-21 14:16:15 +08:00
|
|
|
.cur-view-container {
|
2018-09-25 09:13:06 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1 1 auto;
|
2018-09-21 14:16:15 +08:00
|
|
|
overflow: hidden;
|
2018-10-25 14:42:53 +08:00
|
|
|
min-height: 0;
|
2018-09-21 14:16:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.cur-view-path {
|
2018-09-25 09:13:06 +08:00
|
|
|
position: relative; /* for the ':after' */
|
|
|
|
padding: 8px 16px;
|
|
|
|
max-height: 40px;
|
2018-09-21 14:16:15 +08:00
|
|
|
background:#f9f9f9;
|
2018-09-25 09:13:06 +08:00
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
|
|
|
justify-content: space-between;
|
2018-09-21 14:16:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.cur-view-path:after {
|
2018-09-25 09:13:06 +08:00
|
|
|
position: absolute;
|
|
|
|
left: 16px;
|
|
|
|
right: 16px;
|
|
|
|
bottom: 0;
|
|
|
|
content: '';
|
|
|
|
border-bottom: 1px solid #e8e8e8;
|
2018-09-21 14:16:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.cur-view-content {
|
2018-11-22 11:05:47 +08:00
|
|
|
padding: 0.625rem 1rem 1.25rem;
|
2018-09-21 14:16:15 +08:00
|
|
|
height: calc(100% - 40px);
|
2018-09-25 09:13:06 +08:00
|
|
|
flex: 1;
|
2018-10-25 14:42:53 +08:00
|
|
|
min-height: 0;
|
2018-09-25 09:13:06 +08:00
|
|
|
overflow: auto;
|
2018-09-21 14:16:15 +08:00
|
|
|
}
|
|
|
|
|
2018-12-07 18:24:20 +08:00
|
|
|
.cur-view-content .article {
|
2018-12-19 11:22:09 +08:00
|
|
|
padding: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wiki-main-panel .cur-view-content .article {
|
2018-12-18 16:29:57 +08:00
|
|
|
padding: 0 10px;
|
2018-12-07 18:24:20 +08:00
|
|
|
}
|
|
|
|
|
2018-09-21 14:16:15 +08:00
|
|
|
.cur-view-content .hd {
|
2018-09-25 09:13:06 +08:00
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
height: 48px;
|
|
|
|
padding: 9px 10px;
|
|
|
|
background: #f2f2f2;
|
|
|
|
border-radius: 2px;
|
2018-09-21 14:16:15 +08:00
|
|
|
}
|
|
|
|
|
2019-02-18 16:49:38 +08:00
|
|
|
.cur-view-content .permission-editor-select .permission-editor__control {
|
|
|
|
height: 24px;
|
|
|
|
min-height: 24px;
|
|
|
|
}
|
2018-10-25 13:36:06 +08:00
|
|
|
.cur-view-detail {
|
2018-11-14 13:54:01 +08:00
|
|
|
flex: 0 0 20rem;
|
2018-10-25 13:36:06 +08:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* for reach/router */
|
2018-09-21 14:16:15 +08:00
|
|
|
[role=group] {
|
|
|
|
display: flex;
|
2018-09-27 15:09:44 +08:00
|
|
|
flex: 1;
|
2018-11-26 14:00:32 +08:00
|
|
|
flex-direction: column;
|
2018-11-29 17:55:14 +08:00
|
|
|
min-height: 0;
|
2018-10-15 15:51:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
padding: 0.625rem;
|
|
|
|
display: flex;
|
|
|
|
flex-shrink:0;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
background-color: #fff;
|
|
|
|
border-bottom: 1px solid #e5e5e5;
|
|
|
|
box-shadow: 0 3px 2px -2px rgba(200,200,200,.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .cur-file-info {
|
|
|
|
display: flex;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .info-item {
|
|
|
|
display: flex;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .file-copywriting {
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .file-feature {
|
|
|
|
width: 2.9375rem;
|
|
|
|
height: 2.9375rem;
|
|
|
|
font-size: 1.8rem;
|
|
|
|
background-color: #fbcb09;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .file-operation-btn {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review .cur-file-info {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review .file-feature {
|
|
|
|
width: 4.1875rem;
|
|
|
|
height: 4.1875rem;
|
2018-12-25 10:26:05 +08:00
|
|
|
font-size: 3rem;
|
2018-10-15 15:51:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.review-state {
|
|
|
|
position: relative;
|
|
|
|
margin: auto 0.5rem;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-state-finished {
|
|
|
|
color: #316100;
|
|
|
|
background-color: #dff1cc;
|
|
|
|
border-color: #d2ecb8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.review-state-closed {
|
|
|
|
color: #6b1110;
|
|
|
|
background-color: #f5d2d2;
|
|
|
|
border-color: #f1c1c0;
|
|
|
|
}
|
2018-11-26 14:00:32 +08:00
|
|
|
|
2019-01-02 11:28:39 +08:00
|
|
|
.review-state-closed:focus,
|
|
|
|
.review-state-finished:focus {
|
|
|
|
box-shadow: 0 0 0 0;
|
|
|
|
}
|
|
|
|
|
2018-11-26 14:00:32 +08:00
|
|
|
img[src=""],img:not([src]){ /* for first loading img*/
|
|
|
|
opacity:0;
|
|
|
|
}
|