Files
GeyserWebsite/src/pages/utilities/utilities.module.scss
T
qscbm187531andKas-tle d70a839a0e Minor fixes and small changes (#26)
* Update link in wiki/other/geyserconnect.md

* fix: error title hierarchy in wiki\geyser\api.md

* Update linking.md

* Update geyser api version

* Update floodgate javadocs link

* Add the download link in hydraulic.md

* Update hydraulic.md

* Update understanding-the-config.md

* fix(config-editor): no showing checkbox

* Added the option to display the comments out

* Update config-editor.tsx

* Update config-editor.tsx

* Update hydraulic.md

---------

Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
2024-08-13 10:17:44 -07:00

202 lines
3.5 KiB
SCSS

:root {
--card-bg-color: #f7f5f5;
}
[data-theme='dark'] {
--card-bg-color: #0b1215 !important;
}
.buttonsContainer {
display: flex;
gap: 10px;
}
.card {
margin-bottom: 30px;
background-color: var(--card-bg-color);
}
.cardHeader {
background-color: var(--ifm-color-primary);
color: white;
padding-left: 16px;
font-size: 22px;
text-transform: capitalize;
}
.cardBody {
padding: 16px;
}
.configOption {
padding-bottom: 20px;
padding-top: 20px;
border-bottom: 1px solid gray;
&:last-child {
border-bottom: none;
}
}
.loadButton {
width: 150px;
outline: 3px solid var(--ifm-tabs-color-active);
outline-offset: -3px;
border: 0;
border-radius: var(--ifm-global-radius);
background-color: transparent;
text-align: center;
font-size: 18px;
font-weight: normal;
transition: background-color 0.5s ease, color 0.5s ease;
padding-top: 10px;
padding-bottom: 10px;
color: var(--ifm-tabs-color-active);
margin-left: 5px;
&:hover {
background-color: var(--ifm-color-primary);
color: #fff;
}
}
.statusMessage {
margin-top: 20px;
}
.pluginName:hover {
cursor: pointer;
}
.pluginInfoPopover {
position: absolute;
background-color: white;
color: black;
padding: 16px;
z-index: 1000;
min-width: 300px;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
p {
margin: 0;
}
}
.pluginNamePopover {
font-size: 18px;
font-weight: bold;
}
.pluginEnabled {
border-radius: 10px;
padding: 0 10px;
width: fit-content;
color: white;
}
.pluginAuthorsLabel {
padding-top: 15px;
}
.viewDumpSource {
}
.pluginEnabledIndicator {
display: inline-block;
height: 10px;
width: 10px;
border-radius: 50%;
}
/* https://codepen.io/JAGATHISH1123/pen/PvayMB */
.switch {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
background-color: var(--switch-background-color);
border-radius: 20px;
transition: all 0.3s;
&::after {
content: '';
position: absolute;
width: 18px;
height: 18px;
border-radius: 50%;
background-color: white;
top: 1px;
left: 1px;
transition: all 0.3s;
}
}
.checkbox:checked+.switch::after {
left: 20px;
}
.checkbox:checked+.switch {
background-color: var(--ifm-color-secondary);
}
.checkbox {
display: inline-block;
}
.hidden {
display: none;
}
.fontNormal {
font-weight: normal;
}
.button {
width: 150px;
outline: 3px solid var(--ifm-tabs-color-active);
outline-offset: -3px;
border: 0;
border-radius: var(--ifm-global-radius);
background-color: transparent;
text-align: center;
font-size: 18px;
font-weight: normal;
transition: background-color 0.5s ease, color 0.5s ease;
padding-top: 10px;
padding-bottom: 10px;
color: var(--ifm-tabs-color-active);
&:hover {
background-color: var(--ifm-color-primary);
color: #fff;
}
}
.buttonSecondary {
outline: 3px solid var(--ifm-color-secondary);
&:hover {
background-color: var(--ifm-color-secondary);
}
}
.formInput {
border-radius: var(--ifm-global-radius);
outline: 1px solid var(--ifm-color-secondary);
outline-offset: -1px;
padding: 10px;
min-width: 50%;
font-size: 16px;
}
.noOutline {
outline: none;
}
@media screen and (max-width: 768px) {
.formInput {
min-width: 100%;
}
}