This commit is contained in:
2026-02-06 18:34:35 +08:00
commit f7f4c94c00
3285 changed files with 563208 additions and 0 deletions

View File

@@ -0,0 +1,250 @@
.loading-mask {
position: absolute;
background-color: whiteSmoke;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2000;
}
.loading-mask .brand {
position: absolute;
width: 100%;
bottom: 20px;
}
.loading-mask .loading-zone {
width: 100%;
max-width: 300px;
margin: 100px auto;
}
.loading-mask .loading-zone .progress {
height: 13px;
}
.loading-mask .loading-zone .text {
text-align: center;
margin: 5px auto;
}
/* -------------------------------------------------- */
/* Bootstrap responsive style
/* -------------------------------------------------- */
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
@media (max-width: 980px) {
/* Enable use of floated navbar text */
.navbar-text.pull-right {
float: none;
padding-left: 5px;
padding-right: 5px;
}
}
/* -------------------------------------------------- */
/* Header Style
/* -------------------------------------------------- */
.navbar .brand {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 80%;
}
/* -------------------------------------------------- */
/* Search & Highlight
/* -------------------------------------------------- */
.highlight {
background-color: #FFFF88;
}
.highlight-selected {
background-color: darkorange;
}
/* -------------------------------------------------- */
/* Word Style
/* -------------------------------------------------- */
.word-body, .ppt-body {
background-color:#EBEBEB;
min-height: 100%;
-webkit-font-smoothing:antialiased;
font-smoothing:antialiased;
text-rendering:optimizeLegibility;
}
.word-body table {
width: auto !important;
}
.word-page{
line-height: normal;
margin-right: auto;
margin-left: auto;
margin-bottom: 15px;
background-color:#FFF;
-moz-border-radius: 1px;
border-radius: 1px;
-moz-box-shadow: 0 0 10px 5px #888;
-webkit-box-shadow: 0 0 10px 5px #888;
box-shadow: 0 0 10px 5px #888;
}
.word-page .word-content {
position: relative;
background-color:#FFF;
max-width: 100%;
word-wrap: break-word;
word-break: break-all;
margin: 0px auto;
}
.doc-page .doc-content p{
word-wrap:break-word;
word-break:normal;
margin: 0px;
}
/* -------------------------------------------------- */
/* Table Style
/* -------------------------------------------------- */
table {
border-collapse: collapse;
word-wrap: break-word;
margin: 0px auto;
}
table td {
text-align: center !important;
}
/*
table, tbody, tfoot, thead, tr, th, td {
border: 1px solid #dddddd !important;
}
*/
/* -------------------------------------------------- */
/* Footer
/* -------------------------------------------------- */
footer {
text-align: center;
}
/* -------------------------------------------------- */
/* Bottom paging progress
/* -------------------------------------------------- */
.bottom-paging-progress {
position: fixed;
width: 100%;
bottom: 0px;
left: 0px;
margin: 0px auto;
height: 3px;
}
.paging-bottom-all {
border-top: 1px solid #d8d8d8;
height: 20px;
position: fixed;
bottom: 0px;
left: 0px;
right: 0px;
width: 100%;
cursor: pointer;
}
.paging-bottom-sub {
float: left;
display: inline-block;
text-align: center;
height: 20px;
font-weight: bold;
color: green;
}
/* -------------------------------------------------- */
/* Mobile css
/* -------------------------------------------------- */
@media (max-width: 743px) {
.word-body {
padding-top: 40px;
}
.word-page .word-content {
max-width: 100%;
line-height: normal;
margin-right: auto;
margin-left: auto;
margin-bottom: 5px;
background-color:#FFF;
-moz-border-radius: 1px;
border-radius: 1px;
-moz-box-shadow: 0 0 5px 2px #888;
-webkit-box-shadow: 0 0 5px 2px #888;
box-shadow: 0 0 5px 2px #888;
}
/* 取消手机端Word预览左右边距 */
.word-body .container-fluid-content {
padding-left: 5px;
padding-right: 5px;
}
.word-body, .ppt-body, .pdf-body {
background-color:#FFF;
}
.word-page{
-moz-box-shadow: 0 0 5px 2px #FFF;
-webkit-box-shadow: 0 0 0px 0px #FFF;
box-shadow: 0 0 0px 0px #FFF;
}
.pdf-body {
padding-top: 50px;
}
.pdf-body .container-fluid-content {
padding-left: 0px;
padding-right: 0px;
}
}
/**修改的bootstrap框架里的 css**/
.navbar-inverse .brand {
color: #999;
}
.navbar-inverse .brand, .navbar-inverse .nav>li>a {
text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}
.navbar .brand {
display: block;
float: left;
padding: 10px 20px 10px;
margin-left: -20px;
font-size: 20px;
font-weight: 200;
}
a {
color: #08c;
text-decoration: none;
}
a:-webkit-any-link {user agent stylesheeta:-webkit-any-link {
color: -webkit-link;
text-decoration: underline;
cursor: auto;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,33 @@
body {background: #f8f8f8;}
#sidebar {position: absolute;background: #f8f8f8;top: 40px;bottom: 0;left: -16%;width: 16%;overflow: auto;transition: left .45s cubic-bezier(.23, 1, .32, 1);}
#mainbody {position: absolute;left: 0px;right: 0px;bottom: 0px;top: 40px;background-position: center;background-repeat: no-repeat;background-size: contain;border: solid 10px transparent;transition: left .45s cubic-bezier(.23, 1, .32, 1);}
.thumbnail {margin: 10px 10px 0;text-align: center;}
.thumbnail img {display: block; margin: auto; max-width: 100%;padding: 2px;border: solid 1px #eee;display: block; border-radius: 5px;cursor: pointer;box-sizing: border-box;}
.thumbnail.active img {border-color: darkorange;box-shadow: 0 0 0 2px darkorange;cursor: default;}
.thumbnail.active .side-pager {color: darkorange}
#header {position: absolute;top: 0;left: 0;right: 0;background: #333;height: 40px;color: #fff;}
#title {margin: 0 0 0 10px;line-height: 38px;font: 400 20px/38px 'Microsoft Yahei';width: 60%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
#loading {bottom: 0;left: 0;right: 0;}
.loader {position: absolute;overflow: hidden;height: 3px;z-index: 100;}
.loader div {height: 100%;width: 1%;transition: width .45s cubic-bezier(.23, 1, .32, 1);background: #39f;}
.side-pager {text-align: center;height: 25px;line-height: 25px;font-size: 16px;font-weight: bold;}
#next,#prev {position: absolute;top: 50%;width: 60px;font: 60px/160px '宋体';margin-top: -80px;cursor: pointer;text-align: center;opacity: .1;-webkit-user-select: none;-khtml-user-select: none; -moz-user-select: none;-ms-user-select: none;user-select: none;}
#next:hover,#prev:hover {background: rgba(0, 0, 0, .1);opacity: .5}
#prev {left: 0;}
#next {right: 0;}
.hbtn{width:40px;height: 40px;display: inline-block;cursor: pointer;}
.hbtn:hover{background: #444;}
#fullScreen {background:url(full.png) no-repeat center;}
@media (min-width: 960px) {#sidebar {display: block;left: 0;}#mainbody {left: 16%;}#sideBtn{display: none;}.openSide .thumbnail img{display: none;}}
.pull-right {float: right;}
.fullScreen #sidebar {left:-16%;}
.openSide #sidebar{left:0 !important;}
.openSide #sideBtn{background: #444;}
.openSide #mainbody{left:16% !important;}
.openSide .side-pager{cursor: pointer;}
.fullScreen #mainbody {left:0;background-color: #000;}
.fullScreen #sideBtn {display: inline-block;}
.fullScreen .thumbnail img{display: block;}
.fullScreen #next,.fullScreen #prev {color: #fff;}
#sideBtn{float: left;padding-top: 8px;height: 32px;margin-right: 10px;}
#sideBtn em{height: 2px;background: #fff;margin:5px 9px;display: block;}

View File

@@ -0,0 +1,249 @@
/**
* Copyright 2013 I Doc View
* @author Godwin <godwin668@gmail.com>
*/
/* ---------------------------------------------------------------------- */
/* Content
/* ---------------------------------------------------------------------- */
/* -------------------------------------------------- */
/* Loading style
/* -------------------------------------------------- */
.loading-mask {
position: absolute;
background-color: whiteSmoke;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2000;
}
.loading-mask .brand {
position: absolute;
width: 100%;
bottom: 20px;
}
.loading-mask .loading-zone {
width: 100%;
max-width: 300px;
margin: 100px auto;
}
.loading-mask .loading-zone .progress {
height: 13px;
}
.loading-mask .loading-zone .text {
text-align: center;
margin: 5px auto;
}
/* -------------------------------------------------- */
/* Bootstrap responsive style
/* -------------------------------------------------- */
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
@media (max-width: 980px) {
/* Enable use of floated navbar text */
.navbar-text.pull-right {
float: none;
padding-left: 5px;
padding-right: 5px;
}
}
/* -------------------------------------------------- */
/* File upload
/* -------------------------------------------------- */
.fileinput-button {
position: relative;
overflow: hidden;
float: left;
margin-right: 4px;
}
.fileinput-button input {
position: absolute;
top: 0;
right: 0;
margin: 0;
opacity: 0;
filter: alpha(opacity=0);
transform: translate(-300px, 0) scale(4);
font-size: 23px;
direction: ltr;
cursor: pointer;
}
/* -------------------------------------------------- */
/* Header Style
/* -------------------------------------------------- */
.navbar .brand {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 80%;
}
/* -------------------------------------------------- */
/* Search & Highlight
/* -------------------------------------------------- */
.highlight {
background-color: #FFFF88;
}
.highlight-selected {
background-color: darkorange;
}
/* -------------------------------------------------- */
/* Word Style
/* -------------------------------------------------- */
.word-body, .ppt-body {
background-color:#EBEBEB;
min-height: 100%;
-webkit-font-smoothing:antialiased;
font-smoothing:antialiased;
text-rendering:optimizeLegibility;
}
.word-body table {
width: auto !important;
}
.word-page{
line-height: normal;
margin-right: auto;
margin-left: auto;
margin-bottom: 15px;
max-width: 795px;
background-color:#FFF;
-moz-border-radius: 1px;
border-radius: 1px;
-moz-box-shadow: 0 0 10px 5px #888;
-webkit-box-shadow: 0 0 10px 5px #888;
box-shadow: 0 0 10px 5px #888;
}
.word-page .word-content {
position: relative;
background-color:#FFF;
max-width: 75%;
word-wrap: break-word;
word-break: break-all;
margin: 0px auto;
padding-top: 10%;
padding-bottom: 10%;
}
.doc-page .doc-content p{
word-wrap:break-word;
word-break:normal;
margin: 0px;
}
/* -------------------------------------------------- */
/* Table Style
/* -------------------------------------------------- */
table {
border-collapse: collapse;
word-wrap: break-word;
margin: 0px auto;
}
/*
table, tbody, tfoot, thead, tr, th, td {
border: 1px solid #dddddd !important;
}
*/
/* -------------------------------------------------- */
/* Footer
/* -------------------------------------------------- */
footer {
text-align: center;
}
/* -------------------------------------------------- */
/* Bottom paging progress
/* -------------------------------------------------- */
.bottom-paging-progress {
position: fixed;
width: 100%;
bottom: 0px;
left: 0px;
margin: 0px auto;
height: 3px;
}
.paging-bottom-all {
border-top: 1px solid #d8d8d8;
height: 20px;
position: fixed;
bottom: 0px;
left: 0px;
right: 0px;
width: 100%;
cursor: pointer;
}
.paging-bottom-sub {
float: left;
display: inline-block;
text-align: center;
height: 20px;
font-weight: bold;
color: green;
}
/* -------------------------------------------------- */
/* Mobile css
/* -------------------------------------------------- */
@media (max-width: 767px) {
.word-body {
padding-top: 40px;
}
.word-page .word-content {
max-width: 85%;
}
/* 取消手机端Word预览左右边距 */
.word-body .container-fluid-content {
padding-left: 0px;
padding-right: 0px;
}
.word-body, .ppt-body, .pdf-body {
background-color:#FFF;
}
.word-page{
-moz-box-shadow: 0 0 10px 5px #FFF;
-webkit-box-shadow: 0 0 0px 0px #FFF;
box-shadow: 0 0 0px 0px #FFF;
}
.pdf-body {
padding-top: 50px;
}
.pdf-body .container-fluid-content {
padding-left: 0px;
padding-right: 0px;
}
}