calibre-web/cps/static/css/kthoom.css

230 lines
3 KiB
CSS
Raw Normal View History

body {
background: #444;
2017-11-19 13:20:59 +01:00
overflow-x: hidden;
overflow-y: auto;
color: white;
font-family: sans-serif;
2020-04-27 20:01:13 +02:00
margin: 0;
}
2017-11-19 13:20:59 +01:00
#main {
text-align: center;
2017-11-19 13:20:59 +01:00
z-index: 2;
}
.view {
2020-04-27 20:01:13 +02:00
padding-top: 0;
}
2017-11-19 13:20:59 +01:00
#sidebar a,
#sidebar ul,
#sidebar li,
#sidebar li img {
max-width: 100%;
text-align: center;
}
#sidebar ul {
position: relative;
}
2017-11-19 13:20:59 +01:00
#sidebar a {
display: inline-block;
position: relative;
cursor: pointer;
padding: 4px;
2020-04-27 20:01:13 +02:00
transition: all 0.2s ease;
}
#sidebar a:hover,
#sidebar a:focus {
outline: none;
2020-04-27 20:01:13 +02:00
box-shadow: 0 2px 8px 1px black;
}
#sidebar a.active,
#sidebar a.active img + span {
2021-03-14 13:28:52 +01:00
background-color: #45b29d;
2017-11-19 13:20:59 +01:00
}
#sidebar li img {
display: block;
max-height: 200px;
}
#sidebar li img + span {
position: absolute;
bottom: 0;
right: 0;
padding: 2px;
min-width: 25px;
line-height: 25px;
background: #6b6b6b;
border-top-left-radius: 5px;
}
#sidebar #panels {
z-index: 1;
}
#progress {
position: absolute;
display: inline;
top: 0;
left: 0;
right: 0;
min-height: 4px;
font-family: sans-serif;
font-size: 10px;
line-height: 10px;
text-align: right;
transition: min-height 150ms ease-in-out;
}
#progress .bar-load,
#progress .bar-read {
display: flex;
position: absolute;
top: 0;
bottom: 0;
transition: width 150ms ease-in-out;
}
2021-04-17 21:25:45 +02:00
#progress .from-left {
left: 0;
align-items: flex-end;
justify-content: flex-end;
}
#progress .from-right {
right: 0;
align-items: flex-start;
justify-content: flex-start;
}
#progress .bar-load {
color: #000;
2020-04-27 20:01:13 +02:00
background-color: #ccc;
}
2021-03-14 13:28:52 +01:00
#progress .bar-read {
2020-04-27 20:01:13 +02:00
color: #fff;
background-color: #45b29d;
}
#progress .text {
display: none;
padding: 0 5px;
}
#progress.loading,
#titlebar:hover #progress {
min-height: 10px;
}
#progress.loading .text,
#titlebar:hover #progress .text {
display: inline-block;
}
.hide {
display: none !important;
}
2017-11-19 13:20:59 +01:00
#mainContent {
overflow: auto;
outline: none;
2017-11-19 13:20:59 +01:00
}
#mainText {
text-align: left;
width: 90%;
position: relative;
top: 10px;
background: #ccc;
color: black;
margin-right: auto;
margin-left: auto;
padding: 10px;
word-wrap: break-word;
}
2017-11-19 13:20:59 +01:00
#titlebar {
min-height: 25px;
height: auto;
}
#metainfo {
max-width: 70%;
}
2020-04-27 20:01:13 +02:00
th,
td {
2017-11-19 13:20:59 +01:00
padding: 5px;
}
th {
text-align: right;
vertical-align: top;
}
.modal {
/* Makes the modal responsive. Note sure if this should be moved to main.css */
margin: 0;
max-width: 96%;
transform: translate(-50%, -50%);
}
.md-content {
min-height: 320px;
height: auto;
}
.md-content > div {
overflow: hidden;
}
.md-content > div p {
padding: 5px 0;
}
.settings-column {
float: left;
min-width: 35%;
padding-bottom: 10px;
}
2017-11-19 13:20:59 +01:00
.inputs {
margin: -5px;
}
.inputs input {
vertical-align: middle;
}
2017-11-19 13:20:59 +01:00
.inputs label {
display: inline-block;
margin: 5px;
white-space: nowrap;
}
.dark-theme #main {
background-color: #000;
}
2017-11-19 13:20:59 +01:00
.dark-theme #titlebar {
2020-04-27 20:01:13 +02:00
color: #ddd;
2017-11-19 13:20:59 +01:00
}
.dark-theme #titlebar a:active {
2020-04-27 20:01:13 +02:00
color: #fff;
2017-11-19 13:20:59 +01:00
}
.dark-theme #progress .bar-read {
background-color: red;
2017-11-19 13:20:59 +01:00
}
2017-11-29 15:54:17 +01:00
.dark-theme .overlay {
2020-04-27 20:01:13 +02:00
background-color: rgba(0, 0, 0, 0.8);
2017-11-29 15:54:17 +01:00
}