Files
yes.blog/Yes.Blog/TempFiles/themes/default1/css/style.css
2025-04-30 09:51:36 +08:00

1368 lines
26 KiB
CSS

body {
position: relative;
overflow-x: hidden;
font-family: "Microsoft Yahei", Helvetica, arial,Verdana, "Lantinghei SC", "Hiragino Sans GB", \5b8b\4f53, sans-serif;
-webkit-overflow-scrolling: touch;
}
a {
text-decoration: none;
color: #06f;
}
a:hover {
text-decoration: none;
outline: 0;
}
textarea {
resize: none;
}
.text {
font-size: 12px;
color: #999999;
font-weight: 200;
}
.error-message {
color: red;
font-size: 12px;
}
.success-message {
color: green;
font-size: 12px;
}
.input-readonly {
border: 1px solid rgba(34,36,38,.15);
background-color: #fff !important;
-webkit-box-shadow: none;
box-shadow: none;
}
::-webkit-scrollbar, body .scrollbar-track-color {
height: 9px;
width: 7px;
background: #E6E6E6;
}
::-webkit-scrollbar:hover {
background: #CCCCCC;
}
::-webkit-scrollbar-thumb {
background: #A2A2A2;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
-ms-border-radius: 6px;
-o-border-radius: 6px;
border-radius: 6px;
}
.bootstrap-tagsinput {
display: block !important;
}
.manual-header {
margin-bottom: 0;
background-color: #fff;
border-bottom: 1px solid #efefef;
/*box-shadow: rgba(0,0,0,.1)0 1px 5px;*/
/*border-top: 3px solid #009a61*/
}
.manual-header .navbar-brand, .manual-header a {
font-weight: normal;
color: #333;
max-width: 300px;
white-space: nowrap;
/* overflow: hidden; */
}
.manual-reader .slidebar {
margin: 7px 10px 0 0;
}
.user-info {
border: 0;
background-color: #ffffff;
padding: 9px 10px !important;
cursor: pointer;
}
.user-info:hover {
background-color: #F5F5F5;
}
.user-info-dropdown a {
font-size: 14px;
color: #333333;
height: 30px !important;
line-height: 25px !important;
}
.user-info-dropdown a > i {
display: inline-block;
margin-right: 5px;
}
.userbar-avatar {
display: inline-block;
width: 40px;
height: 40px;
margin-right: 15px;
}
.userbar-content {
display: inline-block;
vertical-align: middle;
}
.userbar-content span {
display: inline-block;
font-size: 14px;
font-weight: 400;
margin-right: 40px;
color: #3d444f;
}
.userbar-content div {
font-size: 12px;
line-height: 1;
color: #9ba3af;
}
/**************首页标签*******************/
.tag-container-outer {
border-bottom: 1px solid #eee;
padding-top: 5px;
padding-bottom: 5px;
line-height: 30px;
position: relative;
display: block !important;
margin-top: 15px;
}
.tag-container-outer .title {
font-weight: 400;
font-size: 14px;
}
.tag-container-outer .tags a {
display: inline-block;
vertical-align: baseline;
line-height: 1;
border-radius: 0.3rem;
transition: background .1s ease;
cursor: pointer;
background-color: #e0e0e0;
margin: 0 .5em .5em 0 !important;
padding: 0.5rem 0.8rem;
color: #999999;
opacity: 0.8;
}
.tag-container-outer .tags a:hover {
color: #666666;
opacity: 1;
}
.tag-container-outer .tags a > .detail {
display: inline-block;
vertical-align: top;
font-weight: 400;
margin-left: 1em;
opacity: .8
}
/*********************************/
.manual-body {
margin-top: 53px;
}
.manual-body .page-left {
position: fixed;
overflow: auto;
top: 50px;
bottom: 0;
z-index: 100;
width: 199px;
background-color: #f5f5f5;
border-right: 1px solid #eaeaea
}
.manual-body .page-left .menu {
padding: 18px 0
}
.manual-body .page-left .menu li {
height: 36px;
line-height: 0
}
.manual-body .page-left .menu .item {
display: block;
padding: 8px 24px;
color: #666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
line-height: 20px;
-webkit-line-clamp: 2;
text-decoration: none;
}
.manual-body .page-left .menu .item:hover {
background-color: #eee;
text-decoration: none;
}
.manual-body .page-left .menu a:visited {
text-decoration: none;
}
.manual-body .page-left .menu li.active .item {
background-color: #DDB;
}
.manual-body .page-right {
padding: 15px;
margin-left: 200px;
/*min-width: 400px;*/
}
.manual-body .page-right .box-head {
border-bottom: 1px solid #DDDDD9;
}
.m-box .box-head .box-title {
display: inline-block;
height: 36px;
line-height: 36px;
padding-bottom: 3px;
border-bottom: 2px solid #44B035;
margin-bottom: -1px;
min-width: 80px;
font-weight: 200;
font-size: 18px;
}
.manual-body .page-right .box-body {
padding: 12px 0;
position: relative;
}
.manual-body .page-right .box-body label {
font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
color: #222222;
font-weight: 400;
}
.manual-body .page-right .box-body .form-right {
position: absolute;
right: 0;
top: 34px
}
/*************网站首页******************/
.manual-list {
margin: 15px auto;
}
.manual-list .list-item {
float: left;
padding-left: 15px;
padding-right: 15px;
margin: 18px 0;
height: 280px
}
.manual-list .list-item .manual-item-standard {
float: left;
width: 163px;
line-height: 1.5em;
position: relative;
}
.manual-list .list-item .manual-item-standard > dt {
margin-bottom: 6px;
height: 231px;
position: relative;
}
.manual-list .list-item .manual-item-standard > dt > a {
display: block;
position: relative;
width: 100%;
}
.manual-list .list-item .manual-item-standard > dt > a .image {
position: relative;
/*display: none;*/
}
.manual-list .list-item .manual-item-standard .cover {
border: none;
width: 171px;
position: relative;
display: inline-block;
height: 229px;
background-color: #eee;
border-radius: 2px;
box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
}
.manual-list .list-item .manual-item-standard .b-cover:hover {
border-color: #4db559;
box-shadow: 0 0 4px rgba(77,181,89,.7)
}
.manual-list .list-item .manual-item-standard a.name {
vertical-align: top;
word-wrap: normal;
font-size: 16px;
color: #666;
display: inline-block;
max-width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden
}
.manual-list .list-item .manual-item-standard a.name:hover {
color: #333333;
}
.manual-list .list-item .manual-item-standard .author {
zoom: 1;
vertical-align: top;
display: inline-block;
height: 20px;
line-height: 20px;
color: #484848;
font-size: 13px;
}
.manual-list .list-item .manual-item-standard .author > .text {
font-weight: 200;
color: #484848;
}
/*************文档列表******************/
.book-list .list-item {
display: block;
width: 100%;
margin: 0;
border-bottom: 1px solid #dddddd;
padding: 15px 10px;
}
.book-list .list-item:hover {
background: #eaeaea;
}
.book-list .list-item a {
color: #666666;
font-size: 16px;
text-decoration: none;
margin-bottom: 5px;
}
.book-list .list-item .pull-right a {
font-size: 12px;
}
.book-list .list-item a:hover {
text-decoration: none;
color: #428bca;
}
.book-list .list-item .desc-text {
font-size: 14px;
line-height: 205%;
text-indent: 2em;
margin: 5px;
color: #666;
height: 91px;
overflow: hidden;
cursor: pointer;
}
@media (max-width: 768px) {
.book-list .list-item .desc-text {
height: auto;
max-height: 91px;
}
.book-list .list-item .btns {
display: none
}
.book-list.book-star .list-item .btns {
display: block
}
.box-head button {
display: none
}
.book-title {
padding: 5px 0;
}
}
.book-list .list-item .info {
font-size: 12px;
color: #999999;
}
.book-list .list-item .info span {
display: inline-block;
padding-right: 10px;
}
.book-list.book-star .list-item .btns {
display: none;
}
.book-list.book-star .list-item:hover .btns {
display: block;
position: absolute;
right: 0;
top: 0;
}
.book-list .list-item .btns .btn-group {
position: relative;
top: -3px;
}
.book-list .list-item .btns .btn-group .btn {
padding: 7px 12px;
}
/************文档概述*****************/
.dashboard {
}
.dashboard .list {
zoom: 1;
line-height: 35px;
}
.dashboard .summary {
margin-top: 15px;
}
/************文档成员*************************/
.users-list .list-item {
padding: 12px;
border-bottom: 1px dotted #EEE;
}
.users-list .list-item:hover {
background-color: #F9F9F9
}
.users-list .list-item .operate {
float: right;
}
/* 以下是Bookstack的修正样式 */
.navbar {
min-height: 60px;
margin-bottom:0px;
}
.navbar-brand {
padding-left: 0px;
height: 58px;
line-height: 58px;
padding: 0px;
margin: 0 20px 0 20px;
font-weight:bolder;
}
a {
color: #333
}
.mgt-15px {
margin-top: 15px;
}
.mgr-15px {
margin-right: 15px;
}
.mgb-15px {
margin-bottom: 15px;
}
.text-danger {
color: red;
}
.none-listyle {
list-style: none;
padding: 0px;
}
.btn-group.dropdown-menu-right.pull-right.slidebar.visible-xs-inline-block.visible-sm-inline-block {
margin-top: 12px;
margin-right: 0;
}
.navbar-nav > li.active a {
background-color: #EFEFEF;
color: #06f;
padding-bottom: 16px;
}
.navbar-nav > li > a {
font-size: 15px;
line-height: 28px;
}
.manual-list .list-item .manual-item-standard .cover {
box-shadow: none;
}
.manual-list {
padding-top: 15px;
}
.manual-list .manual-item-standard dd a {
display: -webkit-box;
margin-top: 10px;
-webkit-line-clamp: 2;
line-height: 180%;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
/* margin-bottom: 30px; */
height: 45px;
}
.border {
border: 1px solid #efefef;
}
.border-cover-img {
box-shadow: 0px 1px 3px rgba(0,0,0,.2);
border-radius: 4px;
}
.navbar-brand > img.logo {
height: 45px;
margin-top: -7px;
}
.friend-links a {
margin-right: 8px;
}
.book-title {
line-height: 200%;
}
.indent2 {
text-indent: 2em;
}
.bookstack-labels a {
margin-right: 10px;
}
.qrcode-pay {
max-width: 100%;
cursor: pointer;
}
.footer {
margin-top: 45px;
line-height: 1.7;
}
.footer .container .row {
border-top: 1px solid #dddddd;
padding-top: 30px;
padding-bottom: 30px;
}
.footer a {
display: inline-block;
}
.friend-links .text-muted {
margin-right: 5px;
}
.manual-body .page-right .box-body .form-right {
position: unset;
}
.pull-right-sort {
margin-top: -15px;
}
@media (max-width: 768px) {
.manual-body .page-left {
display: none
}
.manual-body .page-right {
margin-left: 0px;
}
.manual-body .page-right .box-body {
margin-right: 0px;
}
}
.login-by-third a {
border: 1px solid #ddd;
padding: 3px;
border-radius: 50%;
overflow: hidden;
margin-right: 8px;
display: inline-block
}
.login-by-third img {
width: 35px;
height: 35px;
border-radius: 50%;
}
.single-search .search-form {
margin: 150px auto;
}
.search-form .input-group-addon {
cursor: pointer !important;
background-color: transparent;
}
.search-form .input-group input {
border-right: 0;
}
.icon-category {
border-radius: 50%;
width: 50px;
height: 50px;
border: 1px solid #EFEFEF;
}
.icon-category-small {
border-radius: 50%;
width: 34px;
height: 34px;
border: 1px solid #EFEFEF;
}
.category-manager .input-group-addon {
background-color: transparent;
border-color: transparent;
}
.category-manager .form-control {
border-radius: 4px !important;
}
.category-manager .icon-category-small {
cursor: pointer;
}
.category-manager .fa-minus-circle {
cursor: pointer;
font-size: 20px;
}
.category-manager .fa-plus-circle {
cursor: pointer;
font-size: 20px;
color: #5cb85c;
}
.category-manager [name=sort] {
width: 70px !important;
}
.category-manager [name=title] {
width: 150px !important;
}
.category-manager [name=intro] {
min-width: 200px !important;
}
.row-cate {
margin-top: 35px;
margin-bottom: 15px;
border: 1px solid red;
height: 40px;
overflow: hidden;
}
.row-cate .text-muted {
margin-right: 15px;
}
.row-cate a {
display: inline-block;
padding: 7px 18px;
border-radius: 4px;
border: 1px solid transparent;
margin-bottom: 10px;
text-decoration: none;
}
.row-cate a:hover, .row-cate a.active {
color: #009a61;
border: 1px solid #efefef;
font-weight: 400;
}
.row-cate-sub a {
display: inline-block;
text-align: center;
}
.row-cate-sub a img {
width: 60px;
height: 60px;
border-radius: 4px;
}
.cate-list {
margin-top: 75px;
}
.cate-list .panel-recommend .pull-right {
position: relative;
top: 3px;
color: #06f;
}
.cate-list .panel-recommend .panel-body {
padding: 15px 9px;
}
.cate-list .panel-recommend .panel-body a .help-block {
font-size: 12px;
height: 35px;
overflow: hidden;
margin-bottom: 0px;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.cate-list .panel-recommend .panel-body img {
width: auto;
height: auto;
border-radius: 3px;
}
.cate-list .panel-recommend .panel-body .col-md-1 {
padding: 5px;
}
.cate-list .panel-default > .panel-heading {
border-color: transparent;
}
.cate-list .panel {
box-shadow: none;
}
.cate-list .panel-default {
border: 0px;
margin-bottom: 0px;
}
.cate-list .panel-body {
padding-left: 7px;
padding-right: 7px;
padding-top: 0px;
}
.cate-list .panel-body img {
width: 50px;
height: 50px;
border: 1px solid rgba(0,0,0,.08);
border-radius: 50%;
background-color: #fff;
}
.cate-list .panel-body .cate-item {
margin-top: 15px;
border: 1px solid rgba(0,0,0,.08);
padding-left: 0px;
padding-right: 15px;
padding: 10px;
border-radius: 4px;
cursor: pointer
}
.cate-list .panel-body .cate-item:hover {
background-color: rgba(0,0,0,.08);
}
.cate-list .panel-body .col-xs-12 {
padding-left: 8px;
padding-right: 8px;
}
.cate-list .cate-item > a {
display: inline-block;
float: left;
}
.cate-list .cate-item > div {
display: inline-block;
width: 100%;
}
.cate-list .cate-item > div a.pull-left {
margin-right: 10px;
margin-top: 0px
}
.cate-list .cate-item > div a {
font-weight: bold;
font-size: 16px;
margin-top: 5px;
}
.cate-list .cate-item .help-block {
margin-bottom: 0px;
font-size: 13px;
height: 20px;
line-height: 20px;
overflow: hidden;
text-overflow: ellipsis;
}
#bookEditForm .panel-title {
font-weight: normal;
}
#bookEditForm input[type=checkbox], #bookEditForm input[type=radio] {
margin-top: 0px;
margin-right: 3px;
}
#bookEditForm .panel-body label {
margin-right: 8px;
}
#bookEditForm .panel-body {
padding-bottom: 8px;
}
#bookEditForm .panel {
margin-bottom: 8px;
}
.nopadding {
padding: 0px !important;
}
.recommend-book:before {
content: url("../images/recommend-red.png?t=1");
position: absolute;
top: 5px;
left: 22px;
}
@media(min-width: 1200px) {
.manual-list .recommend-book:before {
left: 35px;
}
.manual-list .pin-book:after {
left: 35px;
}
}
.bookstack-info .recommend-book:before {
top: 22px;
}
.book-metadata {
font-size: 20px;
color: #343434;
font-weight: normal;
border-bottom: 0 !important;
}
.book-metadata small {
font-size: 14px;
color: #888;
margin-right: 15px;
}
.book-list .recommend-book:before, .ucenter .recommend-book:before {
left: 7px;
}
.manual-header .nav > li > a:focus, .manual-header .nav > li > a:hover {
padding-bottom: 16px !important;
}
.search-result .search-form {
margin: 10px 0px;
}
.result-list ul, .result-list li.clearfix {
list-style: none;
padding: 0px;
}
.result-list li.clearfix img {
width: 80%;
}
.result-list li.clearfix {
margin: 20px 0px;
border-bottom: 1px dashed #EFEFEF;
line-height: 180%;
}
.result-list li.clearfix h4 {
margin-top: 0px;
}
.result-list .book-info {
font-size: 12px;
}
.result-list .book-info span {
margin-right: 5px;
}
.result-list .book-description {
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
height: 75px;
margin-bottom: 20px;
color: #888888;
}
.search-result .doc-result li > .col-xs-12 {
padding-left: 0px;
}
.search-result .doc-result .book-description {
height: auto;
max-height: 75px;
}
.pin-book:after {
content: url(../images/pin.png);
position: absolute;
left: 19px;
top: 5px;
}
.lang-explore .text-muted {
color: #999;
}
.lang-explore a {
margin: 0 5px;
}
.lang-explore a.active {
color: #06f
}
.text-red {
color: red !important;
}
.category-index {
padding-right: 0;
}
.category-index .panel-body {
border: 1px solid #f1f2f3;
padding: 0;
background-color: #ffffff;
overflow-y: auto;
}
.category-index ul, .category-index li {
padding: 0;
list-style: none;
margin: 0
}
.category-index li > a {
display: block;
line-height: 40px;
box-sizing: border-box;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border-bottom: 1px solid #f1f2f3;
text-decoration: none;
padding: 0 15px;
}
.category-index li > a:hover {
background-color: #f8f8f8;
}
.category-index li > a.active, .category-index li > a:hover {
color: #f44336;
}
.category-index li > a:last-of-type {
border-bottom: 0
}
.category-index.fixed {
position: fixed;
z-index: 999;
top: 50px;
bottom: 0;
}
.category-index .panel-default.fixed {
position: fixed;
top: 70px;
z-index: 999;
}
@media (max-width: 768px) {
.ucenter-content li .col-xs-3 {
padding-right: 0
}
}
.cate-intro {
border: 1px dashed #ccc;
margin: 0 0 15px 0;
padding: 5px 10px;
box-sizing: border-box;
color: #787878
}
.color-red {
color: #f44336 !important;
}
.sub-nav {
position: fixed;
width: 100%;
height: 45px;
line-height: 45px;
top: 52px;
background-color: #ffffff;
border-bottom: 1px solid #EFEFEF;
box-sizing: border-box;
z-index: 999;
}
.sub-nav .active a {
color: #06f;
background-color: #EFEFEF;
}
.sub-nav ul, .sub-nav li {
list-style: none;
padding: 0;
margin: 0;
display: inline-block
}
.sub-nav ul {
display: block
}
.sub-nav a {
display: inline-block;
padding: 0 13px;
font-size: 13px;
}
.panel {
box-shadow: none;
border-radius: 0
}
.carousel {
margin-bottom: 15px;
border-radius: 5px;
overflow: hidden;
}
.carousel-inner > .item > img {
width: 100%;
}
.carousel-control .fa {
top: 46%;
font-size: 30px;
position: relative;
}
.carousel-indicators {
bottom: 40px;
}
.carousel-indicators li {
width: 12px;
height: 12px;
margin: 0 2px;
}
.carousel-caption {
padding-bottom: 0px;
bottom: 15px;
font-size: 20px;
}
.backtop {
position: fixed;
bottom: 50px;
right: 50px;
z-index: 9999;
width: 45px;
height: 45px;
text-align: center;
border: 1px solid #ddd;
font-size: 20px;
line-height: 40px;
border-radius: 4px;
cursor: pointer;
background-color: #fff;
}
.backtop:hover {
background-color: #dddddd;
color: #10af88;
}
.wait2del > div {
margin-bottom: 15px;
}
.wait2del ul {
padding-left: 15px;
}
.wait2del label {
font-weight: normal;
}
.relate-as {
list-style: none;
padding: 0;
margin: 0;
}
.relate-as a {
display: block;
height: 38px;
line-height: 38px;
overflow: hidden;
text-overflow: ellipsis;
border-bottom: 1px dashed #efefef;
}
.relate-as a:hover {
background-color: #efefef;
}
.lang-explore {
font-size: 15px;
line-height: 220%;
}
.result-list li.course-result img {
padding-right: 0 !important;
width: 100%;
}
.result-list li.course-result .book-description {
height: 45px;
}
/* --------------------- 宽屏样式 ------------------- */
@media(min-width: 1200px) {
.container-widescreen .manual-list .col-md-2 {
width: 12.5%;
}
.course-page .container-widescreen .manual-list .col-md-2 {
width: 16.66666667%;
}
.container-widescreen .manual-list .border-cover-img {
margin: 0 auto;
}
/* 标题宽度,要跟封面最大宽度一致 */
.manual-list .manual-item-standard dd a {
max-width: 175px;
margin: 15px auto 30px;
}
.course-page .manual-list .manual-item-standard dd a {
max-width: 100%;
margin: 10px auto 20px;
}
.container-widescreen .book-list .list-item a {
font-size: 20px;
line-height: 200%;
}
.container-widescreen .book-list .list-item .info {
font-size: 14px;
}
.container-widescreen .book-list .list-item .desc-text {
font-size: 16px;
}
.container-widescreen .book-list .list-item a.btn {
font-size: unset;
line-height: 178%;
}
.container-widescreen .result-list .clearfix a {
display: inline-block;
margin-bottom: 5px;
}
}
.related-source dl.manual-item-standard {
max-width: 175px;
margin: 0 auto 15px;
}
.subbookname > span {
display: inline-block;
}
.bookstack-info .btn {
border-radius: 4px !important;
border: 0;
margin-right: 15px;
}
.bookstack-info .btn-group-lg {
border-radius: 4px !important;
}
.bookstack-info .btn-group-lg .btn {
border: 0;
}
.bookstack-info .btn-group-lg .btn.btn-primary {
cursor: default;
}
.mgl-10px {
margin-left: 10px;
}
h1 em {
font-style: normal;
}
/* h1 .share{margin-left: 30px;} */
h1 .share a {
display: inline-block;
margin-left: 8px;
border-radius: 3px;
}
@media (max-width: 768px) {
.manual-list {
margin: 15px auto 0;
padding: 0 10px;
}
.manual-list .col-xs-3, .related-source .col-xs-3 {
padding: 5px;
font-size: 12px;
}
.manual-list dl {
margin-bottom: 10px;
}
.manual-list .border-cover-img {
box-shadow: none;
border-radius: 3px;
border: 1px solid rgba(0,0,0,.08);
}
.recommend-book::before, .pin-book::after {
left: 10px !important;
}
.relate-bookname {
height: 35px !important;
}
.related-source dl.manual-item-standard {
margin-bottom: 0;
}
}
.related-source .border-cover-img {
box-shadow: none;
border-radius: 3px;
border: 1px solid rgba(0,0,0,.08);
}
.related-source {
padding: 0 5px;
}
.bootstrap-select .dropdown-menu.inner {
max-height: 300px;
}
/*****************************************************/
.lyear-arc-title {
font-weight: 500;
line-height: 1.7;
}
.lyear-arc-meta {
list-style: none;
padding: 0;
margin: 0;
opacity: .7;
}
.lyear-arc-meta > li {
display: inline-block;
margin-right: 30px;
}