588 lines
10 KiB
CSS
588 lines
10 KiB
CSS
/* Dark theme */
|
|
.error {
|
|
font-size: 0.8em;
|
|
color: #bb4d00;
|
|
font-weight: bold;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.admin-wrapper table {
|
|
width: calc(100% - 20px);
|
|
margin: 10px;
|
|
border: solid 1px #01579b;
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
font-size: 0.8em;
|
|
position: relative;
|
|
}
|
|
.admin-wrapper table thead th {
|
|
background-color: #3D77C7;
|
|
border: solid 1px #01579b;
|
|
color: white;
|
|
padding: 10px;
|
|
text-align: left;
|
|
}
|
|
.admin-wrapper table tbody td {
|
|
text-align: left;
|
|
border: solid 1px #01579b;
|
|
color: #333;
|
|
padding: 10px;
|
|
}
|
|
.admin-wrapper table a,
|
|
.admin-wrapper table a:visited,
|
|
.admin-wrapper table a:hover {
|
|
text-decoration: none;
|
|
color: #bb4d00;
|
|
font-weight: bold;
|
|
}
|
|
.admin-wrapper table button {
|
|
color: #bb4d00;
|
|
background: transparent;
|
|
border: 1px solid #bb4d00;
|
|
}
|
|
.admin-wrapper table td.right,
|
|
.admin-wrapper table th.right {
|
|
text-align: right;
|
|
}
|
|
|
|
.floating-container {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.input-row {
|
|
display: flex;
|
|
}
|
|
.input-row > * {
|
|
margin-right: 1rem;
|
|
flex: 2 1 auto;
|
|
}
|
|
.input-row > .small {
|
|
flex: 0 0 auto;
|
|
}
|
|
.input-row > *:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.admin-wrapper .loading-spinner {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.4);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.admin-wrapper {
|
|
flex-grow: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #01579b;
|
|
padding: 0 20px 50px;
|
|
}
|
|
|
|
.admin-actions {
|
|
background: #01579b;
|
|
display: flex;
|
|
justify-content: center;
|
|
min-height: 37px;
|
|
}
|
|
.admin-actions span {
|
|
color: white;
|
|
padding: 10px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
.admin-actions a {
|
|
padding: 10px;
|
|
text-decoration: none;
|
|
color: #ffad42;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.fr-box,
|
|
.fr-toolbar,
|
|
.fr-box .second-toolbar {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
article.editpage {
|
|
text-align: center;
|
|
background: white;
|
|
padding: 0 0 20px;
|
|
}
|
|
article.editpage header {
|
|
padding: 10px;
|
|
background: #f57c00;
|
|
}
|
|
article.editpage header h1 {
|
|
color: black;
|
|
}
|
|
article.editpage header a {
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
margin-left: 10px;
|
|
color: black;
|
|
}
|
|
article.editpage fileupload {
|
|
margin: 0 0 20px;
|
|
}
|
|
article.editpage fileupload .inside {
|
|
height: 150px;
|
|
}
|
|
article.editpage fileupload.cover {
|
|
align-self: center;
|
|
min-width: 178px;
|
|
}
|
|
article.editpage fileupload.cover .display {
|
|
background-size: auto 100%;
|
|
}
|
|
article.editpage form {
|
|
padding: 0 40px 20px;
|
|
}
|
|
article.editpage form textarea {
|
|
height: 300px;
|
|
}
|
|
article.editpage form .loading-spinner {
|
|
height: 300px;
|
|
position: relative;
|
|
}
|
|
article.editpage h5 {
|
|
margin-bottom: 20px;
|
|
}
|
|
article.editpage > .loading-spinner {
|
|
width: 240px;
|
|
height: 50px;
|
|
position: relative;
|
|
}
|
|
|
|
table span.subpage {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
article.editarticle {
|
|
background: white;
|
|
padding: 0 0 20px;
|
|
}
|
|
article.editarticle header {
|
|
text-align: center;
|
|
padding: 10px;
|
|
background: #f57c00;
|
|
}
|
|
article.editarticle header h1 {
|
|
color: black;
|
|
}
|
|
article.editarticle header a {
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
margin-left: 10px;
|
|
color: black;
|
|
}
|
|
article.editarticle fileupload {
|
|
margin: 0 0 20px;
|
|
}
|
|
article.editarticle fileupload .inside {
|
|
height: 150px;
|
|
}
|
|
article.editarticle fileupload.cover {
|
|
align-self: center;
|
|
min-width: 178px;
|
|
}
|
|
article.editarticle form {
|
|
padding: 0 2rem 1rem;
|
|
}
|
|
article.editarticle form textarea {
|
|
height: 300px;
|
|
}
|
|
article.editarticle form label.slim {
|
|
font-size: 0.7em;
|
|
}
|
|
article.editarticle form input.slim {
|
|
font-size: 0.8em;
|
|
padding: 2px 5px;
|
|
}
|
|
article.editarticle form .loading-spinner {
|
|
height: 300px;
|
|
position: relative;
|
|
}
|
|
article.editarticle form button.submit {
|
|
margin-left: 20px;
|
|
}
|
|
article.editarticle table tr.rowhidden td {
|
|
background: #e6e6e6;
|
|
}
|
|
article.editarticle table tr.rowfeatured td {
|
|
background: hsl(120deg, 60%, 85%);
|
|
}
|
|
article.editarticle h5 {
|
|
margin-bottom: 20px;
|
|
}
|
|
article.editarticle > .loading-spinner {
|
|
width: 240px;
|
|
height: 50px;
|
|
position: relative;
|
|
}
|
|
article.editarticle > .loading-spinner.full {
|
|
width: 100%;
|
|
}
|
|
article.editarticle .fileupload {
|
|
align-self: flex-start;
|
|
padding: 0.5rem;
|
|
margin: 0.5rem 0 0.5rem 2rem;
|
|
min-width: 150px;
|
|
border: none;
|
|
border: 1px solid #f57c00;
|
|
background: #ffad42;
|
|
color: black;
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
article.editarticle .fileupload input {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
opacity: 0.01;
|
|
width: 100%;
|
|
cursor: pointer;
|
|
text-indent: -9999px;
|
|
z-index: 2;
|
|
}
|
|
article.editarticle files {
|
|
align-items: stretch;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1rem 2rem 0;
|
|
text-align: left;
|
|
}
|
|
article.editarticle files h4 {
|
|
font-size: 1.1em;
|
|
font-weight: bold;
|
|
padding: 0 5px 5px;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
|
|
table span.subarticle {
|
|
padding: 0 5px;
|
|
}
|
|
|
|
article.editstaff {
|
|
text-align: center;
|
|
background: white;
|
|
padding: 0 0 20px;
|
|
}
|
|
article.editstaff header {
|
|
padding: 10px;
|
|
background: #f57c00;
|
|
}
|
|
article.editstaff header h1 {
|
|
color: black;
|
|
}
|
|
article.editstaff header a {
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
margin-left: 10px;
|
|
color: black;
|
|
}
|
|
article.editstaff form {
|
|
padding: 0 40px 20px;
|
|
}
|
|
article.editstaff form textarea {
|
|
height: 300px;
|
|
}
|
|
article.editstaff form .loading-spinner {
|
|
height: 300px;
|
|
position: relative;
|
|
}
|
|
article.editstaff h5 {
|
|
margin-bottom: 20px;
|
|
}
|
|
article.editstaff > .loading-spinner {
|
|
width: 240px;
|
|
height: 50px;
|
|
position: relative;
|
|
}
|
|
article.editstaff > .loading-spinner.full {
|
|
width: 100%;
|
|
}
|
|
|
|
.date-selector-wrapper {
|
|
width: 200px;
|
|
padding: 3px;
|
|
background-color: #fff;
|
|
box-shadow: 1px 1px 10px 1px #5c5c5c;
|
|
position: absolute;
|
|
font-size: 12px;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
-o-user-select: none;
|
|
z-index: 10;
|
|
/* user-select: none; */
|
|
}
|
|
|
|
.cal-header, .cal-row {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cal-cell, .cal-nav {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cal-day-names {
|
|
height: 25px;
|
|
line-height: 25px;
|
|
}
|
|
|
|
.cal-day-names .cal-cell {
|
|
cursor: default;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.cal-cell-prev, .cal-cell-next {
|
|
color: #777;
|
|
}
|
|
|
|
.cal-months .cal-row, .cal-years .cal-row {
|
|
height: 60px;
|
|
line-height: 60px;
|
|
}
|
|
|
|
.cal-nav-prev, .cal-nav-next {
|
|
flex: 0.15;
|
|
}
|
|
|
|
.cal-nav-current {
|
|
flex: 0.75;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.cal-months .cal-cell, .cal-years .cal-cell {
|
|
flex: 0.25;
|
|
}
|
|
|
|
.cal-days .cal-cell {
|
|
flex: 0.143;
|
|
}
|
|
|
|
.cal-value {
|
|
color: #fff;
|
|
background-color: #286090;
|
|
}
|
|
|
|
.cal-cell:hover, .cal-nav:hover {
|
|
background-color: #eee;
|
|
}
|
|
|
|
.cal-value:hover {
|
|
background-color: #204d74;
|
|
}
|
|
|
|
/* time footer */
|
|
.cal-time {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
height: 27px;
|
|
line-height: 27px;
|
|
}
|
|
|
|
.cal-time-label, .cal-time-value {
|
|
flex: 0.12;
|
|
text-align: center;
|
|
}
|
|
|
|
.cal-time-slider {
|
|
flex: 0.77;
|
|
background-image: linear-gradient(to right, #d1d8dd, #d1d8dd);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 1px;
|
|
background-position: left 50%;
|
|
height: 100%;
|
|
}
|
|
|
|
.cal-time-slider input {
|
|
width: 100%;
|
|
-webkit-appearance: none;
|
|
background: 0 0;
|
|
cursor: pointer;
|
|
height: 100%;
|
|
outline: 0;
|
|
user-select: auto;
|
|
}
|
|
|
|
.ce-block__content,
|
|
.ce-toolbar__content {
|
|
max-width: calc(100% - 120px) !important;
|
|
}
|
|
|
|
.cdx-block {
|
|
max-width: 100% !important;
|
|
}
|
|
|
|
.codex-editor {
|
|
border: 1px solid var(--input-border);
|
|
background: var(--input-bg);
|
|
color: var(--input-fg);
|
|
}
|
|
|
|
.codex-editor:hover,
|
|
.codex-editor:active {
|
|
border-color: var(--secondary-bg);
|
|
}
|
|
|
|
fileupload {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
justify-content: stretch;
|
|
}
|
|
fileupload .showicon,
|
|
fileupload .showbordericon,
|
|
fileupload .display {
|
|
flex-grow: 2;
|
|
}
|
|
fileupload .showbordericon {
|
|
border: 3px solid #555;
|
|
border-style: dashed;
|
|
background-image: url("./img/upload.svg");
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: 50px;
|
|
}
|
|
fileupload .showicon {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
width: 50px;
|
|
height: 50px;
|
|
background-image: url("./img/upload.svg");
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
fileupload img {
|
|
max-width: 600px;
|
|
width: 100%;
|
|
align-self: center;
|
|
min-height: 100px;
|
|
}
|
|
fileupload .display {
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
fileupload .loading-spinner {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(51, 51, 51, 0.5333333333);
|
|
width: 100%;
|
|
}
|
|
fileupload input {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
opacity: 0.01;
|
|
width: 100%;
|
|
cursor: pointer;
|
|
text-indent: -9999px;
|
|
z-index: 2;
|
|
}
|
|
fileupload .remove {
|
|
border: none;
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 60px;
|
|
width: 50px;
|
|
height: 50px;
|
|
background-image: url("./img/delete.svg");
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-color: transparent;
|
|
background-size: contain;
|
|
z-index: 3;
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
dialogue {
|
|
background: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
width: calc(100% - 40px);
|
|
max-width: 500px;
|
|
color: black;
|
|
}
|
|
dialogue h2 {
|
|
background: #bb4d00;
|
|
color: white;
|
|
font-size: 1.5em;
|
|
padding: 10px;
|
|
}
|
|
dialogue p {
|
|
padding: 10px;
|
|
}
|
|
dialogue .buttons {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 10px;
|
|
}
|
|
dialogue button {
|
|
border: 1px solid #bb4d00;
|
|
background: transparent;
|
|
color: #bb4d00;
|
|
padding: 5px 15px;
|
|
min-width: 150px;
|
|
}
|
|
dialogue button.alert {
|
|
border-color: red;
|
|
color: red;
|
|
}
|
|
dialogue button.cancel {
|
|
border-color: #999;
|
|
color: #999;
|
|
}
|
|
|
|
.codex-editor {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
input[type=checkbox] {
|
|
display: block;
|
|
height: 20px;
|
|
margin: 0.5rem 0;
|
|
width: 20px;
|
|
}
|
|
|
|
.darkmodeon .maincontainer .admin-wrapper {
|
|
color: black;
|
|
}
|
|
.darkmodeon .error {
|
|
color: #e05e00;
|
|
}
|
|
|
|
/*# sourceMappingURL=admin.css.map */
|