1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-21 07:30:30 +00:00
calibre-web/cps/static/css/style.css

436 lines
8.6 KiB
CSS
Raw Normal View History

2020-04-27 18:01:13 +00:00
.tooltip.bottom .tooltip-inner {
2020-04-27 18:22:55 +00:00
font-size: 13px;
2021-03-14 12:28:52 +00:00
font-family: Open Sans Semibold, Helvetica Neue, Helvetica, Arial, sans-serif;
2020-04-27 18:22:55 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
padding: 3px 10px;
border-radius: 4px;
background-color: #fff;
-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;
line-height: 1.71428571;
color: #ddd;
2020-04-27 18:01:13 +00:00
}
2016-07-20 02:41:04 +00:00
@font-face {
2020-04-27 18:22:55 +00:00
font-family: 'Grand Hotel';
font-style: normal;
font-weight: 400;
src: local('Grand Hotel'), local('GrandHotel-Regular'), url("fonts/GrandHotel-Regular.ttf") format('truetype');
2016-07-20 02:41:04 +00:00
}
2018-10-01 08:35:13 +00:00
html.http-error {
2020-04-27 18:22:55 +00:00
margin: 0;
height: 100%;
2018-10-01 08:35:13 +00:00
}
2020-04-27 18:01:13 +00:00
2021-03-14 14:29:34 +00:00
body {
background: #f2f2f2;
margin-bottom: 40px;
}
2018-10-01 08:35:13 +00:00
.http-error body {
2020-04-27 18:22:55 +00:00
margin: 0;
height: 100%;
display: table;
width: 100%;
2018-10-01 08:35:13 +00:00
}
2020-04-27 18:01:13 +00:00
2018-10-01 08:35:13 +00:00
.http-error body > div {
2020-04-27 18:22:55 +00:00
display: table-cell;
vertical-align: middle;
text-align: center;
2020-04-27 18:01:13 +00:00
}
body h2 {
2020-04-27 18:22:55 +00:00
font-weight: normal;
2021-03-14 12:28:52 +00:00
color: #444;
2020-04-27 18:01:13 +00:00
}
2021-03-14 13:05:36 +00:00
a,
.danger,
.book-remove,
.editable-empty,
.editable-empty:hover { color: #45b29d; }
2020-06-11 19:19:09 +00:00
.book-remove:hover { color: #23527c; }
.user-remove:hover { color: #23527c; }
.btn-default a { color: #444; }
2021-03-14 14:29:34 +00:00
.panel-title > a { text-decoration: none; }
.navigation li a {
color: #444;
text-decoration: none;
display: block;
padding: 10px;
}
.btn-default a:hover {
2021-03-14 12:28:52 +00:00
color: #45b29d;
text-decoration: None;
}
.btn-default:hover {
2021-03-14 12:28:52 +00:00
color: #45b29d;
}
2021-03-14 13:05:36 +00:00
.editable-click,
a.editable-click,
a.editable-click:hover { border-bottom: None; }
2020-04-27 18:01:13 +00:00
.navigation .nav-head {
2020-04-27 18:22:55 +00:00
text-transform: uppercase;
color: #999;
margin: 20px 0;
2020-04-27 18:01:13 +00:00
}
.navigation .nav-head:nth-child(1n+2) {
2020-04-27 18:22:55 +00:00
border-top: 1px solid #ccc;
padding-top: 20px;
2020-04-27 18:01:13 +00:00
}
2021-03-14 14:29:34 +00:00
.book-meta .tags a { display: inline; }
2021-03-14 15:52:00 +00:00
table .bg-primary a { color: #fff; }
table .bg-dark-danger a { color: #fff; }
2021-03-14 14:29:34 +00:00
.book-meta .identifiers a { display: inline; }
.navigation .create-shelf a {
color: #fff;
background: #45b29d;
padding: 10px 20px;
border-radius: 5px;
2020-04-27 18:22:55 +00:00
text-decoration: none;
2020-04-27 18:01:13 +00:00
}
.navigation li a:hover {
2020-04-27 18:22:55 +00:00
background: rgba(153, 153, 153, 0.4);
border-radius: 5px;
2020-04-27 18:01:13 +00:00
}
.navigation li a span { margin-right: 10px; }
.navigation .create-shelf {
2020-04-27 18:22:55 +00:00
margin: 30px 0;
font-size: 12px;
text-align: center;
2020-04-27 18:01:13 +00:00
}
2020-10-16 17:41:48 +00:00
.row.display-flex {
display: flex;
flex-wrap: wrap;
}
.row-fluid.text-center {
margin-top: -20px;
}
2020-04-27 18:01:13 +00:00
.container-fluid img {
2020-04-27 18:22:55 +00:00
display: block;
max-width: 100%;
height: auto;
2020-10-17 11:30:19 +00:00
max-height: 100%;
2020-04-27 18:01:13 +00:00
}
2021-03-14 12:28:52 +00:00
.container-fluid .discover { margin-bottom: 50px; }
2020-04-27 18:01:13 +00:00
.container-fluid .new-books { border-top: 1px solid #ccc; }
.container-fluid .new-books h2 { margin: 50px 0 0 0; }
2021-03-14 13:05:36 +00:00
2020-10-16 17:41:48 +00:00
.container-fluid .book {
margin-top: 20px;
display: flex;
flex-direction: column;
}
2021-03-14 14:29:34 +00:00
.cover { margin-bottom: 10px; }
2020-04-27 18:01:13 +00:00
.container-fluid .book .cover {
2020-04-27 18:22:55 +00:00
height: 225px;
position: relative;
2020-04-27 18:01:13 +00:00
}
2021-03-14 14:29:34 +00:00
.author-link img {
display: block;
height: 100%;
}
2021-03-14 14:41:36 +00:00
.author-bio img { margin: 0 1em 1em 0; }
2020-10-12 07:31:58 +00:00
2021-03-14 14:29:34 +00:00
.container-fluid .single .cover img {
border: 1px solid #fff;
box-sizing: border-box;
-webkit-box-shadow: 0 5px 8px -6px #777;
-moz-box-shadow: 0 5px 8px -6px #777;
box-shadow: 0 5px 8px -6px #777;
}
.datepicker.form-control {
position: static;
}
.container-fluid .book .cover span .img {
bottom: 0;
height: 100%;
position: absolute;
}
2020-10-12 07:31:58 +00:00
.container-fluid .book .cover span img {
border: 1px solid #fff;
2020-10-12 07:31:58 +00:00
position: relative;
height: 100%;
2020-10-12 07:31:58 +00:00
box-sizing: border-box;
2020-04-27 18:22:55 +00:00
-webkit-box-shadow: 0 5px 8px -6px #777;
-moz-box-shadow: 0 5px 8px -6px #777;
box-shadow: 0 5px 8px -6px #777;
2020-04-27 18:01:13 +00:00
}
.container-fluid .book .meta { margin-top: 10px; }
2021-03-14 14:29:34 +00:00
.media-body p { text-align: justify; }
2020-04-27 18:01:13 +00:00
.container-fluid .book .meta p { margin: 0; }
2020-04-27 18:22:55 +00:00
.container-fluid .book .meta .title {
font-weight: bold;
font-size: 15px;
color: #444;
}
.container-fluid .book .meta .series {
font-weight: 400;
font-size: 12px;
color: #444;
}
2020-04-27 18:22:55 +00:00
.container-fluid .book .meta .author {
font-size: 12px;
color: #999;
}
2020-04-27 18:01:13 +00:00
.container-fluid .book .meta .rating { margin-top: 5px; }
2020-06-03 18:14:07 +00:00
.rating .glyphicon-star-empty { color: #444; }
.rating .glyphicon-star.good { color: #444; }
2021-03-14 12:28:52 +00:00
.rating-clear .glyphicon-remove { color: #333; }
2020-04-27 18:01:13 +00:00
2021-03-14 12:28:52 +00:00
.container-fluid .author .author-hidden,
.container-fluid .author .author-hidden-divider { display: none; }
2020-04-27 18:01:13 +00:00
.navbar-brand {
2020-04-27 18:22:55 +00:00
font-family: 'Grand Hotel', cursive;
font-size: 35px;
color: #45b29d !important;
2020-04-27 18:01:13 +00:00
}
.more-stuff {
2020-04-27 18:22:55 +00:00
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #ccc;
2020-04-27 18:01:13 +00:00
}
2021-03-14 12:28:52 +00:00
.more-stuff > li { margin-bottom: 10px; }
2020-04-27 18:01:13 +00:00
.navbar-collapse.in .navbar-nav { margin: 0; }
span.glyphicon.glyphicon-tags {
2020-04-27 18:22:55 +00:00
padding-right: 5px;
color: #999;
vertical-align: text-top;
2020-04-27 18:01:13 +00:00
}
.book-meta { padding-bottom: 20px; }
2021-03-14 12:28:52 +00:00
.navbar-default .navbar-toggle .icon-bar { background-color: #000; }
.navbar-default .navbar-toggle { border-color: #000; }
2020-12-27 12:34:59 +00:00
2021-03-14 13:05:36 +00:00
.cover .badge {
2021-03-14 12:28:52 +00:00
position: absolute;
top: 2px;
left: 2px;
color: #000;
border-radius: 10px;
background-color: #fff;
}
2021-03-14 13:05:36 +00:00
.cover .read {
position: relative;
top: -20px;
/*left: auto;
right: 2px;*/
2020-10-12 07:31:58 +00:00
width: 17px;
height: 17px;
display: inline-block;
padding: 2px;
}
2021-03-14 12:28:52 +00:00
.cover-height { max-height: 100px; }
2020-04-27 18:01:13 +00:00
.col-sm-2 a .cover-small {
2020-04-27 18:22:55 +00:00
margin: 5px;
max-height: 200px;
2020-02-13 20:05:24 +00:00
}
2016-04-03 21:52:32 +00:00
2021-03-14 13:05:36 +00:00
.btn-file {
position: relative;
overflow: hidden;
}
2020-04-27 18:01:13 +00:00
.btn-file input[type=file] {
2020-04-27 18:22:55 +00:00
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
2020-04-27 18:01:13 +00:00
}
2016-05-02 20:43:50 +00:00
2021-03-14 12:28:52 +00:00
.btn-toolbar .btn,
.discover .btn { margin-bottom: 5px; }
.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.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,
2021-03-14 13:05:36 +00:00
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: 0; }
2021-03-14 12:28:52 +00:00
.panel-body { background-color: #f5f5f5; }
.spinner { margin: 0 41%; }
.spinner2 { margin: 0 41%; }
2021-03-14 13:05:36 +00:00
.intend-form { margin-left: 20px; }
table .bg-dark-danger {
background-color: #d9534f;
color: #fff;
}
2021-03-14 12:28:52 +00:00
table .bg-dark-danger:hover { background-color: #c9302c; }
table .bg-primary:hover { background-color: #1c5484; }
.block-label { display: block; }
.form-control.fake-input {
2021-03-14 13:05:36 +00:00
position: absolute;
pointer-events: none;
top: 0;
}
input.pill {
position: absolute;
opacity: 0;
}
2020-04-27 18:01:13 +00:00
input.pill + label {
2020-04-27 18:22:55 +00:00
border: 2px solid #45b29d;
border-radius: 15px;
color: #45b29d;
cursor: pointer;
display: inline-block;
padding: 3px 15px;
user-select: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2020-04-27 18:01:13 +00:00
input.pill:checked + label {
2020-04-27 18:22:55 +00:00
background-color: #45b29d;
border-color: #fff;
color: #fff;
}
2020-04-27 18:01:13 +00:00
input.pill:not(:checked) + label .glyphicon { display: none; }
2021-03-14 13:05:36 +00:00
.author-link {
display: inline-block;
margin-top: 10px;
width: 100px;
}
#remove-from-shelves .btn,
#shelf-action-errors { margin-left: 5px; }
.tags_click,
.serie_click,
.language_click { margin-right: 5px; }
#meta-info {
2020-04-27 18:22:55 +00:00
height: 600px;
overflow-y: scroll;
}
2020-04-27 18:22:55 +00:00
.media-list { padding-right: 15px; }
#meta-info img {
max-height: 150px;
max-width: 100px;
cursor: pointer;
}
.padded-bottom { margin-bottom: 15px; }
2020-04-27 18:22:55 +00:00
.upload-format-input-text { display: initial; }
#btn-upload-format { display: none; }
.upload-cover-input-text { display: initial; }
#btn-upload-cover { display: none; }
2021-03-14 14:29:34 +00:00
2020-04-27 18:22:55 +00:00
.editable-buttons {
2021-03-14 13:05:36 +00:00
display: inline-block;
2020-04-27 18:22:55 +00:00
margin-left: 7px;
}
2021-03-14 13:05:36 +00:00
.editable-input { display: inline-block; }
2020-04-27 18:22:55 +00:00
.editable-cancel {
margin-bottom: 0 !important;
2020-04-27 18:22:55 +00:00
margin-left: 7px !important;
}
.editable-submit { margin-bottom: 0 !important; }
.filterheader { margin-bottom: 20px; }
2020-04-27 18:22:55 +00:00
.errorlink { margin-top: 20px; }
2020-12-11 19:54:24 +00:00
.emailconfig { margin-top: 10px; }
.modal-body .comments {
2020-04-27 18:22:55 +00:00
max-height: 300px;
overflow-y: auto;
}
div.log {
font-family: Courier New, serif;
font-size: 12px;
box-sizing: border-box;
height: 700px;
overflow-y: scroll;
border: 1px solid #ddd;
white-space: nowrap;
padding: 0.5em;
}
2021-05-26 17:40:41 +00:00
#detailcover { cursor:zoom-in; }
#detailcover:-webkit-full-screen { cursor:zoom-out; }
#detailcover:-moz-full-screen { cursor:zoom-out; }
#detailcover:-ms-fullscreen { cursor:zoom-out; }
#detailcover:fullscreen { cursor:zoom-out; }