mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
670 lines
No EOL
21 KiB
CSS
670 lines
No EOL
21 KiB
CSS
@font-face {
|
||
font-family: 'Amatic SC';
|
||
font-style: normal;
|
||
font-weight: 700;
|
||
src: local('Amatic SC Bold'), local('AmaticSC-Bold'), url(https://fonts.gstatic.com/s/amaticsc/v11/IDnkRTPGcrSVo50UyYNK7-gdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
|
||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
|
||
}
|
||
|
||
svg {
|
||
background-color: #5E4FA2;
|
||
border: 1px solid #5e4fa2;
|
||
position: absolute;
|
||
}
|
||
|
||
canvas {
|
||
position: absolute;
|
||
pointer-events: none;
|
||
}
|
||
|
||
button {
|
||
cursor: pointer;
|
||
}
|
||
|
||
#terrs {
|
||
stroke-width: 0.7;
|
||
stroke-linejoin: round;
|
||
mask: url(#shape);
|
||
}
|
||
|
||
#cults {
|
||
stroke-width: 0.7;
|
||
stroke-linejoin: round;
|
||
mask: url(#shape);
|
||
pointer-events: none;
|
||
}
|
||
|
||
#grid {
|
||
display: none;
|
||
fill: none;
|
||
}
|
||
|
||
#landmass {
|
||
fill-rule: evenodd;
|
||
stroke: none;
|
||
}
|
||
|
||
#lakes, #oceanLayers {
|
||
fill-rule: evenodd;
|
||
}
|
||
|
||
#coastline {
|
||
fill: none;
|
||
stroke-linejoin: round;
|
||
}
|
||
|
||
#regions {
|
||
stroke-width: 0;
|
||
fill-rule: evenodd;
|
||
stroke-linejoin: round;
|
||
mask: url(#shape);
|
||
pointer-events: none;
|
||
}
|
||
|
||
#rivers {
|
||
stroke: none;
|
||
mask: url(#shape);
|
||
cursor: pointer;
|
||
}
|
||
|
||
#burgs {
|
||
fill-opacity: 0.6;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#terrain {
|
||
mask: url(#shape);
|
||
}
|
||
|
||
#hills {
|
||
stroke-width: 0.1px;
|
||
fill: #999999;
|
||
}
|
||
|
||
#mounts {
|
||
stroke-width: 0.1px;
|
||
fill: white;
|
||
}
|
||
|
||
#strokes {
|
||
stroke-width: 0.08px;
|
||
width: 2px;
|
||
stroke: #5c5c70;
|
||
stroke-dasharray: 0.5, 0.7;
|
||
stroke-linecap: round;
|
||
}
|
||
|
||
#routes, #borders {
|
||
fill: none;
|
||
}
|
||
|
||
#roads, #trails {
|
||
mask: url(#shape);
|
||
}
|
||
|
||
#swamps {
|
||
stroke-width: 0.05px;
|
||
fill: none;
|
||
stroke: #5c5c70;
|
||
}
|
||
|
||
#forests {
|
||
stroke-width: 0.1px;
|
||
stroke: #5c5c70;
|
||
}
|
||
|
||
#options .pressed {
|
||
background-color: #916e7f;
|
||
font-style: italic;
|
||
}
|
||
|
||
.editTrigger {
|
||
display: none;
|
||
position: relative;
|
||
width: 60px;
|
||
}
|
||
|
||
.editTrigger[type="number"] {
|
||
width: 44px;
|
||
height: 14px;
|
||
}
|
||
|
||
.editTrigger[type="range"] {
|
||
width: 132px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#editGroupSelect {
|
||
width: 165px;
|
||
}
|
||
|
||
#editGroupInput {
|
||
display: none;
|
||
width: 161px;
|
||
}
|
||
|
||
#editSizeIcon, #editOpacityIcon, #editShadowIcon {
|
||
display: none;
|
||
}
|
||
|
||
#editText {
|
||
width: 160px;
|
||
}
|
||
|
||
#editFontSelect {
|
||
width: 129px;
|
||
}
|
||
|
||
#editFontInput {
|
||
width: 125px;
|
||
}
|
||
|
||
#editColor {
|
||
height: 20px;
|
||
width: 50px;
|
||
padding: 0;
|
||
}
|
||
|
||
#riverAngle {
|
||
width: 60px;
|
||
}
|
||
|
||
#riverScale {
|
||
width: 43px;
|
||
}
|
||
|
||
.editButtonS {
|
||
display: none;
|
||
cursor: pointer;
|
||
}
|
||
|
||
i.dialog-icon {
|
||
display: none;
|
||
margin: 0 -1px 0 4px;
|
||
}
|
||
|
||
.editValue {
|
||
display: none;
|
||
cursor: default;
|
||
font-size: small;
|
||
width: 34px;
|
||
}
|
||
|
||
#labels {
|
||
text-anchor: middle;
|
||
dominant-baseline: alphabetic;
|
||
text-shadow: 0 0 4px white;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#countries {
|
||
dominant-baseline: central;
|
||
}
|
||
|
||
.tag {
|
||
fill: #fffa90;
|
||
stroke: #333333;
|
||
stroke-width: 1.4px;
|
||
}
|
||
|
||
.line {
|
||
stroke: #666666;
|
||
stroke-width: 1px;
|
||
}
|
||
|
||
.drag {
|
||
text-shadow: 0 0 6px red;
|
||
}
|
||
|
||
.draggable {
|
||
cursor: move;
|
||
}
|
||
|
||
.ui-dialog, #optionsContainer {
|
||
user-select: none;
|
||
}
|
||
|
||
#options {
|
||
margin: 10px;
|
||
display: none;
|
||
font-size: smaller;
|
||
font-family: monospace;
|
||
position: absolute;
|
||
background-color: rgba(168, 130, 147, 0.85);
|
||
border: solid 1px #5e4fa2;
|
||
}
|
||
|
||
.tab {
|
||
overflow: hidden;
|
||
border-bottom: 1px solid #5d4651;;
|
||
}
|
||
|
||
button.options {
|
||
background-color: #997c89;
|
||
font-family: monospace;
|
||
font-weight: bold;
|
||
float: left;
|
||
border: none;
|
||
outline: none;
|
||
padding: 8px 16px;
|
||
transition: 0.1s;
|
||
font-size: 1em;
|
||
}
|
||
|
||
#options p {
|
||
font-style: italic;
|
||
font-weight: bold;
|
||
}
|
||
|
||
#options input[type="color"], #convertImageDialog input[type="color"] {
|
||
width: 38px;
|
||
padding: 0;
|
||
border: 0;
|
||
background: none;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#options input[type="range"] {
|
||
outline: none;
|
||
width: 120px;
|
||
height: 2px;
|
||
background: #ffffff;
|
||
top: -2px;
|
||
position: relative;
|
||
-webkit-appearance: none;
|
||
appearance: none;
|
||
}
|
||
|
||
#options input[type="range"]::-webkit-slider-thumb {
|
||
-webkit-appearance: none;
|
||
border-radius: 15%;
|
||
width: 10px;
|
||
height: 10px;
|
||
background: #916e7f;
|
||
border: 1px solid #5d4651;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#options input[type="range"]::-moz-range-thumb {
|
||
appearance: none;
|
||
border-radius: 15%;
|
||
width: 10px;
|
||
height: 10px;
|
||
background: #916e7f;
|
||
border: 1px solid #5d4651;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#options select {
|
||
height: 14px;
|
||
width: 122px;
|
||
border: 0;
|
||
outline: none;
|
||
font-size: smaller;
|
||
font-family: monospace;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#options .buttonoff {
|
||
background-color: #b6b4b440;
|
||
color: grey;
|
||
}
|
||
|
||
#sticked {
|
||
padding: 0 13px;
|
||
}
|
||
|
||
#sticked button {
|
||
background-color: rgba(153, 124, 137, 0);
|
||
padding: 0;
|
||
margin: 2px;
|
||
}
|
||
|
||
#collapsible {
|
||
padding: 10.5px;
|
||
position: absolute;
|
||
z-index: 2;
|
||
}
|
||
|
||
#optionsTrigger {
|
||
display: block;
|
||
padding: 5.5px 5.5px;
|
||
opacity: 0.6;
|
||
}
|
||
|
||
#regenerate {
|
||
display: none;
|
||
opacity: 0.9;
|
||
padding: 7px 10px;
|
||
}
|
||
|
||
button.options:hover {
|
||
background-color: #806070;
|
||
color: white;
|
||
}
|
||
|
||
button.active {
|
||
background-color: #916e7f;
|
||
color: white;
|
||
}
|
||
|
||
#layoutTab {
|
||
margin-left: 19px;
|
||
}
|
||
|
||
.tabcontent {
|
||
display: none;
|
||
padding: 0 6px 0 12px;
|
||
opacity: 0.8;
|
||
max-width: 290px;
|
||
}
|
||
|
||
.tabcontent button {
|
||
background-color: #997c89;
|
||
font-family: monospace;
|
||
border: none;
|
||
outline: none;
|
||
padding: 5px 8px;
|
||
margin: 4px 0;
|
||
transition: 0.1s;
|
||
font-size: 1em;
|
||
}
|
||
|
||
.tabcontent button:hover {
|
||
background-color: #a8879d;
|
||
}
|
||
|
||
#mapLayers {
|
||
display: inline-block;
|
||
}
|
||
|
||
.tabcontent li {
|
||
list-style-type: none;
|
||
background-color: #997c89;
|
||
cursor: pointer;
|
||
padding: 5px 8px;
|
||
margin: 4px;
|
||
transition: 0.1s;
|
||
float: left;
|
||
}
|
||
|
||
.tabcontent li:hover {
|
||
background-color: #a8879d;
|
||
}
|
||
|
||
.tabcontent li.solid {
|
||
color: #42383f;
|
||
}
|
||
|
||
p {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
#optionsContainer span {
|
||
cursor: default;
|
||
}
|
||
|
||
#statusbar {
|
||
display: block;
|
||
font-family: monospace;
|
||
position: absolute;
|
||
top: 548px;
|
||
}
|
||
|
||
table {
|
||
table-layout: fixed;
|
||
width: 288px;
|
||
}
|
||
|
||
table td:nth-of-type(1) {
|
||
text-decoration: underline dotted gray;
|
||
cursor: help;
|
||
width: 126px;
|
||
}
|
||
|
||
table td:nth-of-type(3) {
|
||
text-align: right;
|
||
}
|
||
|
||
#icons {
|
||
stroke: #0d0d0d;
|
||
fill: grey;
|
||
}
|
||
|
||
#fileToLoad {
|
||
display: none;
|
||
}
|
||
|
||
#customizationMenu {
|
||
display: none;
|
||
}
|
||
|
||
.setColors {
|
||
display: inline-block;
|
||
}
|
||
|
||
body button.noicon {
|
||
width: 24px;
|
||
height: 20px;
|
||
margin: 1px;
|
||
padding: 1px 6px;
|
||
float: left;
|
||
font-family: Copperplate, monospace;
|
||
}
|
||
|
||
#templateEditor > div {
|
||
margin: 2px 0;
|
||
}
|
||
|
||
#templateEditor #templateTools {
|
||
display: inline-block;
|
||
margin-bottom: -3px;
|
||
}
|
||
|
||
#templateBody > div {
|
||
border: 1px solid #949494;
|
||
border-radius: 1px;
|
||
background-image: linear-gradient(to right, #ffffff 0%, #fafafa 51%, #ebebeb 100%);
|
||
margin: 1px 1px;
|
||
width: 93%;
|
||
padding: 1px 2px;
|
||
font-size: 9px;
|
||
}
|
||
|
||
#templateBody > div:hover {
|
||
border-color: #808080;
|
||
background-image: linear-gradient(to right, #fcfcfc 0%, #ededed 51%, #dedede 100%);
|
||
}
|
||
|
||
#templateBody span {
|
||
display: inline-block;
|
||
margin: 0 1px;
|
||
float: right;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#templateBody span:hover {
|
||
color: #297cb8;
|
||
}
|
||
|
||
#templateBody label {
|
||
float: right;
|
||
margin-right: 4px;
|
||
}
|
||
|
||
#templateBody label:first-of-type {
|
||
margin-right: 12px;
|
||
}
|
||
|
||
#templateBody input {
|
||
height: 4px;
|
||
width: 45px;
|
||
font-family: monospace;
|
||
height: 4px;
|
||
font-family: monospace;
|
||
}
|
||
|
||
#templateBody select {
|
||
border: 0;
|
||
background-color: rgba(255, 255, 255, 0);
|
||
width: 58px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.riverPoints {
|
||
fill: red;
|
||
stroke: none;
|
||
stroke-width: 0.1;
|
||
cursor: move;
|
||
}
|
||
|
||
.riverPoints circle:hover {
|
||
stroke: brown;
|
||
}
|
||
|
||
.drag-trigger{
|
||
border-left: 12px solid transparent;
|
||
border-right: 12px solid #916e7f;
|
||
border-top: 12px solid transparent;
|
||
position: absolute;
|
||
right: 0;
|
||
top: 100%;
|
||
margin-top: -12px;
|
||
}
|
||
|
||
.drag-trigger:hover{
|
||
cursor: move;
|
||
border-right-color: #5e4fa2;
|
||
}
|
||
|
||
#styleInputs div {
|
||
display: none;
|
||
line-height: 6px;
|
||
}
|
||
|
||
#styleInputs #styleOpacity, #styleInputs #styleFill, #styleInputs #styleFilter {
|
||
display: block;
|
||
}
|
||
|
||
#styleInputs button {
|
||
padding: 0 6px;
|
||
margin: 0 2px;
|
||
border: 1px #827c7f solid;
|
||
background-color: #ffffff;
|
||
}
|
||
|
||
.pureInput {
|
||
display: inline-block;
|
||
width: 50px;
|
||
height: 10px;
|
||
font-size: small;
|
||
font-size: smaller;
|
||
font-family: monospace;
|
||
}
|
||
|
||
.grayscale {
|
||
filter: grayscale(1);
|
||
}
|
||
|
||
.sepia {
|
||
filter: sepia(1) saturate(0.8);
|
||
}
|
||
|
||
.tint {
|
||
filter: sepia(1) hue-rotate(200deg);
|
||
}
|
||
|
||
.dingy {
|
||
filter: contrast(1) saturate(1.8) sepia(.6);
|
||
}
|
||
|
||
.color-div {
|
||
width: 32px;
|
||
height: 12px;
|
||
display: inline-block;
|
||
margin: 1px 2px;
|
||
border: 1px #c5c5c5 groove;
|
||
cursor: pointer;
|
||
}
|
||
|
||
#colorsSelect div {
|
||
height: 18px;
|
||
display: inline-block;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.color-div:hover {
|
||
border-color: red;
|
||
}
|
||
|
||
.hoveredColor {
|
||
box-shadow: 0 0 1px 1px #717171;
|
||
}
|
||
|
||
.selectedColor {
|
||
border-color: red;
|
||
}
|
||
|
||
#colorScheme {
|
||
margin: 6px 1px 4px 1px;
|
||
}
|
||
|
||
#colorsSelectValue {
|
||
font-size: larger;
|
||
position: relative;
|
||
font-family: monospace;
|
||
font-weight: bold;
|
||
top: -3px;
|
||
}
|
||
|
||
.selectedCell {
|
||
stroke-width: 1;
|
||
stroke: #da3126;
|
||
}
|
||
|
||
body .ui-dialog {
|
||
padding: 1px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
body .ui-dialog-titlebar {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.ui-dialog input {
|
||
height: 14px;
|
||
}
|
||
|
||
.ui-dialog button.pressed {
|
||
box-shadow: inset 1px 1px 0 0 #ccc;
|
||
}
|
||
|
||
.ui-dialog input[type="range"] {
|
||
outline: none;
|
||
height: 2px;
|
||
background: #e9e9e9;
|
||
top: -4px;
|
||
position: relative;
|
||
-webkit-appearance: none;
|
||
appearance: none;
|
||
}
|
||
|
||
.ui-dialog input[type="range"]::-webkit-slider-thumb {
|
||
-webkit-appearance: none;
|
||
border-radius: 15%;
|
||
width: 10px;
|
||
height: 10px;
|
||
background: #e9e9e9;
|
||
border: 1px solid #9b9b9b;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.ui-dialog input[type="range"]::-moz-range-thumb {
|
||
appearance: none;
|
||
border-radius: 15%;
|
||
width: 10px;
|
||
height: 10px;
|
||
background: #e9e9e9;
|
||
border: 1px solid #9b9b9b;
|
||
cursor: pointer;
|
||
} |