rvr-nextgen/public/static/css/rvr.css

634 lines
10 KiB
CSS
Raw Permalink Normal View History

2023-04-08 00:42:55 +02:00
* {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
background-color: #cccccc;
}
button::-moz-focus-inner, input::-moz-focus-inner {
padding: 0;
border: 0;
}
/* to be compatible with browsers that don't know <main> */
main {
display: block;
}
::selection {
background-color: #3b5998;
color: #ffffff;
}
2023-05-01 21:59:55 +02:00
::placeholder, select > option[value=""], .gray {
2023-05-01 19:18:48 +02:00
color: #8e8e8e;
}
2023-04-08 00:42:55 +02:00
p, h1, h2, h3, input, textarea, select, button, a, table, label {
font-family: 'Oxygen', sans-serif;
}
h1, h2, h3 {
font-weight: 700;
}
h1 {
font-size: 22px;
}
h1>a:link, h1>a:visited {
color: inherit;
}
h1>a:hover, h1>a:focus {
text-decoration: none;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 18px;
}
p, h2, h3 {
line-height: 150%;
}
2023-05-01 21:59:55 +02:00
p, th, td {
2023-04-08 00:42:55 +02:00
font-weight: 400;
font-size: 16px;
}
img {
display: block;
}
sup, sub {
position: relative;
font-size: smaller;
}
sup {
vertical-align: top;
top: -0.4em;
}
sub {
vertical-align: bottom;
bottom: -0.4em;
}
hr {
2023-04-16 03:31:40 +02:00
border: solid #bbbbcc 1px;
2023-04-08 00:42:55 +02:00
margin: 10px 0;
}
2023-04-16 03:31:40 +02:00
.normal {
font-weight: 400;
}
2023-04-08 00:42:55 +02:00
.bold {
font-weight: 700;
}
2023-05-01 21:59:55 +02:00
p.small, span.small, td.small {
2023-04-08 00:42:55 +02:00
font-size: 14px;
}
2023-05-28 03:46:58 +02:00
p.big, span.big, td.big {
font-size: 18px;
}
2023-05-01 21:59:55 +02:00
.red {
color: #a80908;
}
.green {
color: #008000;
}
.mono {
font-family: 'Oxygen Mono', mono;
font-weight: 400;
}
2023-04-08 00:42:55 +02:00
.justify {
text-align: justify;
}
.marginTop {
margin-top: 10px;
}
.marginLeft {
2023-04-25 19:28:12 +02:00
margin-left: 5px;
2023-04-08 00:42:55 +02:00
}
.marginBottom {
margin-bottom: 10px;
}
.marginRight {
2023-04-25 19:28:12 +02:00
margin-right: 5px;
2023-04-08 00:42:55 +02:00
}
.center {
text-align: center;
}
.right {
text-align: right;
}
svg.inline, img.inline {
display: inline;
width: 1em;
height: 1em;
margin-right: 0.3em;
vertical-align: -0.15em;
}
a:link, a:visited {
color: #3b5998;
font-weight: 700;
text-decoration: none;
}
a:hover, a:focus {
text-decoration: underline;
}
2023-05-01 19:18:48 +02:00
a.block {
color: initial;
font-weight: initial;
text-decoration: initial;
}
2023-04-08 00:42:55 +02:00
button, a.button {
cursor: pointer;
font-size: 16px;
font-weight: 700;
color: #ffffff;
background-color: #5e77aa;
padding: 0 15px;
height: 35px;
border: none;
border-radius: 3px;
display: inline-block;
text-align: center;
line-height: 35px;
}
button.small, div.inputWithButton>button {
font-size: 14px;
padding: 0 12px;
height: 32px;
line-height: 32px;
}
button.small {
height: 32px;
line-height: 32px;
}
div.inputWithButton>button {
border-radius: 2px;
height: 27px;
line-height: 27px;
width: 75px;
margin-left: -79px;
vertical-align: 2px;
}
button:enabled:hover, button:enabled:focus, a.button:hover, a.button:focus {
background-color: #29457f;
outline: none;
text-decoration: none;
}
button:disabled {
cursor: not-allowed;
color: #dddddd;
opacity: 0.7;
}
button.fullWidth, a.button.fullWidth {
padding: 0;
width: 100%;
}
button.noLeftRadius, a.button.noLeftRadius {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
button.noRightRadius, a.button.noRightRadius {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
button.gray, a.button.gray {
background-color: #808080;
color: #ffffff;
2023-04-08 00:42:55 +02:00
}
button.gray:enabled:hover, button.gray:enabled:focus, a.button.gray:hover, a.button.gray:focus {
background-color: #555555;
}
button.red, a.button.red {
background-color: #aa5e5e;
color: #ffffff;
2023-04-08 00:42:55 +02:00
}
button.red:enabled:hover, button.red:enabled:focus, a.button.red:hover, a.button.red:focus {
background-color: #7f2929;
}
button.yellow, a.button.yellow {
2023-05-28 03:46:58 +02:00
background-color: #daa520;
2023-04-08 00:42:55 +02:00
}
button.yellow:enabled:hover, button.yellow:enabled:focus, a.button.yellow:hover, a.button.yellow:focus {
2023-05-28 03:46:58 +02:00
background-color: #b8860b;
2023-04-08 00:42:55 +02:00
}
button.green, a.button.green {
background-color: #28a745;
}
button.green:enabled:hover, button.green:enabled:focus, a.button.green:hover, a.button.green:focus {
background-color: #1b7d31;
}
input.text, select, textarea {
background-color: #f9fafb;
border: solid #c8d2e1 1px;
border-radius: 2px;
box-sizing: border-box;
font-size: 15px;
font-weight: 400;
}
input.text, select {
height: 30px;
line-height: 30px;
padding: 0 5px;
}
input[type=checkbox], input[type=radio] {
margin-right: 0.5em;
}
textarea {
padding: 5px;
resize: none;
}
input.text.big, select.big, textarea.big, div.inputWithButton>input.text {
font-size: 18px;
}
input.text.big, select.big, div.inputWithButton>input.text {
height: 35px;
line-height: 35px;
padding: 0 6px;
}
textarea.big {
padding: 6px;
}
input.fullWidth, select.fullWidth, textarea.fullWidth {
display: block;
width: 100%;
}
input.text:disabled, select:disabled, textarea:disabled {
background-color: #dfdfdf;
border: solid #dfdfdf 1px;
color: #000000;
}
input.text:focus, select:focus, textarea:focus {
background-color: #ffffff;
border: solid #29457f 2px;
outline: none;
}
input.text:focus, select:focus {
padding: 0 4px;
}
textarea:focus {
padding: 4px;
}
input.text.big:focus, select.big:focus {
padding: 0 5px;
}
div.inputWithButton>input.text {
width: 100%;
padding: 0 83px 0 6px;
}
div.inputWithButton>input.text:focus {
padding: 0 82px 0 5px;
}
textarea.big:focus {
padding: 5px;
}
div.modal {
position: fixed;
background-color: #ffffff;
border-radius: 3px;
box-sizing: border-box;
overflow-y: auto;
z-index: 6;
visibility: hidden;
}
#cover {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: #000000;
opacity: 0.5;
z-index: 5;
visibility: hidden;
}
p.error, p.formError {
color: #7f2929;
font-weight: 700;
}
p.formError {
display: none;
}
header {
display: grid;
grid-template-columns: auto auto;
background-color: #212f4d;
height: 40px;
line-height: 40px;
padding: 0 12px;
color: white;
}
header>p {
line-height: inherit;
text-align: right;
}
header>p>span {
2023-05-28 03:46:58 +02:00
padding-left: 8px;
2023-04-08 00:42:55 +02:00
}
header>p>span>a:link, header>p>span>a:visited {
color: inherit;
}
header>p>span>a:hover, header>p>span>a:focus {
text-decoration: none;
}
2023-04-08 00:42:55 +02:00
header>p>span:not(:last-child) {
border-right: solid white 1px;
2023-05-28 03:46:58 +02:00
padding-right: 8px;
2023-04-08 00:42:55 +02:00
}
main {
background-color: #ffffff;
padding: 6px 12px;
}
footer {
background-color: #869ab9;
padding: 3px 6px;
color: #181f28;
text-align: right;
}
footer>p {
font-size: 12px;
}
div.buttonContainer {
height: 35px;
}
div.buttonContainer>button {
margin: 0 auto;
}
#loading {
position: fixed;
width: 64px;
height: 64px;
top: 50%;
left: 50%;
margin-top: -32px;
margin-left: -32px;
z-index: 7;
visibility: hidden;
}
div.box {
2023-04-16 03:31:40 +02:00
background-color: #eeeef4;
2023-04-08 00:42:55 +02:00
border-radius: 3px;
margin: 10px auto;
padding: 10px;
box-sizing: border-box;
}
2023-05-01 19:18:48 +02:00
div.compactBox {
width: 576px;
}
div.transaction {
display: grid;
grid-template-columns: auto auto;
}
2023-04-16 03:31:40 +02:00
div.gridContainer {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
grid-gap: 10px;
}
div.gridContainer > div {
background-color: #eeeef4;
border-radius: 3px;
padding: 5px 10px;
}
table {
border-collapse: separate;
border-spacing: 0;
}
table.fullWidth {
width: 100%;
}
table th {
2023-05-01 19:18:48 +02:00
font-weight: 700;
2023-04-16 03:31:40 +02:00
}
table th, table td {
2023-04-25 19:28:12 +02:00
padding: 3px 0;
2023-04-16 03:31:40 +02:00
vertical-align: middle;
}
2023-04-23 19:59:23 +02:00
table th:not(:first-child), table td:not(:first-child) {
padding-left: 3px;
}
table th:not(:last-child), table td:not(:last-child) {
padding-right: 3px;
}
2023-05-01 19:18:48 +02:00
p.paginateContainer {
font-size: 0;
}
p.paginateContainer > * {
font-size: initial;
background-color: #5e77aa;
border: solid #5e77aa 1px;
color: #ffffff;
font-weight: 700;
padding: 3px 6px;
text-align: center;
display: inline-block;
height: 25px;
line-height: 25px;
width: 25px;
}
p.paginateContainer > a:hover, p.paginateContainer > .selected {
background-color: #3b5998;
border: solid #29457f 1px;
text-decoration: none;
}
p.paginateContainer > *:not(:last-child) {
border-right: solid #869ab9 1px;
}
p.formLabel {
font-weight: 700;
font-size: 14px;
}
2023-05-28 03:46:58 +02:00
span.label {
border-radius: 3px;
background-color: #555555;
color: #ffffff;
padding: 2px 4px;
font-weight: bold;
font-size: 13px;
}
2023-04-16 03:31:40 +02:00
@media screen and (max-width: 424px) {
div.gridContainer {
grid-template-columns: auto;
}
}
2023-04-08 00:42:55 +02:00
@media screen and (max-width: 599px) {
header h1 span {
display: none;
}
footer>p:not(:first-child) {
margin-top: 4px;
}
button, a.button {
2023-04-25 19:28:12 +02:00
margin: 3px 0;
2023-04-08 00:42:55 +02:00
padding: 0;
width: 100%;
}
button.marginLeft, a.button.marginLeft {
margin-left: 0;
}
button.marginRight, a.button.marginRight {
margin-right: 0;
}
div.modal {
left: 20px;
right: 20px;
padding-left: 15px;
padding-right: 15px;
}
2023-05-01 19:18:48 +02:00
div.compactBox {
2023-04-08 00:42:55 +02:00
width: initial;
}
}
@media screen and (min-width: 600px) {
footer>p {
display: inline;
}
footer>p:not(:first-child) {
padding-left: 6px;
}
footer>p:not(:last-child) {
border-right: solid #181f28 1px;
padding-right: 6px;
}
div.modal {
width: 540px;
left: 50%;
margin-left: -270px;
padding-left: 20px;
padding-right: 20px;
}
}
@media screen and (max-height: 399px) {
div.modal {
top: 20px;
max-height: calc(100% - 40px);
padding-top: 10px;
padding-bottom: 10px;
}
}
@media screen and (min-height: 400px) and (max-height: 499px) {
div.modal {
top: 50px;
max-height: calc(100% - 100px);
padding-top: 15px;
padding-bottom: 15px;
}
}
@media screen and (min-height: 500px) {
div.modal {
top: 75px;
max-height: calc(100% - 150px);
padding-top: 15px;
padding-bottom: 15px;
}
}