Skip to content
Snippets Groups Projects
Commit 412482cf authored by Vrelnir's avatar Vrelnir
Browse files

Merge branch 'themelight' into 'dev'

Theme Vars + CSS Cleaning

See merge request Vrelnir/degrees-of-lewdity!1520
parents 7324be0e ad6cd16a
No related branches found
No related tags found
No related merge requests found
{
"plugins": ["stylelint-no-unsupported-browser-features"],
"extends": [
"stylelint-config-standard",
"stylelint-config-property-sort-order-smacss",
"stylelint-prettier/recommended"
],
"rules": {
"plugin/no-unsupported-browser-features": [
true,
{
"severity": "warning"
}
]
}
}
body { /* NOTE: Moving this file out of img/dolls will break combat spacing */
background: black;
color: white;
}
#enemy-controls-cache { #enemy-controls-cache {
display: none; display: none;
} }
#enemy-controls-container { #enemy-controls-container {
color: black;
width: 80vw; width: 80vw;
height: 300px; height: 300px;
overflow-y: auto; overflow-y: auto;
color: var(--900);
} }
#all-controls {
#all-controls {
display: flex; display: flex;
} }
#divsex { #divsex {
margin-top: 250px; margin-top: 250px;
margin-left: 300px; margin-left: 300px;
background-color: black; background-color: var(--900);
/*display: inline;*/
/* display: inline; */
} }
#side-panel {
width : 20vw; #side-panel {
width: 20vw;
} }
#loadinfo { #loadinfo {
overflow-y: scroll;
max-height: 30vh;
display: inline; display: inline;
position: fixed; position: fixed;
right: 0; right: 0;
bottom: 0; bottom: 0;
max-height: 30vh;
overflow-y: scroll;
} }
#global-controls {
/*
} #global-controls {
h3 {
margin-left: 5px; }
margin-bottom: 5px; */
display: block;
} .enemy-controller {
h4 { border-bottom: 2px solid var(--900);
margin-left: 5px; background: var(--150);
margin-bottom: 2px;
margin-top: 0px;
display: block;
}
.enemy-controller {
background : #ddd;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #0003;
} }
.selector {
.selector {
padding-right: 20px; padding-right: 20px;
} }
.appearance {
.appearance {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
.actions {
background : #ccc; .actions {
background: var(--150);
} }
.actions div {
.actions div {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
\ No newline at end of file
This diff is collapsed.
table.editorlayers { table.editorlayers {
border-spacing: 4px 1px; border-spacing: 4px 1px;
border-collapse: separate; border-collapse: separate;
} }
.editorcolours > div { .editorcolours > div {
margin-right: 4em; margin-right: 4em;
} }
.editorcolours { .editorcolours {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
.editorcolours .export-block { .editorcolours .export-block {
float: right;
padding-top: 1.33em; padding-top: 1.33em;
float: right;
} }
.editorcolours table th { .editorcolours table th {
font-size: small; font-size: small;
text-align: center; text-align: center;
} }
input.editlayer-z, input.editlayer-alpha {
input.editlayer-z,
input.editlayer-alpha {
width: 3.5em; width: 3.5em;
min-width: unset; min-width: unset;
} }
input.editlayer-animation { input.editlayer-animation {
width: 5em; width: 5em;
min-width: unset; min-width: unset;
} }
input.editlayer-masksrc { input.editlayer-masksrc {
width: 10em; width: 10em;
min-width: unset; min-width: unset;
} }
input.editlayer-show { input.editlayer-show {
margin-left: 1em; margin-left: 1em;
} }
input.editlayer-desaturate { input.editlayer-desaturate {
margin-left: 2.5em; margin-left: 2.5em;
} }
input.editlayer-brightness, input.editlayer-brightness,
input.editlayer-contrast { input.editlayer-contrast {
min-width: unset;
width: 3.5em; width: 3.5em;
min-width: unset;
} }
.editormodelgroups { .editormodelgroups {
display: flex; display: flex;
justify-content: flex-start;
align-items: flex-start; align-items: flex-start;
justify-content: flex-start;
} }
.editormodelgroup { .editormodelgroup {
margin: 0 1em;
display: grid; display: grid;
grid-template-columns: auto auto; grid-template-columns: auto auto;
margin: 0 1em;
} }
.editormodelgroup label { .editormodelgroup label {
font-family: monospace; font-family: monospace;
} }
.editormodelgroup .optioncategory { .editormodelgroup .optioncategory {
grid-column-start: 1; grid-column: 1 / 3;
grid-column-end: 3;
font-weight: bold;
margin-top: 0.5em; margin-top: 0.5em;
font-weight: bold;
} }
.editormodelgroup .optionlabel { .editormodelgroup .optionlabel {
grid-column-start: 1; grid-column-start: 1;
align-self: center; align-self: center;
} }
.editormodelgroup .optioneditor { .editormodelgroup .optioneditor {
display: flex;
grid-column-start: 2; grid-column-start: 2;
justify-self: stretch; justify-self: stretch;
display: flex;
} }
.optioneditor label { .optioneditor label {
min-width: 2.75em; min-width: 2.75em;
} }
.optioneditor input, .optioneditor select {
.optioneditor input,
.optioneditor select {
flex-grow: 1; flex-grow: 1;
} }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
module.exports = {
plugins: ["stylelint-no-unsupported-browser-features"],
extends: [
"stylelint-config-standard",
"stylelint-config-property-sort-order-smacss",
"stylelint-prettier/recommended",
],
rules: {
"plugin/no-unsupported-browser-features": [
true,
{
severity: "warning",
// To prevent stylelint from removing -webkit-background-clip
ignore: ["background-clip"],
},
],
// Class and ID patterns disabled for now due to the large amounts of classes and IDs that break this rule
"selector-class-pattern": null,
"selector-id-pattern": null,
// Modified kebab-case for numbered CSS vars
"custom-property-pattern": [
"^([a-z0-9]*)(-[a-z0-9]+)*$",
{
message: "Expected custom property name to be kebab-case",
},
],
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment