1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-14 05:44:53 +00:00
calibre-web/cps/static/css/style.css

339 lines
7.9 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;
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;
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
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
}
2020-04-27 18:22:55 +00:00
body {
background: #f2f2f2;
margin-bottom: 40px;
}
2020-04-27 18:01:13 +00:00
body h2 {
2020-04-27 18:22:55 +00:00
font-weight: normal;
color:#444;
2020-04-27 18:01:13 +00:00
}
2020-06-11 19:19:09 +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; }
.btn-default a { color: #444; }
.btn-default a:hover {
color: #45b29d;
text-decoration: None;
}
.btn-default:hover {
color: #45b29d;
}
.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
}
2020-04-27 18:01:13 +00:00
.navigation li a {
2020-04-27 18:22:55 +00:00
color: #444;
text-decoration: none;
display: block;
padding: 10px;
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
}
.navigation .create-shelf a {
2020-04-27 18:22:55 +00:00
color: #fff;
background: #45b29d;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
2020-04-27 18:01:13 +00:00
}
2020-10-16 17:41:48 +00:00
.row.display-flex {
display: flex;
flex-wrap: wrap;
}
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-04-27 18:01:13 +00:00
}
.container-fluid .discover{ margin-bottom: 50px; }
.container-fluid .new-books { border-top: 1px solid #ccc; }
.container-fluid .new-books h2 { margin: 50px 0 0 0; }
2020-10-16 17:41:48 +00:00
.container-fluid .book {
margin-top: 20px;
display: flex;
flex-direction: column;
}
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
}
.container-fluid .book .cover img {
2020-04-27 18:22:55 +00:00
border: 1px solid #fff;
box-sizing: border-box;
2020-04-27 18:22:55 +00:00
height: 100%;
bottom: 0;
position: absolute;
-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; }
.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; }
.rating-clear .glyphicon-remove { color: #333 }
2020-04-27 18:01:13 +00:00
.container-fluid .author .author-hidden, .container-fluid .author .author-hidden-divider { display: none; }
.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
}
.more-stuff>li { margin-bottom: 10px; }
.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; }
.book-meta .tags a { display: inline; }
.book-meta .identifiers a { display: inline; }
2016-03-28 19:07:13 +00:00
.container-fluid .single .cover img {
2020-04-27 18:22:55 +00:00
border: 1px solid #fff;
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;
2016-04-03 21:52:32 +00:00
}
2020-04-27 18:01:13 +00:00
.navbar-default .navbar-toggle .icon-bar {background-color: #000; }
.navbar-default .navbar-toggle {border-color: #000; }
.cover { margin-bottom: 10px; }
.cover .badge{
position: absolute;
top: 2px;
left: 2px;
background-color: #777;
}
.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
.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
.btn-toolbar .btn,.discover .btn { margin-bottom: 5px; }
2020-04-27 18:01:13 +00:00
.button-link {color: #fff; }
2016-05-02 20:43:50 +00:00
.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-toolbar>.btn+.btn, .btn-toolbar>.btn-group+.btn, .btn-toolbar>.btn+.btn-group, .btn-toolbar>.btn-group+.btn-group { margin-left: 0; }
2020-04-27 18:01:13 +00:00
.panel-body {background-color: #f5f5f5; }
2020-04-27 18:22:55 +00:00
.spinner {margin: 0 41%; }
.spinner2 {margin: 0 41%; }
2020-05-12 15:23:58 +00:00
.intend-form { margin-left:20px; }
2020-04-27 18:01:13 +00:00
table .bg-dark-danger {background-color: #d9534f; color: #fff; }
table .bg-dark-danger a {color: #fff; }
table .bg-dark-danger:hover {background-color: #c9302c; }
table .bg-primary:hover {background-color: #1C5484; }
table .bg-primary a {color: #fff; }
.block-label {display: block;}
2020-04-27 18:01:13 +00:00
.fake-input {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; }
2020-04-27 18:22:55 +00:00
.author-bio img { margin: 0 1em 1em 0; }
.author-link { display: inline-block; margin-top: 10px; width: 100px; }
.author-link img { display: block; height: 100%; }
2020-04-27 18:01:13 +00:00
#remove-from-shelves .btn, #shelf-action-errors { margin-left: 5px; }
2020-04-27 18:22:55 +00:00
.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; }
2020-04-27 18:01:13 +00:00
.media-body p { text-align: justify; }
2020-04-27 18:22:55 +00:00
#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; }
2020-04-27 18:01:13 +00:00
.panel-title > a { text-decoration: none; }
2020-04-27 18:22:55 +00:00
.editable-buttons {
display:inline-block;
margin-left: 7px;
}
2020-04-27 18:01:13 +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;
}
2020-05-12 15:23:58 +00:00