Code cosmetics

pull/1335/head
Ozzieisaacs 5 years ago
parent 2d92818613
commit ce6b689147

@ -9,7 +9,7 @@
.sm2-progress .sm2-progress-ball { .sm2-progress .sm2-progress-ball {
width: 0.5333em; width: 0.5333em;
height: 1.9333em; height: 1.9333em;
border-radius: 0em; border-radius: 0;
} }
.sm2-progress .sm2-progress-track { .sm2-progress .sm2-progress-track {
@ -19,74 +19,71 @@
.sm2-bar-ui .sm2-main-controls, .sm2-bar-ui .sm2-main-controls,
.sm2-bar-ui .sm2-playlist-drawer { .sm2-bar-ui .sm2-playlist-drawer {
background-color: transparent; background-color: transparent;
} }
.sm2-bar-ui .sm2-inline-texture { .sm2-bar-ui .sm2-inline-texture {
background: transparent; background: transparent;
} }
.rating .glyphicon-star { .rating .glyphicon-star {
color: gray; color: gray;
} }
.rating .glyphicon-star.good { .rating .glyphicon-star.good {
color: white; color: white;
} }
body { body {
overflow: hidden; overflow: hidden;
background: #272B30; background: #272b30;
color: #aaa; color: #aaa;
} }
#main { #main {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
#area { #area {
width: 80%; width: 80%;
height: 80%; height: 80%;
margin: 5% auto; margin: 5% auto;
max-width: 1250px; max-width: 1250px;
overflow: hidden;
} }
#area iframe { #area iframe {
border: none; border: none;
} }
#prev { #prev {
left: 40px; left: 40px;
} }
#next { #next {
right: 40px; right: 40px;
} }
xmp, xmp,
pre, pre,
plaintext { plaintext {
display: block; display: block;
font-family: -moz-fixed; font-family: -moz-fixed;
white-space: pre; white-space: pre;
margin: 1em 0; margin: 1em 0;
}
#area {
overflow: hidden;
} }
pre { pre {
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: break-word; word-wrap: break-word;
font-family: -moz-fixed; font-family: -moz-fixed;
column-count: 2; column-count: 2;
-webkit-columns: 2; -webkit-columns: 2;
-moz-columns: 2; -moz-columns: 2;
column-gap: 20px; column-gap: 20px;
-moz-column-gap: 20px; -moz-column-gap: 20px;
-webkit-column-gap: 20px; -webkit-column-gap: 20px;
position: relative; position: relative;
} }

@ -99,12 +99,14 @@ body {
border: none; border: none;
} }
#left, #prev { #left,
#prev {
left: 40px; left: 40px;
padding-right: 80px; padding-right: 80px;
} }
#right,#next { #right,
#next {
right: 40px; right: 40px;
padding-left: 80px; padding-left: 80px;
} }
@ -179,10 +181,10 @@ body {
width: 100%; width: 100%;
padding: 13px 0; padding: 13px 0;
height: 14px; height: 14px;
-moz-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: 0px 1px 3px rgba(0,0,0,.6); -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
-ms-box-shadow: 0px 1px 3px rgba(0,0,0,.6); -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
box-shadow: 0px 1px 3px rgba(0,0,0,.6); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
} }
#opener { #opener {
@ -209,16 +211,16 @@ body {
} }
#panels a::before { visibility: visible; } #panels a::before { visibility: visible; }
#panels a:hover { color: #AAA; } #panels a:hover { color: #aaa; }
#panels a:active { #panels a:active {
color: #AAA; color: #aaa;
margin: 1px 0 -1px 6px; margin: 1px 0 -1px 6px;
} }
#panels a.active, #panels a.active,
#panels a.active:hover { #panels a.active:hover {
color: #AAA; color: #aaa;
} }
#searchBox { #searchBox {
@ -266,9 +268,9 @@ input:-ms-placeholder { color: #454545; }
width: 25%; width: 25%;
height: 100%; height: 100%;
visibility: hidden; visibility: hidden;
-webkit-transition: visibility 0 ease .5s; -webkit-transition: visibility 0 ease 0.5s;
-moz-transition: visibility 0 ease .5s; -moz-transition: visibility 0 ease 0.5s;
-ms-transition: visibility 0 ease .5s; -ms-transition: visibility 0 ease 0.5s;
} }
#sidebar.open #tocView, #sidebar.open #tocView,
@ -308,7 +310,7 @@ input:-ms-placeholder { color: #454545; }
} }
.list_item a { .list_item a {
color: #AAA; color: #aaa;
text-decoration: none; text-decoration: none;
} }
@ -317,7 +319,7 @@ input:-ms-placeholder { color: #454545; }
} }
.list_item a.section { .list_item a.section {
font-size: .8em; font-size: 0.8em;
} }
.list_item.currentChapter > a, .list_item.currentChapter > a,
@ -327,7 +329,7 @@ input:-ms-placeholder { color: #454545; }
/* #tocView li.openChapter > a, */ /* #tocView li.openChapter > a, */
.list_item a:hover { .list_item a:hover {
color: #E2E2E2; color: #e2e2e2;
} }
.list_item ul { .list_item ul {
@ -388,7 +390,7 @@ input:-ms-placeholder { color: #454545; }
} }
#searchResults a { #searchResults a {
color: #AAA; color: #aaa;
text-decoration: none; text-decoration: none;
} }
@ -404,11 +406,11 @@ input:-ms-placeholder { color: #454545; }
} }
#searchResults li > p { #searchResults li > p {
color: #AAA; color: #aaa;
} }
#searchResults li a:hover { #searchResults li a:hover {
color: #E2E2E2; color: #e2e2e2;
} }
#searchView.shown { #searchView.shown {
@ -453,7 +455,7 @@ input:-ms-placeholder { color: #454545; }
} }
#note-text[disabled], #note-text[disabled="disabled"]{ #note-text[disabled], #note-text[disabled="disabled"]{
opacity: .5; opacity: 0.5;
} }
#note-anchor { #note-anchor {
@ -513,7 +515,7 @@ input:-ms-placeholder { color: #454545; }
left: 0; left: 0;
z-index: 1000; z-index: 1000;
opacity: 0; opacity: 0;
background: rgba(255,255,255,0.8); background: rgba(255, 255, 255, 0.8);
-webkit-transition: all 0.3s; -webkit-transition: all 0.3s;
-moz-transition: all 0.3s; -moz-transition: all 0.3s;
-ms-transition: all 0.3s; -ms-transition: all 0.3s;
@ -546,7 +548,7 @@ input:-ms-placeholder { color: #454545; }
font-size: 22px; font-size: 22px;
font-weight: 300; font-weight: 300;
opacity: 0.8; opacity: 0.8;
background: rgba(0,0,0,0.1); background: rgba(0, 0, 0, 0.1);
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
} }
@ -780,23 +782,18 @@ and (orientation : landscape)
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
speak: none; speak: none;
display: inline-block; display: inline-block;
text-decoration: inherit; text-decoration: inherit;
width: 1em; width: 1em;
margin-right: 0.2em; margin-right: 0.2em;
text-align: center; text-align: center;
/* opacity: .8; */
/* For safety - reset parent styles, that can break glyph codes*/ /* For safety - reset parent styles, that can break glyph codes*/
font-variant: normal; font-variant: normal;
text-transform: none; text-transform: none;
/* you can be more comfortable with increased icons size */ /* you can be more comfortable with increased icons size */
font-size: 112%; font-size: 112%;
} }
.icon-search:before { content: '\e807'; } /* '' */ .icon-search:before { content: '\e807'; } /* '' */
.icon-resize-full-1:before { content: '\e804'; } /* '' */ .icon-resize-full-1:before { content: '\e804'; } /* '' */
.icon-cancel-circled2:before { content: '\e80f'; } /* '' */ .icon-cancel-circled2:before { content: '\e80f'; } /* '' */

@ -1,97 +1,100 @@
.tooltip.bottom .tooltip-inner { .tooltip.bottom .tooltip-inner {
font-size: 13px; font-size: 13px;
font-family: Open Sans Semibold,Helvetica Neue,Helvetica,Arial,sans-serif; font-family: Open Sans Semibold,Helvetica Neue,Helvetica,Arial,sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
padding: 3px 10px;border-radius: 4px; padding: 3px 10px;
background-color: #fff; border-radius: 4px;
-webkit-box-shadow: 0 4px 10px 0 rgba(0,0,0,.35); background-color: #fff;
box-shadow: 0 4px 10px 0 rgba(0,0,0,.35); -webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
opacity: 1; box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.35);
white-space: nowrap; opacity: 1;
margin-top: -16px!important; white-space: nowrap;
line-height: 1.71428571; margin-top: -16px !important;
color: #ddd; line-height: 1.71428571;
color: #ddd;
} }
@font-face { @font-face {
font-family: 'Grand Hotel'; font-family: 'Grand Hotel';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
src: local('Grand Hotel'), local('GrandHotel-Regular'), url("fonts/GrandHotel-Regular.ttf") format('truetype'); src: local('Grand Hotel'), local('GrandHotel-Regular'), url("fonts/GrandHotel-Regular.ttf") format('truetype');
} }
html.http-error { html.http-error {
margin: 0; margin: 0;
height: 100%; height: 100%;
} }
.http-error body { .http-error body {
margin: 0; margin: 0;
height: 100%; height: 100%;
display: table; display: table;
width: 100%; width: 100%;
} }
.http-error body > div { .http-error body > div {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
text-align: center; text-align: center;
} }
body { background: #f2f2f2; } body {
background: #f2f2f2;
margin-bottom: 40px;
}
body h2 { body h2 {
font-weight: normal; font-weight: normal;
color:#444; color:#444;
} }
body { margin-bottom: 40px; }
a { color: #45b29d; } a { color: #45b29d; }
.navigation .nav-head { .navigation .nav-head {
text-transform: uppercase; text-transform: uppercase;
color: #999; color: #999;
margin: 20px 0 margin: 20px 0;
} }
.navigation .nav-head:nth-child(1n+2) { .navigation .nav-head:nth-child(1n+2) {
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
padding-top: 20px; padding-top: 20px;
} }
.navigation li a { .navigation li a {
color: #444; color: #444;
text-decoration: none; text-decoration: none;
display: block; display: block;
padding: 10px; padding: 10px;
} }
.navigation li a:hover { .navigation li a:hover {
background: rgba(153,153,153,0.4); background: rgba(153, 153, 153, 0.4);
border-radius: 5px; border-radius: 5px;
} }
.navigation li a span { margin-right: 10px; } .navigation li a span { margin-right: 10px; }
.navigation .create-shelf { .navigation .create-shelf {
margin: 30px 0; margin: 30px 0;
font-size: 12px; font-size: 12px;
text-align: center; text-align: center;
} }
.navigation .create-shelf a { .navigation .create-shelf a {
color: #fff; color: #fff;
background: #45b29d; background: #45b29d;
padding: 10px 20px; padding: 10px 20px;
border-radius: 5px; border-radius: 5px;
text-decoration:none; text-decoration: none;
} }
.container-fluid img { .container-fluid img {
display: block; display: block;
max-width: 100%; max-width: 100%;
height:auto; height: auto;
} }
.container-fluid .discover{ margin-bottom: 50px; } .container-fluid .discover{ margin-bottom: 50px; }
@ -100,25 +103,35 @@ a { color: #45b29d; }
.container-fluid .book { margin-top: 20px; } .container-fluid .book { margin-top: 20px; }
.container-fluid .book .cover { .container-fluid .book .cover {
height: 225px; height: 225px;
position: relative; position: relative;
} }
.container-fluid .book .cover img { .container-fluid .book .cover img {
border: 1px solid #fff; border: 1px solid #fff;
box-sizeing: border-box; box-sizeing: border-box;
height:100%; height: 100%;
bottom:0; bottom: 0;
position:absolute; position: absolute;
-webkit-box-shadow: 0 5px 8px -6px #777; -webkit-box-shadow: 0 5px 8px -6px #777;
-moz-box-shadow: 0 5px 8px -6px #777; -moz-box-shadow: 0 5px 8px -6px #777;
box-shadow: 0 5px 8px -6px #777; box-shadow: 0 5px 8px -6px #777;
} }
.container-fluid .book .meta { margin-top: 10px; } .container-fluid .book .meta { margin-top: 10px; }
.container-fluid .book .meta p { margin: 0; } .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; } .container-fluid .book .meta .rating { margin-top: 5px; }
.rating .glyphicon-star { color: #999; } .rating .glyphicon-star { color: #999; }
.rating .glyphicon-star.good { color: #45b29d; } .rating .glyphicon-star.good { color: #45b29d; }
@ -126,24 +139,24 @@ a { color: #45b29d; }
.container-fluid .author .author-hidden, .container-fluid .author .author-hidden-divider { display: none; } .container-fluid .author .author-hidden, .container-fluid .author .author-hidden-divider { display: none; }
.navbar-brand { .navbar-brand {
font-family: 'Grand Hotel', cursive; font-family: 'Grand Hotel', cursive;
font-size: 35px; font-size: 35px;
color: #45b29d !important; color: #45b29d !important;
} }
.more-stuff { .more-stuff {
margin-top: 20px; margin-top: 20px;
padding-top: 20px; padding-top: 20px;
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
} }
.more-stuff>li { margin-bottom: 10px; } .more-stuff>li { margin-bottom: 10px; }
.navbar-collapse.in .navbar-nav { margin: 0; } .navbar-collapse.in .navbar-nav { margin: 0; }
span.glyphicon.glyphicon-tags { span.glyphicon.glyphicon-tags {
padding-right: 5px; padding-right: 5px;
color: #999; color: #999;
vertical-align: text-top; vertical-align: text-top;
} }
.book-meta { padding-bottom: 20px; } .book-meta { padding-bottom: 20px; }
@ -151,11 +164,11 @@ span.glyphicon.glyphicon-tags {
.book-meta .identifiers a { display: inline; } .book-meta .identifiers a { display: inline; }
.container-fluid .single .cover img { .container-fluid .single .cover img {
border: 1px solid #fff; border: 1px solid #fff;
box-sizeing: border-box; box-sizeing: border-box;
-webkit-box-shadow: 0 5px 8px -6px #777; -webkit-box-shadow: 0 5px 8px -6px #777;
-moz-box-shadow: 0 5px 8px -6px #777; -moz-box-shadow: 0 5px 8px -6px #777;
box-shadow: 0 5px 8px -6px #777; box-shadow: 0 5px 8px -6px #777;
} }
.navbar-default .navbar-toggle .icon-bar {background-color: #000; } .navbar-default .navbar-toggle .icon-bar {background-color: #000; }
@ -164,36 +177,36 @@ span.glyphicon.glyphicon-tags {
.cover-height { max-height: 100px;} .cover-height { max-height: 100px;}
.col-sm-2 a .cover-small { .col-sm-2 a .cover-small {
margin:5px; margin: 5px;
max-height: 200px; max-height: 200px;
} }
.btn-file {position: relative; overflow: hidden;} .btn-file {position: relative; overflow: hidden;}
.btn-file input[type=file] { .btn-file input[type=file] {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
min-width: 100%; min-width: 100%;
min-height: 100%; min-height: 100%;
font-size: 100px; font-size: 100px;
text-align: right; text-align: right;
filter: alpha(opacity=0); filter: alpha(opacity=0);
opacity: 0; opacity: 0;
outline: none; outline: none;
background: white; background: white;
cursor: inherit; cursor: inherit;
display: block; display: block;
} }
.btn-toolbar .btn,.discover .btn { margin-bottom: 5px; } .btn-toolbar .btn,.discover .btn { margin-bottom: 5px; }
.button-link {color: #fff; } .button-link {color: #fff; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary{ background-color: #1C5484; } .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary{ background-color: #1C5484; }
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #89B9E2; } .btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #89B9E2; }
.btn-toolbar>.btn+.btn, .btn-toolbar>.btn-group+.btn, .btn-toolbar>.btn+.btn-group, .btn-toolbar>.btn-group+.btn-group { margin-left:0px; } .btn-toolbar>.btn+.btn, .btn-toolbar>.btn-group+.btn, .btn-toolbar>.btn+.btn-group, .btn-toolbar>.btn-group+.btn-group { margin-left: 0px; }
.panel-body {background-color: #f5f5f5; } .panel-body {background-color: #f5f5f5; }
.spinner {margin:0 41%; } .spinner {margin: 0 41%; }
.spinner2 {margin:0 41%; } .spinner2 {margin: 0 41%; }
table .bg-dark-danger {background-color: #d9534f; color: #fff; } table .bg-dark-danger {background-color: #d9534f; color: #fff; }
table .bg-dark-danger a {color: #fff; } table .bg-dark-danger a {color: #fff; }
@ -206,58 +219,71 @@ table .bg-primary a {color: #fff; }
input.pill { position: absolute; opacity: 0; } input.pill { position: absolute; opacity: 0; }
input.pill + label { input.pill + label {
border: 2px solid #45b29d; border: 2px solid #45b29d;
border-radius: 15px; border-radius: 15px;
color: #45b29d; color: #45b29d;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
padding: 3px 15px; padding: 3px 15px;
user-select: none; user-select: none;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
input.pill:checked + label { input.pill:checked + label {
background-color: #45b29d; background-color: #45b29d;
border-color: #fff; border-color: #fff;
color: #fff; color: #fff;
} }
input.pill:not(:checked) + label .glyphicon { display: none; } input.pill:not(:checked) + label .glyphicon { display: none; }
.author-bio img {margin: 0 1em 1em 0;} .author-bio img { margin: 0 1em 1em 0; }
.author-link {display: inline-block; margin-top: 10px; width: 100px; } .author-link { display: inline-block; margin-top: 10px; width: 100px; }
.author-link img {display: block; height: 100%; } .author-link img { display: block; height: 100%; }
#remove-from-shelves .btn, #shelf-action-errors { margin-left: 5px; } #remove-from-shelves .btn, #shelf-action-errors { margin-left: 5px; }
.tags_click, .serie_click, .language_click {margin-right: 5px; } .tags_click, .serie_click, .language_click { margin-right: 5px; }
#meta-info { #meta-info {
height:600px; height: 600px;
overflow-y:scroll; overflow-y: scroll;
} }
.media-list { padding-right:15px; } .media-list { padding-right: 15px; }
.media-body p { text-align: justify; } .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; } .padded-bottom { margin-bottom: 15px; }
.upload-format-input-text {display: initial;} .upload-format-input-text { display: initial; }
#btn-upload-format {display: none;} #btn-upload-format { display: none; }
.upload-cover-input-text {display: initial; } .upload-cover-input-text { display: initial; }
#btn-upload-cover {display: none; } #btn-upload-cover { display: none; }
.panel-title > a { text-decoration: 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-input { display:inline-block; }
.editable-cancel { margin-bottom: 0px !important; margin-left: 7px !important; }
.editable-submit { margin-bottom: 0px !important; }
.editable-cancel {
margin-bottom: 0px !important;
margin-left: 7px !important;
}
.editable-submit { margin-bottom: 0px !important; }
.filterheader { margin-bottom: 20px; } .filterheader { margin-bottom: 20px; }
.errorlink { margin-top: 20px; }
.errorlink {margin-top: 20px;}
.modal-body .comments { .modal-body .comments {
max-height:300px; max-height: 300px;
overflow-y: auto; overflow-y: auto;
} }
div.log { div.log {

Loading…
Cancel
Save