.dungeon/styles/generic.scss

104 lines
No EOL
1.7 KiB
SCSS

@use "./mixins/partials" as *;
@use "./mixins/foundry" as *;
@use "./vars.scss" as *;
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap');
// Reset the parts of Foundry's styling which gets in the way of what I want
.dotdungeon > .window-content {
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
}
h2, h3, h4, h5, h6 {
@include fvtt_reset;
font-family: $title-font;
margin: 0;
}
label {
cursor: pointer;
}
button, button:hover {
@include fvtt_reset;
font-family: inherit;
cursor: pointer;
&:disabled {
cursor: default;
}
}
input[type="text"],
input[type="number"],
textarea {
padding: 5px 7px;
@include input-generic;
}
select, select:hover {
cursor: pointer;
:disabled {
cursor: default;
}
}
}
// Styling that doesn't belong to any particular part of my sheet
.dotdungeon.dotdungeon.dotdungeon.dotdungeon {
container-type: size;
> .window-content {
padding: 0;
background: $background;
.debug-data {
opacity: 60%;
font-family: $body-font;
word-break: break-all;
}
button {
border-radius: 4px;
&.primary {
background: $colour-primary;
color: $text-on-primary;
padding: 4px 8px;
&:hover {
background: $colour-primary-d20;
color: $text-on-primary-d20;
}
}
&.danger {
background: $colour-danger;
color: $text-on-danger;
padding: 4px 8px;
&:hover {
background: $colour-danger-d20;
color: $text-on-danger-d20;
}
}
&.reduced-padding {
padding: 2px 4px;
}
&.equal-padding {
padding: 4px 4px;
&.reduced-padding {
padding: 2px 2px;
}
}
}
}
}