Code cosmetics
This commit is contained in:
parent
2d92818613
commit
ce6b689147
|
@ -9,7 +9,7 @@
|
|||
.sm2-progress .sm2-progress-ball {
|
||||
width: 0.5333em;
|
||||
height: 1.9333em;
|
||||
border-radius: 0em;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.sm2-progress .sm2-progress-track {
|
||||
|
@ -36,7 +36,7 @@ color: white;
|
|||
|
||||
body {
|
||||
overflow: hidden;
|
||||
background: #272B30;
|
||||
background: #272b30;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,7 @@ width: 80%;
|
|||
height: 80%;
|
||||
margin: 5% auto;
|
||||
max-width: 1250px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#area iframe {
|
||||
|
@ -74,10 +75,6 @@ white-space: pre;
|
|||
margin: 1em 0;
|
||||
}
|
||||
|
||||
#area {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
|
|
|
@ -99,12 +99,14 @@ body {
|
|||
border: none;
|
||||
}
|
||||
|
||||
#left, #prev {
|
||||
#left,
|
||||
#prev {
|
||||
left: 40px;
|
||||
padding-right: 80px;
|
||||
}
|
||||
|
||||
#right,#next {
|
||||
#right,
|
||||
#next {
|
||||
right: 40px;
|
||||
padding-left: 80px;
|
||||
}
|
||||
|
@ -179,10 +181,10 @@ body {
|
|||
width: 100%;
|
||||
padding: 13px 0;
|
||||
height: 14px;
|
||||
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.6);
|
||||
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.6);
|
||||
-ms-box-shadow: 0px 1px 3px rgba(0,0,0,.6);
|
||||
box-shadow: 0px 1px 3px rgba(0,0,0,.6);
|
||||
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
|
||||
-ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
#opener {
|
||||
|
@ -209,16 +211,16 @@ body {
|
|||
}
|
||||
|
||||
#panels a::before { visibility: visible; }
|
||||
#panels a:hover { color: #AAA; }
|
||||
#panels a:hover { color: #aaa; }
|
||||
|
||||
#panels a:active {
|
||||
color: #AAA;
|
||||
color: #aaa;
|
||||
margin: 1px 0 -1px 6px;
|
||||
}
|
||||
|
||||
#panels a.active,
|
||||
#panels a.active:hover {
|
||||
color: #AAA;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
#searchBox {
|
||||
|
@ -266,9 +268,9 @@ input:-ms-placeholder { color: #454545; }
|
|||
width: 25%;
|
||||
height: 100%;
|
||||
visibility: hidden;
|
||||
-webkit-transition: visibility 0 ease .5s;
|
||||
-moz-transition: visibility 0 ease .5s;
|
||||
-ms-transition: visibility 0 ease .5s;
|
||||
-webkit-transition: visibility 0 ease 0.5s;
|
||||
-moz-transition: visibility 0 ease 0.5s;
|
||||
-ms-transition: visibility 0 ease 0.5s;
|
||||
}
|
||||
|
||||
#sidebar.open #tocView,
|
||||
|
@ -308,7 +310,7 @@ input:-ms-placeholder { color: #454545; }
|
|||
}
|
||||
|
||||
.list_item a {
|
||||
color: #AAA;
|
||||
color: #aaa;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
@ -317,7 +319,7 @@ input:-ms-placeholder { color: #454545; }
|
|||
}
|
||||
|
||||
.list_item a.section {
|
||||
font-size: .8em;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.list_item.currentChapter > a,
|
||||
|
@ -327,7 +329,7 @@ input:-ms-placeholder { color: #454545; }
|
|||
|
||||
/* #tocView li.openChapter > a, */
|
||||
.list_item a:hover {
|
||||
color: #E2E2E2;
|
||||
color: #e2e2e2;
|
||||
}
|
||||
|
||||
.list_item ul {
|
||||
|
@ -388,7 +390,7 @@ input:-ms-placeholder { color: #454545; }
|
|||
}
|
||||
|
||||
#searchResults a {
|
||||
color: #AAA;
|
||||
color: #aaa;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
@ -404,11 +406,11 @@ input:-ms-placeholder { color: #454545; }
|
|||
}
|
||||
|
||||
#searchResults li > p {
|
||||
color: #AAA;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
#searchResults li a:hover {
|
||||
color: #E2E2E2;
|
||||
color: #e2e2e2;
|
||||
}
|
||||
|
||||
#searchView.shown {
|
||||
|
@ -453,7 +455,7 @@ input:-ms-placeholder { color: #454545; }
|
|||
}
|
||||
|
||||
#note-text[disabled], #note-text[disabled="disabled"]{
|
||||
opacity: .5;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#note-anchor {
|
||||
|
@ -780,23 +782,18 @@ and (orientation : landscape)
|
|||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: none;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: 0.2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
font-size: 112%;
|
||||
}
|
||||
|
||||
|
||||
.icon-search:before { content: '\e807'; } /* '' */
|
||||
.icon-resize-full-1:before { content: '\e804'; } /* '' */
|
||||
.icon-cancel-circled2:before { content: '\e80f'; } /* '' */
|
||||
|
|
|
@ -4,10 +4,11 @@
|
|||
font-family: Open Sans Semibold,Helvetica Neue,Helvetica,Arial,sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
padding: 3px 10px;border-radius: 4px;
|
||||
padding: 3px 10px;
|
||||
border-radius: 4px;
|
||||
background-color: #fff;
|
||||
-webkit-box-shadow: 0 4px 10px 0 rgba(0,0,0,.35);
|
||||
box-shadow: 0 4px 10px 0 rgba(0,0,0,.35);
|
||||
-webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
|
||||
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
|
||||
opacity: 1;
|
||||
white-space: nowrap;
|
||||
margin-top: -16px !important;
|
||||
|
@ -40,20 +41,22 @@ html.http-error {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
body { background: #f2f2f2; }
|
||||
body {
|
||||
background: #f2f2f2;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
body h2 {
|
||||
font-weight: normal;
|
||||
color:#444;
|
||||
}
|
||||
|
||||
body { margin-bottom: 40px; }
|
||||
a { color: #45b29d; }
|
||||
|
||||
.navigation .nav-head {
|
||||
text-transform: uppercase;
|
||||
color: #999;
|
||||
margin: 20px 0
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.navigation .nav-head:nth-child(1n+2) {
|
||||
|
@ -117,8 +120,18 @@ a { color: #45b29d; }
|
|||
|
||||
.container-fluid .book .meta { margin-top: 10px; }
|
||||
.container-fluid .book .meta p { margin: 0; }
|
||||
.container-fluid .book .meta .title { font-weight:bold; font-size: 15px;color: #444; }
|
||||
.container-fluid .book .meta .author { font-size: 12px;color:#999; }
|
||||
|
||||
.container-fluid .book .meta .title {
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.container-fluid .book .meta .author {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.container-fluid .book .meta .rating { margin-top: 5px; }
|
||||
.rating .glyphicon-star { color: #999; }
|
||||
.rating .glyphicon-star.good { color: #45b29d; }
|
||||
|
@ -239,22 +252,35 @@ input.pill:not(:checked) + label .glyphicon { display: none; }
|
|||
|
||||
.media-list { padding-right: 15px; }
|
||||
.media-body p { text-align: justify; }
|
||||
#meta-info img { max-height: 150px; max-width: 100px; cursor: pointer; }
|
||||
|
||||
#meta-info img {
|
||||
max-height: 150px;
|
||||
max-width: 100px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.padded-bottom { margin-bottom: 15px; }
|
||||
.upload-format-input-text { display: initial; }
|
||||
#btn-upload-format { display: none; }
|
||||
.upload-cover-input-text { display: initial; }
|
||||
#btn-upload-cover { display: none; }
|
||||
.panel-title > a { text-decoration: none; }
|
||||
.editable-buttons {
|
||||
display:inline-block;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.editable-buttons { display:inline-block; margin-left: 7px ;}
|
||||
.editable-input { display:inline-block; }
|
||||
.editable-cancel { margin-bottom: 0px !important; margin-left: 7px !important; }
|
||||
|
||||
.editable-cancel {
|
||||
margin-bottom: 0px !important;
|
||||
margin-left: 7px !important;
|
||||
}
|
||||
|
||||
.editable-submit { margin-bottom: 0px !important; }
|
||||
|
||||
.filterheader { margin-bottom: 20px; }
|
||||
|
||||
.errorlink { margin-top: 20px; }
|
||||
|
||||
.modal-body .comments {
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
|
|
Loading…
Reference in New Issue
Block a user