2019-12-30 05:18:18 +01:00
|
|
|
/* Options page CSS */
|
2021-12-12 23:31:09 +01:00
|
|
|
|
|
|
|
/* Dark mode CSS, this is the default if unsupported */
|
2021-07-27 15:37:43 +02:00
|
|
|
html {
|
|
|
|
color-scheme: dark;
|
|
|
|
}
|
2019-12-30 05:18:18 +01:00
|
|
|
body {
|
2021-12-12 23:31:09 +01:00
|
|
|
background-color: #333333;
|
|
|
|
}
|
|
|
|
#navigation {
|
|
|
|
background-color: #181818;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
.tab-heading {
|
|
|
|
background-color: #242424;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
.tab-heading:hover {
|
|
|
|
outline: 3px solid white;
|
|
|
|
}
|
2021-12-13 12:14:51 +01:00
|
|
|
.medium-description, .switch-container, .optionLabel, .categoryTableElement {
|
2021-12-12 23:31:09 +01:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
.small-description, p,li {
|
|
|
|
color: #dfdfdf;
|
|
|
|
}
|
|
|
|
.option-button.disabled {
|
|
|
|
background-color: #520000;
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
.slider {
|
|
|
|
background-color: #707070;
|
|
|
|
}
|
|
|
|
h1,h2,h3,h4,h5,h6 {
|
|
|
|
color: #dad8d8;
|
|
|
|
}
|
|
|
|
.option-group > div {
|
|
|
|
border-bottom: 1px solid #484848;
|
|
|
|
border-image: linear-gradient(to right, #484848, #00000000 80%) 1;
|
|
|
|
}
|
|
|
|
.categoryTableElement td {
|
|
|
|
border-top: 1px solid #484848;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Light mode, if requested */
|
|
|
|
@media only screen and (prefers-color-scheme: light) {
|
|
|
|
html {
|
|
|
|
color-scheme: light;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
}
|
|
|
|
#navigation {
|
|
|
|
background-color: #dbdbdb;
|
|
|
|
color: #212121;
|
|
|
|
}
|
|
|
|
.tab-heading {
|
|
|
|
background-color: #ababab;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
.tab-heading:hover {
|
|
|
|
outline: 3px solid #2e2e2e;
|
|
|
|
}
|
2021-12-13 12:14:51 +01:00
|
|
|
.medium-description, .switch-container, .optionLabel, .categoryTableElement {
|
2021-12-12 23:31:09 +01:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
.small-description, p,li {
|
|
|
|
color: #262626;
|
|
|
|
}
|
|
|
|
.option-button.disabled {
|
|
|
|
background-color: #ffcaca;
|
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
.slider {
|
|
|
|
background-color: #bfbebe;
|
|
|
|
}
|
|
|
|
h1,h2,h3,h4,h5,h6 {
|
|
|
|
color: #707070;
|
|
|
|
}
|
|
|
|
.option-group > div {
|
|
|
|
border-bottom: 1px solid #d9d9d9;
|
|
|
|
border-image: linear-gradient(to right, #d9d9d9, #00000000 80%) 1;
|
|
|
|
}
|
|
|
|
.categoryTableElement td {
|
|
|
|
border-top: 1px solid #d9d9d9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-family: sans-serif;
|
2021-12-12 23:31:09 +01:00
|
|
|
margin: 0;
|
2021-12-15 22:22:06 +01:00
|
|
|
font-size: 14px;
|
2021-12-12 23:31:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
#options-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigation {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 20px;
|
|
|
|
flex-basis: 20%;
|
|
|
|
min-width: 300px;
|
|
|
|
max-width: 600px;
|
|
|
|
border-radius: 15px;
|
|
|
|
margin: 15px;
|
2021-12-15 22:22:06 +01:00
|
|
|
z-index: 10;
|
2021-12-12 23:31:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-heading {
|
|
|
|
font-size: 18px;
|
|
|
|
height: 50px;
|
|
|
|
line-height: 50px;
|
|
|
|
width: 80%;
|
|
|
|
margin: 0 auto;
|
|
|
|
border-radius: 15px;
|
|
|
|
cursor: pointer;
|
2021-12-13 12:14:51 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2021-12-12 23:31:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-heading.selected {
|
|
|
|
background-color: #c00000;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2021-12-15 22:22:06 +01:00
|
|
|
.tab-heading:active {
|
|
|
|
background-color: #950000;
|
|
|
|
}
|
|
|
|
|
2021-12-12 23:31:09 +01:00
|
|
|
.option-group > div {
|
|
|
|
min-height: 50px;
|
|
|
|
padding: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-group > div:last-child {
|
|
|
|
border-bottom: inherit;
|
2019-12-30 05:18:18 +01:00
|
|
|
}
|
|
|
|
|
2021-12-13 12:14:51 +01:00
|
|
|
.optionLabel, #version {
|
2021-12-13 02:37:15 +01:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type='number'] {
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.low-profile {
|
|
|
|
height: 23px;
|
|
|
|
line-height: 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2019-12-30 20:44:03 +01:00
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-01-01 01:09:37 +01:00
|
|
|
.inline {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2019-12-30 22:41:33 +01:00
|
|
|
.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2019-12-30 07:20:20 +01:00
|
|
|
.hidden {
|
2020-01-10 04:40:44 +01:00
|
|
|
display: none !important;
|
2019-12-30 07:20:20 +01:00
|
|
|
}
|
|
|
|
|
2021-12-15 22:22:06 +01:00
|
|
|
.spacing {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
2019-12-30 22:41:33 +01:00
|
|
|
.keybind-status {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2021-12-13 02:37:15 +01:00
|
|
|
.small-description {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 13px;
|
2021-12-12 23:31:09 +01:00
|
|
|
padding: 15px 0 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.small-description td {
|
|
|
|
padding: 10px 0 20px 20px;
|
|
|
|
}
|
|
|
|
|
2021-12-15 22:22:06 +01:00
|
|
|
.indent {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
2021-12-12 23:31:09 +01:00
|
|
|
.categoryTableElement td {
|
|
|
|
padding-top: 10px;
|
2019-12-30 06:39:02 +01:00
|
|
|
}
|
|
|
|
|
2019-12-30 22:41:33 +01:00
|
|
|
.medium-description {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 15px;
|
2019-12-30 22:41:33 +01:00
|
|
|
}
|
|
|
|
|
2019-12-30 07:20:20 +01:00
|
|
|
.option-text-box {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-button {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
background-color: #c00000;
|
|
|
|
padding: 10px;
|
|
|
|
color: white;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
2019-12-31 20:50:01 +01:00
|
|
|
width: max-content;
|
2019-12-30 07:20:20 +01:00
|
|
|
}
|
|
|
|
|
2021-12-12 23:31:09 +01:00
|
|
|
.option-button:hover:not(.disabled) {
|
2019-12-30 07:20:20 +01:00
|
|
|
background-color: #fc0303;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-button.disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2019-12-30 05:18:18 +01:00
|
|
|
#options {
|
2021-12-12 23:31:09 +01:00
|
|
|
height: 100vh;
|
|
|
|
flex-basis: 80%;
|
|
|
|
overflow: auto;
|
2019-12-30 05:18:18 +01:00
|
|
|
text-align: left;
|
2021-12-12 23:31:09 +01:00
|
|
|
padding: 80px 15px 0 3%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
transition: padding 0.3s;
|
2019-12-30 05:18:18 +01:00
|
|
|
}
|
|
|
|
|
2021-07-03 03:21:04 +02:00
|
|
|
#options.embed {
|
|
|
|
max-width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2021-12-12 23:31:09 +01:00
|
|
|
#title .profilepic {
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
|
2021-06-18 06:42:30 +02:00
|
|
|
.switch-container {
|
2019-12-30 05:18:18 +01:00
|
|
|
content: attr(label-name);
|
|
|
|
width: max-content;
|
|
|
|
|
|
|
|
font-size: 14px;
|
2021-06-18 06:42:30 +02:00
|
|
|
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
.switch-container .switch-label {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
padding: 4px;
|
2019-12-30 05:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.switch {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 40px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.switch input {
|
|
|
|
opacity: 0;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slider {
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2019-12-30 06:39:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.animated * {
|
2019-12-30 05:18:18 +01:00
|
|
|
-webkit-transition: .4s;
|
|
|
|
transition: .4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slider:before {
|
|
|
|
position: absolute;
|
|
|
|
content: "";
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
left: 4px;
|
|
|
|
bottom: 4px;
|
|
|
|
background-color: white;
|
2019-12-30 06:39:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.animated .slider:before {
|
2019-12-30 05:18:18 +01:00
|
|
|
-webkit-transition: .4s;
|
|
|
|
transition: .4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + .slider {
|
|
|
|
background-color: #fc0303;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + .slider:before {
|
|
|
|
-webkit-transform: translateX(16px);
|
|
|
|
-ms-transform: translateX(16px);
|
|
|
|
transform: translateX(16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Rounded sliders */
|
|
|
|
.slider.round {
|
|
|
|
border-radius: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slider.round:before {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-12 23:31:09 +01:00
|
|
|
/* Boilerplate CSS from https://ajay.app (edited) */
|
2019-12-30 05:18:18 +01:00
|
|
|
|
|
|
|
.projectPreview {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.projectPreviewImage {
|
|
|
|
position: absolute;
|
2020-01-16 02:30:07 +01:00
|
|
|
left: -90px;
|
|
|
|
width: 80px;
|
2019-12-30 05:18:18 +01:00
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.projectPreviewImageLarge {
|
|
|
|
position: absolute;
|
2020-01-16 02:30:07 +01:00
|
|
|
left: -210px;
|
|
|
|
width: 200px;
|
2019-12-30 05:18:18 +01:00
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-20%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.projectPreviewImageLargeRight {
|
|
|
|
position: absolute;
|
2020-01-16 02:30:07 +01:00
|
|
|
right: -210px;
|
|
|
|
width: 200px;
|
2019-12-30 05:18:18 +01:00
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
2021-12-12 23:31:09 +01:00
|
|
|
#createdBy {
|
2019-12-30 05:18:18 +01:00
|
|
|
font-size: 14px;
|
|
|
|
text-align: center;
|
2021-12-12 23:31:09 +01:00
|
|
|
margin-top: auto;
|
2019-12-30 05:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#title {
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
2021-12-12 23:31:09 +01:00
|
|
|
font-size: 40px;
|
2019-12-30 05:18:18 +01:00
|
|
|
|
2020-01-16 02:30:07 +01:00
|
|
|
padding: 20px;
|
2019-12-30 05:18:18 +01:00
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subtitle {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 40px;
|
2019-12-30 05:18:18 +01:00
|
|
|
color: #dad8d8;
|
|
|
|
|
2020-01-16 02:30:07 +01:00
|
|
|
padding-top: 10px;
|
2019-12-30 05:18:18 +01:00
|
|
|
|
|
|
|
transition: font-size 0.4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subtitle:hover {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 45px;
|
2019-12-30 05:18:18 +01:00
|
|
|
|
|
|
|
transition: font-size 0.4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profilepic {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.profilepiccircle {
|
|
|
|
vertical-align: middle;
|
|
|
|
overflow: hidden;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link {
|
2020-01-16 02:30:07 +01:00
|
|
|
padding: 20px;
|
2019-12-30 05:18:18 +01:00
|
|
|
|
|
|
|
height: 80px;
|
|
|
|
|
|
|
|
transition: height 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link:hover {
|
|
|
|
height: 95px;
|
|
|
|
|
|
|
|
transition: height 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contact,.smalllink {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 25px;
|
2019-12-30 05:18:18 +01:00
|
|
|
color: #e8e8e8;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
2020-01-16 02:30:07 +01:00
|
|
|
padding: 10px;
|
2019-12-30 05:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#contact {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
p,li {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 20px;
|
|
|
|
padding: 10px;
|
2019-12-30 05:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.previewImage {
|
|
|
|
max-height: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#recentPostTitle {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 30px;
|
2019-12-30 05:18:18 +01:00
|
|
|
color: #dad8d8;
|
|
|
|
}
|
|
|
|
|
|
|
|
#recentPostDate {
|
2020-01-16 02:30:07 +01:00
|
|
|
font-size: 15px;
|
2019-12-30 05:18:18 +01:00
|
|
|
color: #dad8d8;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
text-decoration: none;
|
2020-01-24 00:02:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.number-container:before {
|
|
|
|
content: attr(label-name);
|
|
|
|
padding-right: 4px;
|
|
|
|
width: max-content;
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
color: white;
|
2020-04-03 03:26:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* React styles */
|
|
|
|
|
|
|
|
.categoryTableElement {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.categoryTableElement > * {
|
|
|
|
padding-right: 15px;
|
2021-08-18 19:33:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.categoryTableDescription > * {
|
2020-04-03 03:26:13 +02:00
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2021-08-20 04:32:28 +02:00
|
|
|
.optionsSelector {
|
2020-04-03 03:26:13 +02:00
|
|
|
background-color: #c00000;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 5px;
|
2020-06-06 03:26:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.categoryColorTextBox {
|
|
|
|
width: 60px;
|
2020-09-04 02:51:46 +02:00
|
|
|
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2021-08-20 06:04:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#sbDonate {
|
|
|
|
font-size: 10px;
|
2021-12-12 23:31:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Handle smaller screensizes */
|
|
|
|
@media only screen and (max-height: 770px), only screen and (max-width: 1200px) {
|
|
|
|
#options-container {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
#navigation {
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
min-width: unset;
|
|
|
|
max-width: unset;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
#options {
|
|
|
|
padding: 0 50px;
|
|
|
|
}
|
|
|
|
.tab-heading {
|
|
|
|
width: unset;
|
2021-12-15 22:22:06 +01:00
|
|
|
min-width: unset;
|
|
|
|
height: 35px;
|
|
|
|
line-height: 35px;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 0 10px;
|
2021-12-12 23:31:09 +01:00
|
|
|
margin: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
#title {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
|
|
|
#title .profilepic {
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
#createdBy {
|
|
|
|
margin: unset;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-12-13 12:14:51 +01:00
|
|
|
#version {
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
2021-12-15 22:22:06 +01:00
|
|
|
.sticky #navigation {
|
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0 15px;
|
|
|
|
}
|
|
|
|
.sticky #title, .sticky #createdBy {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-12-12 23:31:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
|
|
#options {
|
|
|
|
padding: 0 15px;
|
|
|
|
}
|
|
|
|
}
|