forked from GitHub-Mirrors/foundry-sw5e

Things unfinished: - Migration - The update adds new sections to the class sheet to allow some light customisation, this hasn't been included, but could be extended for the sake of dynamic classes with automatic class features and more - The French - The packs have not yet been updated, meaning due to the addition of a progression field to the class item, classes now don't set force or tech points - I updated the function calls in starships, but I didn't update it very thoroughly, it'll need checking - I only did a little testing - There has since been updates to DND5e that hasn't made it to release that patch bugs, those should be implemented Things changed from base 5e: - Short rests and long rests were merged into one function, this needed some rewrites to account for force and tech points, and for printing the correct message Extra Comments: - Unfinished code exists for automatic spell scrolls, this could be extended for single use force or tech powers - Weapon proficiencies probably need revising - Elven accuracy, halfling lucky, and reliable talent are present in the roll logic, this probably needs revising for sw5e - SW5e has a variant rule that permits force powers of any alignment to use either charisma or wisdom, that could be implemented - SW5e's version of gritty realism, [Longer Rests](https://sw5e.com/rules/variantRules/Longer%20Rests) differs from base dnd, this could be implemented - Extra ideas I've had while looking through the code can be found in Todos next to the ideas relevant context
105 lines
2.3 KiB
Text
105 lines
2.3 KiB
Text
input[type="text"], input[type="number"], input[type="password"], input[type="date"], input[type="time"], select, textarea, .roundTransition {
|
|
border-radius: 4px;
|
|
transition: all 0.3s;
|
|
&:hover {
|
|
box-shadow: none;
|
|
}
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
input[type=range] {
|
|
-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
|
|
width: 100%; /* Specific width is required for Firefox. */
|
|
background: transparent; /* Otherwise white in Chrome */
|
|
}
|
|
|
|
input[type=range]::-webkit-slider-thumb{
|
|
-webkit-appearance: none;
|
|
background: @colorRed;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 32px;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
input[type=range]::-moz-range-thumb{
|
|
-webkit-appearance: none;
|
|
background: @colorRed;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 32px;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
input[type=range]::-ms-thumb {
|
|
-webkit-appearance: none;
|
|
background: @colorRed;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 32px;
|
|
cursor: pointer;
|
|
box-shadow: none;
|
|
}
|
|
|
|
input[type=range]::-webkit-slider-runnable-track {
|
|
width: 100%;
|
|
height: 6px;
|
|
cursor: pointer;
|
|
background: @colorLightBlue;
|
|
border-radius: 4px;
|
|
border: 1px solid @colorBlue;
|
|
box-shadow: none;
|
|
}
|
|
input[type=range]:focus::-webkit-slider-runnable-track {
|
|
background: @colorBlue;
|
|
}
|
|
input[type=range]::-moz-range-track {
|
|
width: 100%;
|
|
height: 6px;
|
|
cursor: pointer;
|
|
background: @colorLightBlue;
|
|
border-radius: 4px;
|
|
border: 1px solid @colorBlue;
|
|
box-shadow: none;
|
|
}
|
|
input[type=range]::-ms-track {
|
|
width: 100%;
|
|
height: 6px;
|
|
cursor: pointer;
|
|
background: @colorLightBlue;
|
|
border-radius: 4px;
|
|
border: 1px solid @colorBlue;
|
|
box-shadow: none;
|
|
}
|
|
input[type=range]:focus {
|
|
outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
|
|
}
|
|
|
|
input[type=range]::-ms-track {
|
|
width: 100%;
|
|
cursor: pointer;
|
|
|
|
/* Hides the slider so custom styles can be added */
|
|
background: transparent;
|
|
border-color: transparent;
|
|
color: transparent;
|
|
}
|
|
|
|
button, input[type="button"], input[type="submit"], input[type="reset"] {
|
|
.openSans(13px, 700);
|
|
text-align: center;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
&:hover, &:focus {
|
|
box-shadow: none;
|
|
}
|
|
&:disabled {
|
|
opacity: 0.6;
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|